Skip to content

Commit bf0da8c

Browse files
committed
fix(ci): migrate build script approvals to allowBuilds for pnpm 11
pnpm 11 replaced onlyBuiltDependencies with the allowBuilds map. The workspace still used the legacy key plus a broken allowBuilds section with placeholder values, so every Deploy to GitHub Pages run failed at pnpm install with ERR_PNPM_IGNORED_BUILDS (esbuild, lefthook) since the pnpm v10 -> v11 bump (#433). Replace the placeholder allowBuilds entries with real booleans for esbuild, lefthook, and sharp, and drop the ignored legacy key.
1 parent 6ac936f commit bf0da8c

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ pnpm-debug.log
3737
perf_test_data/
3838
tmp
3939
.opencode/package-lock.json
40+
/.playwright-mcp/
4041
# START AI Agent Symlinks
4142
.agent/commands
4243
.agent/commands.bak.*
@@ -85,4 +86,3 @@ GEMINI.md
8586
GEMINI.md.bak.*
8687
opencode.json
8788
# END AI Agent Symlinks
88-
/.playwright-mcp/

pnpm-workspace.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ packages:
22
- npm/agentsync
33
- website/docs
44

5-
onlyBuiltDependencies:
6-
- esbuild
7-
- lefthook
8-
- sharp
9-
105
catalog:
116
'@dallay/agentsync': 1.45.2
127
'@semantic-release/changelog': ^7.0.0
@@ -29,5 +24,6 @@ minimumReleaseAgeExclude:
2924
- sharp@0.35.0
3025

3126
allowBuilds:
32-
esbuild: set this to true or false
33-
lefthook: set this to true or false
27+
esbuild: true
28+
lefthook: true
29+
sharp: true

0 commit comments

Comments
 (0)