perf(typecheck): check shared tests only in the Node project (#29381)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
OrcaWin
2026-10-15 20:52:31 -07:00
committed by GitHub
co-authored by OrcaWin
parent 79d131d521
commit a3dda8af42
4 changed files with 74 additions and 0 deletions
+6
View File
@@ -60,6 +60,12 @@ pnpm test
pnpm build
```
For repeated local typechecks, use `pnpm tc` (or `pnpm tc:node`, `pnpm tc:web`,
and `pnpm tc:cli`). These keep TypeScript's incremental cache. CI uses
`pnpm typecheck:ci` with Bun for full checks. Shared tests are checked by the
Node project; shared production code is checked in all three environments.
Run `pnpm tc:node` after editing shared tests, or `pnpm tc` to check everything.
Add high-quality tests for behavior changes and bug fixes. Prefer tests that would actually catch a regression, not shallow coverage that only exercises the happy path.
If your change affects UI or interaction behavior, verify it on the platforms it could impact.