Replace scattered API_URL, MAIN_VITE_API_URL, and RENDERER_VITE_API_URL with a single MULTICA_API_URL across all apps and packages. - Desktop: use envPrefix to expose MULTICA_* to main process, rename RENDERER_VITE_API_URL → RENDERER_VITE_MULTICA_API_URL, remove MAIN_VITE_API_URL (now read directly via MULTICA_API_URL) - Web: add .env.development with MULTICA_API_URL, enforce required check in next.config.ts, update .gitignore to allow .env.development - Core: make MULTICA_API_URL required in api-client (no silent fallback) - Scripts: pass MULTICA_API_URL in dev-local.sh for web process - Turbo: update globalEnv from API_URL to MULTICA_API_URL - Docs: update references to the new env var name Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
819 B
JSON
31 lines
819 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalDependencies": ["tsconfig.json", "tsconfig.base.json"],
|
|
"globalEnv": ["MULTICA_API_URL"],
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["src/**", "package.json", "tsconfig.json"],
|
|
"outputs": ["dist/**"]
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^build"],
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"typecheck": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["src/**", "package.json", "tsconfig.json"],
|
|
"outputs": []
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["src/**", "package.json", "tsconfig.json", "vitest.config.*"],
|
|
"outputs": []
|
|
},
|
|
"lint": {
|
|
"inputs": ["src/**", "package.json", "eslint.config.*", ".eslintrc.*"],
|
|
"outputs": []
|
|
}
|
|
}
|
|
}
|