From 8a152d220be584acc55206120383bce58b06a2bb Mon Sep 17 00:00:00 2001 From: Ahliman HUSEYNOV Date: Sat, 15 Nov 2025 11:10:23 +0100 Subject: [PATCH 1/3] Include Prisma init commands for npm, yarn, and pnpm wihtout prisma+postgres Added instructions for initializing Prisma with different package managers. --- .../docs/content/docs.v6/guides/turborepo.mdx | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/apps/docs/content/docs.v6/guides/turborepo.mdx b/apps/docs/content/docs.v6/guides/turborepo.mdx index 8d189e3822..d2097fffd7 100644 --- a/apps/docs/content/docs.v6/guides/turborepo.mdx +++ b/apps/docs/content/docs.v6/guides/turborepo.mdx @@ -111,6 +111,36 @@ yarn prisma init --db --output ../generated/prisma pnpm prisma init --db --output ../generated/prisma ``` +or you can skip `prisma+postgres` + + + + + + ```terminal + npx prisma init --datasource-provider postgresql --output ../generated/prisma + ``` + + + + + + ```terminal + yarn prisma init --datasource-provider postgresql --output ../generated/prisma + ``` + + + + + + ```terminal + pnpm prisma init --datasource-provider postgresql --output ../generated/prisma + ``` + + + + + This will create several files inside `packages/database`: - A `prisma` directory with a `schema.prisma` file. From a74ebaf298b1a6fb2824887d902f5a833b9daef6 Mon Sep 17 00:00:00 2001 From: Ahliman HUSEYNOV Date: Sat, 14 Feb 2026 12:27:21 +0100 Subject: [PATCH 2/3] Apply suggestion from @aidankmcalister Co-authored-by: Aidan McAlister <105178005+aidankmcalister@users.noreply.github.com> --- apps/docs/content/docs.v6/guides/turborepo.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs.v6/guides/turborepo.mdx b/apps/docs/content/docs.v6/guides/turborepo.mdx index d2097fffd7..c24cdade58 100644 --- a/apps/docs/content/docs.v6/guides/turborepo.mdx +++ b/apps/docs/content/docs.v6/guides/turborepo.mdx @@ -111,7 +111,7 @@ yarn prisma init --db --output ../generated/prisma pnpm prisma init --db --output ../generated/prisma ``` -or you can skip `prisma+postgres` +To initialize without Prisma Postgres: From 65ff2b6ad1bc1c103038f2aafde0f7a9a008a0af Mon Sep 17 00:00:00 2001 From: Ahliman HUSEYNOV Date: Sat, 14 Feb 2026 12:43:25 +0100 Subject: [PATCH 3/3] fix(docs): update turborepo without prisma postgres section to respect new docs conventions --- .../docs/content/docs.v6/guides/turborepo.mdx | 34 +++++-------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/apps/docs/content/docs.v6/guides/turborepo.mdx b/apps/docs/content/docs.v6/guides/turborepo.mdx index c24cdade58..697da0cd9b 100644 --- a/apps/docs/content/docs.v6/guides/turborepo.mdx +++ b/apps/docs/content/docs.v6/guides/turborepo.mdx @@ -113,33 +113,17 @@ pnpm prisma init --db --output ../generated/prisma To initialize without Prisma Postgres: - - - - - ```terminal - npx prisma init --datasource-provider postgresql --output ../generated/prisma - ``` - - - - - - ```terminal - yarn prisma init --datasource-provider postgresql --output ../generated/prisma - ``` - - - - - - ```terminal - pnpm prisma init --datasource-provider postgresql --output ../generated/prisma - ``` +```npm tab="npm" +npx prisma init --datasource-provider postgresql --output ../generated/prisma +``` - +```bash tab="yarn" +yarn prisma init --datasource-provider postgresql --output ../generated/prisma +``` - +```bash tab="pnpm" +pnpm prisma init --datasource-provider postgresql --output ../generated/prisma +``` This will create several files inside `packages/database`: