Repository navigation
chore: Pin pnpm 10 in Volta and remove .npmrc - #25641
Merged
Merged
Conversation
Volta cannot start pnpm 11 or newer, because it looks for `bin/pnpm.cjs`. So the Volta pin stays on pnpm 10, which switches to the `packageManager` version by default. The `.npmrc` setting `manage-package-manager-versions` was only needed for pnpm 9. This also fixes `pnpm test --watch` locally (pnpm 9 rejected the option before it switched) and removes the npm warning about the unknown project config. package.json and CONTRIBUTING.md now say that the Volta pin needs `VOLTA_FEATURE_PNPM=1` in the shell profile. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andreiborza
approved these changes
Oct 22, 2026
JPeer264
enabled auto-merge (squash)
October 22, 2026 16:26
Contributor
size-limit report 📦Compared: 0a34b79 (PR test merge using develop at f15e256) Against: d476963 (develop) · base run #63141
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 1 failing, 37 successful. See the run.
Successful checks
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changes the Volta pnpm pin from 9.15.9 to 10.34.6 and removes the root
.npmrc. Volta cannot start pnpm 11 or newer (volta-cli/volta#2114), and pnpm 10 switches to thepackageManagerversion by default, somanage-package-manager-versions=trueis not needed.package.jsonandCONTRIBUTING.mdnow explain the pin and that it needsVOLTA_FEATURE_PNPM=1in the shell profile.Why
pnpm test --watchfailed locally withUnknown option: 'watch', because pnpm 9 reads the options of itstestcommand before it switches.Unknown project config "manage-package-manager-versions"at every call in the repo.VOLTA_FEATURE_PNPM=1, Volta ignores the pin, and the docs did not name the variable.