Skip to content

chore: migrate to tsgo and typescript 6.x [AR-51963]#216

Draft
StyleShit wants to merge 11 commits intodrivenets:mainfrom
StyleShit:chore/AR-51936-tsgo-ts-6
Draft

chore: migrate to tsgo and typescript 6.x [AR-51963]#216
StyleShit wants to merge 11 commits intodrivenets:mainfrom
StyleShit:chore/AR-51936-tsgo-ts-6

Conversation

@StyleShit
Copy link
Copy Markdown
Member

@StyleShit StyleShit commented Mar 5, 2026

tsgo is about x4.3 faster than tsc when running in the design system package:

hyperfine "pnpm tsc" "pnpm tsgo"
Benchmark 1: pnpm tsc
  Time (mean ± σ):      4.233 s ±  0.094 s    [User: 6.848 s, System: 0.536 s]
  Range (min … max):    4.121 s …  4.406 s    10 runs
 
Benchmark 2: pnpm tsgo
  Time (mean ± σ):     986.7 ms ±  34.2 ms    [User: 3397.4 ms, System: 502.7 ms]
  Range (min … max):   951.3 ms … 1044.2 ms    10 runs
 
Summary
  pnpm tsgo ran
    4.29 ± 0.18 times faster than pnpm tsc

Comment on lines -15 to -19
"strict": true,
"jsx": "react-jsx",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"noUncheckedSideEffectImports": true,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are the new defaults

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant