The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
revert prisma version upgrade
Kiran Ka0fb3e041b8e
diff --git a/apps/web/package.json b/apps/web/package.jsonindex fc26197cba..e73225da9b 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -4,7 +4,7 @@"license": "AGPL-3.0-or-later","scripts": {"dev": "concurrently --kill-others \"pnpm prisma:generate && next dev --turbo --port 8888\" \"pnpm prisma:generate && pnpm prisma:studio --browser none\" \"email dev --port 3333\"",- "build": "pnpm run prisma:generate && next build",+ "build": "pnpm prisma:generate && next build","lint": "next lint","start": "next start","script": "tsx ./scripts/run.ts",@@ -119,7 +119,7 @@"zod": "^3.22.4","zod-error": "^1.5.0","zod-openapi": "^2.19.0",- "@prisma/client": "6.0.0",+ "@prisma/client": "5.18.0","@prisma/nextjs-monorepo-workaround-plugin": "^6.0.1"},"devDependencies": {diff --git a/packages/prisma/package.json b/packages/prisma/package.jsonindex cae49f6e38..b3ec1bcde5 100644--- a/packages/prisma/package.json+++ b/packages/prisma/package.json@@ -8,7 +8,9 @@"scripts": {"generate": "npx prisma generate --schema=./schema","push": "npx prisma db push --schema=./schema",- "studio": "npx prisma studio --schema=./schema --browser none"+ "studio": "npx prisma studio --schema=./schema --browser none",+ "prebuild": "pnpm run generate",+ "predev": "pnpm run generate"},"dependencies": {"@planetscale/database": "^1.18.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c6d3fdc359..0d67506400 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -68,7 +68,7 @@ importers:version: 3.9.0([email protected])'@next-auth/prisma-adapter':specifier: ^1.0.5- version: 1.0.5(@prisma/[email protected])([email protected])+ version: 1.0.5(@prisma/[email protected])([email protected])'@number-flow/react':specifier: ^0.4.1version: 0.4.1([email protected])([email protected])@@ -76,8 +76,8 @@ importers:specifier: ^1.18.0version: 1.18.0'@prisma/client':- specifier: 6.0.0- version: 6.0.0+ specifier: 5.18.0+ version: 5.18.0([email protected])'@prisma/nextjs-monorepo-workaround-plugin':specifier: ^6.0.1version: 6.0.1@@ -5012,13 +5012,13 @@ packages:sparse-bitfield: 3.0.3dev: falseresolution: {integrity: sha512-VqMS11IxPXrPGXw6Oul6jcyS/n8GLOWzRMrPr3EMdtD6eOalM6zz05j08PcNiis8QzkfuYnCv49OvufTuaEwYQ==}peerDependencies:'@prisma/client': '>=2.26.0 || >=3'next-auth: ^4dependencies:- '@prisma/client': 6.0.0+ '@prisma/client': 5.18.0([email protected])dev: false@@ -5517,17 +5517,6 @@ packages:prisma: 5.18.0dev: false- /@prisma/[email protected]:- resolution: {integrity: sha512-tOBhG35ozqZ/5Y6B0TNOa6cwULUW8ijXqBXcgb12bfozqf6eGMyGs+jphywCsj6uojv5lAZZnxVSoLMVebIP+g==}- engines: {node: '>=18.18'}- requiresBuild: true- peerDependencies:- prisma: '*'- peerDependenciesMeta:- prisma:- optional: true- dev: false-/@prisma/[email protected]:resolution: {integrity: sha512-f+ZvpTLidSo3LMJxQPVgAxdAjzv5OpzAo/eF8qZqbwvgi2F5cTOI9XCpdRzJYA0iGfajjwjOKKrVq64vkxEfUw==}