From 69209a677e51c032a5386e0d187bf2c5f1dca1fd Mon Sep 17 00:00:00 2001 From: John Kane Date: Thu, 26 Nov 2026 15:19:26 +0000 Subject: [PATCH] chore: regenerate the whole lockfile in version-for-release `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. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f667e937a33..6b359854adf 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "lint": "pnpm run --recursive --if-present lint && pnpm lint:scripts && pnpm lint:e2e && pnpm lint:workflows", "prelint:fix": "pnpm build", "lint:fix": "pnpm run --recursive --if-present lint:fix && pnpm lint:scripts:fix && pnpm lint:e2e:fix && pnpm lint:workflows:fix", - "version-for-release": "pnpm changeset version && node scripts/bump-peers.ts apply && pnpm -w install --lockfile-only", + "version-for-release": "pnpm changeset version && node scripts/bump-peers.ts apply && pnpm install --lockfile-only", "spellcheck": "cspell --no-progress || (echo \"\\n\\n==== cspell failed ===\\n\\nIf you think a word is correctly spelled, please add it to cspell.dictionary.txt\\nTo ignore a word use the comments 'cSpell:ignore wooord' or 'cspell:disable-next-line'\"; exit 1)", "lint:file": "node ./scripts/lint-file.ts", "test:file": "node ./scripts/test-file.ts",