Skip to content

Ignore TypeScript major bumps in Dependabot - #512

Merged
adeelraza merged 1 commit into
masterfrom
claude/dependabot-ignore-ts-major
Aug 11, 2026
Merged

Ignore TypeScript major bumps in Dependabot#512
adeelraza merged 1 commit into
masterfrom
claude/dependabot-ignore-ts-major

Conversation

@adeelraza

Copy link
Copy Markdown
Contributor

Adds a Dependabot ignore rule so it stops proposing TypeScript major upgrades.

Why

TypeScript 7 is the native compiler rewrite. tsup's bundled rollup-plugin-dts@6.1.1 targets the TS 5.x compiler API and cannot emit the package's .d.ts under TS 7 — the build throws:

TypeError: Cannot read properties of undefined (reading 'useCaseSensitiveFileNames')

Since the published package is its type declarations, that's a hard blocker. Verified locally: under TS 7, typecheck and tests pass but npm run build fails at the DTS step.

This bump was also grouped into the dev-dependencies PR (#503) and turned the whole group red, blocking otherwise-safe minor/patch updates from landing.

Change

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

Scoped to major only — TypeScript minor/patch within the current major still flow normally. Lift this once tsup / rollup-plugin-dts support TS 7.

Follow-up (not in this PR)

TypeScript 7 is the native compiler rewrite. tsup's bundled
rollup-plugin-dts targets the TS 5.x compiler API and cannot emit the
package's .d.ts declarations under TS 7 (the build fails with
'Cannot read properties of undefined (reading useCaseSensitiveFileNames)').

This bump also poisoned the whole dev-dependencies group PR (#503), keeping
otherwise-safe minor/patch updates from landing. Ignore only the major
version-update for typescript; minor/patch within the current major keep
flowing, and we can lift this once tsup/rollup-plugin-dts support TS 7.
@adeelraza
adeelraza merged commit 4006c3a into master Aug 11, 2026
14 checks passed
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.87%. Comparing base (beef7c7) to head (c3b8255).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #512   +/-   ##
=======================================
  Coverage   94.87%   94.87%           
=======================================
  Files           2        2           
  Lines          78       78           
  Branches       20       20           
=======================================
  Hits           74       74           
  Misses          1        1           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@adeelraza
adeelraza deleted the claude/dependabot-ignore-ts-major branch August 11, 2026 14:44
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