Skip to content

fix(deps): pin typescript to ~6.0.3 — TS 7 unsupported by lint toolchain#167

Open
salishforge wants to merge 1 commit into
mainfrom
fix/pin-typescript-toolchain-supported
Open

fix(deps): pin typescript to ~6.0.3 — TS 7 unsupported by lint toolchain#167
salishforge wants to merge 1 commit into
mainfrom
fix/pin-typescript-toolchain-supported

Conversation

@salishforge

Copy link
Copy Markdown
Owner

Summary

Main CI has been fully red since the dev-deps bump to typescript@^7.0.2 (#154): every @typescript-eslint release through 8.65.0 pins peer typescript >=4.8.4 <6.1.0, so npm ci fails 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 typescript to ~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 resolve
  • tsc --noEmit, eslint src/, tsc build — all pass under 6.0.3

Follow-up

🤖 Generated with Claude Code

https://claude.ai/code/session_011xCqQo49d3CEbn6oEvb3Ru

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
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