/
turbo.json
218 lines (218 loc) · 5.28 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
{
"$schema": "https://turbo.build/schema.json",
"remoteCache": {
"enabled": true
},
"globalDependencies": ["tsconfig.json"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"inputs": ["bin/**", "src/**", "scripts/**", "package.json", "tsconfig.json", "tsup.config.ts", "vite.config.ts"],
"outputs": ["dist/**"],
"outputMode": "errors-only"
},
"@discordjs/ui#build-storybook": {
"dependsOn": ["build"],
"inputs": [".storybook/**/*", "src/**", "package.json", "tsconfig.json", "vite.config.ts"],
"outputs": ["dist/**", "storybook-static/**"],
"outputMode": "errors-only"
},
"@discordjs/guide#build:local": {
"dependsOn": ["^build"],
"inputs": [
"public/**",
"src/**",
"!src/styles/unocss.css",
"contentlayer.config.ts",
"next.config.js",
"package.json",
"tsconfig.json"
],
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
"outputMode": "full"
},
"@discordjs/guide#build:prod": {
"dependsOn": ["^build"],
"inputs": [
"public/**",
"src/**",
"!src/styles/unocss.css",
"contentlayer.config.ts",
"next.config.js",
"package.json",
"tsconfig.json"
],
"outputs": [".next/**", ".next/cache/**", ".contentlayer/**"],
"outputMode": "full"
},
"@discordjs/website#build:local": {
"env": ["VERCEL_ENV", "NEXT_PUBLIC_LOCAL_DEV"],
"dependsOn": ["^build", "^docs"],
"inputs": [
"../../packages/*/README.md",
"public/**",
"src/**",
"scripts/**",
"!src/assets/readme/**",
"scripts/**",
"next.config.mjs",
"package.json",
"tsconfig.json"
],
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
"outputMode": "full"
},
"@discordjs/website#build:prod": {
"env": ["VERCEL_ENV", "NEXT_PUBLIC_LOCAL_DEV"],
"dependsOn": ["^build"],
"inputs": [
"../../packages/*/README.md",
"public/**",
"src/**",
"scripts/**",
"!src/assets/readme/**",
"scripts/**",
"next.config.mjs",
"package.json",
"tsconfig.json"
],
"outputs": [".next/**", ".next/cache/**", "src/assets/readme/**"],
"outputMode": "full"
},
"@discordjs/guide#generate:contentlayer": {
"inputs": ["src/**/*.mdx"],
"outputs": [".contentlayer/**"],
"outputMode": "errors-only"
},
"test": {
"dependsOn": ["^build"],
"inputs": ["__mocks__/**", "__tests__/**", "src/**", "jest.config.js", "package.json", "tsconfig.json"],
"outputs": ["coverage/**"],
"outputMode": "new-only"
},
"lint": {
"dependsOn": ["^build"],
"inputs": [
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
"bin/**",
"src/**",
"scripts/**",
"package.json",
"tsconfig.eslint.json"
],
"outputs": [],
"outputMode": "errors-only"
},
"@discordjs/guide#lint": {
"dependsOn": ["^build", "build:local", "generate:contentlayer"],
"inputs": [
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
"src/**",
"!src/styles/unocss.css",
"tsconfig.eslint.json"
],
"outputs": [],
"outputMode": "errors-only"
},
"@discordjs/website#lint": {
"dependsOn": ["^build", "build:local"],
"inputs": [
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
"src/**",
"!src/styles/unocss.css",
"tsconfig.eslint.json"
],
"outputs": [],
"outputMode": "errors-only"
},
"format": {
"dependsOn": ["^build"],
"inputs": [
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
"bin/**",
"src/**",
"scripts/**",
"package.json",
"tsconfig.eslint.json"
],
"outputs": [],
"outputMode": "errors-only"
},
"@discordjs/guide#format": {
"dependsOn": ["^build", "generate:contentlayer"],
"inputs": [
"../../eslint.config.js",
"../../.prettierrc.json",
"../../tsconfig.eslint.json",
".prettierrc.js",
"src/**",
"!src/styles/unocss.css",
"package.json",
"tsconfig.eslint.json"
],
"outputs": [],
"outputMode": "errors-only"
},
"docs": {
"dependsOn": ["build"],
"inputs": [
"../api-extractor/src/**",
"../api-extractor-model/src/**",
"../api-extractor-utils/src/**",
"../../api-extractor.json",
"../../tsconfig.docs.json",
"api-extractor.json",
"docs/**",
"!docs/docs.json",
"!docs/docs.api.json",
"!docs/*/split/**",
"tsconfig.docs.json"
],
"outputs": ["dist-docs/**", "docs/docs.json", "docs/docs.api.json", "docs/*/split/**"],
"outputMode": "errors-only",
"cache": false
},
"changelog": {
"inputs": ["cliff.toml"],
"outputs": ["CHANGELOG.md"],
"outputMode": "full"
},
"release": {
"dependsOn": ["^build"],
"inputs": ["CHANGELOG.md", "package.json"],
"outputs": [],
"outputMode": "full"
},
"dev": {
"dependsOn": ["^build"],
"outputMode": "full",
"cache": false,
"persistent": true
},
"@discordjs/guide#dev": {
"dependsOn": ["^build"],
"outputMode": "full",
"cache": false,
"persistent": true
},
"@discordjs/website#dev": {
"env": ["VERCEL_ENV", "NEXT_PUBLIC_LOCAL_DEV"],
"dependsOn": ["^build", "^docs"],
"outputMode": "full",
"cache": false,
"persistent": true
}
}
}