-
Notifications
You must be signed in to change notification settings - Fork 26
/
turbo.json
60 lines (60 loc) · 1.55 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
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": [
"INTERNAL_EXPLORER_API_URL",
"BASE_PATH",
"NEXT_PUBLIC_CHAIN_ID",
"NEXT_PUBLIC_EXPLORER_API_URL",
"NEXT_PUBLIC_ALCHEMY_API_KEY",
"CI",
"E2E_BASE_URL",
"VERCEL_AUTOMATION_BYPASS_SECRET"
],
"pipeline": {
"build": {
"dependsOn": ["^build", "codegen"],
"outputs": [
".next/**",
"!.next/cache/**",
"dist/**",
"storybook-static/**"
]
},
"clean": {
"cache": false
},
"codegen": {
"outputs": ["src/graphql/**", "src/contracts.ts"]
},
"dev": {
"dependsOn": ["codegen"],
"cache": false,
"persistent": true
},
"lint": {},
"test": {
"dependsOn": ["build"],
"inputs": [
"src/**/*.ts",
"src/**/*.tsx",
"test/**/*.ts",
"test/**/*.tsx"
]
},
"test:ci": {
"dependsOn": ["build"],
"outputs": ["coverage/**"],
"inputs": [
"src/**/*.ts",
"src/**/*.tsx",
"test/**/*.ts",
"test/**/*.tsx"
]
},
"test:e2e": {
"dependsOn": ["codegen"],
"outputs": ["playwright-report/**"],
"inputs": ["src/**/*.ts", "src/**/*.tsx", "e2e/**/*.ts"]
}
}
}