Commit d25ccfe
fix(repo): set proper turbo deps for test tasks
Root test scripts bypassed turbo entirely (vitest run), so workspace
packages were never built before their dependents' tests tried to import
from dist/. Additionally, examples/ used workspace:* deps but were not
in the pnpm workspace.
- Route root test scripts through turbo run test
- Change test.dependsOn from ^build to build so each package builds
itself before running tests
- Add examples/* to pnpm-workspace.yaml
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 02a4303 commit d25ccfe
4 files changed
+239
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
| 36 | + | |
33 | 37 | | |
34 | | - | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments