Skip to content

Commit 35f74c4

Browse files
Paul Mulliganclaude
andcommitted
fix(ci): approve esbuild/sharp builds via pnpm-workspace.yaml onlyBuiltDependencies
pnpm 10 moved build-script settings out of package.json (it now ignores the `pnpm` field) and treats esbuild's previously-ignored build as a hard ERR_PNPM_IGNORED_BUILDS in CI. Approve the builds in pnpm-workspace.yaml (the current settings home) and drop the no-longer-read package.json pnpm field. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f4843b2 commit 35f74c4

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

app/package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,5 @@
5656
"typescript": "^5.8.3",
5757
"vite": "^6.3.5",
5858
"vitest": "^3.2.4"
59-
},
60-
"pnpm": {
61-
"onlyBuiltDependencies": [
62-
"esbuild",
63-
"sharp"
64-
]
6559
}
6660
}

app/pnpm-workspace.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
ignoredBuiltDependencies:
1+
# pnpm settings live here (pnpm 10+). Approve build scripts so CI's
2+
# `pnpm install --frozen-lockfile` doesn't fail with ERR_PNPM_IGNORED_BUILDS.
3+
onlyBuiltDependencies:
24
- esbuild
5+
- sharp

0 commit comments

Comments
 (0)