Skip to content

Commit

Permalink
build: fix task ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
finxol committed Jan 11, 2025
1 parent 7458ceb commit 58893ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/api/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["@karr/config#build", "@karr/util#build"]
"dependsOn": ["^build"],
"outputs": ["out/**", "dist/**"]
}
}
}
3 changes: 2 additions & 1 deletion apps/web/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"extends": ["//"],
"tasks": {
"build": {
"dependsOn": ["@karr/config#build", "@karr/util#build", "@karr/ui#build"]
"dependsOn": ["^build"],
"outputs": [".next/**", "!.next/cache/**"]
}
}
}

0 comments on commit 58893ab

Please sign in to comment.