-
Notifications
You must be signed in to change notification settings - Fork 38
/
turbo.json
66 lines (66 loc) · 1.76 KB
/
turbo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"install-yarn-dependencies": {
"inputs": [
"package/package.json",
"package/yarn.lock",
"package/.yarnrc.yml"
],
"outputs": ["package/node_modules/**"]
},
"gen-gql-schema": {
"dependsOn": ["install-yarn-dependencies"],
"inputs": [
"package/src/lib/configs/project/chainContainers.ts",
"package/src/genGqlSchema.ts",
"package/src/versions.json"
],
"outputs": ["package/src/lib/gql/gqlSchema.json"]
},
"gql-codegen": {
"dependsOn": ["gen-gql-schema"],
"inputs": [
"package/src/lib/gql/gqlCodegen.ts",
"package/src/lib/gql/schema.graphql"
],
"outputs": ["package/src/lib/gql/gqlGenerated.ts"]
},
"before-build": {
"dependsOn": ["install-yarn-dependencies", "^build"],
"inputs": [
"package/src/beforeBuild.ts",
"package/src/versions.json",
"package/src/versions.ts"
],
"outputs": ["package/src/versions/**", "package/src/common.ts"]
},
"build": {
"dependsOn": ["^build", "before-build", "gql-codegen"],
"outputs": ["dist/**", "package/dist/**"]
},
"on-each-commit": {
"dependsOn": ["^build", "build"]
},
"pack-ci": {
"dependsOn": ["build"],
"outputs": ["package/dist/**"]
},
"pack-linux-x64": {
"dependsOn": ["build"],
"outputs": ["package/dist/**"]
},
"pack-darwin-x64": {
"dependsOn": ["build"],
"outputs": ["package/dist/**"]
},
"pack-darwin-arm64": {
"dependsOn": ["build"],
"outputs": ["package/dist/**"]
},
"pack-win32-x64": {
"dependsOn": ["build"],
"outputs": ["package/dist/**"]
}
}
}