Skip to content

Commit b9f5c2f

Browse files
antfubotantfu
authored andcommitted
fix(turbo): build json-render-ui before hub-vite and hub-next
Both examples dynamically import `@devframes/json-render-ui/hub` at runtime, but neither task's explicit turbo dependsOn list included `@devframes/json-render-ui#build`. On a cold cache, turbo could run hub-vite/hub-next's build before json-render-ui finished, failing with ERR_MODULE_NOT_FOUND on dist/hub.mjs — the failure seen in the e2e CI job.
1 parent 1112b4d commit b9f5c2f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

turbo.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
"dependsOn": [
7878
"@devframes/hub#build",
7979
"devframe#build",
80+
"@devframes/json-render-ui#build",
8081
"@devframes/plugin-git#build",
8182
"@devframes/plugin-terminals#build",
8283
"@devframes/plugin-code-server#build",
@@ -95,6 +96,7 @@
9596
"@devframes/hub#build",
9697
"devframe#build",
9798
"@devframes/next#build",
99+
"@devframes/json-render-ui#build",
98100
"@devframes/plugin-git#build",
99101
"@devframes/plugin-terminals#build",
100102
"@devframes/plugin-code-server#build",

0 commit comments

Comments
 (0)