unreal-chat/turbo.json
Juan Sebastian Montoya c7911953df
Some checks failed
Lint and Check Types / validations (push) Failing after 47s
chore: update environment configuration and enhance Prisma integration
- Added MINIO_PORT to .env.example for Minio configuration.
- Updated package.json to include a script for Prisma generation.
- Modified turbo.json to ensure db:generate task is executed during build and dev processes.
- Updated CI workflow to run Prisma generate step.
- Adjusted imports in the API to reference the generated Prisma client correctly.
- Added .gitignore entry for Prisma client directory.
2025-05-06 18:36:47 -05:00

52 lines
981 B
JSON

{
"$schema": "https://turbo.build/schema.json",
"ui": "tui",
"globalDependencies": [".env"],
"globalEnv": [
"DATABASE_URL",
"ALLOWED_ORIGINS",
"API_HOST",
"API_PORT",
"COOKIE_SECRET",
"MEMC_HOST",
"MEMC_PORT",
"MINIO_ACCESS_KEY",
"MINIO_BUCKET_NAME",
"MINIO_ENDPOINT",
"MINIO_PORT",
"MINIO_SECRET_KEY",
"MINIO_USE_SSL",
"NODE_ENV",
"TOKEN_SECRET",
"VITE_API_URL",
"VITE_WS_URL"
],
"tasks": {
"build": {
"dependsOn": ["^build", "^db:generate"],
"inputs": [".env*"],
"outputs": ["dist/**"]
},
"lint": {
"dependsOn": ["^lint"]
},
"check-types": {
"dependsOn": ["^check-types"]
},
"dev": {
"dependsOn": ["^db:generate"],
"cache": false,
"persistent": true
},
"db:generate": {
"cache": false
},
"start": {
"cache": false,
"persistent": true
},
"clean": {
"cache": false
}
}
}