Skip to content

Implements yarn npm stage#7147

Merged
arcanis merged 4 commits into
masterfrom
mael/yarn-npm-stage
May 21, 2026
Merged

Implements yarn npm stage#7147
arcanis merged 4 commits into
masterfrom
mael/yarn-npm-stage

Conversation

@arcanis
Copy link
Copy Markdown
Member

@arcanis arcanis commented May 21, 2026

What's the problem this PR addresses?

The npm registry added support for staged releases:
https://docs.npmjs.com/staged-publishing/

Note that it's still an early release, so things may not be perfect on the registry side (I think they don't support staged releases w/ provenance at the moment, for example).

How did you fix it?

Added a --staged flag to yarn npm publish, and exposed commands to manage staged commands:

  • yarn npm stage list
  • yarn npm stage approve|reject <id>

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit 6861e75 into master May 21, 2026
27 checks passed
@arcanis arcanis deleted the mael/yarn-npm-stage branch May 21, 2026 19:23
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