Skip to content

build: adopt TypeScript 7.0.2 - #27

Closed
MounirDhahri wants to merge 1 commit into
mainfrom
claude/typescript-7-retry
Closed

build: adopt TypeScript 7.0.2#27
MounirDhahri wants to merge 1 commit into
mainfrom
claude/typescript-7-retry

Conversation

@MounirDhahri

Copy link
Copy Markdown
Member

Description

Retry of the earlier TS7 attempt (#23), now unblocked by the Yarn 4.17 upgrade. Yarn 4.17 restricts its builtin compat/typescript patch to TS < 7, so the TS7 native compiler installs cleanly instead of failing on the removed lib/_tsc.js.

Bumps typescript 5.9.2 → 7.0.2 for much faster type-checking.

CI is the gate: yarn tsc must pass under the TS7 native compiler and yarn lint must still work (i.e. @typescript-eslint/parser 5.57 parses under TS7 — it version-warns but shouldn't hard-fail).

PR Checklist

  • Dependency bump only; no app code or UI change

🤖 Generated with Claude Code


Generated by Claude Code

Now that Yarn is on 4.17 (whose builtin compat patch is restricted to TS < 7),
the TS7 native compiler installs cleanly. Bump typescript 5.9.2 -> 7.0.2 for
much faster type-checking. CI (yarn tsc + yarn lint) verifies @typescript-eslint
still parses under TS7.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPWjhmaeq8DnsiiFD9Eg7A
@artsyit

artsyit commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator
Warnings
⚠️

Changes were made to package.json, but not to yarn.lock.
Perhaps you need to run yarn install?

Generated by 🚫 dangerJS against 127d24e

Copy link
Copy Markdown
Member Author

Closing for now per maintainer — deferring the TypeScript 7 upgrade.

For the record, it's blocked on tooling, not code: Yarn 4.17.0 still force-applies its builtin compat/typescript patch to TS7 and fails during install (ENOENT … typescript/lib/_tsc.js, removed in the native compiler). Revisit once Yarn ships berry#7190 (limits the patch to TS < 7) or with a known workaround. Staying on TypeScript 5.9.2.


Generated by Claude Code

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.

3 participants