Skip to content

Commit 93260e5

Browse files
authored
chore: move the build deps into the Turborepo config (#1246)
1 parent af1d4c1 commit 93260e5

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"packages/*"
55
],
66
"scripts": {
7-
"build": "turbo run compile:docs compile:js compile:typedefs test:lint test:prettier test:typecheck test:unit:browser test:unit:node test:live-with-test-validator test:treeshakability:browser test:treeshakability:native test:treeshakability:node",
7+
"build": "turbo run build",
88
"lint": "turbo run test:lint",
99
"publish-packages": "turbo run publish-packages",
1010
"test": "turbo run test:unit:browser test:unit:node",

turbo.json

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
33
"pipeline": {
4+
"build": {
5+
"dependsOn": [
6+
"compile:docs",
7+
"compile:js",
8+
"compile:typedefs",
9+
"test:lint",
10+
"test:prettier",
11+
"test:typecheck",
12+
"test:unit:browser",
13+
"test:unit:node",
14+
"test:live-with-test-validator",
15+
"test:treeshakability:browser",
16+
"test:treeshakability:native",
17+
"test:treeshakability:node"
18+
],
19+
"outputs": ["dist/**", "lib/**"]
20+
},
421
"clean": {
522
"outputs": ["dist/**", "lib/**"]
623
},
@@ -20,22 +37,8 @@
2037
"outputs": ["declarations/**", "dist/**/*.d.ts", "lib/**/*.d.ts"]
2138
},
2239
"publish-packages": {
23-
"dependsOn": [
24-
"clean",
25-
"compile:docs",
26-
"compile:js",
27-
"compile:typedefs",
28-
"test:lint",
29-
"test:prettier",
30-
"test:typecheck",
31-
"test:unit:browser",
32-
"test:unit:node",
33-
"test:live-with-test-validator",
34-
"test:treeshakability:browser",
35-
"test:treeshakability:native",
36-
"test:treeshakability:node"
37-
],
38-
"outputs": ["dist/**", "lib/**"]
40+
"dependsOn": ["build"],
41+
"outputs": []
3942
},
4043
"test:lint": {
4144
"inputs": ["src/**", "test/**"],

0 commit comments

Comments
 (0)