Repository navigation
Commit 21f2cf1
chore: Pin pnpm 10 in Volta and remove .npmrc (#25641)
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](volta-cli/volta#2114)),
and pnpm 10 switches to the `packageManager` version by default, so
`manage-package-manager-versions=true` is not needed. `package.json` and
`CONTRIBUTING.md` now explain the pin and that it needs
`VOLTA_FEATURE_PNPM=1` in the shell profile.
## Why
- `pnpm test --watch` failed locally with `Unknown option: 'watch'`,
because pnpm 9 reads the options of its `test` command before it
switches.
- npm warned `Unknown project config "manage-package-manager-versions"`
at every call in the repo.
- Without `VOLTA_FEATURE_PNPM=1`, Volta ignores the pin, and the docs
did not name the variable.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 40eff80 commit 21f2cf1
4 files changed
Lines changed: 9 additions & 7 deletions
File tree
- .agents/skills/fix-security-vulnerability/scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | | - | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
0 commit comments