Repository navigation
chore: regenerate the whole lockfile in version-for-release - #8885
Conversation
`pnpm -w install --lockfile-only` only considers the workspace root, so it reports the lockfile up to date and leaves the specifiers that `changeset version` rewrote in the packages stale. The release branch then fails `pnpm install --frozen-lockfile`. Drop `-w` so every importer is updated.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the release-versioning change to refresh workspace lockfile entries.
No open issues 🎉
What changed in this PR
Updates the release-versioning script to refresh lockfile entries across the workspace after package versions and peer dependencies change.
Changes:
- Removes
-wfrompnpm install --lockfile-onlyto address stale package specifiers that cause frozen-lockfile installs to fail on release branches.
| File | Description |
|---|---|
package.json |
Adjusts version-for-release to regenerate the workspace lockfile without -w. |
Review effort: Balanced
pnpm -w install --lockfile-onlyonly considers the workspace root, so it reports the lockfile up to date and leaves the specifiers thatchangeset versionrewrote in the packages stale. The release branch then failspnpm install --frozen-lockfile. Drop-wso every importer is updated.