feat: add file storage service and update configurations
refactor: migrate to tsup for builds and update tsconfigs fix: update error handling and validation in payment service chore: update package scripts and dependencies docs: update README and env examples
This commit is contained in:
38
turbo.json
38
turbo.json
@@ -1,30 +1,42 @@
|
||||
{
|
||||
"$schema": "https://turborepo.com/schema.json",
|
||||
"$schema": "https://turbo.build/schema.json",
|
||||
"ui": "tui",
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build", "^db:generate"],
|
||||
"outputs": ["dist/**"],
|
||||
"env": ["DATABASE_URL", "BOT_TOKEN"]
|
||||
},
|
||||
"check-types": {
|
||||
"dependsOn": ["^check-types"]
|
||||
"env": ["NODE_ENV"]
|
||||
},
|
||||
"dev": {
|
||||
"dependsOn": ["^db:generate"],
|
||||
"dependsOn": ["^build", "^db:generate"],
|
||||
"persistent": true,
|
||||
"cache": false
|
||||
"cache": false,
|
||||
"env": ["DATABASE_URL", "BOT_TOKEN", "NODE_ENV"]
|
||||
},
|
||||
"start": {
|
||||
"dependsOn": ["^build"],
|
||||
"dependsOn": ["build", "^db:generate"],
|
||||
"persistent": true,
|
||||
"cache": false,
|
||||
"env": ["DATABASE_URL", "BOT_TOKEN", "NODE_ENV"],
|
||||
"outputLogs": "new-only"
|
||||
},
|
||||
"check-types": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": []
|
||||
},
|
||||
"lint": {
|
||||
"dependsOn": ["^build"],
|
||||
"outputs": []
|
||||
},
|
||||
"clean": {
|
||||
"cache": false
|
||||
},
|
||||
"db:generate": {
|
||||
"cache": false
|
||||
"cache": false,
|
||||
"outputs": ["generated/**"]
|
||||
},
|
||||
"db:migrate": {
|
||||
"cache": false,
|
||||
"persistent": true
|
||||
"cache": false
|
||||
},
|
||||
"db:deploy": {
|
||||
"cache": false
|
||||
@@ -32,5 +44,7 @@
|
||||
"db:push": {
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"globalEnv": ["NODE_ENV"],
|
||||
"globalPassThroughEnv": ["NODE_ENV", "CI", "VERCEL", "npm_lifecycle_event"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user