Commit 57b5cb3
authored
chore: raise the pnpm pin to ^12.4.1 (#89)
Raises the pnpm pin in `devEngines.packageManager` from `^12.0.0` to
`^12.4.1` and records 12.4.1 in `pnpm-lock.yaml` (previously 12.3.4),
the same change as middleapi/orpc#2012. With a range pin, any
environment that launches pnpm through Corepack resolves the range to
the newest 12.x on npm and cannot switch to the version recorded in the
lockfile, so an older lockfile pin fails `pnpm install
--frozen-lockfile` with
`ERR_PNPM_FROZEN_LOCKFILE_WITH_OUTDATED_LOCKFILE`. Keeping the pin at
the current release avoids that.
## Behavior
- The lockfile diff is limited to the `packageManagerDependencies` block
and the `@pnpm/exe.*` platform packages for 12.4.1.
- The next pnpm 12.x release needs another refresh (`pnpm self-update
<version>` followed by `pnpm install`).
## Testing
- `pnpm install --frozen-lockfile` passes with pnpm 12.4.1: the
supply-chain check passes and the resolution step is skipped.
- `eslint package.json` passes.1 parent bc42bcd commit 57b5cb3
2 files changed
Lines changed: 95 additions & 38 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments