Commit 199ee56
chore: pin pnpm version via packageManager field (#623)
* chore: pin pnpm version via packageManager field
Adds 'packageManager': 'pnpm@10.33.0' to root package.json so that
contributors using corepack get the same pnpm version as CI
(.github/workflows/_build.yaml uses pnpm/action-setup@v4 with version 10).
Also bumps the engines.pnpm range from '>=8.0.0' to '>=10.0.0' for
consistency. The previous loose constraint allowed contributors to
regenerate pnpm-lock.yaml with pnpm 8 or 9, which strips lockfile-v9+
fields like 'libc' from native package entries — exactly what happened
in #621 and required #622 as a follow-up cleanup.
This is a recurrence-prevention measure following that incident.
* ci: pin pnpm to 10.33.0 in _build.yaml to match packageManager
Addresses CodeRabbit feedback on this PR — packageManager pins to
10.33.0 exactly, but CI was floating on 'version: 10' which allowed
patch-level drift. Now both local (via corepack) and CI use the same
exact pnpm version.
---------
Co-authored-by: kwit75 <noreply@anthropic.com>1 parent e367287 commit 199ee56
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments