Skip to content

chore: stop Dependabot proposing TypeScript major bumps - #629

Merged
lmorchard merged 1 commit into
mainfrom
chore/dependabot-ignore-ts-major
Jul 27, 2026
Merged

chore: stop Dependabot proposing TypeScript major bumps#629
lmorchard merged 1 commit into
mainfrom
chore/dependabot-ignore-ts-major

Conversation

@lmorchard

Copy link
Copy Markdown
Collaborator

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 of pnpm run build, and therefore releases.

There is no upstream path today:

  • rollup-plugin-dts@6.4.1 (latest) caps its peer range at typescript: ^4.5 || ^5.0 || ^6.0
  • 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.0.3.

Since a major bump isn't actionable until that upstream chain moves, stop proposing one.

Change

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

What this does and doesn't affect

typescript stays in the devdependencies group. Dependabot applies ignore rules before grouping, so:

  • ✅ TypeScript minor and patch updates still arrive, grouped as before
  • ✅ Every other dependency is untouched
  • 🚫 Only TypeScript major bumps are suppressed

Relationship to #614

#614 added the Release build job, 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 ignore block once TS 7.1 lands and rollup-plugin-dts supports it. The comment in the file says so, and #628 tracks the full upgrade plan.

Verification

YAML parses; ignore sits at the correct level as a sibling of groups; all four groups and their patterns are unchanged; typescript is still listed under devdependencies.

🤖 Generated with Claude Code

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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ignore rule to block typescript major 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.

@lmorchard
lmorchard merged commit 064b215 into main Jul 27, 2026
15 checks passed
@lmorchard
lmorchard deleted the chore/dependabot-ignore-ts-major branch July 27, 2026 21:50
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.

2 participants