-
Notifications
You must be signed in to change notification settings - Fork 174
Expand file tree
/
Copy pathturbo.json
More file actions
68 lines (68 loc) · 1.31 KB
/
turbo.json
File metadata and controls
68 lines (68 loc) · 1.31 KB
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
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"//#fmt": {
"cache": false
},
"build": {
"dependsOn": ["^build"],
"inputs": [
"src/**",
"tsconfig.json",
"tsup.config.ts",
"package.json"
],
"outputs": ["dist/**"],
"env": ["FAST_BUILD", "SKIP_NAPI_BUILD"]
},
"build:cloud": {
"dependsOn": ["^build"],
"inputs": [
"src/**",
"tsconfig.json",
"vite.cloud.config.ts",
"package.json"
],
"outputs": ["dist/**"]
},
"build:inspector": {
"dependsOn": ["^build"],
"inputs": [
"src/**",
"tsconfig.json",
"vite.inspector.config.ts",
"package.json"
],
"outputs": ["dist/**"]
},
"build:ladle": {
"dependsOn": ["^build"],
"inputs": [
"src/**",
"tsconfig.json",
"package.json"
],
"outputs": ["build/**"]
},
"check-types": {
"inputs": [
"src/**",
"tests/**",
"tsconfig.json",
"tsup.config.ts",
"package.json"
],
"dependsOn": ["^build"]
},
"dev": {
// Both builds & checks types for this repo and all dependencies
//
// Build after checking types since check types will return errors faster
"dependsOn": ["^check-types", "check-types", "build"]
},
"test": {
"inputs": ["src/**", "tests/**", "package.json"],
"dependsOn": ["^build", "check-types"]
}
}
}