-
Notifications
You must be signed in to change notification settings - Fork 7
/
turbo.json
46 lines (46 loc) · 1.49 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
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"dev": {
// A package's `build` script depends on that package's
// dependencies and devDependencies
// `build` tasks being completed first
// (the `^` symbol signifies `upstream`).
"dependsOn": ["^build"],
// Ignore all outputs for "dev", because we don't
// want to cache anything
"outputs": [],
"cache": false
},
// Alias for dev
"start": {
"dependsOn": ["dev"],
"outputs": [],
"cache": false
},
"test": {
// Normally, A package's `test` script depends on that package's
// own `build` script being completed first.
// But for ember apps, they build themselves during
// test execution, so we can only get away with only
// building our dependencies
"dependsOn": ["^build"]
},
"build": {
"outputs": ["dist/**"],
// Normally, A package's `test` script depends on that package's
// own `build` script being completed first.
// But for ember apps, they build themselves during
// test execution, so we can only get away with only
// building our dependencies
"dependsOn": ["^build"]
},
"lint": {
// A package's `lint` script has no dependencies and
// can be run whenever. It also has no filesystem outputs.
"outputs": [],
// We treat type checking as a lint, so it requires the build be successful
"dependsOn": ["^build"]
}
}
}