-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Expand file tree
/
Copy pathturbo.json
More file actions
84 lines (84 loc) · 2.62 KB
/
Copy pathturbo.json
File metadata and controls
84 lines (84 loc) · 2.62 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
82
83
84
{
"$schema": "https://turbo.build/schema.json",
"tasks": {
"build": {
"dependsOn": ["^build"],
"inputs": [
"src/**",
"migrations/**",
"package.json",
"tsconfig.json",
"tsconfig.prod.json",
"tsdown.config.ts",
"$TURBO_ROOT$/packages/0-config/tsdown/*.ts"
],
"outputs": ["dist/**"]
},
"dev": {
"cache": false,
"persistent": true
},
"test": {
"dependsOn": ["^build"],
"inputs": ["src/**", "test/**", "dist/**"],
"env": ["TEST_TIMEOUT_MULTIPLIER", "VITEST_COVERAGE_SHARD"],
"passThroughEnv": [
"WRANGLER_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE",
"CLOUDFLARE_HYPERDRIVE_LOCAL_CONNECTION_STRING_HYPERDRIVE"
]
},
"test:journeys": {
"dependsOn": ["^build"],
"inputs": ["src/**", "test/**", "dist/**"],
"env": ["TEST_TIMEOUT_MULTIPLIER"]
},
// `build` as well as `^build`: several packages import their own published
// subpaths (e.g. `@internal/extension-pgvector/pack`), which resolve into
// their own dist. Without the self-edge those typechecks read whatever dist
// happens to be on disk — TS2307 when it is absent, a stale cache replay
// when it is not.
"typecheck": {
"dependsOn": ["^build", "build"],
"inputs": ["src/**", "test/**", "tsconfig.json"]
},
"lint": {
"inputs": ["src/**", "test/**"]
},
"record": {
"dependsOn": ["build"],
"inputs": ["scripts/record.ts", "recordings/config.ts", "recordings/fixtures/**"],
"outputs": ["recordings/svgs/**", "recordings/ascii/**"]
},
"clean": {
"cache": false
},
"@internal/sql-builder#emit": {
"dependsOn": ["@internal/cli#build"]
},
"@prisma/orm-framework#test": {
"dependsOn": [
"build",
"^build",
"@prisma/orm-toolchain#build",
"@prisma/orm-family-sql#build",
"@prisma/orm-family-mongo#build",
"@prisma/orm-target-postgres#build",
"@prisma/orm-target-sqlite#build",
"@prisma/orm-target-mongo#build"
],
"inputs": ["test/**", "dist/**", "vitest.config.ts"]
},
"@prisma/orm-target-postgres#test": {
"dependsOn": ["build", "^build"],
"inputs": ["test/**", "dist/**", "vitest.config.ts"]
},
"@prisma/orm-postgres#test": {
"dependsOn": ["build", "^build"],
"inputs": ["test/**", "dist/**", "vitest.config.ts"]
},
"@prisma/orm-extension-pgvector#test": {
"dependsOn": ["build", "^build", "@prisma/orm-postgres#build"],
"inputs": ["test/**", "dist/**", "vitest.config.ts"]
}
}
}