Files
tg-bot-template/turbo.json
Yuu Ottosoka 49f0385d00 feat(bot): add session management and user tracking
- Implement Prisma storage adapter for Telegram session management
- Add middleware to upsert Telegram user data
- Extend TelegramUser model with additional fields
- Add db:push command to turbo.json and package.json
- Extend Prisma client with exists helper method
2025-07-09 20:36:07 +03:00

32 lines
595 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
},
"db:push": {
"cache": false
}
}
}