Skip to content

ci: add .npmrc with legacy-peer-deps to fix npm version ERESOLVE#1160

Merged
ffflorian merged 2 commits intomainfrom
chore/fix-release
Mar 28, 2026
Merged

ci: add .npmrc with legacy-peer-deps to fix npm version ERESOLVE#1160
ffflorian merged 2 commits intomainfrom
chore/fix-release

Conversation

@ffflorian
Copy link
Copy Markdown
Owner

eslint-plugin-import@2.32.0 declares peer dep eslint@"^2...^9" which
does not include eslint@10. npm (used internally by @semantic-release/npm)
fails with ERESOLVE when running npm version in the workspace context.
legacy-peer-deps restores the pre-npm-7 behaviour that yarn already uses.

eslint-plugin-import@2.32.0 declares peer dep eslint@"^2...^9" which
does not include eslint@10. npm (used internally by @semantic-release/npm)
fails with ERESOLVE when running `npm version` in the workspace context.
legacy-peer-deps restores the pre-npm-7 behaviour that yarn already uses.
@ffflorian ffflorian merged commit eb91cf7 into main Mar 28, 2026
4 checks passed
@ffflorian ffflorian deleted the chore/fix-release branch March 28, 2026 20:52
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