-
-
Notifications
You must be signed in to change notification settings - Fork 219
/
turbo.json
39 lines (39 loc) · 1.01 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local", "**/tsconfig*.json"],
"globalPassThroughEnv": ["AWS_SECRET_KEY", "GITHUB_TOKEN"],
"tasks": {
"codegen": {
// Codegen caching might also be disabled and enabled by workspace (see packages/db-main-prisma/turbo.json)
// as generated code location might vary between toolings
"cache": true,
"outputs": ["src/generated/**"]
},
"build": {
"outputs": ["dist/**"]
// This repo example relies on tsconfig paths to ease starting
// "dependsOn": ["^build"]
},
"build-force": {
"outputs": ["dist/**"]
},
"test": {},
"test-unit": {},
"lint": {
"env": ["TIMING"]
},
"lint-styles": {},
"typecheck": {},
"build-storybook": {},
"clean": {
"cache": false
},
"check-dist": {
/** Note that build-force */
"dependsOn": ["build-force", "build"]
},
"check-size": {
"dependsOn": ["build-force", "build"]
}
}
}