-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathturbo.json
127 lines (127 loc) · 4.36 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": [],
"pipeline": {
"lint": {},
"format": {},
"@ts-fullstack-template/e2e#test": {
"dependsOn": [
"^@ts-fullstack-template/desktop-main#build",
"^@ts-fullstack-template/desktop-renderer#build",
"^@ts-fullstack-template/desktop-bg-server#build"
]
},
"dev": {
"cache": false,
// https://github.com/vercel/turbo/issues/7279#issuecomment-1930454699
// https://turbo.build/repo/docs/reference/configuration#persistent
"persistent": true,
"dependsOn": ["^@ts-fullstack-template/desktop-builder#dev"]
},
"dev:web": {
"cache": false,
"persistent": true,
"dependsOn": ["^@ts-fullstack-template/desktop-builder#dev:web"]
},
// server
"@ts-fullstack-template/server#dev": {
"cache": false,
"persistent": true,
"dependsOn": ["^@ts-fullstack-template/esbuild-config#build"]
},
"@ts-fullstack-template/desktop-builder#dev": {
"cache": false
},
"@ts-fullstack-template/desktop-builder#dev:web": {
"cache": false
},
// builder
"build:publish": {
"dependsOn": ["^@ts-fullstack-template/desktop-builder#build:publish"]
},
"build:local": {
"dependsOn": ["^@ts-fullstack-template/desktop-builder#build:local"]
},
"@ts-fullstack-template/desktop-builder#build:publish": {
"outputs": ["release/**"],
"dependsOn": [
"^@ts-fullstack-template/desktop-main#build",
"^@ts-fullstack-template/desktop-renderer#build",
"^@ts-fullstack-template/desktop-bg-server#build"
]
},
"@ts-fullstack-template/desktop-builder#build:local": {
"outputs": ["release/**"],
"dependsOn": [
"^@ts-fullstack-template/desktop-main#build",
"^@ts-fullstack-template/desktop-renderer#build",
"^@ts-fullstack-template/desktop-bg-server#build"
]
},
"@ts-fullstack-template/desktop-builder#rebuild:electron": {},
// main
"@ts-fullstack-template/desktop-main#build": {
"outputs": ["dist/**"],
"dependsOn": [
"^@ts-fullstack-template/process-event-emitter#build",
"@ts-fullstack-template/desktop-contract#build"
]
},
"@ts-fullstack-template/desktop-main#build:debug": {
"outputs": ["dist/**"],
"dependsOn": [
"^@ts-fullstack-template/process-event-emitter#build",
"@ts-fullstack-template/desktop-contract#build"
]
},
// contract
"@ts-fullstack-template/desktop-contract#build": {
"outputs": ["dist/**"],
"dependsOn": []
},
// renderer
"@ts-fullstack-template/desktop-renderer#build": {
"outputs": ["dist/**"],
"dependsOn": ["^@ts-fullstack-template/use-web-socket#build", "@ts-fullstack-template/desktop-contract#build"]
},
"@ts-fullstack-template/desktop-renderer#build:debug": {
"outputs": ["dist/**"],
"dependsOn": ["^@ts-fullstack-template/use-web-socket#build", "@ts-fullstack-template/desktop-contract#build"]
},
// server
"@ts-fullstack-template/desktop-bg-server#build": {
"outputs": ["dist/**"],
"dependsOn": ["^@ts-fullstack-template/web-socket#build", "^@ts-fullstack-template/process-event-emitter#build"]
},
"@ts-fullstack-template/desktop-bg-server#build:debug": {
"outputs": ["dist/**"],
"dependsOn": ["^@ts-fullstack-template/web-socket#build", "^@ts-fullstack-template/process-event-emitter#build"]
},
// lib
"@ts-fullstack-template/web-socket#build": {
"outputs": ["dist/**"],
"dependsOn": ["^@ts-fullstack-template/esbuild-config#build"]
},
"@ts-fullstack-template/process-event-emitter#build": {
"outputs": ["dist/**"],
"dependsOn": ["^@ts-fullstack-template/esbuild-config#build"]
},
"@ts-fullstack-template/use-web-socket#build": {
"outputs": ["dist/**"],
"dependsOn": ["^@ts-fullstack-template/web-socket#build"]
},
// config
"@ts-fullstack-template/esbuild-config#build": {
"outputs": ["dist/**"]
},
// util
"build:debug": {
"dependsOn": [
"^@ts-fullstack-template/desktop-main#build:debug",
"^@ts-fullstack-template/desktop-renderer#build:debug",
"^@ts-fullstack-template/desktop-bg-server#build:debug",
"^@ts-fullstack-template/desktop-builder#rebuild:electron"
]
}
}
}