mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
- Add .env.development as single source of truth for dev variables - Create scripts/generate-env.mjs to generate app-specific .env files - Add pnpm setup:env command (also runs on postinstall) - Update turbo.json with globalEnv for cache invalidation - Add comprehensive docs/ENVIRONMENT_VARIABLES.md - Update CLAUDE.md with env setup instructions
42 lines
804 B
JSON
42 lines
804 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"globalEnv": [
|
|
"NODE_ENV",
|
|
"MANA_CORE_AUTH_URL",
|
|
"JWT_PUBLIC_KEY",
|
|
"AZURE_OPENAI_ENDPOINT",
|
|
"AZURE_OPENAI_API_KEY"
|
|
],
|
|
"tasks": {
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true,
|
|
"dotEnv": [".env", ".env.development", ".env.local"]
|
|
},
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": [
|
|
"dist/**",
|
|
"build/**",
|
|
".next/**",
|
|
".svelte-kit/**",
|
|
".astro/**"
|
|
]
|
|
},
|
|
"lint": {
|
|
"dependsOn": ["^lint"],
|
|
"outputs": []
|
|
},
|
|
"type-check": {
|
|
"dependsOn": ["^type-check"],
|
|
"outputs": []
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["coverage/**"]
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|