summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2026-08-27 15:04:00 -0400
committerJoe Mou <dev@mou.fo>2026-08-27 16:28:57 -0400
commit1b9d13fce99b9d798dd604f402699bb47cb1627e (patch)
treeebe1ce27574e3ca291e37187b2b7d8059f8f2bbd
parent1f014a1f2a51cc9ced0349fe6353a6cc79303161 (diff)
Move the workerd build allowance out of package.json
pnpm 11 no longer reads the "pnpm" field in package.json and warns that it ignored onlyBuiltDependencies, which would leave workerd's build script unapproved and unrun on a fresh install. Its new home is pnpm-workspace.yaml, which pnpm accepts without a packages key for a single-package repo. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PbJ1wy2dNdjk7LpME4ud3J
-rw-r--r--cgithub/package.json5
-rw-r--r--cgithub/pnpm-workspace.yaml4
2 files changed, 4 insertions, 5 deletions
diff --git a/cgithub/package.json b/cgithub/package.json
index ce25701..f711cf8 100644
--- a/cgithub/package.json
+++ b/cgithub/package.json
@@ -17,11 +17,6 @@
"hono": "^4.6.14",
"htmlparser2": "^10.1.0"
},
- "pnpm": {
- "onlyBuiltDependencies": [
- "workerd"
- ]
- },
"devDependencies": {
"@types/node": "^22.10.2",
"prettier": "^3.8.1",
diff --git a/cgithub/pnpm-workspace.yaml b/cgithub/pnpm-workspace.yaml
new file mode 100644
index 0000000..de7e99c
--- /dev/null
+++ b/cgithub/pnpm-workspace.yaml
@@ -0,0 +1,4 @@
+allowBuilds:
+ esbuild: false
+ sharp: false
+ workerd: true