ci(dependabot): ignore TypeScript major bumps until the lint toolchain supports TS7#1019
Conversation
…n supports TS7 TypeScript 7 is the native (Go) port whose `typescript` package drops the classic programmatic compiler API; typescript-eslint (latest 8.65.0, peer `typescript >=4.8.4 <6.1.0`) and eslint-config-next don't support it, so a major bump breaks the required type-aware lint gate. The repo already keeps a separate `@typescript/typescript6` for compiler-API consumers. Add a durable Dependabot ignore for `typescript` semver-major updates so a future run can't re-raise the TS7 PR (superseding the ad-hoc close of #990). Remove this rule once typescript-eslint + eslint-config-next ship native-port support. Context: merged #1014 held the upgrade for the same reason. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TVVgc9PtHfj1aUQX387P8y
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
📝 WalkthroughWalkthroughDependabot is configured to ignore semver-major updates for ChangesTypeScript Update Policy
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Summary
Adds a durable Dependabot
ignorerule sotypescriptsemver-major updates are not re-raised until the lint toolchain supports the native port. This makes permanent the hold decided in #1014 (which landed@babel/parser8 + the@supabase/supabase-jsfloor and deliberately kept TypeScript at 6) and supersedes the ad-hoc close of Dependabot #990.Why: TypeScript 7 is the native (Go) port whose
typescriptpackage drops the classic programmatic compiler API (ts.createProgram/ts.transpileModuleareundefined).typescript-eslint(latest8.65.0, peertypescript: >=4.8.4 <6.1.0) andeslint-config-nextdon't support it, so a major bump hard-breaks the required type-aware lint gate. The repo already keeps a separate@typescript/typescript6for compiler-API consumers.Minor/patch TypeScript updates and all other dependencies are unaffected.
Verification
.github/dependabot.yml; no source, tests, or lockfile touched..github/dependabot.ymlparses as valid YAML and theignoreentry has the correct Dependabot schema shape ([{dependency-name: "typescript", update-types: ["version-update:semver-major"]}]).npx prettier --check .github/dependabot.yml— clean.Risk and rollout
ignoreblock from.github/dependabot.yml.Clinical Governance Preflight
Not applicable — no change to ingestion, answer generation, search/ranking, source rendering, document access, privacy, production env, or clinical output.
Notes
typescript-eslint+eslint-config-nextpublish releases whosetypescriptpeer range includes7.x— that's the single signal that TS7's native port is adoptable.Generated by Claude Code
Summary by CodeRabbit