Skip to content

Commit a8b3c3a

Browse files
committed
Move pnpm onlyBuiltDependencies to pnpm-workspace.yaml
pnpm 11 no longer reads the "pnpm" field from package.json and warns "The 'pnpm' field in package.json is no longer read by pnpm." Because unrs-resolver's build script was no longer approved, pnpm 11 treated the ignored build as fatal (ERR_PNPM_IGNORED_BUILDS) and failed the install. Move the setting to pnpm-workspace.yaml (pnpm 11's new home for it) and drop the now-dead pnpm field from package.json.
1 parent 8705127 commit a8b3c3a

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

tests/e2e/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@
1111
"test:run": "jest --runInBand",
1212
"typecheck": "tsgo --noEmit"
1313
},
14-
"pnpm": {
15-
"onlyBuiltDependencies": [
16-
"unrs-resolver"
17-
]
18-
},
1914
"devDependencies": {
2015
"@jest/globals": "^30.0.0",
2116
"@types/node": "^24.12.0",

tests/e2e/pnpm-workspace.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
onlyBuiltDependencies:
2+
- unrs-resolver

0 commit comments

Comments
 (0)