Files
evig/scripts
Mao NakamotoandClaude Opus 4.8 3af568208e perf(build): skip in-build TS pass, run typecheck parallel in deploy
next build spent ~3min type-checking on top of the webpack compile. That
pass is now disabled (typescript.ignoreBuildErrors) and replaced by
`npm run typecheck` running IN PARALLEL with the build in the self-host
deploy script — tsc uses the spare core (build runs 3 workers on a 4-core
box) so the gate overlaps the build instead of adding ~3min serially. The
deploy aborts before rsync if typecheck fails, so no type error ships.

Net: ~8min warm build -> ~5min. (Cold-cache builds were the ~30min ones;
.next/cache is preserved between deploys.)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 13:32:18 +02:00
..