-
Notifications
You must be signed in to change notification settings - Fork 178
Expand file tree
/
Copy pathturbo.json
More file actions
211 lines (211 loc) · 5.9 KB
/
Copy pathturbo.json
File metadata and controls
211 lines (211 loc) · 5.9 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
{
"$schema": "https://turbo.build/schema.json",
"ui": "tui",
"concurrency": "15",
"globalEnv": [
"NODE_ENV",
"CI",
"TURBO_TOKEN",
"TURBO_TEAM",
"TURBO_TELEMETRY_DISABLED",
"ENVIRONMENT",
"INKEEP_AGENTS_MANAGE_DATABASE_URL",
"INKEEP_AGENTS_RUN_DATABASE_URL",
"INKEEP_AGENTS_API_URL",
"PUBLIC_INKEEP_AGENTS_API_URL",
"NEXT_PUBLIC_INKEEP_AGENTS_API_URL",
"INKEEP_AGENTS_MANAGE_UI_URL",
"PORT",
"AGENTS_API_PORT",
"MANAGE_UI_PORT",
"LOG_LEVEL",
"SPICEDB_ENDPOINT",
"SPICEDB_PRESHARED_KEY",
"SPICEDB_TLS_ENABLED",
"SMTP_HOST",
"SMTP_PORT"
],
"globalDependencies": ["pnpm-lock.yaml"],
"tasks": {
"transit": {
"dependsOn": ["^transit"]
},
"sync:licenses": {
"cache": false,
"inputs": ["LICENSE.md", "SUPPLEMENTAL_TERMS.md", "scripts/sync-licenses.mjs"],
"outputs": [
"packages/*/LICENSE.md",
"packages/*/SUPPLEMENTAL_TERMS.md",
"agents-*/LICENSE.md",
"agents-*/SUPPLEMENTAL_TERMS.md"
]
},
"build": {
"dependsOn": ["^build", "sync:licenses"],
"inputs": [
"$TURBO_DEFAULT$",
"!**/*.test.*",
"!**/*.spec.*",
"!**/__tests__/**",
".env.example"
],
"outputs": ["dist/**", "build/**", ".next/**", "!.next/cache/**", "!.next/dev/**"]
},
"dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"prepack": {
"cache": false,
"persistent": true
},
"start": {
"dependsOn": ["build"],
"cache": false
},
"test": {
"dependsOn": ["build"],
"inputs": ["$TURBO_DEFAULT$", "**/*.{test,spec}.{js,jsx,ts,tsx}"],
"env": ["ANTHROPIC_API_KEY", "OPENAI_API_KEY"],
"passThroughEnv": ["PW_TEST_CONNECT_WS_ENDPOINT", "INKEEP_PRIVATE_MONOREPO"],
"outputs": ["coverage/**"]
},
// Visual regression suite. Separate task rather than chained into `test`
// so the canonical `pnpm test` stays runnable without the Dockerised
// Playwright server (see public/agents/AGENTS.md). It keeps `test`'s
// `dependsOn: build` edge because agents-manage-ui's *.browser.test.tsx
// import `@inkeep/agents-core/client-exports`, which resolves only to
// `dist/` — running this against an unbuilt workspace fails module
// resolution rather than skipping. `cache: false` because the suite's
// real dependency is the external Playwright server, which turbo cannot
// hash; a cache hit would report green without exercising it.
//
// `inputs` is NOT inert under `cache: false`: turbo hashes every task in the
// graph whether or not it stores outputs, so this bounds the file scan and
// scopes `turbo watch`. What it does NOT do is gate whether the task RUNS —
// the CI step's `--filter` does that.
"test:visual": {
"dependsOn": ["build"],
"inputs": ["$TURBO_DEFAULT$", "**/*.browser.test.tsx", "src/__screenshots__/**"],
"passThroughEnv": ["PW_TEST_CONNECT_WS_ENDPOINT", "INKEEP_PRIVATE_MONOREPO"],
"cache": false
},
"@inkeep/agents-mcp#build": {
"dependsOn": ["^build", "sync:licenses"],
"inputs": [
"$TURBO_DEFAULT$",
"!**/*.test.*",
"!**/*.spec.*",
"!**/__tests__/**",
".env.example"
],
"outputs": ["esm/**", "bin/**", ".tsbuildinfo"]
},
"test:watch": {
"cache": false,
"persistent": true
},
"test:coverage": {
"dependsOn": ["build"],
"inputs": ["$TURBO_DEFAULT$", "**/*.{test,spec}.{js,jsx,ts,tsx}"],
"outputs": ["coverage/**"]
},
"lint": {
"inputs": ["$TURBO_DEFAULT$"],
"outputs": []
},
"lint:fix": {
"inputs": ["$TURBO_DEFAULT$"],
"outputs": [],
"cache": false
},
"knip": {},
"typecheck": {
"dependsOn": ["^build"],
"inputs": ["$TURBO_DEFAULT$"],
"outputs": []
},
"typecheck:watch": {
"cache": false,
"persistent": true
},
"db:generate": {
"dependsOn": ["db:manage:generate", "db:run:generate"],
"cache": false
},
"db:migrate": {
"dependsOn": ["db:manage:migrate", "db:run:migrate"],
"cache": false
},
"db:studio": {
"cache": false,
"persistent": true
},
"db:clean": {
"cache": false
},
"db:check": {
"dependsOn": ["db:manage:check", "db:run:check"],
"cache": false
},
"db:manage:generate": {
"cache": false,
"inputs": ["drizzle.manage.config.ts", "src/db/manage/manage-schema.ts"],
"outputs": ["drizzle/manage/**"]
},
"db:manage:migrate": {
"cache": false,
"inputs": ["drizzle/manage/**", "src/db/manage/manage-schema.ts"]
},
"db:manage:drop": {
"cache": false
},
"db:manage:studio": {
"cache": false,
"persistent": true
},
"db:manage:check": {
"cache": false,
"inputs": ["drizzle.manage.config.ts", "src/db/manage/manage-schema.ts"]
},
"db:run:generate": {
"cache": false,
"inputs": ["drizzle.run.config.ts", "src/db/runtime/runtime-schema.ts"],
"outputs": ["drizzle/runtime/**"]
},
"db:run:migrate": {
"cache": false,
"inputs": ["drizzle/runtime/**", "src/db/runtime/runtime-schema.ts"]
},
"db:run:drop": {
"cache": false
},
"db:run:studio": {
"cache": false,
"persistent": true
},
"db:run:check": {
"cache": false,
"inputs": ["drizzle.run.config.ts", "src/db/runtime/runtime-schema.ts"]
},
"docs#dev": {
"cache": false,
"persistent": true
},
"check": {
"dependsOn": ["lint", "typecheck", "test"],
"cache": false
},
"check:husky": {
"dependsOn": ["build", "lint", "typecheck", "test"],
"cache": false,
"outputs": []
},
"check:prepush": {
"dependsOn": ["lint", "typecheck", "test"],
"cache": false,
"outputs": []
}
}
}