Skip to content

Commit 4513465

Browse files
committed
update build dependencies
1 parent 372424d commit 4513465

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

nx.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
}
99
},
1010
"targetDefaults": {
11+
"prebuild": {
12+
"dependsOn": ["^prebuild"],
13+
"outputs": ["{projectRoot}/dist"]
14+
},
1115
"build": {
1216
"dependsOn": ["^build"],
1317
"outputs": ["{projectRoot}/dist"]
1418
},
1519
"tsc": {
16-
"dependsOn": ["^tsc"],
17-
"outputs": ["{projectRoot}/dist"]
18-
},
19-
"prebuild": {
20-
"dependsOn": ["^prebuild"],
21-
"outputs": ["{projectRoot}/dist"]
20+
"dependsOn": ["^tsc", "^build"],
21+
"outputs": ["{projectRoot}/dist/*.d.ts"]
2222
}
2323
}
2424
}

turbo.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"outputs": ["dist/**"]
1010
},
1111
"tsc": {
12-
"dependsOn": ["^tsc"],
12+
"dependsOn": ["^tsc", "^build"],
1313
"outputs": ["dist/**/*.d.ts", "tsconfig.tsbuildinfo"]
1414
}
1515
}

0 commit comments

Comments
 (0)