Skip to content

docs: update npm stage docs to reflect that it can create new packages - #10017

Open
shmam wants to merge 2 commits into
npm:latestfrom
shmam:docs/staged-publishing-create-new-package
Open

shmam wants to merge 2 commits into
npm:latestfrom
shmam:docs/staged-publishing-create-new-package

Conversation

@shmam

@shmam shmam commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

The npm stage Prerequisites section states that the package must already exist on the npm registry. Staged publishing will soon support creating brand-new packages via staged publishing.

This updates the prerequisite docs accordingly.

Changes

  • docs/lib/content/commands/npm-stage.md — replaced the "Package must exist" prerequisite with "New or existing packages," clarifying that a package does not need to pre-exist and that approving a staged brand-new package creates it.

Related

Companion docs change in npm/documentation: npm/documentation#2047 (the generated content/cli/*/commands/npm-stage.mdx pages are synced from this file via the update-cli workflow).

The npm stage prerequisites stated that the package must already exist on
the npm registry. Staging now supports brand-new packages: staging a
package that doesn't yet exist creates it when the staged version is
approved. Update the prerequisites accordingly.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@shmam
shmam requested a review from a team as a code owner September 22, 2026 23:15
@shmam shmam changed the title docs: clarify npm stage can create new packages docs: update npm stage docs to reflect that it can create new packages Sep 22, 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.

1 participant