Skip to content

feat: add npmStaged publish config for npm staged publishing#76

Merged
theoephraim merged 3 commits into
mainfrom
feat/npm-staged-publishing
May 23, 2026
Merged

feat: add npmStaged publish config for npm staged publishing#76
theoephraim merged 3 commits into
mainfrom
feat/npm-staged-publishing

Conversation

@theoephraim
Copy link
Copy Markdown
Member

Summary

  • Adds npmStaged boolean to PublishConfig (default: false) to opt into npm's staged publishing feature (npm stage publish)
  • When enabled, packages are staged on npmjs.com and require manual 2FA approval before going live
  • Validates that publishManager is "npm" and npm version is >= 11.5.1, with helpful warnings otherwise
  • Updated docs and added test coverage
  • Updated frog clipboard image

Test plan

  • Existing publish-pipeline tests pass (6/6)
  • New test verifies npm stage publish command is used when npmStaged: true
  • Typecheck passes

Adds support for npm's staged publishing feature (`npm stage publish`),
which stages packages on npmjs.com and requires manual 2FA approval
before going live.

- New `npmStaged` boolean in publish config (default: false)
- Validates publishManager is "npm" and npm version >= 11.5.1
- Updated docs and added test coverage
- Updated frog clipboard image
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 22, 2026

bumpy-frog

The changes in this PR will be included in the next version bump.

minor Minor releases

  • @varlock/bumpy 1.8.1 → 1.9.0

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

@theoephraim theoephraim merged commit ecc625a into main May 23, 2026
2 checks passed
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