mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-23 18:17:14 +00:00
fix: downgrade ERR_PNPM_IGNORED_BUILDS to a warning (#7527)
Plugin CI is still failing on ERR_PNPM_IGNORED_BUILDS even with the build-script policy declared in both pnpm-workspace.yaml (#7523) and package.json (#7525). pnpm's strict-dep-builds defaults to true in 10+, so any transitive dep with an unrecognized postinstall fails the build. For etherpad-lite — and especially for downstream plugin repos that pull this codebase as their core install — that's a footgun: the moment some new transitive ships a postinstall, every plugin's CI explodes. Set strictDepBuilds: false in pnpm-workspace.yaml AND strict-dep-builds=false in .npmrc as a defensive layer, so unknown postinstalls become a warning instead of a hard failure. The allow/ignore lists still control what actually runs. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
58c8e26eb1
commit
372ea3be94
2 changed files with 5 additions and 0 deletions
1
.npmrc
Normal file
1
.npmrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
strict-dep-builds=false
|
||||
|
|
@ -11,3 +11,7 @@ onlyBuiltDependencies:
|
|||
# encountered as transitive deps (e.g. scarf pulled in via swagger-ui-dist).
|
||||
ignoredBuiltDependencies:
|
||||
- '@scarf/scarf'
|
||||
# Belt-and-suspenders: even if a fresh transitive dep slips through with a
|
||||
# postinstall script, downgrade to a warning so CI doesn't break for
|
||||
# downstream plugin repos that pull etherpad-lite as their core install.
|
||||
strictDepBuilds: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue