Commit cf3c136
build(turbo): gate vite-demo typecheck on own build to fix sidecar race
The global typecheck task dependsOn [^build, sync] only — not the
package's own build. The 5 vite-demo consumers include unplugin-emitted
.d.rozie.ts sidecars via src/**/*, so under `turbo … --force` a
package's own build (which rewrites those sidecars) races its typecheck
(which reads them), producing a transient red that passes on re-run.
Add package-scoped #typecheck overrides for react-vite-demo,
solid-vite-demo, svelte-vite-demo, vue-vite-demo, and lit-vanilla-demo
so each typecheck now depends on its own build. Global typecheck left
untouched so toolchain packages avoid the extra serialization.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b744aab commit cf3c136
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
43 | 63 | | |
44 | 64 | | |
45 | 65 | | |
| |||
0 commit comments