forked from SnailyCAD/snaily-cadv4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
45 lines (45 loc) · 1.1 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
{
"$schema": "https://turborepo.org/schema.json",
"globalDependencies": ["**/.env"],
"ui": "stream",
"tasks": {
"@snailycad/client#build": {
"dependsOn": ["copy-env", "^build"],
"outputs": [".next/**"]
},
"@snailycad/api#build": {
"dependsOn": ["copy-env", "^build"]
},
"copy-env": {
"cache": false,
"dependsOn": ["^copy-env"],
"outputs": [".env"]
},
"create-images-domain": {
"cache": false,
"dependsOn": ["^create-images-domain"],
"outputs": ["next.config.mjs"]
},
"validate-locales": {
"dependsOn": ["^validate-locales"]
},
"build": {
"dependsOn": ["copy-env", "create-images-domain", "validate-locales", "^build"],
"outputs": [".next/**", "dist/**"]
},
"typecheck": {
"dependsOn": ["^typecheck"],
"outputs": []
},
"test": {
"dependsOn": ["^test"],
"inputs": ["src/**/*.tsx", "src/**/*.ts", "tests/**/*.test.ts"],
"outputs": []
},
"watch": {
"persistent": true,
"cache": false,
"outputs": [".next/*", "dist/*"]
}
}
}