forked from clerk/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
turbo.json
210 lines (210 loc) · 5.87 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
{
"$schema": "https://turborepo.org/schema.json",
"remoteCache": {
"signature": true
},
"ui": "tui",
"globalDependencies": [
".github/.cache-version",
"jest.*.ts",
"package.json",
"package-lock.json",
"tsconfig.json",
"tsconfig.*.json",
"scripts/subpath-workaround.mjs"
],
"globalEnv": [
"CLERK_*",
"GATSBY_CLERK_*",
"NEXT_PUBLIC_CLERK_*",
"PUBLIC_CLERK_*",
"NODE_ENV",
"NODE_VERSION",
"NPM_VERSION",
"TZ",
"VERCEL",
"VITE_CLERK_*",
"EXPO_PUBLIC_CLERK_*",
"REACT_APP_CLERK_*"
],
"globalPassThroughEnv": ["AWS_SECRET_KEY", "GITHUB_TOKEN", "ACTIONS_RUNNER_DEBUG", "ACTIONS_STEP_DEBUG"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": [
"*.d.ts",
"bundlewatch.config.json",
"src/**",
"tsconfig.json",
"tsconfig.build.json",
"tsconfig.declarations.json",
"tsup.config.ts",
"subpaths.mjs",
"!**/*.test.*",
"!**/test/**",
"!**/tests/**",
"!**/__tests__/**",
"!**/__mocks__/**",
"!**/__snapshots__/**",
"!CHANGELOG.md",
"!coverage/**",
"!dist/**",
"!examples/**",
"!node_modules/**"
],
"outputLogs": "new-only",
"outputs": ["*/package.json", "dist/**", "scripts/**"]
},
"dev": {
"cache": false
},
"dev:current": {
"cache": false,
"dependsOn": ["^build", "dev"],
"persistent": true
},
"clean": {
"cache": false
},
"test": {
"dependsOn": ["build"],
"inputs": [
"*.d.ts",
"bundlewatch.config.json",
"jest.*",
"src/**",
"tests/**",
"tsconfig.json",
"tsconfig.*.json",
"tsup.config.ts",
"!**/__snapshots__/**",
"!CHANGELOG.md",
"!coverage/**",
"!dist/**",
"!examples/**",
"!node_modules/**"
],
"outputLogs": "new-only",
"outputs": []
},
"test:cache:clear": {
"cache": false
},
"lint": {
"dependsOn": ["^build"],
"inputs": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.json",
"**/*.md",
"**/*.mdx",
".github/**",
"!*/package.json",
"!**/__snapshots__/**",
"!CHANGELOG.md",
"!coverage/**",
"!dist/**",
"!examples/**",
"!node_modules/**"
],
"outputs": []
},
"lint:publint": {
"dependsOn": ["build"],
"outputs": [],
"cache": false
},
"lint:attw": {
"outputs": [],
"cache": false
},
"bundlewatch": {
"dependsOn": ["build"],
"env": [
"BUNDLEWATCH_GITHUB_TOKEN",
"CI_BRANCH",
"CI_BRANCH_BASE",
"CI_REPO_NAME",
"CI_REPO_OWNER",
"CI_COMMIT_SHA"
],
"outputs": []
},
"format:check": {
"outputs": []
},
"//#test:integration:ap-flows": {
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:generic": {
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/clerk-react#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:express": {
"dependsOn": [
"^@clerk/clerk-js#build",
"^@clerk/backend#build",
"^@clerk/clerk-sdk-node#build",
"^@clerk/clerk-react#build"
],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:nextjs": {
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:nextjs:canary": {
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:quickstart": {
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:astro": {
"cache": false,
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/astro#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:sessions": {
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/backend#build", "^@clerk/nextjs#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS", "NODE_EXTRA_CA_CERTS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:elements": {
"dependsOn": [
"^@clerk/clerk-js#build",
"^@clerk/backend#build",
"^@clerk/nextjs#build",
"^@clerk/elements#build"
],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
},
"//#test:integration:expo-web": {
"dependsOn": ["^@clerk/clerk-js#build", "^@clerk/clerk-expo#build", "^@clerk/clerk-react#build"],
"env": ["CLEANUP", "DEBUG", "E2E_*", "INTEGRATION_INSTANCE_KEYS"],
"inputs": ["integration/**"],
"outputLogs": "new-only"
}
}
}