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
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "tui",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build", "^db:generate"],
|
|
"outputs": ["dist/**"],
|
|
"env": ["NODE_ENV"]
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^build", "^db:generate"],
|
|
"persistent": true,
|
|
"cache": false,
|
|
"env": ["DATABASE_URL", "BOT_TOKEN", "NODE_ENV"]
|
|
},
|
|
"start": {
|
|
"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,
|
|
"outputs": ["generated/**"]
|
|
},
|
|
"db:migrate": {
|
|
"cache": false
|
|
},
|
|
"db:deploy": {
|
|
"cache": false
|
|
},
|
|
"db:push": {
|
|
"cache": false
|
|
}
|
|
},
|
|
"globalEnv": ["NODE_ENV"],
|
|
"globalPassThroughEnv": ["NODE_ENV", "CI", "VERCEL", "npm_lifecycle_event"]
|
|
}
|