Skip to content

Commit 6d59f40

Browse files
committed
fix(vercel): drop engines.pnpm; declare pnpm only via devEngines
Vercel auto-selects pnpm 9 for older projects and fails when engines.pnpm requires >=11. Keep devEngines pnpm ^11.0.0 only, set engines.node to 24.x, omit packageManager and installCommand.
1 parent 157e95e commit 6d59f40

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: pnpm/action-setup@v6
1818
- uses: actions/setup-node@v6
1919
with:
20-
node-version: ">=24"
20+
node-version: 24
2121
cache: pnpm
2222
- run: pnpm install --frozen-lockfile
2323
- run: pnpm build

‎.node-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.12.0
1+
24

‎package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"typescript": "^7.0.2"
1919
},
2020
"engines": {
21-
"node": ">=24",
22-
"pnpm": ">=11"
21+
"node": "24.x"
2322
},
2423
"devEngines": {
2524
"packageManager": {

0 commit comments

Comments
 (0)