-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathturbo.json
More file actions
71 lines (71 loc) · 2.3 KB
/
Copy pathturbo.json
File metadata and controls
71 lines (71 loc) · 2.3 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
{
"$schema": "https://turborepo.dev/schema.json",
"ui": "tui",
"globalEnv": ["NODE_ENV"],
// Available to every task, never in the hash. Two kinds live here: secrets,
// which must not become cache keys, and machine-shaped values (where Evie
// home is, which port, which interface) that legitimately differ between two
// checkouts of the same commit.
//
// EVIE_BOT_ID / EVIE_RUNTIME_SECRET / EVIE_ALLOWED_HOSTS are read by the
// generated files inside a *bot's* eve project, not by any task here. They
// are listed so the lint rule that catches an undeclared variable keeps
// catching real ones.
"globalPassThroughEnv": [
"CI",
"AI_GATEWAY_API_KEY",
"ANTHROPIC_API_KEY",
"OPENAI_API_KEY",
"BETTER_AUTH_SECRET",
"BETTER_AUTH_URL",
"EVIE_ALLOWED_HOSTS",
"EVIE_ADOPT_WAIT_MS",
"EVIE_ADOPT_WEB_URL",
"EVIE_ALLOW_LIVE_HOME",
"EVIE_BIND",
"EVIE_BOT_ID",
"EVIE_HOME",
"EVIE_IDLE_STOP_MINUTES",
"EVIE_LAUNCHER_TOKEN",
"EVIE_NOTIFY_STDOUT",
"EVIE_PARENT_PID",
"EVIE_PORT",
"EVIE_RUNTIME_SECRET",
"EVIE_WEB_DIST",
"EVIE_WEB_PORT"
],
"tasks": {
"transit": {
"dependsOn": ["^transit"]
},
"build": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"env": ["VITE_*", "EVIE_CONTRACT_VERSION"],
// `.next/cache` is Next's own incremental cache. Turbo restoring a stale
// copy of it is slower than letting Next rebuild one, so it is excluded
// while the build output itself is cached.
"outputs": ["dist/**", "out/**", ".output/**", "release/**", ".next/**", "!.next/cache/**"]
},
"dev": {
// Uncached and persistent. Its secrets are in globalPassThroughEnv, so
// there is nothing task-specific left to declare here.
"cache": false,
"persistent": true
},
"test": {
"dependsOn": ["transit"],
// Empty on purpose. `vitest run` emits nothing, and declaring
// `coverage/**` here makes turbo warn "no output files found" on every
// green run -- which is how a repo teaches people to ignore warnings.
// Add it back alongside a package that actually runs `--coverage`.
"outputs": []
},
"lint": {
"dependsOn": ["transit"]
},
"check-types": {
"dependsOn": ["transit"]
}
}
}