-
Notifications
You must be signed in to change notification settings - Fork 10
/
turbo.json
53 lines (53 loc) · 1.14 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
{
"$schema": "https://turborepo.org/schema.json",
"tasks": {
"codegen": {
"inputs": ["src/graphql/*.graphql", "codegen.yml"],
"outputs": ["src/services/**/generated.ts", "src/services/apollo/types.ts"]
},
"lint": {
"dependsOn": ["codegen"],
"outputs": [],
"cache": false
},
"lint:fix": { "cache": false },
"typecheck": {
"dependsOn": ["codegen"],
"outputs": []
},
"dev": {
"cache": false,
"dependsOn": ["codegen"]
},
"test": {
"dependsOn": ["codegen"],
"outputs": ["coverage/**"]
},
"build": {
"dependsOn": ["codegen"],
"outputs": [".next/**"],
"env": ["STORYBLOK_CACHE_VERSION"]
},
"e2e": {
"dependsOn": ["build"]
},
"e2e:headless": {
"dependsOn": ["build"]
},
"clean": {
"cache": false
},
"storybook": {
"dependsOn": ["codegen"],
"cache": false
},
"storybook:build": {
"dependsOn": ["codegen"],
"outputs": ["storybook-static/**"]
},
"chromatic": {
"dependsOn": ["storybook:build"],
"env": ["CHROMATIC_PROJECT_TOKEN"]
}
}
}