Skip to content

ci: hold TypeScript at 6.x in Dependabot updates - #12

Open
vpetersson-bot wants to merge 1 commit into
mainfrom
fix/dependabot-ignore-typescript-7
Open

vpetersson-bot wants to merge 1 commit into
mainfrom
fix/dependabot-ignore-typescript-7

Conversation

@vpetersson-bot

Copy link
Copy Markdown

Problem

The grouped Dependabot update in this repo bumps typescript to 7.0.2, and that
single bump is what fails CI. typescript-eslint has no TypeScript 7 support yet —
its peer range is typescript: ">=4.8.4 <6.1.0" as of the current release (8.70.0)
and even on the canary channel.

TypeScript 7 (the Go port) dropped the ts.Extension.Cjs API that
@typescript-eslint/typescript-estree reads, so linting dies before it looks at any
source file:

Oops! Something went wrong! :(
ESLint: 10.2.0
TypeError: Cannot read properties of undefined (reading 'Cjs')
    at node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js:59:14

On npm-based repos the same conflict surfaces earlier, as an ERESOLVE failure during install.

This is not specific to this repo — the same bump breaks CI in 21 repos across the org.

Fix

Ignore TypeScript >=7.0.0 in the Dependabot config until typescript-eslint supports it.
Everything else in the grouped update is fine and should keep flowing.

Verification

Reproduced and verified on Screenly/clock-app, on the Dependabot branch with every
other update from the group applied and only typescript held at 6.0.3:

bun run lint        # passes (fails with typescript@7.0.2)
bun run type-check  # passes
bun run test        # 7 pass, 0 fail

Follow-up

Once typescript-eslint ships TypeScript 7 support, drop the ignore block (the
inline comment says so) and let the bump through.

🤖 Generated with Claude Code

typescript-eslint has no TypeScript 7 support yet (peer range is
">=4.8.4 <6.1.0" as of typescript-eslint 8.70.0). TypeScript 7 removed the
`ts.Extension.Cjs` API that @typescript-eslint/typescript-estree reads, so the
grouped Dependabot bump to typescript@7.0.2 makes linting crash before it
reaches any source file.

Ignore typescript >=7.0.0 so the rest of the grouped update can land. Remove
the ignore once typescript-eslint supports TypeScript 7.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 11, 2026 16:45

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

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