Skip to content

Commit cf1b1fa

Browse files
committed
chore(turbo): add best practices config
- Add dependsOn for build and check-types tasks - Add globalDependencies for root config files - Keep outputs explicit (dist/**, coverage/**)
1 parent 8ad62e9 commit cf1b1fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

turbo.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"$schema": "./node_modules/turbo/schema.json",
3+
"globalDependencies": ["tsconfig.json", "*.config.ts"],
34
"tasks": {
45
"build": {
6+
"dependsOn": ["^build"],
57
"outputs": ["dist/**"]
68
},
79
"check-types": {

0 commit comments

Comments
 (0)