ci(deps): ignore typescript major-version bumps in dependabot config - #30
Merged
Merged
Conversation
Stop Dependabot from proposing typescript MAJOR-version bumps until the fleet's toolchain (tsup/rollup-plugin-dts DTS emit, typescript-eslint peer range) supports TS7. Prevents Dependabot from re-proposing and re-merging the same breaking major bump after a prior manual revert.
|
🎉 This PR is included in version 1.0.2 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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.
Why
TypeScript 7.x breaks this fleet's toolchain right now:
TS5101("baseUrl is deprecated") as a hard error under TS7.typescript-eslintstill caps its peer range belowtypescript@6.1.0as of its latest8.66.0release — no TS7 support yet.Several repos in the fleet have already had this manually fixed once (typescript pinned back down) only to have Dependabot re-propose and re-merge the exact same breaking major bump later, because Dependabot has no memory of a prior manual revert. This broke
mainon 5 repos in one night.What
Adds an
ignore:rule (sibling to the existinggroups:block) on the npmupdates:entry to stop Dependabot from proposingtypescriptmajor-version bumps at all, until the toolchain catches up. Minor/patch typescript updates are unaffected and continue to flow through the existingdev-dependenciesgroup as before.This is a deliberate, documented hold — not a permanent blind. Remove it once
typescript-eslintand the tsup/DTS toolchain support TS7.Config-only change, scoped to
.github/dependabot.yml. No application code or tests affected.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is enabled.