Skip to content

chore: hold TypeScript at 5 until the toolchain can take 7 - #26

Merged
NeoVand merged 1 commit into
mainfrom
chore/hold-typescript-5
Jul 23, 2026
Merged

chore: hold TypeScript at 5 until the toolchain can take 7#26
NeoVand merged 1 commit into
mainfrom
chore/hold-typescript-5

Conversation

@NeoVand

@NeoVand NeoVand commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Stacked on #23 β€” retargets to main once that merges. Closes the loop on #19.

I attempted TypeScript 7 and it cannot be installed here. The blocker is upstream, not anything this repo can fix:

  • @sveltejs/kit@2.70.1 declares typescript: '^5.3.3 || ^6.0.0' β€” 7 is explicitly outside its supported peer range, so npm refuses the tree.
  • svelte-check crashes on startup against the 7.x compiler API β€” TypeError: Cannot read properties of undefined (reading 'useCaseSensitiveFileNames') β€” before it checks a single file. The current 4.7.3 still declares only typescript: '>=5.0.0' and fails the same way.

Forcing past the peer conflict would leave the project with no working type check at all, which is a worse position than staying on 5. So rather than leave #19 open and red β€” reopened and rediscovered every time a 7.x patch ships β€” this records the constraint next to the two majors already held for the same kind of reason.

The entry is written to be removed: once SvelteKit widens that range, the bump returns as its own PR and gets judged like any other major.

πŸ€– Generated with Claude Code

TypeScript 7 was attempted and cannot be installed here. The blocker is
upstream, not in this repo: @sveltejs/kit declares a peer range of
^5.3.3 || ^6.0.0, and svelte-check crashes on startup against the 7.x compiler
API before it checks a single file.

Forcing it past the peer conflict would leave the project with no working
type check, which is a worse position than staying on 5 β€” so this records the
constraint instead of leaving a red pull request to be reopened and
rediscovered every time a 7.x patch ships.

The entry is written to be removed: once SvelteKit widens that range the bump
comes back as its own PR and gets judged like any other major.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Base automatically changed from chore/deps-current to main July 23, 2026 01:21
@NeoVand
NeoVand merged commit b405e29 into main Jul 23, 2026
1 check passed
@NeoVand
NeoVand deleted the chore/hold-typescript-5 branch July 23, 2026 01:24
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