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:
Yuu Ottosoka
2025-07-12 16:01:57 +03:00
parent c0c04bbdba
commit f9ecac94f2
67 changed files with 3308 additions and 695 deletions

View File

@@ -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"]
}