diff options
| author | Joe Mou <dev@mou.fo> | 2026-08-27 15:04:00 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2026-08-27 16:28:57 -0400 |
| commit | b992cf6e27b8b7c6313358270daf6cbb8ea4a184 (patch) | |
| tree | e6110257be8a172efc1f6124c86b6e9e5ae230cc | |
| parent | 61b47cf1bb42f2c1cda6d6183b472517072e4a37 (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-- | package.json | 5 | ||||
| -rw-r--r-- | pnpm-workspace.yaml | 4 |
2 files changed, 4 insertions, 5 deletions
diff --git a/package.json b/package.json index ce25701..f711cf8 100644 --- a/package.json +++ b/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/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..de7e99c --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,4 @@ +allowBuilds: + esbuild: false + sharp: false + workerd: true |
