Skip to content

Commit 3c77fb5

Browse files
committed
update to latest prisma
1 parent a073b82 commit 3c77fb5

File tree

4 files changed

+45
-97
lines changed

4 files changed

+45
-97
lines changed

next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference types="next/navigation-types/compat/navigation" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/basic-features/typescript for more information.

package-lock.json

Lines changed: 34 additions & 91 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"dependencies": {
2222
"@heroicons/react": "^2.0.12",
2323
"@next-auth/prisma-adapter": "^1.0.6",
24-
"@prisma/client": "^5.19.1",
24+
"@prisma/client": "^6.0.1",
2525
"@vercel/analytics": "^1.0.1",
2626
"@zenstackhq/runtime": "2.10.0",
2727
"@zenstackhq/server": "2.10.0",
@@ -51,7 +51,7 @@
5151
"eslint": "^7.19.0",
5252
"eslint-config-next": "12.3.1",
5353
"postcss": "^8.4.16",
54-
"prisma": "^5.19.1",
54+
"prisma": "^6.0.1",
5555
"tailwindcss": "^3.1.8",
5656
"typescript": "^5.1.6",
5757
"zenstack": "2.10.0"

tsconfig.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,14 @@
1818
"paths": {
1919
"@lib/*": ["lib/*"],
2020
"@components/*": ["lib/components/*"],
21-
"@components": ["lib/components/index"],
22-
".zenstack/*": ["node_modules/.zenstack/*"]
23-
}
21+
"@components": ["lib/components/index"]
22+
},
23+
"plugins": [
24+
{
25+
"name": "next"
26+
}
27+
]
2428
},
25-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
29+
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
2630
"exclude": ["node_modules"]
2731
}

0 commit comments

Comments
 (0)