-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Expand file tree
/
Copy pathturbo.json
More file actions
43 lines (43 loc) · 1.24 KB
/
turbo.json
File metadata and controls
43 lines (43 loc) · 1.24 KB
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
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"cloudflare:build:worker": {
"dependsOn": ["@node-core/website#build:blog-data"],
"inputs": [
"open-next.config.ts",
"wrangler.jsonc",
"src/**/*.ts",
"../site/{app,components,hooks,i18n,layouts,middlewares,pages,providers,types,util}/**/*.{ts,tsx}",
"../site/{app,components,layouts,pages,styles}/**/*.css",
"../site/{next-data,scripts,i18n}/**/*.{mjs,json}",
"../site/{app,pages}/**/*.{mdx,md}",
"../site/*.{md,mdx,json,ts,tsx,mjs,yml}"
],
"outputs": ["../site/.open-next/**"],
"env": [
"NEXT_PUBLIC_DEPLOY_TARGET",
"NEXT_PUBLIC_BASE_URL",
"NEXT_PUBLIC_DIST_URL",
"NEXT_PUBLIC_DOCS_URL",
"NEXT_PUBLIC_BASE_PATH",
"NEXT_PUBLIC_ORAMA_API_KEY",
"NEXT_PUBLIC_ORAMA_ENDPOINT",
"NEXT_PUBLIC_DATA_URL",
"NEXT_GITHUB_API_KEY"
]
},
"cloudflare:preview": {
"dependsOn": ["cloudflare:build:worker"],
"cache": false,
"persistent": true
},
"cloudflare:deploy": {
"dependsOn": ["cloudflare:build:worker"],
"cache": false
},
"lint:types": {
"cache": false
}
}
}