fix(deps): pin typescript to ~6.0.3 — TS 7 unsupported by lint toolchain#167
Open
salishforge wants to merge 1 commit into
Open
fix(deps): pin typescript to ~6.0.3 — TS 7 unsupported by lint toolchain#167salishforge wants to merge 1 commit into
salishforge wants to merge 1 commit into
Conversation
The dev-dependencies bump to typescript@^7.0.2 (#154) broke `npm ci` repo-wide: every @typescript-eslint release through 8.65.0 declares peer typescript '>=4.8.4 <6.1.0', so dependency resolution fails with ERESOLVE before any job can run. Main and every open PR have been red since. Dependabot's own follow-up (#158, eslint-plugin 8.65.0) cannot fix it — 8.65.0 carries the same <6.1.0 cap. ~6.0.3 is the newest TypeScript the toolchain supports (and the exact version the code has been verified against). Revisit when typescript-eslint publishes TS 7 support. Verified: npm ci, tsc --noEmit, eslint, tsc build all pass locally. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011xCqQo49d3CEbn6oEvb3Ru
This was referenced Jul 26, 2026
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.
Summary
Main CI has been fully red since the dev-deps bump to
typescript@^7.0.2(#154): every@typescript-eslintrelease through 8.65.0 pins peertypescript >=4.8.4 <6.1.0, sonpm cifails with ERESOLVE before any job runs — which is why all 11 checks fail in seconds on every open PR, including the Phase 5 stack (#160–#166) and dependabot's own attempted fix #158 (8.65.0 carries the same cap).This pins
typescriptto~6.0.3— the newest version the lint toolchain supports, and the exact version the codebase has been building against locally — and regenerates the lockfile.Verification
npm ci— clean resolvetsc --noEmit,eslint src/,tscbuild — all pass under 6.0.3Follow-up
typescriptmajor 7 until typescript-eslint ships support.🤖 Generated with Claude Code
https://claude.ai/code/session_011xCqQo49d3CEbn6oEvb3Ru