This repository has been archived by the owner on Dec 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathturbo.json
65 lines (65 loc) · 1.88 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
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV", "GITHUB_TOKEN"],
"globalDependencies": ["**/.env", "**/.env.*"],
"pipeline": {
"_dependencies": {
"dependsOn": [],
"outputs": []
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"],
"inputs": ["*.config.js", "*.config.ts", "src/**", "tsconfig.json"],
"env": [
"CI",
"GOOGLE_SITE_VERIFICATION",
"SANITY_STUDIO_PROJECT_ID",
"NEXT_PUBLIC_SANITY_API_VERSION",
"NEXT_PUBLIC_SANITY_DATASET",
"NEXT_PUBLIC_SANITY_EDITOR_TOKEN",
"NEXT_PUBLIC_SANITY_PROJECT_ID",
"NEXT_PUBLIC_SANITY_READ_TOKEN",
"NEXT_PUBLIC_SANITY_STUDIO_URL"
]
},
"check:lint": {
"dependsOn": ["pre:lint"],
"outputs": [],
"inputs": ["*.js", "*.ts", "**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.tsx", ".eslintignore"]
},
"check:types": {
"dependsOn": ["pre:types"],
"outputs": [],
"inputs": ["*.ts", "**/*.d.ts", "src/**/*.ts", "src/**/*.tsx", "tsconfig.json"],
"cache": true
},
"dev": {
"dependsOn": ["dev:pre-build"],
"cache": false,
"persistent": true
},
"dev:pre-build": {
"dependsOn": ["^dev:pre-build"],
"outputs": ["dist/**"]
},
"fix:lint": {
"dependsOn": ["pre:lint"],
"outputs": [],
"inputs": ["*.js", "*.ts", "**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.tsx", ".eslintignore"]
},
"pre:lint": {
"dependsOn": ["^pre:lint"],
"outputs": ["dist/**"]
},
"pre:types": {
"dependsOn": ["^pre:types"],
"outputs": ["dist/**"]
},
"test": {
"dependsOn": ["^_dependencies"],
"outputs": [],
"inputs": ["*.js", "*.ts", "**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.tsx", "tsconfig.json"]
}
}
}