-
Notifications
You must be signed in to change notification settings - Fork 119
/
turbo.json
27 lines (27 loc) · 900 Bytes
/
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
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["lib/**", "server/**"]
},
"test:unit": {
// Sometimes in unit tests of SDK we refer to the "types" package of the integration
// so this means the dependencies of the packages need to be built
"dependsOn": ["^build"],
"inputs": ["src/**/*.ts", "__tests__/unit/**/*.ts"],
"outputs": ["coverage/**"]
},
"test:integration": {
// Similarly to unit tests, people just freely import stuff from subdeps :(
"dependsOn": ["^build"],
"inputs": ["src/**/*.ts", "__tests__/integration/**/*.ts"],
"outputs": ["coverage/**"]
},
"lint": {
// ESLint fails the 'is this import statement resolveable?' rule if the
// dependencies of some package aren't built
"dependsOn": ["^build"]
}
}
}