Parent: #318
Goal
Prove that v2 can be released and consumed from npm after the repository becomes a pnpm monorepo.
The workflow is a production delivery path, not only a build check.
Scope
- Keep
release-v2.yml triggered by the v2 branch before cutover.
- Replace root-package npm assumptions with the Stage 1 pnpm workspace and package build model.
- Build and publish only public packages.
- Prevent private workspace packages from being published.
- Prevent unresolved imports or published dependencies on private packages.
- Permit only
2.x prereleases from v2.
- Publish under
next; never update latest before cutover.
- Keep release creation behind a reviewed release pull request or equivalent approval.
- Verify generated versions, changelogs, Git tags, GitHub Releases, package manifests, and npm artifacts.
- Install the published prerelease from npm in clean vanilla JavaScript, React, and applicable Playwright consumer fixtures.
- Document the cutover-only configuration change from
v2/next to main/latest.
- Provide a dry-run for the future stable v2 release path.
Acceptance criteria
Parent: #318
Goal
Prove that v2 can be released and consumed from npm after the repository becomes a pnpm monorepo.
The workflow is a production delivery path, not only a build check.
Scope
release-v2.ymltriggered by thev2branch before cutover.2.xprereleases fromv2.next; never updatelatestbefore cutover.v2/nexttomain/latest.Acceptance criteria
release-v2.ymlruns fromv2using pnpm and the monorepo package graph.2.xprerelease is published undernextafter explicit approval.latest.main/latestcutover configuration is covered by a safe dry-run.