- Add bot service with telegram integration and webhook/polling modes - Add api service with hono, swagger and zod-openapi - Create config package for environment variable management - Create logger package for colored console logging - Create database package with prisma integration - Remove next.js web and docs apps - Update turbo.json for new services - Add dockerfiles and gitea workflows for deployment
29 lines
550 B
JSON
29 lines
550 B
JSON
{
|
|
"$schema": "https://turborepo.com/schema.json",
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build", "^db:generate"],
|
|
"outputs": ["dist/**"],
|
|
"env": ["DATABASE_URL", "BOT_TOKEN"]
|
|
},
|
|
"check-types": {
|
|
"dependsOn": ["^check-types"]
|
|
},
|
|
"dev": {
|
|
"dependsOn": ["^db:generate"],
|
|
"persistent": true,
|
|
"cache": false
|
|
},
|
|
"db:generate": {
|
|
"cache": false
|
|
},
|
|
"db:migrate": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"db:deploy": {
|
|
"cache": false
|
|
}
|
|
}
|
|
}
|