Commit 794b55c
committed
refactor(scripts): use vp run -t for dependency-aware example build
Replace the manual `pnpm --filter ... && pnpm --filter ...` chain with
viteplus's transitive task runner. `vp run -t @pkg#task` runs the task
in the target package and all its workspace dependencies in
topological order, derived from the regular `package.json` workspace
deps, so the chain stays correct even if more workspace packages are
added later. Also opens the door to free task-level caching.1 parent d237cdc commit 794b55c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments