Repository navigation
build: typecheck with TypeScript 7 - #185
Merged
Merged
Conversation
typescript@7 ships only the native tsc, so the tests that parse sources take the compiler API from @typescript/typescript6.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #181. Moves
tscto the native TypeScript 7 compiler.typescript@7ships onlytsc, so the five tests that parse sources now take the compiler API from@typescript/typescript6, Microsoft's package for it.pnpm typecheckpnpm checkpnpm test.outputWall time / peak RSS of the whole process tree, best of 3, on a 10-core Apple Silicon machine.
For reference, #181 itself takes
pnpm checkfrom 3.9 s / 2.5 GB on main to 1.7 s / 1.2 GB.Checked
pnpm checkreports the same diagnostics (0 errors, 39 warnings); a file with deliberate type and lint errors failsvp checkandtscthe same way before and after.Not checked: editors set to use the workspace TypeScript. The package no longer contains
tsserver.