-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
57 lines (56 loc) · 1.84 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
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"build-storybook": {
"dependsOn": ["^build"],
"inputs": ["src/**"],
"outputs": ["storybook-static/**"]
},
"storybook": {
// "dependsOn": ["^build"],
// "inputs": ["src/**"],
"cache": false,
"persistent": true
},
"build": {
// A package's `build` script depends on that package's
// dependencies and devDependencies
// `build` tasks being completed first
// (the `^` symbol signifies `upstream`).
"dependsOn": ["^build"],
"inputs": ["src/**"],
// note: output globs are relative to each package's `package.json`
// (and not the monorepo root)
"outputs": [".svelte-kit/**", "package/**", "dist/**"]
},
"check": {
// A package's `build` script depends on that package's
// dependencies and devDependencies
// `build` tasks being completed first
// (the `^` symbol signifies `upstream`).
"dependsOn": ["^build"],
"outputs": [],
// A package's `check` script should only be rerun when
// either a `.svelte` or `.ts` file has changed in `src` folders.
"inputs": ["src/**/*.svelte", "src/**/*.ts"],
"outputMode": "new-only"
},
"test": {
// A package's `test` script depends on that package's
// own `build` script being completed first.
"dependsOn": ["build"],
"outputs": [],
// A package's `test` script should only be rerun when
// either a `.svelte` or `.ts` file has changed in `src` or `test` folders.
"inputs": ["src/**/*.svelte", "src/**/*.ts", "test/**/*.ts", "test/**/*.svelte"],
"outputMode": "new-only"
},
"lint": {
// A package's `lint` script has no dependencies and
// can be run whenever. It also has no filesystem outputs.
"outputs": []
},
"format": { "cache": false, "outputs": [], "outputMode": "new-only" },
"dev": { "cache": false, "outputMode": "new-only" }
}
}