forked from discordjs/discord.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathturbo.json
172 lines (172 loc) · 3.99 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
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["yarn.lock", "**/tsconfig.json", "**/tsup.config.ts"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.ts"],
"outputs": ["dist/**"],
"outputMode": "errors-only"
},
"@discordjs/ui#build": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.ts", "vite.config.ts"],
"outputs": ["dist/**"],
"outputMode": "hash-only"
},
"@discordjs/guide#build:local": {
"dependsOn": ["^build"],
"inputs": [
".env.development",
".env.development.local",
"public/**",
"src/**/*.tsx",
"src/**/*.ts",
"src/**/*.css",
"!src/styles/unocss.css",
"src/**/*.mdx",
"src/assets/**",
"next.config.js"
],
"outputs": [".next/**", "!.next/cache/**"],
"outputMode": "full",
"cache": false
},
"@discordjs/guide#build:prod": {
"dependsOn": ["^build"],
"inputs": [
"public/**",
"src/**/*.tsx",
"src/**/*.ts",
"src/**/*.css",
"!src/styles/unocss.css",
"src/**/*.mdx",
"src/assets/**/*",
"next.config.js"
],
"outputs": [".next/**", "!.next/cache/**"],
"outputMode": "full"
},
"@discordjs/website#build:local": {
"dependsOn": ["^build", "docs"],
"env": ["NEXT_PUBLIC_LOCAL_DEV", "DATABASE_URL", "EDGE_CONFIG"],
"inputs": [
".env.development",
".env.development.local",
"src/**/*.tsx",
"src/**/*.ts",
"src/**/*.css",
"!src/styles/unocss.css",
"src/assets/**/*",
"!src/assets/readme/**",
"scripts/**",
"next.config.js"
],
"outputs": [".next/**", "!.next/cache/**"],
"outputMode": "full",
"cache": false
},
"@discordjs/website#build:prod": {
"dependsOn": ["^build", "docs"],
"env": ["NEXT_PUBLIC_LOCAL_DEV", "DATABASE_URL", "EDGE_CONFIG"],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"src/**/*.css",
"!src/styles/unocss.css",
"src/assets/**/*",
"!src/assets/readme/**",
"scripts/**",
"next.config.js"
],
"outputs": [".next/**", "!.next/cache/**"],
"outputMode": "full"
},
"test": {
"dependsOn": ["^build"],
"inputs": ["**/codecov.yml", "**/vitest.config.ts", "__tests_/**/*.ts", "src/**/*.ts", "src/**/*.js"],
"outputs": ["coverage/**"],
"outputMode": "new-only"
},
"@discordjs/voice#test": {
"dependsOn": ["^build"],
"inputs": [
"__tests_/**/*.ts",
"__mocks__/**/*.ts",
"__mocks__/**/*.js",
"src/**/*.ts",
"src/**/*.js",
"babel.config.js",
"jest.config.js"
],
"outputs": ["coverage/**"],
"outputMode": "new-only"
},
"lint": {
"dependsOn": ["^build"],
"inputs": [
"**/.eslintignore",
"**/.eslintrc.json",
"**/.prettierignore",
"**/.prettierrc.json",
"**/tsconfig.eslint.json",
"src/**/*.tsx",
"src/**/*.ts",
"src/**/*.css",
"src/**/*.mdx",
"scripts/**.js",
"scripts/**.mjs",
".prettierrc.js",
".prettierrc.cjs",
"next.config.js",
"vite.config.ts"
],
"outputMode": "errors-only"
},
"format": {
"dependsOn": ["^build"],
"inputs": [
"**/.eslintignore",
"**/.eslintrc.json",
"**/.prettierignore",
"**/.prettierrc.json",
"**/tsconfig.eslint.json",
"src/**/*.tsx",
"src/**/*.ts",
"src/**/*.css",
"src/**/*.mdx",
"scripts/**.js",
"scripts/**.mjs",
".prettierrc.js",
".prettierrc.cjs",
"next.config.js",
"vite.config.ts"
],
"outputMode": "errors-only"
},
"docs": {
"inputs": ["**/api-extractor.json", "**/tsconfig.docs.json", "api-extractor-docs.json", "docs/**/*"],
"outputs": ["dist-docs/**", "docs/docs.json", "docs/docs.api.json"],
"outputMode": "errors-only"
},
"changelog": {
"inputs": ["cliff.toml"],
"outputs": ["CHANGELOG.md"]
},
"dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"@discordjs/guide#dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"@discordjs/website#dev": {
"dependsOn": ["^build", "docs"],
"cache": false,
"persistent": true
}
}
}