build(deps): stop Dependabot proposing the typescript major bump - #167
Merged
Conversation
@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>
Deploying specification-website with
|
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The problem
@astrojs/check@0.9.10declarespeerDependencies: { "typescript": "^5.0.0 || ^6.0.0" }. Any bump of the roottypescriptto v7 makesnpm cifail withERESOLVE, so every job in every workflow dies at the install step — not just the type-check.Because
typescriptfalls into thedev-depsgroup, 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
typescriptin the root manifest only:Minor and patch updates still flow, so
typescript@6.xkeeps getting bumped.Same shape and placement as the existing
/mcpignore for@cloudflare/workers-types, with the same "here is what would re-allow it" comment, so the register of deliberate holds stays readable.Scoping
/mcpis a separateupdates:entry and does not inherit this — verified by parsing the file. It declarestypescript@^7.0.2already and has no@astrojs/check, so there is no conflict there and no reason to hold it back.After this lands
@dependabot recreateon #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