Repository navigation
Expand file tree
/
Copy pathturbo.json
More file actions
68 lines (68 loc) · 1.99 KB
/
Copy pathturbo.json
File metadata and controls
68 lines (68 loc) · 1.99 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
{
"$schema": "https://turbo.build/schema.json",
"globalPassThroughEnv": ["SENTRY_AUTH_TOKEN"],
"tasks": {
"build:worker-types": {
"outputs": ["dist/worker/**", ".cloudflare/types/**"],
"inputs": ["worker/**/*.ts", "shared/**/*.ts", "cloudflare.config.ts", "tsconfig.worker.json", "tsconfig.node.json", "tsconfig.json"]
},
"build:vite": {
"dependsOn": ["build:worker-types"],
"outputs": [".cloudflare/output/**", ".cloudflare/types/**"],
"inputs": [
"src/**",
"worker/**",
"shared/**",
"public/**",
"index.html",
"vite.config.ts",
"cloudflare.config.ts",
"tailwind.config.ts",
"postcss.config.js",
"tsconfig.*.json"
],
"env": ["VITE_TURNSTILE_SITE_KEY", "VITE_SENTRY_DSN", "NODE_ENV", "CF_LOCAL_VALIDATION", "CI"]
},
"typecheck:app": {
"dependsOn": ["build:worker-types"],
"inputs": ["src/**", "shared/**", "tsconfig.app.json", "tsconfig.json"],
"cache": true
},
"typecheck:node": {
"dependsOn": ["build:worker-types"],
"inputs": ["cloudflare.config.ts", "vite.config.ts", "tsconfig.node.json", "tsconfig.json"],
"cache": true
},
"typecheck:worker": {
"dependsOn": ["build:worker-types"],
"inputs": ["worker/**", "shared/**", "tsconfig.worker.json", "tsconfig.json"],
"cache": true
},
"lint": {
"inputs": ["src/**", "worker/**", "shared/**", "test/**", "eslint.config.js"],
"cache": true
},
"format:check": {
"inputs": ["**/*.{ts,tsx,js,json,md,css}"],
"cache": true
},
"test": {
"inputs": ["src/**", "worker/**", "shared/**", "test/unit/**"],
"cache": true
},
"test:integration": {
"inputs": ["src/**", "worker/**", "shared/**", "test/integration/**"],
"env": ["TEST_BASE_URL"],
"cache": false
},
"test:e2e": {
"inputs": ["src/**", "worker/**", "shared/**", "test/e2e/**", "playwright.config.ts"],
"env": ["TEST_BASE_URL", "CI"],
"cache": false
},
"test:storybook": {
"inputs": ["src/**", ".storybook/**", "test/storybook/vitest.config.ts"],
"cache": true
}
}
}