turbo.json•2.11 kB
{
"$schema": "https://turbo.build/schema.json",
"daemon": false,
"ui": "stream",
"tasks": {
"setup": {
"dependsOn": ["build"],
"cache": false
},
"generate-definitions": {
"dependsOn": [],
"inputs": [
"src/tools/**/*.ts",
"src/skills.ts",
"scripts/generate-definitions.ts",
"!src/**/*.test.ts"
],
"outputs": ["src/toolDefinitions.json", "src/skillDefinitions.json"],
"cache": true
},
"dev": {
"dependsOn": ["^build"],
"cache": false,
"persistent": true
},
"deploy": {
"dependsOn": ["^build"],
"outputs": [],
"cache": true
},
"lint": {
"dependsOn": ["^build"],
"inputs": ["**/*.{ts,tsx,js,jsx}", "biome.json", "package.json"],
"cache": true
},
"test": {
"dependsOn": ["^build"],
"inputs": [
"src/**/*.ts",
"**/*.test.ts",
"**/*.spec.ts",
"vitest.config.ts",
"package.json"
],
"outputs": ["coverage/**", "*.junit.xml"],
"cache": true
},
"tsc": {
"dependsOn": ["^build"],
"inputs": ["src/**/*.{ts,tsx}", "tsconfig*.json"],
"outputs": [],
"cache": true
},
"eval": {
"dependsOn": ["^build"],
"outputs": [],
"cache": true
},
"build": {
"dependsOn": ["^build"],
"inputs": [
"src/**/*.{ts,tsx,js,jsx,json}",
"package.json",
"tsconfig*.json",
"tsdown.config.ts",
"vite.config.ts",
"wrangler.jsonc",
"!**/*.test.{ts,tsx}",
"!**/*.spec.{ts,tsx}"
],
"outputs": [".next/**", "!.next/cache/**", "dist/**", "*.tsbuildinfo"],
"cache": true
},
"after-build": {
"dependsOn": ["build"],
"cache": false
}
},
"globalPassThroughEnv": [
"NODE_ENV",
"CI",
"OPENAI_API_KEY",
"COOKIE_SECRET",
"SENTRY_CLIENT_ID",
"SENTRY_CLIENT_SECRET",
"SENTRY_AUTH_TOKEN",
"SENTRY_ACCESS_TOKEN",
"SENTRY_SPOTLIGHT",
"VITE_SENTRY_DSN",
"VITE_SENTRY_ENVIRONMENT"
]
}