Skip to content

build(deps): ignore typescript major bumps in dependabot group - #484

Open
sspaink wants to merge 1 commit into
mainfrom
dependabot-ignore-typescript-major
Open

build(deps): ignore typescript major bumps in dependabot group#484
sspaink wants to merge 1 commit into
mainfrom
dependabot-ignore-typescript-major

Conversation

@sspaink

@sspaink sspaink commented Aug 11, 2026

Copy link
Copy Markdown
Member

Why

#480 fails on both build and lint at the npm install --include=dev step, before anything is compiled or linted:

npm error code ERESOLVE
npm error While resolving: typescript-eslint@8.66.0
npm error Found: typescript@7.0.2
npm error Could not resolve dependency:
npm error peer typescript@">=4.8.4 <6.1.0" from typescript-eslint@8.66.0

The grouped update bumped typescript from ^6.0.3 to ^7.0.2, which no released typescript-eslint supports — 8.67.0 (latest at time of writing) still peers on typescript >=4.8.4 <6.1.0. The v8 line only warns when TS 7 is detected (8.65.0); it doesn't support it.

Because the npm group uses patterns: ["*"], a single incompatible major blocks the whole batch of otherwise-safe patch/minor bumps.

What

Ignore semver-major updates for typescript so grouped dependency PRs stay mergeable. The comment notes to drop this once typescript-eslint supports TypeScript 7.

Follow-up: #480 still needs @dependabot recreate (or a @dependabot ignore typescript major version comment) to pick up the new config and drop the TS 7 bump.

typescript-eslint v8 declares a peer dependency of
typescript ">=4.8.4 <6.1.0", so when dependabot bumped typescript to
7.x the grouped update failed `npm install` with ERESOLVE and both the
build and lint jobs errored before running (#480).

Since the npm group matches all packages, one incompatible major takes
down the entire batch. Ignore typescript majors until typescript-eslint
supports typescript 7.

Signed-off-by: Sebastian Spaink <sebastianspaink@gmail.com>
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