将next-auth替换为better-auth

This commit is contained in:
2025-12-10 17:54:14 +08:00
parent db96b86e65
commit 881d9ca921
45 changed files with 2225 additions and 623 deletions

View File

@@ -14,29 +14,33 @@
"@prisma/adapter-pg": "^7.1.0",
"@prisma/client": "^7.1.0",
"bcryptjs": "^3.0.3",
"better-auth": "^1.4.6",
"dotenv": "^17.2.3",
"edge-tts-universal": "^1.3.3",
"lucide-react": "^0.553.0",
"next": "16.0.7",
"next-auth": "5.0.0-beta.30",
"lucide-react": "^0.556.0",
"next": "16.0.8",
"next-intl": "^4.5.8",
"pg": "^8.16.3",
"react": "19.2.1",
"react-dom": "19.2.1",
"sonner": "^2.0.7",
"unstorage": "^1.17.3",
"zod": "^3.25.76"
"zod": "^4.1.13"
},
"devDependencies": {
"@better-auth/cli": "^1.4.6",
"@eslint/eslintrc": "^3.3.3",
"@tailwindcss/postcss": "^4.1.17",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20.19.25",
"@types/node": "^24.10.2",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"babel-plugin-react-compiler": "^1.0.0",
"eslint": "^9.39.1",
"eslint-config-next": "16.0.7",
"prisma": "^6.19.0",
"eslint-config-next": "16.0.8",
"eslint-plugin-react": "^7.37.5",
"prisma": "^7.1.0",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3"
},
@@ -44,6 +48,9 @@
"overrides": {
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3"
}
},
"ignoredBuiltDependencies": [
"@prisma/client"
]
}
}