mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
fix: temp disable route handler for next-auth
This commit is contained in:
parent
b2598d7fcf
commit
e26585303e
4 changed files with 15 additions and 9 deletions
|
|
@ -7,7 +7,7 @@
|
|||
"url": "https://twitter.com/shadcn"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "concurrently \"contentlayer dev\" \"next dev -p 3000\"",
|
||||
"dev": "concurrently \"contentlayer dev\" \"next dev -p 3001\"",
|
||||
"build": "contentlayer build && next build",
|
||||
"turbo": "next dev --turbo",
|
||||
"start": "next start",
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
"date-fns": "^2.29.3",
|
||||
"lucide-react": "^0.92.0",
|
||||
"next": "^13.3.1",
|
||||
"next-auth": "4.22.0",
|
||||
"next-auth": "4.22.1",
|
||||
"next-contentlayer": "^0.3.1",
|
||||
"next-themes": "^0.2.1",
|
||||
"nodemailer": "^6.9.1",
|
||||
|
|
|
|||
6
pages/api/auth/[...nextauth].ts
Normal file
6
pages/api/auth/[...nextauth].ts
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import NextAuth from "next-auth"
|
||||
|
||||
import { authOptions } from "@/lib/auth"
|
||||
|
||||
// @see ./lib/auth
|
||||
export default NextAuth(authOptions)
|
||||
|
|
@ -33,7 +33,7 @@ dependencies:
|
|||
version: 3.1.0(react-hook-form@7.43.9)
|
||||
'@next-auth/prisma-adapter':
|
||||
specifier: ^1.0.6
|
||||
version: 1.0.6(@prisma/client@4.13.0)(next-auth@4.22.0)
|
||||
version: 1.0.6(@prisma/client@4.13.0)(next-auth@4.22.1)
|
||||
'@prisma/client':
|
||||
specifier: ^4.13.0
|
||||
version: 4.13.0(prisma@4.13.0)
|
||||
|
|
@ -155,8 +155,8 @@ dependencies:
|
|||
specifier: ^13.3.1
|
||||
version: 13.3.1(@babel/core@7.21.4)(@opentelemetry/api@1.1.0)(react-dom@18.2.0)(react@18.2.0)
|
||||
next-auth:
|
||||
specifier: 4.22.0
|
||||
version: 4.22.0(next@13.3.1)(nodemailer@6.9.1)(react-dom@18.2.0)(react@18.2.0)
|
||||
specifier: 4.22.1
|
||||
version: 4.22.1(next@13.3.1)(nodemailer@6.9.1)(react-dom@18.2.0)(react@18.2.0)
|
||||
next-contentlayer:
|
||||
specifier: ^0.3.1
|
||||
version: 0.3.1(esbuild@0.17.18)(next@13.3.1)(react-dom@18.2.0)(react@18.2.0)
|
||||
|
|
@ -1351,14 +1351,14 @@ packages:
|
|||
- supports-color
|
||||
dev: false
|
||||
|
||||
/@next-auth/prisma-adapter@1.0.6(@prisma/client@4.13.0)(next-auth@4.22.0):
|
||||
/@next-auth/prisma-adapter@1.0.6(@prisma/client@4.13.0)(next-auth@4.22.1):
|
||||
resolution: {integrity: sha512-Z7agwfSZEeEcqKqrnisBun7VndRPshd6vyDsoRU68MXbkui8storkHgvN2hnNDrqr/hSCF9aRn56a1qpihaB4A==}
|
||||
peerDependencies:
|
||||
'@prisma/client': '>=2.26.0 || >=3'
|
||||
next-auth: ^4
|
||||
dependencies:
|
||||
'@prisma/client': 4.13.0(prisma@4.13.0)
|
||||
next-auth: 4.22.0(next@13.3.1)(nodemailer@6.9.1)(react-dom@18.2.0)(react@18.2.0)
|
||||
next-auth: 4.22.1(next@13.3.1)(nodemailer@6.9.1)(react-dom@18.2.0)(react@18.2.0)
|
||||
dev: false
|
||||
|
||||
/@next/env@13.3.1:
|
||||
|
|
@ -5999,8 +5999,8 @@ packages:
|
|||
/natural-compare@1.4.0:
|
||||
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
|
||||
|
||||
/next-auth@4.22.0(next@13.3.1)(nodemailer@6.9.1)(react-dom@18.2.0)(react@18.2.0):
|
||||
resolution: {integrity: sha512-08+kjnDoE7aQ52O996x6cwA3ffc2CbHIkrCgLYhbE+aDIJBKI0oA9UbIEIe19/+ODYJgpAHHOtJx4izmsgaVag==}
|
||||
/next-auth@4.22.1(next@13.3.1)(nodemailer@6.9.1)(react-dom@18.2.0)(react@18.2.0):
|
||||
resolution: {integrity: sha512-NTR3f6W7/AWXKw8GSsgSyQcDW6jkslZLH8AiZa5PQ09w1kR8uHtR9rez/E9gAq/o17+p0JYHE8QjF3RoniiObA==}
|
||||
peerDependencies:
|
||||
next: ^12.2.5 || ^13
|
||||
nodemailer: ^6.6.5
|
||||
|
|
|
|||
Loading…
Reference in a new issue