spikersoft-angular: root pnpm typecheck (tsc --noEmit) has ~9,200 pre-existing errors — unusable as a gate #664

Closed
opened 2026-07-17 16:19:05 +00:00 by spikerj · 1 comment
Owner

Discovered during #662 verification: pnpm run typecheck at the repo root produces 9,227 errors on clean master (spec files missing vitest global types, etc. — the root tsconfig sweeps in files whose type environments live in per-project tsconfigs). It has clearly not been part of any gate for a long time.

Options: scope the root typecheck to non-spec sources, replace it with nx run-many -t typecheck using per-project configs, or delete the script so nobody trusts it. Related to the CI coverage-gap theme (tests.yml path filters).

Discovered during #662 verification: `pnpm run typecheck` at the repo root produces 9,227 errors on clean master (spec files missing vitest global types, etc. — the root tsconfig sweeps in files whose type environments live in per-project tsconfigs). It has clearly not been part of any gate for a long time. Options: scope the root typecheck to non-spec sources, replace it with `nx run-many -t typecheck` using per-project configs, or delete the script so nobody trusts it. Related to the CI coverage-gap theme (tests.yml path filters).
Author
Owner

Resolved and merged to master. Closing.

  • spikerj/spikersoft-angular#433 — E2a local workspace plugin, adds per-project typecheck targets (merge commit 4996281693a4, merged 2026-07-19, fixes #664).

Took option 2 from the issue: the broken root tsc --noEmit script is gone, replaced on master by typecheck:allnx run-many -t typecheck --parallel=2, which uses each project's own tsconfig (so spec files get their vitest globals). No more ~9,200 phantom errors from the root sweep. Stayed open only because the cross-repo merge doesn't auto-close tracker issues.

Resolved and merged to `master`. Closing. - spikerj/spikersoft-angular#433 — E2a local workspace plugin, adds per-project `typecheck` targets (merge commit `4996281693a4`, merged 2026-07-19, `fixes #664`). Took option 2 from the issue: the broken root `tsc --noEmit` script is gone, replaced on `master` by `typecheck:all` → `nx run-many -t typecheck --parallel=2`, which uses each project's own tsconfig (so spec files get their vitest globals). No more ~9,200 phantom errors from the root sweep. Stayed open only because the cross-repo merge doesn't auto-close tracker issues.
Sign in to join this conversation.