mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
upgrade to prisma v6.6.0
This commit is contained in:
5
.changeset/flat-zoos-ring.md
Normal file
5
.changeset/flat-zoos-ring.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"create-better-t-stack": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
upgrade to prisma v6.6.0
|
||||||
@@ -24,7 +24,7 @@ export const DEFAULT_CONFIG: ProjectConfig = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const dependencyVersionMap = {
|
export const dependencyVersionMap = {
|
||||||
"better-auth": "^1.2.4",
|
"better-auth": "^1.2.5",
|
||||||
"@better-auth/expo": "^1.2.5",
|
"@better-auth/expo": "^1.2.5",
|
||||||
|
|
||||||
"drizzle-orm": "^0.38.4",
|
"drizzle-orm": "^0.38.4",
|
||||||
@@ -36,8 +36,8 @@ export const dependencyVersionMap = {
|
|||||||
|
|
||||||
mysql2: "^3.14.0",
|
mysql2: "^3.14.0",
|
||||||
|
|
||||||
"@prisma/client": "^6.5.0",
|
"@prisma/client": "^6.6.0",
|
||||||
prisma: "^6.5.0",
|
prisma: "^6.6.0",
|
||||||
|
|
||||||
"vite-plugin-pwa": "^0.21.2",
|
"vite-plugin-pwa": "^0.21.2",
|
||||||
"@vite-pwa/assets-generator": "^0.2.6",
|
"@vite-pwa/assets-generator": "^0.2.6",
|
||||||
@@ -62,7 +62,7 @@ export const dependencyVersionMap = {
|
|||||||
elysia: "^1.2.25",
|
elysia: "^1.2.25",
|
||||||
|
|
||||||
"@hono/trpc-server": "^0.3.4",
|
"@hono/trpc-server": "^0.3.4",
|
||||||
hono: "^4.7.5",
|
hono: "^4.7.6",
|
||||||
|
|
||||||
cors: "^2.8.5",
|
cors: "^2.8.5",
|
||||||
express: "^5.1.0",
|
express: "^5.1.0",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { PrismaClient } from "@prisma/client";
|
import { PrismaClient } from "./generated/client";
|
||||||
|
|
||||||
const prisma = new PrismaClient();
|
const prisma = new PrismaClient();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client"
|
||||||
previewFeatures = ["prismaSchemaFolder"]
|
previewFeatures = ["prismaSchemaFolder"]
|
||||||
|
output = "../generated"
|
||||||
|
moduleFormat = "esm"
|
||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { PrismaClient } from "@prisma/client";
|
import { PrismaClient } from "./generated/client";
|
||||||
|
|
||||||
const prisma = new PrismaClient();
|
const prisma = new PrismaClient();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client"
|
||||||
previewFeatures = ["prismaSchemaFolder"]
|
previewFeatures = ["prismaSchemaFolder"]
|
||||||
|
output = "../generated"
|
||||||
|
moduleFormat = "esm"
|
||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { PrismaClient } from "@prisma/client";
|
import { PrismaClient } from "./generated/client";
|
||||||
|
|
||||||
const prisma = new PrismaClient();
|
const prisma = new PrismaClient();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client"
|
||||||
previewFeatures = ["prismaSchemaFolder"]
|
previewFeatures = ["prismaSchemaFolder"]
|
||||||
|
output = "../generated"
|
||||||
|
moduleFormat = "esm"
|
||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { PrismaClient } from "@prisma/client";
|
import { PrismaClient } from "./generated/client";
|
||||||
|
|
||||||
const prisma = new PrismaClient();
|
const prisma = new PrismaClient();
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
generator client {
|
generator client {
|
||||||
provider = "prisma-client-js"
|
provider = "prisma-client"
|
||||||
previewFeatures = ["prismaSchemaFolder"]
|
previewFeatures = ["prismaSchemaFolder"]
|
||||||
|
output = "../generated"
|
||||||
|
moduleFormat = "esm"
|
||||||
}
|
}
|
||||||
|
|
||||||
datasource db {
|
datasource db {
|
||||||
|
|||||||
Reference in New Issue
Block a user