Skip to content

Group only compatible dev-tool updates in Dependabot - #5

Merged
YauhenBichel merged 1 commit into
mainfrom
chore/dependabot-compatible-updates
Sep 13, 2026
Merged

YauhenBichel merged 1 commit into
mainfrom
chore/dependabot-compatible-updates

Conversation

@YauhenBichel

Copy link
Copy Markdown
Member

Dependabot's first grouped update (#4) put five dev tools into one pull request:

Package From To
@babel/core, @babel/preset-env, @babel/preset-typescript 7.29.7 8.0.x
@types/node 22.20.2 26.5.1
typescript 6.0.3 7.0.2

Every CI job failed at npm ci:

npm error ERESOLVE could not resolve
npm error While resolving: typescript-eslint@8.70.0
npm error Found: typescript@7.0.2

typescript-eslint 8.70 supports TypeScript below 6.1. CI was right to block it. But a group that mixes majors can never go green while one of them is incompatible, and it hides the updates that would pass.

Change (.github/dependabot.yml only)

  • The dev-tooling group takes minor and patch updates only. A major update arrives as its own pull request, so CI judges each one alone.
  • Skipped until the tools around them support the new version:
    • typescript minor and major. typescript-eslint declares an upper bound, and a TypeScript minor like 6.1 crosses it.
    • @babel/* major. Babel 8 needs babel-jest and react-native-builder-bob support.
    • @types/node major. It follows the Node version CI runs, which is 22.
  • GitHub Actions updates are unchanged.

How it was checked

  • The file validates against SchemaStore's dependabot-2.0 schema. A copy with wrong values (bugfix, and semver-major without the version-update: prefix) fails the same validator on all three fields, so the check is real.
  • It passes Prettier.

After this merges I'll close #4, which the new rules would not create. health-data gets the same change next.

🤖 Generated with Claude Code

The first grouped update (#4) bumped Babel 8, TypeScript 7 and
@types/node 26 together, and every CI job failed at npm ci: ERESOLVE,
typescript-eslint 8.70 supports TypeScript below 6.1. Group minor and
patch updates only, so a major arrives on its own, and skip the updates
that need a coordinated change: TypeScript minor and major, Babel major,
and @types/node major (it follows the Node version CI runs).

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@YauhenBichel
YauhenBichel merged commit 54f0a1a into main Sep 13, 2026
8 checks passed
@YauhenBichel
YauhenBichel deleted the chore/dependabot-compatible-updates branch September 13, 2026 13:04
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