Skip to content

docs: add deno pack reference page (2.8)#3070

Merged
crowlKats merged 2 commits into
denoland:2.8from
lunadogbot:docs/2.8-deno-pack
May 20, 2026
Merged

docs: add deno pack reference page (2.8)#3070
crowlKats merged 2 commits into
denoland:2.8from
lunadogbot:docs/2.8-deno-pack

Conversation

@lunadogbot
Copy link
Copy Markdown
Contributor

Summary

Adds a CLI reference page for the new deno pack command shipping in Deno 2.8 (denoland/deno#32139). The command builds an npm-compatible tarball from a Deno project so libraries can be published to the npm registry alongside JSR.

  • New page at runtime/reference/cli/pack.md with usage, npm-publish workflow, and a "when to use" comparison vs deno publish.
  • Sidebar entry in runtime/_data.ts, entry in the CLI index page.

Test plan

  • deno task serve — page renders, sidebar entry resolves.
  • If the upstream PR adds flags before merge (e.g. --out-dir, --dry-run), this page will need a flags section.

Adds the CLI reference page for the new `deno pack` command, which
produces an npm-compatible tarball from a Deno project for publishing
to the npm registry. Compares it briefly with `deno publish` (which
targets JSR). Adds entries to the CLI index and sidebar.

Refs denoland/deno#32139
@crowlKats crowlKats changed the base branch from main to 2.8 May 5, 2026 11:46
@crowlKats crowlKats merged commit 5840545 into denoland:2.8 May 20, 2026
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.

2 participants