-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
66 lines (66 loc) · 2.07 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [
".prettierrc.json"
],
"pipeline": {
"typecheck": {
"dependsOn": ["^build", "compact"],
"inputs": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.mts", "tsconfig.json"],
"outputMode": "new-only",
"outputs": []
},
"compact": {
"dependsOn": ["^build"],
"env": ["COMPACT_HOME"],
"inputs": ["src/**/*.compact"],
"outputMode": "new-only",
"outputs": ["src/managed/**", "src/gen/**", "gen/**"]
},
"build": {
"dependsOn": ["^build", "compact", "typecheck"],
"outputMode": "new-only",
"inputs": ["src/**/*.ts", "src/**/*.mts", "src/**/*.tsx", "!src/**/*.test.ts", "!tests/**/*.ts", "tsconfig.json", "tsconfig.build.json", ".env"],
"outputs": ["dist/**"]
},
"build-storybook": {
"dependsOn": ["^build", "typecheck"],
"outputMode": "new-only",
"inputs": ["src/**/*.ts", "src/**/*.mts", "src/**/*.tsx", "!src/**/*.test.ts", "!tests/**/*.ts", "tsconfig.json", "tsconfig.build.json", ".env", "vite.config.ts", ".storybook/**"],
"outputs": ["storybook-static/**"]
},
"lint": {
"outputMode": "new-only",
"dependsOn": ["compact", "^build", "typecheck"],
"inputs": ["src/**/*.ts", "src/**/*.mts", "src/**/*.tsx", ".eslintrc.cjs"]
},
"test": {
"outputMode": "new-only",
"dependsOn": ["^build", "compact", "typecheck"],
"inputs": ["src/**/*.ts", "src/**/*.mts", "src/**/*.tsx", "jest.config.ts", "tsconfig.json", "tsconfig.test.json", "test-compose.yml"],
"outputs": ["reports/**"]
},
"check": {
"outputMode": "new-only",
"dependsOn": ["build", "lint", "test", "build-storybook"]
},
"test-e2e": {
"outputMode": "new-only",
"dependsOn": ["build", "compact"]
},
"start": {
"cache": false,
"persistent": true,
"dependsOn": ["build"]
},
"dev": {
"cache": false,
"persistent": true
},
"storybook": {
"cache": false,
"persistent": true,
"dependsOn": ["build"]
}
}
}