Some checks failed
Lint and Check Types / validations (push) Failing after 47s
- 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.
52 lines
981 B
JSON
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
|
|
}
|
|
}
|
|
}
|