Commit faa10e8
ci(test-fixtures): override typecheck target for styling fixture apps
The Nx @nx/js/typescript plugin auto-infers `tsc --build --emitDeclarationOnly`
as the typecheck target for any project with a tsconfig.json. The Tailwind
and styled-components fixture apps have `noEmit: true` (they are Vite apps,
not libraries), so the inferred command fails with TS5069.
Override the inferred target with `tsc --noEmit` via the package.json `nx`
field. Type errors are still surfaced; the apps just no longer try to emit
declaration files they don't need.
Pre-existing failure on the base branch (feat/sprint-2734) — surfaced by CI
on this PR's merge gate. Reviewer-pushed fix to unblock the merge.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 85b10be commit faa10e8
2 files changed
Lines changed: 22 additions & 0 deletions
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
10 | 21 | | |
11 | 22 | | |
12 | 23 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
10 | 21 | | |
11 | 22 | | |
12 | 23 | | |
| |||
0 commit comments