Skip to content

chore: Enforce strict peer deps to catch bad dependabot PRs#88

Merged
jhnns merged 1 commit into
mainfrom
fix/strict-peer-deps
Jun 8, 2026
Merged

chore: Enforce strict peer deps to catch bad dependabot PRs#88
jhnns merged 1 commit into
mainfrom
fix/strict-peer-deps

Conversation

@jhnns

@jhnns jhnns commented Jun 8, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds strict-peer-deps=true to .npmrc so dependabot fails when generating a lock file with peer dependency conflicts, preventing such PRs from being created in the first place
  • Adds --strict-peer-deps to npm ci in the test workflow as a safety net — any conflict that slips through will cause CI to fail

Test plan

  • Verify the test workflow passes on this PR
  • Confirm a future dependabot PR with peer dep conflicts is either blocked or fails CI

🤖 Generated with Claude Code

Adds strict-peer-deps=true to .npmrc so dependabot fails when generating
a lock file with peer dependency conflicts, preventing such PRs from being
created. Also adds --strict-peer-deps to npm ci in CI so any conflict that
slips through causes the workflow to fail.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jhnns jhnns merged commit 01c52a0 into main Jun 8, 2026
3 checks passed
@jhnns jhnns deleted the fix/strict-peer-deps branch June 8, 2026 20:19
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