Skip to content

fix: demote ERR_PNPM_IGNORED_BUILDS to warning in publish step#71

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

fix: demote ERR_PNPM_IGNORED_BUILDS to warning in publish step#71
JohnMcLear merged 1 commit intomainfrom
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 9b6f2a2 into main Apr 17, 2026
3 checks passed
@JohnMcLear JohnMcLear deleted the fix/publish-env-var branch April 17, 2026 08:40
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