Use Drizzle adapter and Drizzle CLI auth migrations

This commit is contained in:
2026-02-24 16:21:03 -05:00
parent 11eeafafef
commit 0ab464f910
10 changed files with 1133 additions and 110 deletions

View File

@@ -7,13 +7,16 @@
"dev": "bun --bun next dev --turbopack",
"build": "bun --bun next build --turbopack",
"start": "bun --bun next start",
"lint": "bun --bun tsc --noEmit"
"lint": "bun --bun tsc --noEmit",
"db:generate": "bun x drizzle-kit generate",
"db:migrate": "bun x drizzle-kit migrate"
},
"dependencies": {
"@tailwindcss/postcss": "^4.2.1",
"better-auth": "^1.4.19",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"drizzle-orm": "^0.41.0",
"elysia": "latest",
"lucide-react": "^0.575.0",
"next": "^16.1.6",
@@ -28,6 +31,7 @@
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"autoprefixer": "^10.4.24",
"drizzle-kit": "^0.31.4",
"postcss": "^8.5.6",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.3"