perf: replace tsc with tsgo for ~3x faster type checking#29
Closed
vanceingalls wants to merge 4 commits intomainfrom
Closed
perf: replace tsc with tsgo for ~3x faster type checking#29vanceingalls wants to merge 4 commits intomainfrom
vanceingalls wants to merge 4 commits intomainfrom
Conversation
VA-851 [Pre-Migration] Configure ESLint, Prettier, and conventional commits
ContextThe codebase currently has no linting or formatting enforcement. Code is clean by convention, but OSS contributors need automated guardrails. Team feedback: "I love when an open source repo has this." What to do
Why before portWe want the OSS repo's first commit to already have these configs in place and all code conforming. No "fix linting" commits in public history. |
This was referenced Mar 23, 2026
Collaborator
Author
7 tasks
44bcd24 to
89c1776
Compare
301f1fb to
0941b21
Compare
89c1776 to
432910e
Compare
0941b21 to
4ccccd7
Compare
69344f0 to
f4dd394
Compare
523866f to
a3967aa
Compare
f4dd394 to
04ff518
Compare
a3967aa to
21db56a
Compare
ed54754 to
5db2d37
Compare
21db56a to
4786a1d
Compare
5db2d37 to
dd29d9c
Compare
4786a1d to
a083c81
Compare
miguel-heygen
approved these changes
Mar 24, 2026
a083c81 to
9499de2
Compare
5b8e57f to
0c5cc70
Compare
9499de2 to
9d8bb8c
Compare
Keep pnpm for publish workflow only (publishConfig overrides + provenance). Bun handles install, run, and exec for all other workflows. - Add workspaces field to root package.json for bun workspace support - Replace pnpm setup with oven-sh/setup-bun in CI and release workflows - Update all scripts to use bun run / bun run --filter / bunx - Replace npx with bunx in lefthook hooks - Update CONTRIBUTING.md with bun commands - Delete pnpm-lock.yaml, add bun.lock - Keep pnpm-workspace.yaml for publish workflow compatibility Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0c5cc70 to
94e2544
Compare
9d8bb8c to
88770d4
Compare
Use @typescript/native-preview (tsgo) for --noEmit type checking. tsc remains for builds that need emit (.js, .d.ts).
88770d4 to
546598b
Compare
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.

Summary
tsc --noEmitwithtsgo --noEmitin all 5 packages' typecheck scripts@typescript/native-previewtscstays for build steps that need JS/declaration emitBenchmarks on this repo:
Part 6/6 of VA-851
Test plan
tsgo --noEmitpasses on all 5 packages with 0 errorstsc --noEmit(no new or missing errors)bun run buildstill works (uses tsc for emit, unaffected)