-
Notifications
You must be signed in to change notification settings - Fork 1
/
turbo.json
84 lines (84 loc) · 2.51 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV"],
"pipeline": {
"serve": {
"cache": false,
"persistent": true,
"env": ["NEXT_PUBLIC_VERCEL_ENV", "NEXT_PUBLIC_BASE_URL", "NEXT_PUBLIC_VERCEL_URL"]
},
"build": {
"inputs": [
"{app,components,hooks,lib,context,types}/**/*.{ts,tsx}",
"{app,components,styles}/**/*.css",
"{next-data,scripts,i18n}/**/*.{mjs,json}",
"*.{json,ts,tsx,mjs,yml}"
],
"outputs": [".next/**", "!.next/cache/**"],
"env": ["NEXT_PUBLIC_VERCEL_ENV", "NEXT_PUBLIC_BASE_URL", "NEXT_PUBLIC_VERCEL_URL"]
},
"start": {
"cache": false,
"persistent": true,
"env": ["NEXT_PUBLIC_VERCEL_ENV", "NEXT_PUBLIC_BASE_URL", "NEXT_PUBLIC_VERCEL_URL"]
},
"deploy": {
"inputs": [
"{app,components,hooks,lib,context,types}/**/*.{ts,tsx}",
"{app,components,styles}/**/*.css",
"{next-data,scripts,i18n}/**/*.{mjs,json}",
"*.{json,ts,tsx,mjs,yml}"
],
"outputs": [".next/**", "!.next/cache/**"],
"env": ["NEXT_PUBLIC_VERCEL_ENV", "NEXT_PUBLIC_BASE_URL", "NEXT_PUBLIC_VERCEL_URL"]
},
"lint:js": {
"inputs": [
"{app,components,hooks,actions,db,env,layouts,middlewares,context,types,lib}/**/*.{ts,tsx,mjs}",
"{next-data,scripts,i18n}/**/*.{mjs,json}",
"{.storybook,public}/**/*.{ts,js,json}",
"*.{json,ts,tsx}"
],
"outputs": [".eslintjscache"]
},
"lint:css": {
"inputs": ["{app,components,layouts,styles}/**/*.css"],
"outputs": [".stylelintcache"]
},
"lint:fix": {
"cache": false
},
"prettier": {
"outputs": [".prettiercache"]
},
"prettier:fix": {
"cache": false
},
"format": {
"cache": false
},
"storybook": {
"cache": false,
"persistent": true
},
"storybook:build": {
"inputs": [
"{app,components,hooks,lib,context,types}/**/*.{ts,tsx}",
"{app,components,styles}/**/*.css",
"{next-data,scripts,i18n}/**/*.{mjs,json}",
"{.storybook,public}/**/*.{ts,js,css,json}",
"*.{md,mdx,json,ts,tsx,mjs,yml}"
],
"outputs": ["storybook-static/**"]
},
"test:unit": {
"inputs": [
"{app,components,hooks,lib,context,types}/**/*.{ts,tsx,mjs}",
"{app,components,styles}/**/*.css",
"{next-data,scripts,i18n}/**/*.{mjs,json}",
"*.{md,mdx,json,ts,tsx,mjs,yml}"
],
"outputs": ["coverage/**", "junit.xml"]
}
}
}