-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathturbo.json
57 lines (57 loc) · 1.81 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://turbo.build/schema.json",
"globalEnv": ["USE_MSW", "VERBOSE"],
"ui": "tui",
"tasks": {
"dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"dev-msw": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", "storybook-static/**"]
},
"serve-build": {
"dependsOn": ["build"],
"cache": false,
"persistent": true
},
"lint": {
// Temporary disabling knip until Rsbuild and Rslib plugins are available.
// "dependsOn": ["eslint", "typecheck", "//#syncpack", "//#knip"]
"dependsOn": ["eslint", "typecheck", "//#syncpack"]
},
"//#eslint": {
"outputs": ["node_modules/.cache/eslint"]
},
"eslint": {
"outputs": ["node_modules/.cache/eslint"]
},
"//#typecheck": {
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
},
"typecheck": {
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
},
"//#syncpack": {},
"//#knip": {},
"@rsbuild-sample/app#test": {
"dependsOn": ["@workleap/swc-configs#build", "@rsbuild-sample/rslib-lib#build"],
"outputs": ["node_modules/.cache/jest/**"]
},
"@webpack-sample/app#test": {
"dependsOn": ["@workleap/swc-configs#build", "@webpack-sample/tsup-lib#build"],
"outputs": ["node_modules/.cache/jest/**"]
},
"test": {
"dependsOn": ["@workleap/swc-configs#build"],
"outputs": ["node_modules/.cache/jest/**"]
}
}
}