The main benefit is coordination, not just fewer prompts. Publishing sibling packages one at a time can leave a short window where some versions are live and their dependencies are not. A batch lets a maintainer review the proposed set together before promotion.
What the batch feature does
Batch actions are rolling out gradually, so the option may not be visible on every npm account yet. Automated validation must finish before an item can be approved. The approval control stays disabled while a selected version is still validating.
Stage first, approve later
Staged publishing separates the CI upload from the human decision. The workflow submits a package with npm stage publish. A maintainer then reviews the staged version and approves it before it becomes publicly available.
# Submit a version for review
npm stage publish
# Find staged versions
npm stage list
# Inspect one staged version
npm stage view <stage-id>
# Download the staged tarball
npm stage download <stage-id>
# Approve one version from the CLI
npm stage approve <stage-id>Use the CLI for individual packages or for inspection. Use the Staged Packages tab on npmjs.com when you need to select a coordinated set and see the batch confirmation dialog.
Review the set, not just the green button
Before adding a version to the batch, check the package name, version, dist-tag, publisher, and SHASUM. Download the staged tarball when the package contains generated files, install scripts, native bindings, or a large dependency change. For a monorepo, compare the selected versions with the release plan and confirm that every package expected by the dependency graph is present.
A practical monorepo flow
Build and test the release in CI. Stage each package version. Wait for validation, then inspect the staged contents and select one version per package. Review the final list against the release commit and the package dependency graph. Approve only after the set is complete, and keep the progress dialog open until every result is known.
Batches are not all-or-nothing
npm processes each selected version independently. One failure does not roll back versions that succeeded. Treat the batch as a coordinated review and approval, not as a transaction. If an item fails, read its message, check whether the version was actually published, and retry that version individually only after confirming its state.
The progress dialog reports Waiting, Processing, Succeeded, or Failed for each version. A Waiting result can mean that npm has not started processing or could not confirm the result. Refresh the page and check the staged package list before starting another batch, so you do not approve the same version twice.
Trusted publishing still fits
A short checklist
Upgrade to npm CLI 11.15.0 or later and Node 22.14.0 or later. Stage every package in the release. Review package contents and the exact batch selection. Wait for validation. Approve once with 2FA. Monitor each result, then verify the published versions and dist-tags from a clean client.
Bottom line
Batch approval makes staged npm releases much more practical for monorepos. It reduces repeated 2FA prompts and gives maintainers one place to review the release set. Keep the important limit in mind: each package version can still succeed or fail independently, so verify every result before calling the release complete.
