Skip to content

fix: demote ERR_PNPM_IGNORED_BUILDS to warning in publish step#176

Merged
JohnMcLear merged 1 commit intomasterfrom
fix/publish-env-var
Apr 17, 2026
Merged

fix: demote ERR_PNPM_IGNORED_BUILDS to warning in publish step#176
JohnMcLear merged 1 commit intomasterfrom
fix/publish-env-var

Conversation

@JohnMcLear
Copy link
Copy Markdown
Member

pnpm 10.7+ treats ignored postinstalls as hard errors. A new transitive dep (unrs-resolver@1.11.1 via eslint-config-etherpadeslint-import-resolver-typescript) ships a postinstall that isn't in any allowlist, which fails every plugin's release job.

Set npm_config_strict_dep_builds=false as a job-level env var in the publish workflow so pnpm warns instead of failing. The allowlist in etherpad-lite's pnpm-workspace.yaml still controls what actually runs.

Generated with Claude Code

Set npm_config_strict_dep_builds=false as a job-level env var so pnpm
doesn't fail the release job when a transitive dep (e.g.
unrs-resolver@1.11.1 via eslint-config-etherpad) has a postinstall
script that isn't in any allowlist.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@JohnMcLear JohnMcLear merged commit 97f589a into master Apr 17, 2026
3 checks passed
@JohnMcLear JohnMcLear deleted the fix/publish-env-var branch April 17, 2026 08:41
JohnMcLear added a commit that referenced this pull request Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant