explorer: Deny install scripts in the Open Graph worker

The worker isn't part of the npm workspace, so the root allowScripts
doesn't cover it, and npm 12 refuses to install its dependencies under
strict-allow-scripts. The wrangler dry-run bundle doesn't need any of
these scripts.
This commit is contained in:
Rūdolfs Ošiņš
2026-11-03 17:33:10 +01:00
parent 2d2e4c6b27
commit 73de4c0cc1
+6
View File
@@ -8,5 +8,11 @@
},
"devDependencies": {
"wrangler": "^4"
},
"allowScripts": {
"esbuild": false,
"fsevents": false,
"sharp": false,
"workerd": false
}
}