Skip to content

Commit ade23ae

Browse files
authored
chore: build dependent packages when typechecking and testing tree-shakeability (#1206)
## Summary Now that packages are starting to depend upon one another, we have to enforce that dependencies get built _first_ before typechecking or testing a given library for tree-shakability, since the dependencies will play a role in those outcomes. ## Test Plan CI run.
1 parent 74b2461 commit ade23ae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

turbo.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"outputs": []
5151
},
5252
"test:typecheck": {
53-
"dependsOn": ["compile:js", "compile:typedefs"],
53+
"dependsOn": ["^compile:typedefs"],
5454
"inputs": ["tsconfig.*", "src/**", "test/**"],
5555
"outputs": []
5656
},
@@ -63,15 +63,15 @@
6363
"outputs": []
6464
},
6565
"test:treeshakability:browser": {
66-
"dependsOn": ["compile:js"],
66+
"dependsOn": ["^compile:js"],
6767
"outputs": []
6868
},
6969
"test:treeshakability:native": {
70-
"dependsOn": ["compile:js"],
70+
"dependsOn": ["^compile:js"],
7171
"outputs": []
7272
},
7373
"test:treeshakability:node": {
74-
"dependsOn": ["compile:js"],
74+
"dependsOn": ["^compile:js"],
7575
"outputs": []
7676
}
7777
},

0 commit comments

Comments
 (0)