-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathturbo.json
More file actions
81 lines (81 loc) · 1.72 KB
/
Copy pathturbo.json
File metadata and controls
81 lines (81 loc) · 1.72 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
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
{
"$schema": "https://turborepo.com/schema.json",
"ui": "stream",
"globalEnv": ["NODE_ENV", "NEXT_TELEMETRY_DISABLED", "CI"],
"globalPassThroughEnv": ["PATH", "HOME", "SHELL"],
"globalDependencies": [
"pnpm-lock.yaml",
"tsconfig.json",
"biome.json",
".nvmrc",
"next.config.ts",
"payload.config.ts",
"env.d.ts",
"middleware.ts"
],
"tasks": {
"install:run": {
"inputs": [
"pnpm-lock.yaml",
"package.json",
"pnpm-workspace.yaml",
".npmrc",
"shims/**"
],
"outputs": ["node_modules/**"],
"env": ["CI"]
},
"build:next": {
"dependsOn": ["install:run"],
"env": [
"NEXT_PUBLIC_BASE_URL",
"NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY",
"NEXT_PUBLIC_MINIMUM_ITEMS_FOR_DISCOUNT",
"NEXT_PUBLIC_DISCOUNT_PERCENT",
"NEXT_PUBLIC_ASSET_PREFIX"
],
"inputs": [
"$TURBO_DEFAULT$",
"!**/*.md",
"!terraform/**",
"!.github/**",
"!scripts/**"
],
"outputs": [".next/**", "!.next/cache/**"]
},
"upload-assets:run": {
"dependsOn": ["build:next"],
"cache": false,
"env": [
"R2_ASSETS_BUCKET",
"R2_S3_ENDPOINT",
"R2_ACCESS_KEY_ID",
"R2_SECRET_ACCESS_KEY",
"NEXT_PUBLIC_ASSET_PREFIX"
],
"inputs": ["scripts/upload-assets.mts", ".next/static/**", "public/**"],
"outputs": [".next/asset-upload.manifest.json"]
},
"lint:run": {
"inputs": ["$TURBO_DEFAULT$", "biome.json"],
"outputs": []
},
"typecheck:run": {
"dependsOn": ["install:run"],
"inputs": [
"$TURBO_DEFAULT$",
"!**/*.md",
"!terraform/**",
"!.github/**",
"!Dockerfile",
"!docker-entrypoint.sh"
],
"outputs": []
},
"generate:types:run": {
"dependsOn": ["install:run"],
"cache": false,
"outputs": ["payload-types.ts"]
}
}
}