Skip to content

Commit 10e876a

Browse files
committed
ci: approve build scripts for pnpm v11
pnpm v11 errors out on unapproved install scripts. Add explicit onlyBuiltDependencies allowlist for native binaries and engines, and ignoredBuiltDependencies for noise (postinstall ads, unused gatsby).
1 parent b8e8cbf commit 10e876a

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

package.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,26 @@
7979
"overrides": {
8080
"@swc/helpers@~0.4": "0.4.36",
8181
"picomatch@4.0.3": "4.0.4"
82-
}
82+
},
83+
"onlyBuiltDependencies": [
84+
"@parcel/watcher",
85+
"@prisma/client",
86+
"@prisma/engines",
87+
"@swc/core",
88+
"esbuild",
89+
"lmdb",
90+
"msgpackr-extract",
91+
"prisma",
92+
"sharp",
93+
"svelte-preprocess",
94+
"unrs-resolver"
95+
],
96+
"ignoredBuiltDependencies": [
97+
"core-js",
98+
"core-js-pure",
99+
"es5-ext",
100+
"gatsby",
101+
"gatsby-cli"
102+
]
83103
}
84104
}

0 commit comments

Comments
 (0)