implemented inital nextAuth logic

This commit is contained in:
PxlLoewe
2025-01-18 23:19:16 +01:00
parent 2f8424e56c
commit 58277ba819
21 changed files with 295 additions and 172 deletions

View File

@@ -1,9 +1,19 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"globalEnv": ["EMAIL_SERVER", "EMAIL_FROM", "SECRET"],
"ui": "tui",
"tasks": {
"db:generate": {
"cache": false,
"persistent": true
},
"db:migrate": {
"cache": false,
"persistent": true
},
"build": {
"dependsOn": ["^build"],
"dependsOn": ["^build", "db:generate", "db:migrate"],
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": [".next/**", "!.next/cache/**"]
},
@@ -14,19 +24,10 @@
"dependsOn": ["^check-types"]
},
"dev": {
"dependsOn": ["^db:generate"],
"cache": false,
"persistent": true
},
"db:generate": {
"cache": false,
"persistent": true
},
"db:migrate": {
"cache": false,
"persistent": true
},
"db:deploy": {
"cache": false
}
}
}