1
0
mirror of synced 2026-02-07 21:00:08 -05:00

Compare commits

...

1 Commits

Author SHA1 Message Date
Siddharth Suresh
9a20a75721 feat: add Prisma configuration files for toolkit-app-passportjs, toolkit-app, and web applications 2025-11-21 18:43:26 +05:30
29 changed files with 6067 additions and 873 deletions

View File

@@ -3,11 +3,10 @@
datasource db {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
// --------------------------------------

View File

@@ -29,11 +29,11 @@
"@blitzjs/rpc": "3.0.2",
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"next": "15.0.1",
"openid-client": "5.2.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-hook-form": "7.39.1",

View File

@@ -0,0 +1,12 @@
import "dotenv/config"
import { defineConfig, env } from "prisma/config"
export default defineConfig({
schema: "db/schema.prisma",
migrations: {
path: "db/migrations",
},
datasource: {
url: env("DATABASE_URL") || "file:./db/db.sqlite",
},
})

View File

@@ -3,11 +3,10 @@
datasource db {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
// --------------------------------------

View File

@@ -30,11 +30,11 @@
"@blitzjs/rpc": "3.0.2",
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"next": "15.0.1",
"next-auth": "4.24.7",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-hook-form": "7.39.1",

View File

@@ -0,0 +1,12 @@
import "dotenv/config"
import { defineConfig, env } from "prisma/config"
export default defineConfig({
schema: "db/schema.prisma",
migrations: {
path: "db/migrations",
},
datasource: {
url: env("DATABASE_URL") || "file:./db/db.sqlite",
},
})

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -20,7 +20,7 @@
"@blitzjs/config": "3.0.2",
"@blitzjs/next": "3.0.2",
"@blitzjs/rpc": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"@types/jest": "29.2.2",
"@types/passport-twitter": "1.0.37",
"blitz": "3.0.2",
@@ -29,7 +29,7 @@
"next": "15.0.1",
"passport-mock-strategy": "2.0.0",
"passport-twitter": "1.0.4",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"ts-node": "10.9.1"

12
apps/web/prisma.config.ts Normal file
View File

@@ -0,0 +1,12 @@
import "dotenv/config"
import {defineConfig, env} from "prisma/config"
export default defineConfig({
schema: "db/schema.prisma",
migrations: {
path: "db/migrations",
},
datasource: {
url: env("DATABASE_URL") || "file:./db/db.sqlite",
},
})

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -23,11 +23,11 @@
"@blitzjs/rpc": "3.0.2",
"@hookform/error-message": "2.0.0",
"@hookform/resolvers": "2.9.10",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"delay": "5.0.0",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-hook-form": "7.39.1",

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -20,11 +20,11 @@
"@blitzjs/auth": "3.0.2",
"@blitzjs/config": "3.0.2",
"@blitzjs/next": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"lowdb": "3.0.0",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"secure-password": "4.0.0",

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -19,11 +19,11 @@
"@blitzjs/auth": "3.0.2",
"@blitzjs/next": "3.0.2",
"@blitzjs/rpc": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"lowdb": "2.1.0",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0"
},

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -21,11 +21,11 @@
"@blitzjs/config": "3.0.2",
"@blitzjs/next": "3.0.2",
"@blitzjs/rpc": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"lowdb": "2.1.0",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"secure-password": "4.0.0",

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -19,11 +19,11 @@
"@blitzjs/auth": "3.0.2",
"@blitzjs/next": "3.0.2",
"@blitzjs/rpc": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"lowdb": "3.0.0",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0"
},

View File

@@ -12,11 +12,11 @@
"@blitzjs/config": "3.0.2",
"@blitzjs/next": "3.0.2",
"@blitzjs/rpc": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"@tanstack/react-query": "5.51.1",
"blitz": "3.0.2",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0"
},

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -18,11 +18,11 @@
"dependencies": {
"@blitzjs/next": "3.0.2",
"@blitzjs/rpc": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"lowdb": "3.0.0",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0"
},

View File

@@ -1,10 +1,9 @@
datasource sqlite {
provider = "sqlite"
url = "file:./db.sqlite"
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
model User {

View File

@@ -19,11 +19,11 @@
"@blitzjs/auth": "3.0.2",
"@blitzjs/next": "3.0.2",
"@blitzjs/rpc": "3.0.2",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "3.0.2",
"lowdb": "3.0.0",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0"
},

View File

@@ -3,11 +3,10 @@
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
// --------------------------------------

View File

@@ -28,11 +28,11 @@
"@blitzjs/auth": "latest",
"@blitzjs/next": "latest",
"@blitzjs/rpc": "latest",
"@prisma/client": "5.4.2",
"@prisma/client": "7.0.0",
"blitz": "latest",
"formik": "2.4.5",
"next": "15.0.1",
"prisma": "5.4.2",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"secure-password": "4.0.0",
@@ -58,7 +58,7 @@
"prettier-plugin-prisma": "4.4.0",
"pretty-quick": "3.1.3",
"preview-email": "3.0.7",
"typescript": "^4.8.4",
"typescript": "^5.4.0",
"vite-tsconfig-paths": "3.6.0",
"vitest": "0.25.3"
}

View File

@@ -3,11 +3,10 @@
datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
provider = "prisma-client"
}
// --------------------------------------

View File

@@ -25,10 +25,10 @@
"@blitzjs/auth": "latest",
"@blitzjs/next": "latest",
"@blitzjs/rpc": "latest",
"@prisma/client": "6.1.0",
"@prisma/client": "7.0.0",
"blitz": "latest",
"next": "15.0.1",
"prisma": "6.1.0",
"prisma": "7.0.0",
"react": "19.0.0",
"react-dom": "19.0.0",
"secure-password": "4.0.0",
@@ -55,7 +55,7 @@
"prettier-plugin-prisma": "4.4.0",
"pretty-quick": "3.1.3",
"preview-email": "3.0.7",
"typescript": "^4.8.4",
"typescript": "^5.4.0",
"vite-tsconfig-paths": "3.6.0",
"vitest": "0.25.3"
},

6812
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff