Skip to content

perf: use tsgo for typechecking in build and vitest#136

Merged
binjospookie merged 2 commits into
mainfrom
tsgo
Jun 29, 2026
Merged

perf: use tsgo for typechecking in build and vitest#136
binjospookie merged 2 commits into
mainfrom
tsgo

Conversation

@binjospookie

Copy link
Copy Markdown
Contributor

Swap tsc -> tsgo (@typescript/native-preview) for the --noEmit typecheck step in all package build scripts and as vitest's typecheck.checker.

~45% faster typecheck and ~27% faster full build per package; vitest typecheck phase ~210ms -> ~70ms. All test suites still pass and the checker still reports type errors.

Swap tsc -> tsgo (@typescript/native-preview) for the --noEmit typecheck step in all package build scripts and as vitest's typecheck.checker.

~45% faster typecheck and ~27% faster full build per package; vitest typecheck phase ~210ms -> ~70ms. All test suites still pass and the checker still reports type errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@binjospookie binjospookie requested review from a team and kireevmp June 23, 2026 18:15
The tsc->tsgo build swap left knip flagging tsgo as an unlisted binary (it resolves from the root @typescript/native-preview dep, not per-package), failing pnpm lint. Ignore tsgo in each package's knip.json, matching how tsdown/vitest/knip/oxlint are handled; drop the now-stale tsc ignore in core/coda.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@binjospookie binjospookie merged commit a1294fe into main Jun 29, 2026
3 checks passed
@binjospookie binjospookie deleted the tsgo branch June 29, 2026 08:37
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