Skip to content

chore: regenerate the whole lockfile in version-for-release - #8885

Merged
kanej merged 1 commit into
mainfrom
fix/version-for-release-lockfile
Nov 26, 2026
Merged

kanej merged 1 commit into
mainfrom
fix/version-for-release-lockfile

Conversation

@kanej

@kanej kanej commented Nov 26, 2026

Copy link
Copy Markdown
Member

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.

`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.
@changeset-bot

changeset-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 69209a6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@kanej
kanej requested a balanced review from Copilot November 26, 2026 16:34
@kanej kanej added no changeset needed This PR doesn't require a changeset no docs needed This PR doesn't require links to documentation no peer bump needed labels Nov 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 -w from pnpm install --lockfile-only to 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

@kanej
kanej added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 6163c66 Nov 26, 2026
34 of 37 checks passed
@kanej
kanej deleted the fix/version-for-release-lockfile branch November 26, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changeset needed This PR doesn't require a changeset no docs needed This PR doesn't require links to documentation no peer bump needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants