chore: stop Dependabot proposing TypeScript major bumps - #629
Merged
Conversation
TypeScript 7 is the Go port of the compiler and ships no public programmatic API; Microsoft has said a replacement arrives in 7.1. Tools that drive TypeScript through that API cannot run on it. For this repo that means tsup's declaration emit via rollup-plugin-dts, which takes down all of `pnpm run build` and therefore releases. There is no upstream path today: rollup-plugin-dts@6.4.1 still caps its peer range at `^6.0`, and tsup is already at its latest 8.5.1. #617 proposed the bump anyway and merged green, breaking the release build until #627 pinned back to ^6. A major bump is not actionable until that chain moves, so stop proposing one. Dependabot applies ignore rules before grouping, so minor and patch updates still flow through the devdependencies group as before. #614 now fails such a bump loudly rather than letting it merge green; this removes the churn on top of that. See #628 for the upgrade plan. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adjusts Dependabot configuration to suppress TypeScript semver-major update PRs, avoiding known breakage in the repo’s release build pipeline (tsup DTS emit via rollup-plugin-dts) until upstream tooling supports TypeScript 7’s new programmatic API.
Changes:
- Added a Dependabot
ignorerule to blocktypescriptmajor updates while still allowing minor/patch updates. - Documented the rationale and removal conditions inline in the Dependabot config.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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 is the Go port of the compiler and ships no public programmatic API — Microsoft has said a replacement arrives in 7.1. Any tool that drives TypeScript through that API breaks on it. For this repo that's tsup's declaration emit via
rollup-plugin-dts, which takes down all ofpnpm run build, and therefore releases.There is no upstream path today:
rollup-plugin-dts@6.4.1(latest) caps its peer range attypescript: ^4.5 || ^5.0 || ^6.0tsupis already at its latest 8.5.1#617 proposed the bump anyway and merged green, breaking the release build until #627 pinned back to
^6.0.3.Since a major bump isn't actionable until that upstream chain moves, stop proposing one.
Change
What this does and doesn't affect
typescriptstays in thedevdependenciesgroup. Dependabot appliesignorerules before grouping, so:Relationship to #614
#614 added the
Release buildjob, so a bump like this now fails loudly instead of merging green. That's the safety net; this removes the recurring churn on top of it. The two are complementary — this PR is not a substitute for the guard.Reverting
Remove the
ignoreblock once TS 7.1 lands androllup-plugin-dtssupports it. The comment in the file says so, and #628 tracks the full upgrade plan.Verification
YAML parses;
ignoresits at the correct level as a sibling ofgroups; all four groups and their patterns are unchanged;typescriptis still listed underdevdependencies.🤖 Generated with Claude Code