Skip to content

build: typecheck with TypeScript 7 - #185

Merged
lorenzocorallo merged 1 commit into
chore/vite-plus-1.7from
perf/typescript-7
Nov 24, 2026
Merged

lorenzocorallo merged 1 commit into
chore/vite-plus-1.7from
perf/typescript-7

Conversation

@lorenzocorallo

Copy link
Copy Markdown
Member

Stacked on #181. Moves tsc to the native TypeScript 7 compiler.

typescript@7 ships only tsc, so the five tests that parse sources now take the compiler API from @typescript/typescript6, Microsoft's package for it.

Before (#181) After
pnpm typecheck 6.7 s / 1.49 GB / 10.6 CPU-s 1.6 s / 1.53 GB / 6.6 CPU-s
pnpm check 1.8 s / 1.15 GB 1.8 s / 1.17 GB
pnpm test 2.4 s / 1.02 GB 2.3 s / 0.99 GB
.output same content, differs only by checkout paths

Wall time / peak RSS of the whole process tree, best of 3, on a 10-core Apple Silicon machine.

For reference, #181 itself takes pnpm check from 3.9 s / 2.5 GB on main to 1.7 s / 1.2 GB.

Checked

Not checked: editors set to use the workspace TypeScript. The package no longer contains tsserver.

typescript@7 ships only the native tsc, so the tests that parse sources take the compiler API from @typescript/typescript6.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0d1145ca-b0fd-4336-b240-c96031c0859e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@lorenzocorallo
lorenzocorallo merged commit 9137fc9 into chore/vite-plus-1.7 Nov 24, 2026
2 checks passed
@lorenzocorallo
lorenzocorallo deleted the perf/typescript-7 branch November 24, 2026 21:25
lorenzocorallo added a commit that referenced this pull request Nov 24, 2026
* build: upgrade Vite+ to 1.7 and vendor the anti-slop lint rules

Vite+ 1.7 replaces oxlint-tsgolint with tsrs-lint for type-aware linting.
@zap-studio/oxlint was only used for its anti-slop plugin and required
oxlint-tsgolint as a peer; the same upstream rules are now vendored in
tools/oxlint/anti-slop, matching aule.

* build: typecheck with TypeScript 7 (#185)

typescript@7 ships only the native tsc, so the tests that parse sources take the compiler API from @typescript/typescript6.
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