Skip to content

Commit 57b5cb3

Browse files
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

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"devEngines": {
88
"packageManager": {
99
"name": "pnpm",
10-
"version": "^12.0.0",
10+
"version": "^12.4.1",
1111
"onFail": "download"
1212
}
1313
},

‎pnpm-lock.yaml‎

Lines changed: 94 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)