Skip to content

build(deps): stop Dependabot proposing the typescript major bump - #167

Merged
jdevalk merged 1 commit into
mainfrom
build/dependabot-ignore-typescript-major
Aug 8, 2026
Merged

build(deps): stop Dependabot proposing the typescript major bump#167
jdevalk merged 1 commit into
mainfrom
build/dependabot-ignore-typescript-major

Conversation

@jdevalk

@jdevalk jdevalk commented Aug 8, 2026

Copy link
Copy Markdown
Owner

The problem

@astrojs/check@0.9.10 declares peerDependencies: { "typescript": "^5.0.0 || ^6.0.0" }. Any bump of the root typescript to v7 makes npm ci fail with ERESOLVE, so every job in every workflow dies at the install step — not just the type-check.

Because typescript falls into the dev-deps group, it also drags the other five bumps in that group down with it, so nothing in the group can land.

This has now happened twice:

Left alone it recurs every Monday, and each run mails a failure while gating nothing.

The change

Ignore major updates for typescript in the root manifest only:

    ignore:
      - dependency-name: "typescript"
        update-types: ["version-update:semver-major"]

Minor and patch updates still flow, so typescript@6.x keeps getting bumped.

Same shape and placement as the existing /mcp ignore for @cloudflare/workers-types, with the same "here is what would re-allow it" comment, so the register of deliberate holds stays readable.

Scoping

/mcp is a separate updates: entry and does not inherit this — verified by parsing the file. It declares typescript@^7.0.2 already and has no @astrojs/check, so there is no conflict there and no reason to hold it back.

After this lands

@dependabot recreate on #164 so it regenerates honouring the new ignore, which should let the other five dev-deps bumps through on their own.

🤖 Generated with Claude Code

@astrojs/check 0.9.10 peers typescript "^5.0.0 || ^6.0.0". Any bump to
v7 makes `npm ci` fail with ERESOLVE, so every job in every workflow
dies at install — and because typescript sits in the `dev-deps` group,
it takes the other five bumps down with it.

This has now happened twice: #155 was opened, never went green, and was
closed; Dependabot immediately regenerated it as #164, which fails
identically. Left alone it recurs every Monday.

Ignores major updates for typescript in the root manifest only. /mcp
keeps typescript ^7 — it has no @astrojs/check, so nothing there
conflicts. Re-allow once @astrojs/check widens its peer range.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying specification-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1b12f69
Status: ✅  Deploy successful!
Preview URL: https://ae2f18db.specification-website.pages.dev
Branch Preview URL: https://build-dependabot-ignore-type.specification-website.pages.dev

View logs

@jdevalk
jdevalk merged commit 92a371b into main Aug 8, 2026
8 checks passed
@jdevalk
jdevalk deleted the build/dependabot-ignore-typescript-major branch August 8, 2026 10:09
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