Skip to content

chore: upgrade to TypeScript 7 with Effect diagnostics via @effect/tsgo - #106

Merged
msmps merged 1 commit into
mainfrom
chore/typescript-7
Oct 31, 2026
Merged

msmps merged 1 commit into
mainfrom
chore/typescript-7

Conversation

@msmps

@msmps msmps commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner
  • typescript 5.9.3 -> 7.0.2 (pinned: @effect/tsgo supports specific
    TypeScript versions) and @effect/language-service -> @effect/tsgo 0.63.0.
  • typecheck runs effect-tsgo tsc, the Effect-patched compiler, so Effect
    diagnostics now run locally and in CI. This avoids the effect-tsgo patch
    prepare script, which rewrites files in node_modules (including the oxlint
    bundled with Vite+) on every install.
  • unstableApiUsage is off: the CLI uses effect/cli, effect/http and
    effect/process by design, and pins their version exactly instead.
  • Fix the diagnostics it reported: chained Effect.provide calls in tests,
    two catchTag calls (now catchTags), and an untyped decode in post-build.
  • VS Code: point at the TypeScript 7 native language server.

Stack

Merge bottom-up into main: merge #100 first, then each PR above it (GitHub retargets the next one to main).

- typescript 5.9.3 -> 7.0.2 (pinned: @effect/tsgo supports specific
  TypeScript versions) and @effect/language-service -> @effect/tsgo 0.63.0.
- typecheck runs `effect-tsgo tsc`, the Effect-patched compiler, so Effect
  diagnostics now run locally and in CI. This avoids the `effect-tsgo patch`
  prepare script, which rewrites files in node_modules (including the oxlint
  bundled with Vite+) on every install.
- unstableApiUsage is off: the CLI uses effect/cli, effect/http and
  effect/process by design, and pins their version exactly instead.
- Fix the diagnostics it reported: chained Effect.provide calls in tests,
  two catchTag calls (now catchTags), and an untyped decode in post-build.
- VS Code: point at the TypeScript 7 native language server.
@msmps
msmps force-pushed the chore/typescript-7 branch from afa0375 to 8c5ae34 Compare October 31, 2026 21:34
@msmps
msmps merged commit 05a07ff into main Oct 31, 2026
3 checks passed
@msmps
msmps deleted the chore/typescript-7 branch October 31, 2026 21:35
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