diff --git a/examples/with-prisma/.env.example b/examples/with-prisma/.env.example
index 97aec05fc227a..56e0feb7c3f82 100644
--- a/examples/with-prisma/.env.example
+++ b/examples/with-prisma/.env.example
@@ -1,9 +1 @@
-# Environment variables declared in this file are automatically made available to Prisma.
-# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
-
-# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB (Preview) and CockroachDB (Preview).
-# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
-
-# Defaults to the local database deployed from the `docker-compose.yml` stack
-
DATABASE_URL="mysql://root@127.0.0.1:3306/turborepo"
diff --git a/examples/with-prisma/README.md b/examples/with-prisma/README.md
index 8c3f5a899ae38..84a6070f64daf 100644
--- a/examples/with-prisma/README.md
+++ b/examples/with-prisma/README.md
@@ -1,24 +1,16 @@
-# Turborepo starter
+# Turborepo + Prisma ORM starter
-This is a community-maintained example. If you experience a problem, please submit a pull request with a fix. GitHub Issues will be closed.
-
-## Using this example
-
-Run the following command:
-
-```sh
-npx create-turbo@latest -e with-prisma
-```
+This is a example designed to help you quickly set up a Turborepo monorepo with a Next.js app and Prisma ORM. This is a community-maintained example. If you experience a problem, please submit a pull request with a fix. GitHub Issues will be closed.
## What's inside?
This turborepo includes the following packages/apps:
-### Apps and Packages
+### Apps and packages
- `web`: a [Next.js](https://nextjs.org/) app
- `@repo/eslint-config`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
-- `@repo/database`: [Prisma](https://prisma.io/) ORM wrapper to manage & access your database
+- `@repo/database`: [Prisma ORM](https://prisma.io/) to manage & access your database
- `@repo/typescript-config`: `tsconfig.json`s used throughout the monorepo
Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).
@@ -30,74 +22,171 @@ This turborepo has some additional tools already setup for you:
- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [ESLint](https://eslint.org/) for code linting
- [Prettier](https://prettier.io) for code formatting
-- [Prisma](https://prisma.io/) for database ORM
-- [Docker Compose](https://docs.docker.com/compose/) for local database
+- [Prisma ORM](https://prisma.io/) for accessing the database
+- [Docker Compose](https://docs.docker.com/compose/) for a local MySQL database
+
+## Getting started
-### Database
+Follow these steps to set up and run your Turborepo project with Prisma ORM:
-We use [Prisma](https://prisma.io/) to manage & access our database. As such you will need a database for this project, either locally or hosted in the cloud.
+### 1. Create a Turborepo project
-To make this process easier, we offer a [`docker-compose.yml`](https://docs.docker.com/compose/) file to deploy a MySQL server locally with a new database named `turborepo` (To change this update the `MYSQL_DATABASE` environment variable in the `docker-compose.yml` file):
+Start by creating a new Turborepo project using the following command:
+
+```sh
+npx create-turbo@latest -e with-prisma
+```
+
+Choose your desired package manager when prompted and a name for the app (e.g., `my-turborepo`). This will scaffold a new Turborepo project with Prisma ORM included and dependencies installed.
+
+Navigate to your project directory:
```bash
-cd my-turborepo
+cd ./my-turborepo
+```
+
+### 2. Setup a local database with Docker Compose
+
+We use [Prisma ORM](https://prisma.io/) to manage and access our database. As such you will need a database for this project, either locally or hosted in the cloud.
+
+To make this process easier, a [`docker-compose.yml` file](./docker-compose.yml) is included to setup a MySQL server locally with a new database named `turborepo`:
+
+Start the MySQL database using Docker Compose:
+
+```sh
docker-compose up -d
```
-Once deployed you will need to copy the `.env.example` file to `.env` in order for Prisma to have a `DATABASE_URL` environment variable to access.
+To change the default database name, update the `MYSQL_DATABASE` environment variable in the [`docker-compose.yml` file](/docker-compose.yml).
+
+### 3. Setup environment variables
+
+Once the database is ready, copy the `.env.example` file to the [`/packages/database`](./packages/database/) and [`/apps/web`](./apps/web/) directories as `.env`:
```bash
-cp .env.example .env
+cp .env.example ./packages/database/.env
+cp .env.example ./apps/web/.env
```
+This ensures Prisma has access to the `DATABASE_URL` environment variable, which is required to connect to your database.
+
If you added a custom database name, or use a cloud based database, you will need to update the `DATABASE_URL` in your `.env` accordingly.
-Once deployed & up & running, you will need to create & deploy migrations to your database to add the necessary tables. This can be done using [Prisma Migrate](https://www.prisma.io/migrate):
+### 4. Migrate your database
+
+Once your database is running, you’ll need to create and apply migrations to set up the necessary tables. Run the database migration command:
```bash
-npx prisma migrate dev
+# Using npm
+npm run db:migrate:dev
```
-If you need to push any existing migrations to the database, you can use either the Prisma db push or the Prisma migrate deploy command(s):
+
+
+Expand for yarn
, pnpm
or bun
```bash
-yarn run db:push
+# Using yarn
+yarn run db:migrate:dev
-# OR
+# Using pnpm
+pnpm run db:migrate:dev
-yarn run db:migrate:deploy
+# Using bun
+bun run db:migrate:dev
```
-There is slight difference between the two commands & [Prisma offers a breakdown on which command is best to use](https://www.prisma.io/docs/concepts/components/prisma-migrate/db-push#choosing-db-push-or-prisma-migrate).
+
+
+You’ll be prompted to name the migration. Once you provide a name, Prisma will create and apply the migration to your database.
+
+> Note: The `db:migrate:dev` script (located in [packages/database/package.json](/packages/database/package.json)) uses [Prisma Migrate](https://www.prisma.io/migrate) under the hood.
-An optional additional step is to seed some initial or fake data to your database using [Prisma's seeding functionality](https://www.prisma.io/docs/guides/database/seed-database).
+For production environments, always push schema changes to your database using the [`prisma migrate deploy` command](https://www.prisma.io/docs/orm/prisma-client/deployment/deploy-database-changes-with-prisma-migrate). You can find an example `db:migrate:deploy` script in the [`package.json` file](/packages/database/package.json) of the `database` package.
-To do this update check the seed script located in `packages/database/src/seed.ts` & add or update any users you wish to seed to the database.
+### 5. Seed your database
-Once edited run the following command to run tell Prisma to run the seed script defined in the Prisma configuration:
+To populate your database with initial or fake data, use [Prisma's seeding functionality](https://www.prisma.io/docs/guides/database/seed-database).
+
+Update the seed script located at [`packages/database/src/seed.ts`](/packages/database/src/seed.ts) to include any additional data that you want to seed. Once edited, run the seed command:
```bash
+# Using npm
+npm run db:seed
+```
+
+
+
+Expand for yarn
, pnpm
or bun
+
+```bash
+# Using yarn
yarn run db:seed
+
+# Using pnpm
+pnpm run db:seed
+
+# Using bun
+bun run db:seed
```
-For further more information on migrations, seeding & more, we recommend reading through the [Prisma Documentation](https://www.prisma.io/docs/).
+
-### Build
+### 6. Build your application
-To build all apps and packages, run the following command:
+To build all apps and packages in the monorepo, run:
```bash
+# Using npm
+npm run build
+```
+
+
+
+Expand for yarn
, pnpm
or bun
+
+```bash
+# Using yarn
yarn run build
+
+# Using pnpm
+pnpm run build
+
+# Using bun
+bun run build
```
-### Develop
+
+
+### 7. Start the application
-To develop all apps and packages, run the following command:
+Finally, start your application with:
```bash
yarn run dev
```
+
+
+Expand for yarn
, pnpm
or bun
+
+```bash
+# Using yarn
+yarn run dev
+
+# Using pnpm
+pnpm run dev
+
+# Using bun
+bun run dev
+```
+
+
+
+Your app will be running at `http://localhost:3000`. Open it in your browser to see it in action!
+
+You can also read the official [detailed step-by-step guide from Prisma ORM](https://pris.ly/guide/turborepo?utm_campaign=turborepo-example) to build a project from scratch using Turborepo and Prisma ORM.
+
## Useful Links
Learn more about the power of Turborepo:
diff --git a/examples/with-prisma/package.json b/examples/with-prisma/package.json
index 0d8fd87d2a915..fd7f6eced9745 100644
--- a/examples/with-prisma/package.json
+++ b/examples/with-prisma/package.json
@@ -11,6 +11,7 @@
"scripts": {
"build": "turbo run build",
"db:migrate:deploy": "turbo run db:migrate:deploy",
+ "db:migrate:dev": "turbo run db:migrate:dev",
"db:push": "turbo run db:push",
"db:seed": "turbo run db:seed",
"dev": "turbo run dev",
@@ -20,7 +21,7 @@
},
"devDependencies": {
"prettier": "^3.2.5",
- "prisma": "5.10.2",
+ "prisma": "latest",
"tsx": "4.19.1",
"turbo": "^2.0.3"
},
@@ -30,6 +31,6 @@
"packageManager": "yarn@1.22.19",
"name": "with-prisma",
"dependencies": {
- "@prisma/client": "5.10.2"
+ "@prisma/client": "latest"
}
}
diff --git a/examples/with-prisma/packages/database/.env b/examples/with-prisma/packages/database/.env
deleted file mode 120000
index c7360fb82d204..0000000000000
--- a/examples/with-prisma/packages/database/.env
+++ /dev/null
@@ -1 +0,0 @@
-../../.env
\ No newline at end of file
diff --git a/examples/with-prisma/packages/database/package.json b/examples/with-prisma/packages/database/package.json
index feba082700b35..f2fd92ad81c3d 100644
--- a/examples/with-prisma/packages/database/package.json
+++ b/examples/with-prisma/packages/database/package.json
@@ -18,13 +18,13 @@
"studio": "prisma studio"
},
"dependencies": {
- "@prisma/client": "^5.10.2"
+ "@prisma/client": "latest"
},
"devDependencies": {
"@repo/eslint-config": "*",
"@repo/typescript-config": "*",
"eslint": "^8.57.0",
- "prisma": "^5.10.2",
+ "prisma": "latest",
"rimraf": "^5.0.5",
"tsup": "^8.0.2",
"tsx": "4.19.1",
diff --git a/examples/with-prisma/packages/database/prisma/schema.prisma b/examples/with-prisma/packages/database/prisma/schema.prisma
index 5a13c5d4cdf60..78a1fd2694360 100644
--- a/examples/with-prisma/packages/database/prisma/schema.prisma
+++ b/examples/with-prisma/packages/database/prisma/schema.prisma
@@ -4,11 +4,11 @@
datasource db {
provider = "mysql"
url = env("DATABASE_URL")
- relationMode = "prisma"
}
generator client {
provider = "prisma-client-js"
+ output = "../generated/client"
}
model User {
diff --git a/examples/with-prisma/packages/database/src/client.ts b/examples/with-prisma/packages/database/src/client.ts
index cae5086f96280..57baa4e3bc32f 100644
--- a/examples/with-prisma/packages/database/src/client.ts
+++ b/examples/with-prisma/packages/database/src/client.ts
@@ -1,7 +1,10 @@
-import { PrismaClient } from "@prisma/client";
+import { PrismaClient } from "../generated/client";
-export const prisma = global.prisma || new PrismaClient();
+const globalForPrisma = global as unknown as { prisma: PrismaClient };
-if (process.env.NODE_ENV !== "production") global.prisma = prisma;
+export const prisma =
+ globalForPrisma.prisma || new PrismaClient();
-export * from "@prisma/client";
+if (process.env.NODE_ENV !== "production") globalForPrisma.prisma = prisma;
+
+export * from "../generated/client";
diff --git a/examples/with-prisma/packages/database/src/seed.ts b/examples/with-prisma/packages/database/src/seed.ts
index dc1a70b11d898..a64ae69d10300 100644
--- a/examples/with-prisma/packages/database/src/seed.ts
+++ b/examples/with-prisma/packages/database/src/seed.ts
@@ -1,6 +1,6 @@
import { prisma } from "./client";
-import type { User } from "@prisma/client";
+import type { User } from "../generated/client";
const DEFAULT_USERS = [
// Add your own user to pre-populate the database with
diff --git a/examples/with-prisma/turbo.json b/examples/with-prisma/turbo.json
index d1838a09fae5b..86554d3fc0e49 100644
--- a/examples/with-prisma/turbo.json
+++ b/examples/with-prisma/turbo.json
@@ -6,15 +6,26 @@
"inputs": ["$TURBO_DEFAULT$", ".env*"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
},
- "db:migrate:deploy": {},
- "db:push": {},
- "db:seed": {},
+ "db:migrate:dev": {
+ "cache": false,
+ "persistent": true
+ },
+ "db:migrate:deploy": {
+ "cache": false
+ },
+ "db:push": {
+ "cache": false
+ },
+ "db:seed": {
+ "cache": false
+ },
"dev": {
"cache": false,
"persistent": true
},
"generate": {
- "dependsOn": ["^generate"]
+ "dependsOn": ["^generate"],
+ "cache": false
},
"lint": {}
}
diff --git a/examples/with-prisma/yarn.lock b/examples/with-prisma/yarn.lock
index 5212c60b6f8b4..faafc2111edb8 100644
--- a/examples/with-prisma/yarn.lock
+++ b/examples/with-prisma/yarn.lock
@@ -645,87 +645,46 @@
resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31"
integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==
-"@prisma/client@5.10.2":
- version "5.10.2"
- resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.10.2.tgz#e087b40a4de8e3171eb9cbf0a873465cd2068e17"
- integrity sha512-ef49hzB2yJZCvM5gFHMxSFL9KYrIP9udpT5rYo0CsHD4P9IKj473MbhU1gjKKftiwWBTIyrt9jukprzZXazyag==
-
-"@prisma/client@^5.10.2":
- version "5.15.0"
- resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.15.0.tgz#a9443ace9b8a8d57aff70647168e95f2f55c5dc9"
- integrity sha512-wPTeTjbd2Q0abOeffN7zCDCbkp9C9cF+e9HPiI64lmpehyq2TepgXE+sY7FXr7Rhbb21prLMnhXX27/E11V09w==
-
-"@prisma/debug@5.10.2":
- version "5.10.2"
- resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.10.2.tgz#74be81d8969978f4d53c1b4e76d61f04bfbc3951"
- integrity sha512-bkBOmH9dpEBbMKFJj8V+Zp8IZHIBjy3fSyhLhxj4FmKGb/UBSt9doyfA6k1UeUREsMJft7xgPYBbHSOYBr8XCA==
-
-"@prisma/debug@5.15.0":
- version "5.15.0"
- resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.15.0.tgz#a4c1d8dbca9cf29aab1c82a56a65224ed3e05f13"
- integrity sha512-QpEAOjieLPc/4sMny/WrWqtpIAmBYsgqwWlWwIctqZO0AbhQ9QcT6x2Ut3ojbDo/pFRCCA1Z1+xm2MUy7fAkZA==
-
-"@prisma/engines-version@5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9":
- version "5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9"
- resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9.tgz#1502335d4d72d2014cb25b8ad8a740a3a13400ea"
- integrity sha512-uCy/++3Jx/O3ufM+qv2H1L4tOemTNqcP/gyEVOlZqTpBvYJUe0tWtW0y3o2Ueq04mll4aM5X3f6ugQftOSLdFQ==
-
-"@prisma/engines-version@5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022":
- version "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022"
- resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022.tgz#4469a372b74088db05c0fc8cff65f229b804fa51"
- integrity sha512-3BEgZ41Qb4oWHz9kZNofToRvNeS4LZYaT9pienR1gWkjhky6t6K1NyeWNBkqSj2llgraUNbgMOCQPY4f7Qp5wA==
-
-"@prisma/engines@5.10.2":
- version "5.10.2"
- resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.10.2.tgz#a4851d90f76ad6d22e783d5fd2e2e8c0640f1e81"
- integrity sha512-HkSJvix6PW8YqEEt3zHfCYYJY69CXsNdhU+wna+4Y7EZ+AwzeupMnUThmvaDA7uqswiHkgm5/SZ6/4CStjaGmw==
- dependencies:
- "@prisma/debug" "5.10.2"
- "@prisma/engines-version" "5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9"
- "@prisma/fetch-engine" "5.10.2"
- "@prisma/get-platform" "5.10.2"
-
-"@prisma/engines@5.15.0":
- version "5.15.0"
- resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.15.0.tgz#bddf1973b5b0d2ebed473ed445b1a7c8dd23300b"
- integrity sha512-hXL5Sn9hh/ZpRKWiyPA5GbvF3laqBHKt6Vo70hYqqOhh5e0ZXDzHcdmxNvOefEFeqxra2DMz2hNbFoPvqrVe1w==
- dependencies:
- "@prisma/debug" "5.15.0"
- "@prisma/engines-version" "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022"
- "@prisma/fetch-engine" "5.15.0"
- "@prisma/get-platform" "5.15.0"
-
-"@prisma/fetch-engine@5.10.2":
- version "5.10.2"
- resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.10.2.tgz#a061f6727d395c7033b55f9c6e92f8741a70d5c5"
- integrity sha512-dSmXcqSt6DpTmMaLQ9K8ZKzVAMH3qwGCmYEZr/uVnzVhxRJ1EbT/w2MMwIdBNq1zT69Rvh0h75WMIi0mrIw7Hg==
- dependencies:
- "@prisma/debug" "5.10.2"
- "@prisma/engines-version" "5.10.0-34.5a9203d0590c951969e85a7d07215503f4672eb9"
- "@prisma/get-platform" "5.10.2"
-
-"@prisma/fetch-engine@5.15.0":
- version "5.15.0"
- resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.15.0.tgz#f5bafd6aed3f58c41b5d0d6f832d652aa5d4cde7"
- integrity sha512-z6AY5yyXxc20Klj7wwnfGP0iIUkVKzybqapT02zLYR/nf9ynaeN8bq73WRmi1TkLYn+DJ5Qy+JGu7hBf1pE78A==
- dependencies:
- "@prisma/debug" "5.15.0"
- "@prisma/engines-version" "5.15.0-29.12e25d8d06f6ea5a0252864dd9a03b1bb51f3022"
- "@prisma/get-platform" "5.15.0"
-
-"@prisma/get-platform@5.10.2":
- version "5.10.2"
- resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.10.2.tgz#7af97b1d82e5574a474e3fbf6eaf04f4156bc535"
- integrity sha512-nqXP6vHiY2PIsebBAuDeWiUYg8h8mfjBckHh6Jezuwej0QJNnjDiOq30uesmg+JXxGk99nqyG3B7wpcOODzXvg==
- dependencies:
- "@prisma/debug" "5.10.2"
-
-"@prisma/get-platform@5.15.0":
- version "5.15.0"
- resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.15.0.tgz#d39fbe8458432f76afeb6c9199bffae73db4f5cc"
- integrity sha512-1GULDkW4+/VQb73vihxCBSc4Chc2x88MA+O40tcZFjmBzG4/fF44PaXFxUqKSFltxU9L9GIMLhh0Gfkk/pUbtg==
- dependencies:
- "@prisma/debug" "5.15.0"
+"@prisma/client@latest":
+ version "6.2.1"
+ resolved "https://registry.yarnpkg.com/@prisma/client/-/client-6.2.1.tgz#3d7d0c8669bba490247e1ffff67b93a516bd789f"
+ integrity sha512-msKY2iRLISN8t5X0Tj7hU0UWet1u0KuxSPHWuf3IRkB4J95mCvGpyQBfQ6ufcmvKNOMQSq90O2iUmJEN2e5fiA==
+
+"@prisma/debug@6.2.1":
+ version "6.2.1"
+ resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-6.2.1.tgz#887719967c4942d125262e48f6c47c45d17c1f61"
+ integrity sha512-0KItvt39CmQxWkEw6oW+RQMD6RZ43SJWgEUnzxN8VC9ixMysa7MzZCZf22LCK5DSooiLNf8vM3LHZm/I/Ni7bQ==
+
+"@prisma/engines-version@6.2.0-14.4123509d24aa4dede1e864b46351bf2790323b69":
+ version "6.2.0-14.4123509d24aa4dede1e864b46351bf2790323b69"
+ resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-6.2.0-14.4123509d24aa4dede1e864b46351bf2790323b69.tgz#b84ce3fab44bfa13a22669da02752330b61745b2"
+ integrity sha512-7tw1qs/9GWSX6qbZs4He09TOTg1ff3gYsB3ubaVNN0Pp1zLm9NC5C5MZShtkz7TyQjx7blhpknB7HwEhlG+PrQ==
+
+"@prisma/engines@6.2.1":
+ version "6.2.1"
+ resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-6.2.1.tgz#14ef56bb780f02871a728667161d997a14aedb69"
+ integrity sha512-lTBNLJBCxVT9iP5I7Mn6GlwqAxTpS5qMERrhebkUhtXpGVkBNd/jHnNJBZQW4kGDCKaQg/r2vlJYkzOHnAb7ZQ==
+ dependencies:
+ "@prisma/debug" "6.2.1"
+ "@prisma/engines-version" "6.2.0-14.4123509d24aa4dede1e864b46351bf2790323b69"
+ "@prisma/fetch-engine" "6.2.1"
+ "@prisma/get-platform" "6.2.1"
+
+"@prisma/fetch-engine@6.2.1":
+ version "6.2.1"
+ resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-6.2.1.tgz#cd7eb7428a407105e0f3761dba536aefd41fc7f7"
+ integrity sha512-OO7O9d6Mrx2F9i+Gu1LW+DGXXyUFkP7OE5aj9iBfA/2jjDXEJjqa9X0ZmM9NZNo8Uo7ql6zKm6yjDcbAcRrw1A==
+ dependencies:
+ "@prisma/debug" "6.2.1"
+ "@prisma/engines-version" "6.2.0-14.4123509d24aa4dede1e864b46351bf2790323b69"
+ "@prisma/get-platform" "6.2.1"
+
+"@prisma/get-platform@6.2.1":
+ version "6.2.1"
+ resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-6.2.1.tgz#34313cd0ee3587798ad33a7b57b6342dc8e66426"
+ integrity sha512-zp53yvroPl5m5/gXYLz7tGCNG33bhG+JYCm74ohxOq1pPnrL47VQYFfF3RbTZ7TzGWCrR3EtoiYMywUBw7UK6Q==
+ dependencies:
+ "@prisma/debug" "6.2.1"
"@rollup/rollup-android-arm-eabi@4.18.0":
version "4.18.0"
@@ -2256,7 +2215,7 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
-fsevents@~2.3.2, fsevents@~2.3.3:
+fsevents@2.3.3, fsevents@~2.3.2, fsevents@~2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
@@ -3327,19 +3286,14 @@ prettier@^3.2.5:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.0.tgz#d173ea0524a691d4c0b1181752f2b46724328cdf"
integrity sha512-J9odKxERhCQ10OC2yb93583f6UnYutOeiV5i0zEDS7UGTdUt0u+y8erxl3lBKvwo/JHyyoEdXjwp4dke9oyZ/g==
-prisma@5.10.2:
- version "5.10.2"
- resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.10.2.tgz#aa63085c49dc74cdb5c3816e8dd1fb4d74a2aadd"
- integrity sha512-hqb/JMz9/kymRE25pMWCxkdyhbnIWrq+h7S6WysJpdnCvhstbJSNP/S6mScEcqiB8Qv2F+0R3yG+osRaWqZacQ==
- dependencies:
- "@prisma/engines" "5.10.2"
-
-prisma@^5.10.2:
- version "5.15.0"
- resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.15.0.tgz#887c295caa1b81b8849d94a2751cc0e0994f86d1"
- integrity sha512-JA81ACQSCi3a7NUOgonOIkdx8PAVkO+HbUOxmd00Yb8DgIIEpr2V9+Qe/j6MLxIgWtE/OtVQ54rVjfYRbZsCfw==
+prisma@latest:
+ version "6.2.1"
+ resolved "https://registry.yarnpkg.com/prisma/-/prisma-6.2.1.tgz#457b210326d66d0e6f583cc6f9cd2819b984408f"
+ integrity sha512-hhyM0H13pQleQ+br4CkzGizS5I0oInoeTw3JfLw1BRZduBSQxPILlJLwi+46wZzj9Je7ndyQEMGw/n5cN2fknA==
dependencies:
- "@prisma/engines" "5.15.0"
+ "@prisma/engines" "6.2.1"
+ optionalDependencies:
+ fsevents "2.3.3"
prop-types@^15.8.1:
version "15.8.1"