Skip to content

feat: add Deno package manager support#48

Open
DecampsRenan wants to merge 4 commits into
mainfrom
deno-support
Open

feat: add Deno package manager support#48
DecampsRenan wants to merge 4 commits into
mainfrom
deno-support

Conversation

@DecampsRenan
Copy link
Copy Markdown
Owner

Summary

  • Adds Deno as the 5th supported package manager, detected via deno.lock lockfile
  • Broadens project detection to recognize deno.json/deno.jsonc as project markers (not just package.json), enabling pure Deno projects
  • Maps script commands to deno task <name> and reads tasks from deno.json (with JSONC comment stripping for deno.jsonc)
  • Audit support deferred to a follow-up PR

Test plan

  • All existing tests pass (go test ./... -race)
  • 13 new tests: detector (deno.lock, deno.json-only, deno.jsonc, walk-up, no-lockfile), resolver (all commands + deno task fallback), scripts (ListDeno, JSONC parsing, fallback, edge cases)
  • Manual: spm dev --dry-run in a Deno project prints deno task dev
  • Manual: spm run in a Deno project shows tasks from deno.json

🤖 Generated with Claude Code

DecampsRenan and others added 4 commits March 24, 2026 12:04
Detect deno.lock and recognize deno.json/deno.jsonc as project markers,
enabling pure Deno projects (no package.json). Map scripts to `deno task`,
read tasks from deno.json with JSONC comment stripping for deno.jsonc.
Audit support deferred to follow-up PR.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Integrate spm init command from main alongside Deno column additions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Combine Deno column from this branch with interactive search and upgrade
rows added on main.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant