diff --git a/generator-prisma-client/nextjs-starter-turbopack/README.md b/generator-prisma-client/nextjs-starter-turbopack/README.md index 4a1e971b1b64..f851609b0ef4 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/README.md +++ b/generator-prisma-client/nextjs-starter-turbopack/README.md @@ -4,12 +4,7 @@ This project showcases how to use the Prisma ORM with Prisma Postgres in an ESM ## Prerequisites -To successfully run the project, you will need the following: - -- Two **Prisma Postgres** connection strings: - - Your **Prisma Postgres + Accelerate connection string** (containing your **Prisma API key**) which you can get by enabling Postgres in a project in your [Prisma Data Platform](https://pris.ly/pdp) account. You will use this connection string to run Prisma migrations. - - Your **Prisma Postgres direct TCP connection string** which you will use with Prisma Client. - Learn more in the [docs](https://www.prisma.io/docs/postgres/database/direct-connections). +To successfully run the project, you will need a **Prisma Postgres** connection string from your [Prisma Data Platform](https://pris.ly/pdp) project. ## Tech Stack @@ -25,10 +20,9 @@ To successfully run the project, you will need the following: ```prisma generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] - runtime = "nodejs" + provider = "prisma-client" + output = "../lib/generated/prisma" + engineType = "client" } ``` @@ -52,23 +46,17 @@ Create a `.env` in the root of the project directory: touch .env ``` -Now, open the `.env` file and set the `DATABASE_URL` environment variables with the values of your connection string and your Prisma Postgres connection string: +Now, open the `.env` file and set the `DATABASE_URL` environment variable with your connection string: ```bash # .env -# Prisma Postgres connection string (used for migrations) DATABASE_URL="__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__" -# Postgres connection string (used for queries by Prisma Client) -DIRECT_URL="__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__" - NEXT_PUBLIC_URL="http://localhost:3000" ``` -Note that `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres + Accelerate connection string. Notice that the Accelerate connection string has the following structure: `prisma+postgres://accelerate.prisma-data.net/?api_key=`. - -Note that `__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres direct TCP connection string. The direct connection string has the following structure: `postgres://:@:/`. +Replace `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` with your actual Prisma Postgres connection string. ### 3. Generate Prisma Client diff --git a/generator-prisma-client/nextjs-starter-turbopack/app/layout.tsx b/generator-prisma-client/nextjs-starter-turbopack/app/layout.tsx index 9fe90ca08d0d..bc1c85ce1c4b 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/app/layout.tsx +++ b/generator-prisma-client/nextjs-starter-turbopack/app/layout.tsx @@ -5,8 +5,8 @@ import { Inter } from 'next/font/google' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { - title: 'Accelerated Quotes', - description: 'Accelerate starter', + title: 'Quotes', + description: 'Starter', } export default function RootLayout({ diff --git a/generator-prisma-client/nextjs-starter-turbopack/eslint.config.mjs b/generator-prisma-client/nextjs-starter-turbopack/eslint.config.mjs new file mode 100644 index 000000000000..7cf745c7b9a6 --- /dev/null +++ b/generator-prisma-client/nextjs-starter-turbopack/eslint.config.mjs @@ -0,0 +1,11 @@ +import { defineConfig } from "eslint/config"; +import nextCoreWebVitals from "eslint-config-next/core-web-vitals"; +import path from "node:path"; +import { fileURLToPath } from "node:url"; + +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); + +export default defineConfig([{ + extends: [...nextCoreWebVitals], +}]); \ No newline at end of file diff --git a/generator-prisma-client/nextjs-starter-turbopack/lib/db.ts b/generator-prisma-client/nextjs-starter-turbopack/lib/db.ts index a46343f9012a..675a2b418747 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/lib/db.ts +++ b/generator-prisma-client/nextjs-starter-turbopack/lib/db.ts @@ -13,5 +13,5 @@ export function getDb({ connectionString }: GetDbParams) { return prisma } -const prisma = getDb({ connectionString: env.DIRECT_URL }) +const prisma = getDb({ connectionString: env.DATABASE_URL }) export default prisma diff --git a/generator-prisma-client/nextjs-starter-turbopack/lib/env/server.ts b/generator-prisma-client/nextjs-starter-turbopack/lib/env/server.ts index 7e7dff77e266..99c44ca43bf2 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/lib/env/server.ts +++ b/generator-prisma-client/nextjs-starter-turbopack/lib/env/server.ts @@ -3,7 +3,7 @@ import { z } from 'zod' export const env = createEnv({ server: { - DIRECT_URL: z.string().url().startsWith('postgres://'), + DATABASE_URL: z.string().url().startsWith('postgresql://'), }, runtimeEnv: process.env, }) diff --git a/generator-prisma-client/nextjs-starter-turbopack/package.json b/generator-prisma-client/nextjs-starter-turbopack/package.json index 2fe0688a125b..07b3215d4d49 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/package.json +++ b/generator-prisma-client/nextjs-starter-turbopack/package.json @@ -21,32 +21,38 @@ "dev": "next dev --turbopack", "build": "prisma generate && next build --turbopack", "start": "next start", - "lint": "next lint" + "lint": "eslint ." }, "dependencies": { - "@prisma/adapter-pg": "6.14.0", - "@prisma/client": "6.14.0", + "@prisma/adapter-pg": "6.18.0", + "@prisma/client": "6.18.0", "@t3-oss/env-core": "0.13.8", - "next": "15.3.5", + "next": "16.0.1", "postcss": "8.5.6", - "react": "19.1.0", - "react-dom": "19.1.0", + "react": "19.2.0", + "react-dom": "19.2.0", "react-hot-toast": "2.5.2", "tailwindcss": "3.4.17", "zod": "3.25.76" }, "devDependencies": { "@types/node": "22.18.12", - "@types/react": "19.1.8", - "@types/react-dom": "19.1.6", + "@types/react": "19.2.2", + "@types/react-dom": "19.2.2", "autoprefixer": "10.4.21", "dotenv": "17.2.1", - "eslint": "8.57.1", - "eslint-config-next": "15.3.5", - "prisma": "6.14.0", + "eslint": "^9", + "eslint-config-next": "16.0.1", + "prisma": "6.18.0", "tsx": "4.20.6", "typescript": "5.8.3" }, "license": "MIT", - "packageManager": "pnpm@8.15.9+sha512.499434c9d8fdd1a2794ebf4552b3b25c0a633abcee5bb15e7b5de90f32f47b513aca98cd5cfd001c31f0db454bc3804edccd578501e4ca293a6816166bbd9f81" + "packageManager": "pnpm@8.15.9+sha512.499434c9d8fdd1a2794ebf4552b3b25c0a633abcee5bb15e7b5de90f32f47b513aca98cd5cfd001c31f0db454bc3804edccd578501e4ca293a6816166bbd9f81", + "pnpm": { + "overrides": { + "@types/react": "19.2.2", + "@types/react-dom": "19.2.2" + } + } } diff --git a/generator-prisma-client/nextjs-starter-turbopack/pnpm-lock.yaml b/generator-prisma-client/nextjs-starter-turbopack/pnpm-lock.yaml index 455f12aca2c9..9dd67f16f917 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/pnpm-lock.yaml +++ b/generator-prisma-client/nextjs-starter-turbopack/pnpm-lock.yaml @@ -4,31 +4,35 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + '@types/react': 19.2.2 + '@types/react-dom': 19.2.2 + dependencies: '@prisma/adapter-pg': - specifier: 6.14.0 - version: 6.14.0 + specifier: 6.18.0 + version: 6.18.0 '@prisma/client': - specifier: 6.14.0 - version: 6.14.0(prisma@6.14.0)(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(prisma@6.18.0)(typescript@5.8.3) '@t3-oss/env-core': specifier: 0.13.8 version: 0.13.8(typescript@5.8.3)(zod@3.25.76) next: - specifier: 15.3.5 - version: 15.3.5(react-dom@19.1.0)(react@19.1.0) + specifier: 16.0.1 + version: 16.0.1(@babel/core@7.28.5)(react-dom@19.2.0)(react@19.2.0) postcss: specifier: 8.5.6 version: 8.5.6 react: - specifier: 19.1.0 - version: 19.1.0 + specifier: 19.2.0 + version: 19.2.0 react-dom: - specifier: 19.1.0 - version: 19.1.0(react@19.1.0) + specifier: 19.2.0 + version: 19.2.0(react@19.2.0) react-hot-toast: specifier: 2.5.2 - version: 2.5.2(react-dom@19.1.0)(react@19.1.0) + version: 2.5.2(react-dom@19.2.0)(react@19.2.0) tailwindcss: specifier: 3.4.17 version: 3.4.17 @@ -41,11 +45,11 @@ devDependencies: specifier: 22.18.12 version: 22.18.12 '@types/react': - specifier: 19.1.8 - version: 19.1.8 + specifier: 19.2.2 + version: 19.2.2 '@types/react-dom': - specifier: 19.1.6 - version: 19.1.6(@types/react@19.1.8) + specifier: 19.2.2 + version: 19.2.2(@types/react@19.2.2) autoprefixer: specifier: 10.4.21 version: 10.4.21(postcss@8.5.6) @@ -56,11 +60,11 @@ devDependencies: specifier: 8.57.1 version: 8.57.1 eslint-config-next: - specifier: 15.3.5 - version: 15.3.5(eslint@8.57.1)(typescript@5.8.3) + specifier: 16.0.1 + version: 16.0.1(@typescript-eslint/parser@8.46.2)(eslint@8.57.1)(typescript@5.8.3) prisma: - specifier: 6.14.0 - version: 6.14.0(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(typescript@5.8.3) tsx: specifier: 4.20.6 version: 4.20.6 @@ -79,14 +83,137 @@ packages: resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-validator-identifier': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 js-tokens: 4.0.0 picocolors: 1.1.1 - /@babel/helper-validator-identifier@7.27.1: - resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} + /@babel/compat-data@7.28.5: + resolution: {integrity: sha512-6uFXyCayocRbqhZOB+6XcuZbkMNimwfVGFji8CTZnCzOHVGvDqzvitu1re2AU5LROliz7eQPhB8CpAMvnx9EjA==} + engines: {node: '>=6.9.0'} + + /@babel/core@7.28.5: + resolution: {integrity: sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.27.1 + '@babel/generator': 7.28.5 + '@babel/helper-compilation-targets': 7.27.2 + '@babel/helper-module-transforms': 7.28.3(@babel/core@7.28.5) + '@babel/helpers': 7.28.4 + '@babel/parser': 7.28.5 + '@babel/template': 7.27.2 + '@babel/traverse': 7.28.5 + '@babel/types': 7.28.5 + '@jridgewell/remapping': 2.3.5 + convert-source-map: 2.0.0 + debug: 4.4.1 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + /@babel/generator@7.28.5: + resolution: {integrity: sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/parser': 7.28.5 + '@babel/types': 7.28.5 + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.30 + jsesc: 3.1.0 + + /@babel/helper-compilation-targets@7.27.2: + resolution: {integrity: sha512-2+1thGUUWWjLTYTHZWK1n8Yga0ijBz1XAhUXcKy81rd5g6yh7hGqMp45v7cadSbEHc9G3OTv45SyneRN3ps4DQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/compat-data': 7.28.5 + '@babel/helper-validator-option': 7.27.1 + browserslist: 4.25.3 + lru-cache: 5.1.1 + semver: 6.3.1 + + /@babel/helper-globals@7.28.0: + resolution: {integrity: sha512-+W6cISkXFa1jXsDEdYA8HeevQT/FULhxzR99pxphltZcVaugps53THCeiWA8SguxxpSp3gKPiuYfSWopkLQ4hw==} + engines: {node: '>=6.9.0'} + + /@babel/helper-module-imports@7.27.1: + resolution: {integrity: sha512-0gSFWUPNXNopqtIPQvlD5WgXYI5GY2kP2cCvoT8kczjbfcfuIljTbcWrulD1CIPIX2gt1wghbDy08yE1p+/r3w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/traverse': 7.28.5 + '@babel/types': 7.28.5 + transitivePeerDependencies: + - supports-color + + /@babel/helper-module-transforms@7.28.3(@babel/core@7.28.5): + resolution: {integrity: sha512-gytXUbs8k2sXS9PnQptz5o0QnpLL51SwASIORY6XaBKF88nsOT0Zw9szLqlSGQDP/4TljBAD5y98p2U1fqkdsw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.28.5 + '@babel/helper-module-imports': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 + '@babel/traverse': 7.28.5 + transitivePeerDependencies: + - supports-color + + /@babel/helper-string-parser@7.27.1: + resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==} + engines: {node: '>=6.9.0'} + + /@babel/helper-validator-identifier@7.28.5: + resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==} engines: {node: '>=6.9.0'} + /@babel/helper-validator-option@7.27.1: + resolution: {integrity: sha512-YvjJow9FxbhFFKDSuFnVCe2WxXk1zWc22fFePVNEaWJEu8IrZVlda6N0uHwzZrUM1il7NC9Mlp4MaJYbYd9JSg==} + engines: {node: '>=6.9.0'} + + /@babel/helpers@7.28.4: + resolution: {integrity: sha512-HFN59MmQXGHVyYadKLVumYsA9dBFun/ldYxipEjzA4196jpLZd8UjEEBLkbEkvfYreDqJhZxYAWFPtrfhNpj4w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.27.2 + '@babel/types': 7.28.5 + + /@babel/parser@7.28.5: + resolution: {integrity: sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.28.5 + + /@babel/template@7.27.2: + resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.27.1 + '@babel/parser': 7.28.5 + '@babel/types': 7.28.5 + + /@babel/traverse@7.28.5: + resolution: {integrity: sha512-TCCj4t55U90khlYkVV/0TfkJkAkUg3jZFA3Neb7unZT8CPok7iiRfaX0F+WnqWqt7OxhOn0uBKXCw4lbL8W0aQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.27.1 + '@babel/generator': 7.28.5 + '@babel/helper-globals': 7.28.0 + '@babel/parser': 7.28.5 + '@babel/template': 7.27.2 + '@babel/types': 7.28.5 + debug: 4.4.1 + transitivePeerDependencies: + - supports-color + + /@babel/types@7.28.5: + resolution: {integrity: sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.27.1 + '@babel/helper-validator-identifier': 7.28.5 + /@emnapi/core@1.4.5: resolution: {integrity: sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==} requiresBuild: true @@ -101,6 +228,15 @@ packages: requiresBuild: true dependencies: tslib: 2.8.1 + dev: true + optional: true + + /@emnapi/runtime@1.6.0: + resolution: {integrity: sha512-obtUmAHTMjll499P+D9A3axeJFlhdjOWdKUNs/U6QIGT7V5RjcUW1xToAzjvmgTSQhDbYn/NwfTRoJcQ2rNBxA==} + requiresBuild: true + dependencies: + tslib: 2.8.1 + dev: false optional: true /@emnapi/wasi-threads@1.0.4: @@ -404,189 +540,196 @@ packages: deprecated: Use @eslint/object-schema instead dev: true - /@img/sharp-darwin-arm64@0.34.3: - resolution: {integrity: sha512-ryFMfvxxpQRsgZJqBd4wsttYQbCxsJksrv9Lw/v798JcQ8+w84mBWuXwl+TT0WJ/WrYOLaYpwQXi3sA9nTIaIg==} + /@img/colour@1.0.0: + resolution: {integrity: sha512-A5P/LfWGFSl6nsckYtjw9da+19jB8hkJ6ACTGcDfEJ0aE+l2n2El7dsVM7UVHZQ9s2lmYMWlrS21YLy2IR1LUw==} + engines: {node: '>=18'} + requiresBuild: true + dev: false + optional: true + + /@img/sharp-darwin-arm64@0.34.4: + resolution: {integrity: sha512-sitdlPzDVyvmINUdJle3TNHl+AG9QcwiAMsXmccqsCOMZNIdW2/7S26w0LyU8euiLVzFBL3dXPwVCq/ODnf2vA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [darwin] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-darwin-arm64': 1.2.0 + '@img/sharp-libvips-darwin-arm64': 1.2.3 dev: false optional: true - /@img/sharp-darwin-x64@0.34.3: - resolution: {integrity: sha512-yHpJYynROAj12TA6qil58hmPmAwxKKC7reUqtGLzsOHfP7/rniNGTL8tjWX6L3CTV4+5P4ypcS7Pp+7OB+8ihA==} + /@img/sharp-darwin-x64@0.34.4: + resolution: {integrity: sha512-rZheupWIoa3+SOdF/IcUe1ah4ZDpKBGWcsPX6MT0lYniH9micvIU7HQkYTfrx5Xi8u+YqwLtxC/3vl8TQN6rMg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [darwin] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-darwin-x64': 1.2.0 + '@img/sharp-libvips-darwin-x64': 1.2.3 dev: false optional: true - /@img/sharp-libvips-darwin-arm64@1.2.0: - resolution: {integrity: sha512-sBZmpwmxqwlqG9ueWFXtockhsxefaV6O84BMOrhtg/YqbTaRdqDE7hxraVE3y6gVM4eExmfzW4a8el9ArLeEiQ==} + /@img/sharp-libvips-darwin-arm64@1.2.3: + resolution: {integrity: sha512-QzWAKo7kpHxbuHqUC28DZ9pIKpSi2ts2OJnoIGI26+HMgq92ZZ4vk8iJd4XsxN+tYfNJxzH6W62X5eTcsBymHw==} cpu: [arm64] os: [darwin] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-darwin-x64@1.2.0: - resolution: {integrity: sha512-M64XVuL94OgiNHa5/m2YvEQI5q2cl9d/wk0qFTDVXcYzi43lxuiFTftMR1tOnFQovVXNZJ5TURSDK2pNe9Yzqg==} + /@img/sharp-libvips-darwin-x64@1.2.3: + resolution: {integrity: sha512-Ju+g2xn1E2AKO6YBhxjj+ACcsPQRHT0bhpglxcEf+3uyPY+/gL8veniKoo96335ZaPo03bdDXMv0t+BBFAbmRA==} cpu: [x64] os: [darwin] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-linux-arm64@1.2.0: - resolution: {integrity: sha512-RXwd0CgG+uPRX5YYrkzKyalt2OJYRiJQ8ED/fi1tq9WQW2jsQIn0tqrlR5l5dr/rjqq6AHAxURhj2DVjyQWSOA==} + /@img/sharp-libvips-linux-arm64@1.2.3: + resolution: {integrity: sha512-I4RxkXU90cpufazhGPyVujYwfIm9Nk1QDEmiIsaPwdnm013F7RIceaCc87kAH+oUB1ezqEvC6ga4m7MSlqsJvQ==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-linux-arm@1.2.0: - resolution: {integrity: sha512-mWd2uWvDtL/nvIzThLq3fr2nnGfyr/XMXlq8ZJ9WMR6PXijHlC3ksp0IpuhK6bougvQrchUAfzRLnbsen0Cqvw==} + /@img/sharp-libvips-linux-arm@1.2.3: + resolution: {integrity: sha512-x1uE93lyP6wEwGvgAIV0gP6zmaL/a0tGzJs/BIDDG0zeBhMnuUPm7ptxGhUbcGs4okDJrk4nxgrmxpib9g6HpA==} cpu: [arm] os: [linux] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-linux-ppc64@1.2.0: - resolution: {integrity: sha512-Xod/7KaDDHkYu2phxxfeEPXfVXFKx70EAFZ0qyUdOjCcxbjqyJOEUpDe6RIyaunGxT34Anf9ue/wuWOqBW2WcQ==} + /@img/sharp-libvips-linux-ppc64@1.2.3: + resolution: {integrity: sha512-Y2T7IsQvJLMCBM+pmPbM3bKT/yYJvVtLJGfCs4Sp95SjvnFIjynbjzsa7dY1fRJX45FTSfDksbTp6AGWudiyCg==} cpu: [ppc64] os: [linux] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-linux-s390x@1.2.0: - resolution: {integrity: sha512-eMKfzDxLGT8mnmPJTNMcjfO33fLiTDsrMlUVcp6b96ETbnJmd4uvZxVJSKPQfS+odwfVaGifhsB07J1LynFehw==} + /@img/sharp-libvips-linux-s390x@1.2.3: + resolution: {integrity: sha512-RgWrs/gVU7f+K7P+KeHFaBAJlNkD1nIZuVXdQv6S+fNA6syCcoboNjsV2Pou7zNlVdNQoQUpQTk8SWDHUA3y/w==} cpu: [s390x] os: [linux] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-linux-x64@1.2.0: - resolution: {integrity: sha512-ZW3FPWIc7K1sH9E3nxIGB3y3dZkpJlMnkk7z5tu1nSkBoCgw2nSRTFHI5pB/3CQaJM0pdzMF3paf9ckKMSE9Tg==} + /@img/sharp-libvips-linux-x64@1.2.3: + resolution: {integrity: sha512-3JU7LmR85K6bBiRzSUc/Ff9JBVIFVvq6bomKE0e63UXGeRw2HPVEjoJke1Yx+iU4rL7/7kUjES4dZ/81Qjhyxg==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-linuxmusl-arm64@1.2.0: - resolution: {integrity: sha512-UG+LqQJbf5VJ8NWJ5Z3tdIe/HXjuIdo4JeVNADXBFuG7z9zjoegpzzGIyV5zQKi4zaJjnAd2+g2nna8TZvuW9Q==} + /@img/sharp-libvips-linuxmusl-arm64@1.2.3: + resolution: {integrity: sha512-F9q83RZ8yaCwENw1GieztSfj5msz7GGykG/BA+MOUefvER69K/ubgFHNeSyUu64amHIYKGDs4sRCMzXVj8sEyw==} cpu: [arm64] os: [linux] requiresBuild: true dev: false optional: true - /@img/sharp-libvips-linuxmusl-x64@1.2.0: - resolution: {integrity: sha512-SRYOLR7CXPgNze8akZwjoGBoN1ThNZoqpOgfnOxmWsklTGVfJiGJoC/Lod7aNMGA1jSsKWM1+HRX43OP6p9+6Q==} + /@img/sharp-libvips-linuxmusl-x64@1.2.3: + resolution: {integrity: sha512-U5PUY5jbc45ANM6tSJpsgqmBF/VsL6LnxJmIf11kB7J5DctHgqm0SkuXzVWtIY90GnJxKnC/JT251TDnk1fu/g==} cpu: [x64] os: [linux] requiresBuild: true dev: false optional: true - /@img/sharp-linux-arm64@0.34.3: - resolution: {integrity: sha512-QdrKe3EvQrqwkDrtuTIjI0bu6YEJHTgEeqdzI3uWJOH6G1O8Nl1iEeVYRGdj1h5I21CqxSvQp1Yv7xeU3ZewbA==} + /@img/sharp-linux-arm64@0.34.4: + resolution: {integrity: sha512-YXU1F/mN/Wu786tl72CyJjP/Ngl8mGHN1hST4BGl+hiW5jhCnV2uRVTNOcaYPs73NeT/H8Upm3y9582JVuZHrQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-linux-arm64': 1.2.0 + '@img/sharp-libvips-linux-arm64': 1.2.3 dev: false optional: true - /@img/sharp-linux-arm@0.34.3: - resolution: {integrity: sha512-oBK9l+h6KBN0i3dC8rYntLiVfW8D8wH+NPNT3O/WBHeW0OQWCjfWksLUaPidsrDKpJgXp3G3/hkmhptAW0I3+A==} + /@img/sharp-linux-arm@0.34.4: + resolution: {integrity: sha512-Xyam4mlqM0KkTHYVSuc6wXRmM7LGN0P12li03jAnZ3EJWZqj83+hi8Y9UxZUbxsgsK1qOEwg7O0Bc0LjqQVtxA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm] os: [linux] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-linux-arm': 1.2.0 + '@img/sharp-libvips-linux-arm': 1.2.3 dev: false optional: true - /@img/sharp-linux-ppc64@0.34.3: - resolution: {integrity: sha512-GLtbLQMCNC5nxuImPR2+RgrviwKwVql28FWZIW1zWruy6zLgA5/x2ZXk3mxj58X/tszVF69KK0Is83V8YgWhLA==} + /@img/sharp-linux-ppc64@0.34.4: + resolution: {integrity: sha512-F4PDtF4Cy8L8hXA2p3TO6s4aDt93v+LKmpcYFLAVdkkD3hSxZzee0rh6/+94FpAynsuMpLX5h+LRsSG3rIciUQ==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [ppc64] os: [linux] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-linux-ppc64': 1.2.0 + '@img/sharp-libvips-linux-ppc64': 1.2.3 dev: false optional: true - /@img/sharp-linux-s390x@0.34.3: - resolution: {integrity: sha512-3gahT+A6c4cdc2edhsLHmIOXMb17ltffJlxR0aC2VPZfwKoTGZec6u5GrFgdR7ciJSsHT27BD3TIuGcuRT0KmQ==} + /@img/sharp-linux-s390x@0.34.4: + resolution: {integrity: sha512-qVrZKE9Bsnzy+myf7lFKvng6bQzhNUAYcVORq2P7bDlvmF6u2sCmK2KyEQEBdYk+u3T01pVsPrkj943T1aJAsw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [s390x] os: [linux] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-linux-s390x': 1.2.0 + '@img/sharp-libvips-linux-s390x': 1.2.3 dev: false optional: true - /@img/sharp-linux-x64@0.34.3: - resolution: {integrity: sha512-8kYso8d806ypnSq3/Ly0QEw90V5ZoHh10yH0HnrzOCr6DKAPI6QVHvwleqMkVQ0m+fc7EH8ah0BB0QPuWY6zJQ==} + /@img/sharp-linux-x64@0.34.4: + resolution: {integrity: sha512-ZfGtcp2xS51iG79c6Vhw9CWqQC8l2Ot8dygxoDoIQPTat/Ov3qAa8qpxSrtAEAJW+UjTXc4yxCjNfxm4h6Xm2A==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-linux-x64': 1.2.0 + '@img/sharp-libvips-linux-x64': 1.2.3 dev: false optional: true - /@img/sharp-linuxmusl-arm64@0.34.3: - resolution: {integrity: sha512-vAjbHDlr4izEiXM1OTggpCcPg9tn4YriK5vAjowJsHwdBIdx0fYRsURkxLG2RLm9gyBq66gwtWI8Gx0/ov+JKQ==} + /@img/sharp-linuxmusl-arm64@0.34.4: + resolution: {integrity: sha512-8hDVvW9eu4yHWnjaOOR8kHVrew1iIX+MUgwxSuH2XyYeNRtLUe4VNioSqbNkB7ZYQJj9rUTT4PyRscyk2PXFKA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [linux] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-linuxmusl-arm64': 1.2.0 + '@img/sharp-libvips-linuxmusl-arm64': 1.2.3 dev: false optional: true - /@img/sharp-linuxmusl-x64@0.34.3: - resolution: {integrity: sha512-gCWUn9547K5bwvOn9l5XGAEjVTTRji4aPTqLzGXHvIr6bIDZKNTA34seMPgM0WmSf+RYBH411VavCejp3PkOeQ==} + /@img/sharp-linuxmusl-x64@0.34.4: + resolution: {integrity: sha512-lU0aA5L8QTlfKjpDCEFOZsTYGn3AEiO6db8W5aQDxj0nQkVrZWmN3ZP9sYKWJdtq3PWPhUNlqehWyXpYDcI9Sg==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [linux] requiresBuild: true optionalDependencies: - '@img/sharp-libvips-linuxmusl-x64': 1.2.0 + '@img/sharp-libvips-linuxmusl-x64': 1.2.3 dev: false optional: true - /@img/sharp-wasm32@0.34.3: - resolution: {integrity: sha512-+CyRcpagHMGteySaWos8IbnXcHgfDn7pO2fiC2slJxvNq9gDipYBN42/RagzctVRKgxATmfqOSulgZv5e1RdMg==} + /@img/sharp-wasm32@0.34.4: + resolution: {integrity: sha512-33QL6ZO/qpRyG7woB/HUALz28WnTMI2W1jgX3Nu2bypqLIKx/QKMILLJzJjI+SIbvXdG9fUnmrxR7vbi1sTBeA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [wasm32] requiresBuild: true dependencies: - '@emnapi/runtime': 1.4.5 + '@emnapi/runtime': 1.6.0 dev: false optional: true - /@img/sharp-win32-arm64@0.34.3: - resolution: {integrity: sha512-MjnHPnbqMXNC2UgeLJtX4XqoVHHlZNd+nPt1kRPmj63wURegwBhZlApELdtxM2OIZDRv/DFtLcNhVbd1z8GYXQ==} + /@img/sharp-win32-arm64@0.34.4: + resolution: {integrity: sha512-2Q250do/5WXTwxW3zjsEuMSv5sUU4Tq9VThWKlU2EYLm4MB7ZeMwF+SFJutldYODXF6jzc6YEOC+VfX0SZQPqA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [arm64] os: [win32] @@ -594,8 +737,8 @@ packages: dev: false optional: true - /@img/sharp-win32-ia32@0.34.3: - resolution: {integrity: sha512-xuCdhH44WxuXgOM714hn4amodJMZl3OEvf0GVTm0BEyMeA2to+8HEdRPShH0SLYptJY1uBw+SCFP9WVQi1Q/cw==} + /@img/sharp-win32-ia32@0.34.4: + resolution: {integrity: sha512-3ZeLue5V82dT92CNL6rsal6I2weKw1cYu+rGKm8fOCCtJTR2gYeUfY3FqUnIJsMUPIH68oS5jmZ0NiJ508YpEw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [ia32] os: [win32] @@ -603,8 +746,8 @@ packages: dev: false optional: true - /@img/sharp-win32-x64@0.34.3: - resolution: {integrity: sha512-OWwz05d++TxzLEv4VnsTz5CmZ6mI6S05sfQGEMrNrQcOEERbX46332IvE7pO/EUiw7jUrrS40z/M7kPyjfl04g==} + /@img/sharp-win32-x64@0.34.4: + resolution: {integrity: sha512-xIyj4wpYs8J18sVN3mSQjwrw7fKUqRw+Z5rnHNCy5fYTxigBz81u5mOMPmFumwjcn8+ld1ppptMBCLic1nz6ig==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} cpu: [x64] os: [win32] @@ -629,23 +772,25 @@ packages: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 '@jridgewell/trace-mapping': 0.3.30 - dev: false + + /@jridgewell/remapping@2.3.5: + resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==} + dependencies: + '@jridgewell/gen-mapping': 0.3.13 + '@jridgewell/trace-mapping': 0.3.30 /@jridgewell/resolve-uri@3.1.2: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} - dev: false /@jridgewell/sourcemap-codec@1.5.5: resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} - dev: false /@jridgewell/trace-mapping@0.3.30: resolution: {integrity: sha512-GQ7Nw5G2lTu/BtHTKfXhKHok2WGetd4XYcVKGx00SjAk8GMwgJM3zr6zORiPGuOE+/vkc90KtTosSSvaCjKb2Q==} dependencies: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.5 - dev: false /@napi-rs/wasm-runtime@0.2.12: resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} @@ -657,18 +802,18 @@ packages: dev: true optional: true - /@next/env@15.3.5: - resolution: {integrity: sha512-7g06v8BUVtN2njAX/r8gheoVffhiKFVt4nx74Tt6G4Hqw9HCLYQVx/GkH2qHvPtAHZaUNZ0VXAa0pQP6v1wk7g==} + /@next/env@16.0.1: + resolution: {integrity: sha512-LFvlK0TG2L3fEOX77OC35KowL8D7DlFF45C0OvKMC4hy8c/md1RC4UMNDlUGJqfCoCS2VWrZ4dSE6OjaX5+8mw==} dev: false - /@next/eslint-plugin-next@15.3.5: - resolution: {integrity: sha512-BZwWPGfp9po/rAnJcwUBaM+yT/+yTWIkWdyDwc74G9jcfTrNrmsHe+hXHljV066YNdVs8cxROxX5IgMQGX190w==} + /@next/eslint-plugin-next@16.0.1: + resolution: {integrity: sha512-g4Cqmv/gyFEXNeVB2HkqDlYKfy+YrlM2k8AVIO/YQVEPfhVruH1VA99uT1zELLnPLIeOnx8IZ6Ddso0asfTIdw==} dependencies: fast-glob: 3.3.1 dev: true - /@next/swc-darwin-arm64@15.3.5: - resolution: {integrity: sha512-lM/8tilIsqBq+2nq9kbTW19vfwFve0NR7MxfkuSUbRSgXlMQoJYg+31+++XwKVSXk4uT23G2eF/7BRIKdn8t8w==} + /@next/swc-darwin-arm64@16.0.1: + resolution: {integrity: sha512-R0YxRp6/4W7yG1nKbfu41bp3d96a0EalonQXiMe+1H9GTHfKxGNCGFNWUho18avRBPsO8T3RmdWuzmfurlQPbg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -676,8 +821,8 @@ packages: dev: false optional: true - /@next/swc-darwin-x64@15.3.5: - resolution: {integrity: sha512-WhwegPQJ5IfoUNZUVsI9TRAlKpjGVK0tpJTL6KeiC4cux9774NYE9Wu/iCfIkL/5J8rPAkqZpG7n+EfiAfidXA==} + /@next/swc-darwin-x64@16.0.1: + resolution: {integrity: sha512-kETZBocRux3xITiZtOtVoVvXyQLB7VBxN7L6EPqgI5paZiUlnsgYv4q8diTNYeHmF9EiehydOBo20lTttCbHAg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -685,8 +830,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-gnu@15.3.5: - resolution: {integrity: sha512-LVD6uMOZ7XePg3KWYdGuzuvVboxujGjbcuP2jsPAN3MnLdLoZUXKRc6ixxfs03RH7qBdEHCZjyLP/jBdCJVRJQ==} + /@next/swc-linux-arm64-gnu@16.0.1: + resolution: {integrity: sha512-hWg3BtsxQuSKhfe0LunJoqxjO4NEpBmKkE+P2Sroos7yB//OOX3jD5ISP2wv8QdUwtRehMdwYz6VB50mY6hqAg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -694,8 +839,8 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl@15.3.5: - resolution: {integrity: sha512-k8aVScYZ++BnS2P69ClK7v4nOu702jcF9AIHKu6llhHEtBSmM2zkPGl9yoqbSU/657IIIb0QHpdxEr0iW9z53A==} + /@next/swc-linux-arm64-musl@16.0.1: + resolution: {integrity: sha512-UPnOvYg+fjAhP3b1iQStcYPWeBFRLrugEyK/lDKGk7kLNua8t5/DvDbAEFotfV1YfcOY6bru76qN9qnjLoyHCQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -703,8 +848,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu@15.3.5: - resolution: {integrity: sha512-2xYU0DI9DGN/bAHzVwADid22ba5d/xrbrQlr2U+/Q5WkFUzeL0TDR963BdrtLS/4bMmKZGptLeg6282H/S2i8A==} + /@next/swc-linux-x64-gnu@16.0.1: + resolution: {integrity: sha512-Et81SdWkcRqAJziIgFtsFyJizHoWne4fzJkvjd6V4wEkWTB4MX6J0uByUb0peiJQ4WeAt6GGmMszE5KrXK6WKg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -712,8 +857,8 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl@15.3.5: - resolution: {integrity: sha512-TRYIqAGf1KCbuAB0gjhdn5Ytd8fV+wJSM2Nh2is/xEqR8PZHxfQuaiNhoF50XfY90sNpaRMaGhF6E+qjV1b9Tg==} + /@next/swc-linux-x64-musl@16.0.1: + resolution: {integrity: sha512-qBbgYEBRrC1egcG03FZaVfVxrJm8wBl7vr8UFKplnxNRprctdP26xEv9nJ07Ggq4y1adwa0nz2mz83CELY7N6Q==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -721,8 +866,8 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc@15.3.5: - resolution: {integrity: sha512-h04/7iMEUSMY6fDGCvdanKqlO1qYvzNxntZlCzfE8i5P0uqzVQWQquU1TIhlz0VqGQGXLrFDuTJVONpqGqjGKQ==} + /@next/swc-win32-arm64-msvc@16.0.1: + resolution: {integrity: sha512-cPuBjYP6I699/RdbHJonb3BiRNEDm5CKEBuJ6SD8k3oLam2fDRMKAvmrli4QMDgT2ixyRJ0+DTkiODbIQhRkeQ==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -730,8 +875,8 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc@15.3.5: - resolution: {integrity: sha512-5fhH6fccXxnX2KhllnGhkYMndhOiLOLEiVGYjP2nizqeGWkN10sA9taATlXwake2E2XMvYZjjz0Uj7T0y+z1yw==} + /@next/swc-win32-x64-msvc@16.0.1: + resolution: {integrity: sha512-XeEUJsE4JYtfrXe/LaJn3z1pD19fK0Q6Er8Qoufi+HqvdO4LEPyCxLUt4rxA+4RfYo6S9gMlmzCMU2F+AatFqQ==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -769,18 +914,18 @@ packages: dev: false optional: true - /@prisma/adapter-pg@6.14.0: - resolution: {integrity: sha512-heUCNPZ3f2Iv/JId280HCoN7NECWkYckC3K1cOKpTRRjiJv0mN0w99V91vBq7aHHTtlOVpfDPQbUMNAjMegIWg==} + /@prisma/adapter-pg@6.18.0: + resolution: {integrity: sha512-eBtBOL1z2Sh0Rc2hwa4dmwoNeFs5T69tsA62AkhBvnzNfTcr/YfLeJae/wjNmvRttYDPmdiuhqZCRPNY1+8fOA==} dependencies: - '@prisma/driver-adapter-utils': 6.14.0 + '@prisma/driver-adapter-utils': 6.18.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native dev: false - /@prisma/client@6.14.0(prisma@6.14.0)(typescript@5.8.3): - resolution: {integrity: sha512-8E/Nk3eL5g7RQIg/LUj1ICyDmhD053STjxrPxUtCRybs2s/2sOEcx9NpITuAOPn07HEpWBfhAVe1T/HYWXUPOw==} + /@prisma/client@6.18.0(prisma@6.18.0)(typescript@5.8.3): + resolution: {integrity: sha512-jnL2I9gDnPnw4A+4h5SuNn8Gc+1mL1Z79U/3I9eE2gbxJG1oSA+62ByPW4xkeDgwE0fqMzzpAZ7IHxYnLZ4iQA==} engines: {node: '>=18.18'} requiresBuild: true peerDependencies: @@ -792,69 +937,60 @@ packages: typescript: optional: true dependencies: - prisma: 6.14.0(typescript@5.8.3) + prisma: 6.18.0(typescript@5.8.3) typescript: 5.8.3 dev: false - /@prisma/config@6.14.0: - resolution: {integrity: sha512-IwC7o5KNNGhmblLs23swnfBjADkacBb7wvyDXUWLwuvUQciKJZqyecU0jw0d7JRkswrj+XTL8fdr0y2/VerKQQ==} + /@prisma/config@6.18.0: + resolution: {integrity: sha512-rgFzspCpwsE+q3OF/xkp0fI2SJ3PfNe9LLMmuSVbAZ4nN66WfBiKqJKo/hLz3ysxiPQZf8h1SMf2ilqPMeWATQ==} dependencies: c12: 3.1.0 deepmerge-ts: 7.1.5 - effect: 3.16.12 + effect: 3.18.4 empathic: 2.0.0 - read-package-up: 11.0.0 transitivePeerDependencies: - magicast - /@prisma/debug@6.14.0: - resolution: {integrity: sha512-j4Lf+y+5QIJgQD4sJWSbkOD7geKx9CakaLp/TyTy/UDu9Wo0awvWCBH/BAxTHUaCpIl9USA5VS/KJhDqKJSwug==} + /@prisma/debug@6.18.0: + resolution: {integrity: sha512-PMVPMmxPj0ps1VY75DIrT430MoOyQx9hmm174k6cmLZpcI95rAPXOQ+pp8ANQkJtNyLVDxnxVJ0QLbrm/ViBcg==} - /@prisma/driver-adapter-utils@6.14.0: - resolution: {integrity: sha512-On9vTNiJ7J/O1kVqedLtfdhhrfRYprkUOhxjlmmWEv12WNdG6v5x4PsrfZXdBtZqRZaqK1i1TigO6IdtYh8z+A==} + /@prisma/driver-adapter-utils@6.18.0: + resolution: {integrity: sha512-9wgSriEKs4j1ePxlv1/RNfJV9Gu5rzG37Neshg+DfrCcUY3amroERvTjyR04w5J1THdGdOTgGL9VdJcVaKRMmQ==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 dev: false - /@prisma/engines-version@6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49: - resolution: {integrity: sha512-EgN9ODJpiX45yvwcngoStp3uQPJ3l+AEVoQ6dMMO2QvmwIlnxfApzKmJQExzdo7/hqQANrz5txHJdGYHzOnGHA==} + /@prisma/engines-version@6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f: + resolution: {integrity: sha512-T7Af4QsJQnSgWN1zBbX+Cha5t4qjHRxoeoWpK4JugJzG/ipmmDMY5S+O0N1ET6sCBNVkf6lz+Y+ZNO9+wFU8pQ==} - /@prisma/engines@6.14.0: - resolution: {integrity: sha512-LhJjqsALFEcoAtF07nSaOkVguaxw/ZsgfROIYZ8bAZDobe7y8Wy+PkYQaPOK1iLSsFgV2MhCO/eNrI1gdSOj6w==} + /@prisma/engines@6.18.0: + resolution: {integrity: sha512-i5RzjGF/ex6AFgqEe2o1IW8iIxJGYVQJVRau13kHPYEL1Ck8Zvwuzamqed/1iIljs5C7L+Opiz5TzSsUebkriA==} requiresBuild: true dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/fetch-engine': 6.14.0 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/fetch-engine': 6.18.0 + '@prisma/get-platform': 6.18.0 - /@prisma/fetch-engine@6.14.0: - resolution: {integrity: sha512-MPzYPOKMENYOaY3AcAbaKrfvXVlvTc6iHmTXsp9RiwCX+bPyfDMqMFVUSVXPYrXnrvEzhGHfyiFy0PRLHPysNg==} + /@prisma/fetch-engine@6.18.0: + resolution: {integrity: sha512-TdaBvTtBwP3IoqVYoGIYpD4mWlk0pJpjTJjir/xLeNWlwog7Sl3bD2J0jJ8+5+q/6RBg+acb9drsv5W6lqae7A==} dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/get-platform': 6.18.0 - /@prisma/get-platform@6.14.0: - resolution: {integrity: sha512-7VjuxKNwjnBhKfqPpMeWiHEa2sVjYzmHdl1slW6STuUCe9QnOY0OY1ljGSvz6wpG4U8DfbDqkG1yofd/1GINww==} + /@prisma/get-platform@6.18.0: + resolution: {integrity: sha512-uXNJCJGhxTCXo2B25Ta91Rk1/Nmlqg9p7G9GKh8TPhxvAyXCvMNQoogj4JLEUy+3ku8g59cpyQIKFhqY2xO2bg==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 /@rtsao/scc@1.1.0: resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} dev: true - /@rushstack/eslint-patch@1.12.0: - resolution: {integrity: sha512-5EwMtOqvJMMa3HbmxLlF74e+3/HhwBTMcvt3nqVJgGCozO6hzIPOBlwm8mGVNR9SN2IJpxSnlxczyDjcn7qIyw==} - dev: true - /@standard-schema/spec@1.0.0: resolution: {integrity: sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==} - /@swc/counter@0.1.3: - resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} - dev: false - /@swc/helpers@0.5.15: resolution: {integrity: sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==} dependencies: @@ -900,37 +1036,34 @@ packages: undici-types: 6.21.0 dev: true - /@types/normalize-package-data@2.4.4: - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - - /@types/react-dom@19.1.6(@types/react@19.1.8): - resolution: {integrity: sha512-4hOiT/dwO8Ko0gV1m/TJZYk3y0KBnY9vzDh7W+DH17b2HFSOGgdj33dhihPeuy3l0q23+4e+hoXHV6hCC4dCXw==} + /@types/react-dom@19.2.2(@types/react@19.2.2): + resolution: {integrity: sha512-9KQPoO6mZCi7jcIStSnlOWn2nEF3mNmyr3rIAsGnAbQKYbRLyqmeSc39EVgtxXVia+LMT8j3knZLAZAh+xLmrw==} peerDependencies: - '@types/react': ^19.0.0 + '@types/react': 19.2.2 dependencies: - '@types/react': 19.1.8 + '@types/react': 19.2.2 dev: true - /@types/react@19.1.8: - resolution: {integrity: sha512-AwAfQ2Wa5bCx9WP8nZL2uMZWod7J7/JSplxbTmBQ5ms6QpqNYm672H0Vu9ZVKVngQ+ii4R/byguVEUZQyeg44g==} + /@types/react@19.2.2: + resolution: {integrity: sha512-6mDvHUFSjyT2B2yeNx2nUgMxh9LtOWvkhIU3uePn2I2oyNymUAX1NIsdgviM4CH+JSrp2D2hsMvJOkxY+0wNRA==} dependencies: csstype: 3.1.3 dev: true - /@typescript-eslint/eslint-plugin@8.40.0(@typescript-eslint/parser@8.40.0)(eslint@8.57.1)(typescript@5.8.3): - resolution: {integrity: sha512-w/EboPlBwnmOBtRbiOvzjD+wdiZdgFeo17lkltrtn7X37vagKKWJABvyfsJXTlHe6XBzugmYgd4A4nW+k8Mixw==} + /@typescript-eslint/eslint-plugin@8.46.2(@typescript-eslint/parser@8.46.2)(eslint@8.57.1)(typescript@5.8.3): + resolution: {integrity: sha512-ZGBMToy857/NIPaaCucIUQgqueOiq7HeAKkhlvqVV4lm089zUFW6ikRySx2v+cAhKeUCPuWVHeimyk6Dw1iY3w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^8.40.0 + '@typescript-eslint/parser': ^8.46.2 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 8.40.0(eslint@8.57.1)(typescript@5.8.3) - '@typescript-eslint/scope-manager': 8.40.0 - '@typescript-eslint/type-utils': 8.40.0(eslint@8.57.1)(typescript@5.8.3) - '@typescript-eslint/utils': 8.40.0(eslint@8.57.1)(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.40.0 + '@typescript-eslint/parser': 8.46.2(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/scope-manager': 8.46.2 + '@typescript-eslint/type-utils': 8.46.2(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/utils': 8.46.2(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/visitor-keys': 8.46.2 eslint: 8.57.1 graphemer: 1.4.0 ignore: 7.0.5 @@ -941,17 +1074,17 @@ packages: - supports-color dev: true - /@typescript-eslint/parser@8.40.0(eslint@8.57.1)(typescript@5.8.3): - resolution: {integrity: sha512-jCNyAuXx8dr5KJMkecGmZ8KI61KBUhkCob+SD+C+I5+Y1FWI2Y3QmY4/cxMCC5WAsZqoEtEETVhUiUMIGCf6Bw==} + /@typescript-eslint/parser@8.46.2(eslint@8.57.1)(typescript@5.8.3): + resolution: {integrity: sha512-BnOroVl1SgrPLywqxyqdJ4l3S2MsKVLDVxZvjI1Eoe8ev2r3kGDo+PcMihNmDE+6/KjkTubSJnmqGZZjQSBq/g==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' dependencies: - '@typescript-eslint/scope-manager': 8.40.0 - '@typescript-eslint/types': 8.40.0 - '@typescript-eslint/typescript-estree': 8.40.0(typescript@5.8.3) - '@typescript-eslint/visitor-keys': 8.40.0 + '@typescript-eslint/scope-manager': 8.46.2 + '@typescript-eslint/types': 8.46.2 + '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.8.3) + '@typescript-eslint/visitor-keys': 8.46.2 debug: 4.4.1 eslint: 8.57.1 typescript: 5.8.3 @@ -959,30 +1092,30 @@ packages: - supports-color dev: true - /@typescript-eslint/project-service@8.40.0(typescript@5.8.3): - resolution: {integrity: sha512-/A89vz7Wf5DEXsGVvcGdYKbVM9F7DyFXj52lNYUDS1L9yJfqjW/fIp5PgMuEJL/KeqVTe2QSbXAGUZljDUpArw==} + /@typescript-eslint/project-service@8.46.2(typescript@5.8.3): + resolution: {integrity: sha512-PULOLZ9iqwI7hXcmL4fVfIsBi6AN9YxRc0frbvmg8f+4hQAjQ5GYNKK0DIArNo+rOKmR/iBYwkpBmnIwin4wBg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' dependencies: - '@typescript-eslint/tsconfig-utils': 8.40.0(typescript@5.8.3) - '@typescript-eslint/types': 8.40.0 + '@typescript-eslint/tsconfig-utils': 8.46.2(typescript@5.8.3) + '@typescript-eslint/types': 8.46.2 debug: 4.4.1 typescript: 5.8.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager@8.40.0: - resolution: {integrity: sha512-y9ObStCcdCiZKzwqsE8CcpyuVMwRouJbbSrNuThDpv16dFAj429IkM6LNb1dZ2m7hK5fHyzNcErZf7CEeKXR4w==} + /@typescript-eslint/scope-manager@8.46.2: + resolution: {integrity: sha512-LF4b/NmGvdWEHD2H4MsHD8ny6JpiVNDzrSZr3CsckEgCbAGZbYM4Cqxvi9L+WqDMT+51Ozy7lt2M+d0JLEuBqA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dependencies: - '@typescript-eslint/types': 8.40.0 - '@typescript-eslint/visitor-keys': 8.40.0 + '@typescript-eslint/types': 8.46.2 + '@typescript-eslint/visitor-keys': 8.46.2 dev: true - /@typescript-eslint/tsconfig-utils@8.40.0(typescript@5.8.3): - resolution: {integrity: sha512-jtMytmUaG9d/9kqSl/W3E3xaWESo4hFDxAIHGVW/WKKtQhesnRIJSAJO6XckluuJ6KDB5woD1EiqknriCtAmcw==} + /@typescript-eslint/tsconfig-utils@8.46.2(typescript@5.8.3): + resolution: {integrity: sha512-a7QH6fw4S57+F5y2FIxxSDyi5M4UfGF+Jl1bCGd7+L4KsaUY80GsiF/t0UoRFDHAguKlBaACWJRmdrc6Xfkkag==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' @@ -990,16 +1123,16 @@ packages: typescript: 5.8.3 dev: true - /@typescript-eslint/type-utils@8.40.0(eslint@8.57.1)(typescript@5.8.3): - resolution: {integrity: sha512-eE60cK4KzAc6ZrzlJnflXdrMqOBaugeukWICO2rB0KNvwdIMaEaYiywwHMzA1qFpTxrLhN9Lp4E/00EgWcD3Ow==} + /@typescript-eslint/type-utils@8.46.2(eslint@8.57.1)(typescript@5.8.3): + resolution: {integrity: sha512-HbPM4LbaAAt/DjxXaG9yiS9brOOz6fabal4uvUmaUYe6l3K1phQDMQKBRUrr06BQkxkvIZVVHttqiybM9nJsLA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' dependencies: - '@typescript-eslint/types': 8.40.0 - '@typescript-eslint/typescript-estree': 8.40.0(typescript@5.8.3) - '@typescript-eslint/utils': 8.40.0(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/types': 8.46.2 + '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.8.3) + '@typescript-eslint/utils': 8.46.2(eslint@8.57.1)(typescript@5.8.3) debug: 4.4.1 eslint: 8.57.1 ts-api-utils: 2.1.0(typescript@5.8.3) @@ -1008,21 +1141,21 @@ packages: - supports-color dev: true - /@typescript-eslint/types@8.40.0: - resolution: {integrity: sha512-ETdbFlgbAmXHyFPwqUIYrfc12ArvpBhEVgGAxVYSwli26dn8Ko+lIo4Su9vI9ykTZdJn+vJprs/0eZU0YMAEQg==} + /@typescript-eslint/types@8.46.2: + resolution: {integrity: sha512-lNCWCbq7rpg7qDsQrd3D6NyWYu+gkTENkG5IKYhUIcxSb59SQC/hEQ+MrG4sTgBVghTonNWq42bA/d4yYumldQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dev: true - /@typescript-eslint/typescript-estree@8.40.0(typescript@5.8.3): - resolution: {integrity: sha512-k1z9+GJReVVOkc1WfVKs1vBrR5MIKKbdAjDTPvIK3L8De6KbFfPFt6BKpdkdk7rZS2GtC/m6yI5MYX+UsuvVYQ==} + /@typescript-eslint/typescript-estree@8.46.2(typescript@5.8.3): + resolution: {integrity: sha512-f7rW7LJ2b7Uh2EiQ+7sza6RDZnajbNbemn54Ob6fRwQbgcIn+GWfyuHDHRYgRoZu1P4AayVScrRW+YfbTvPQoQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' dependencies: - '@typescript-eslint/project-service': 8.40.0(typescript@5.8.3) - '@typescript-eslint/tsconfig-utils': 8.40.0(typescript@5.8.3) - '@typescript-eslint/types': 8.40.0 - '@typescript-eslint/visitor-keys': 8.40.0 + '@typescript-eslint/project-service': 8.46.2(typescript@5.8.3) + '@typescript-eslint/tsconfig-utils': 8.46.2(typescript@5.8.3) + '@typescript-eslint/types': 8.46.2 + '@typescript-eslint/visitor-keys': 8.46.2 debug: 4.4.1 fast-glob: 3.3.3 is-glob: 4.0.3 @@ -1034,28 +1167,28 @@ packages: - supports-color dev: true - /@typescript-eslint/utils@8.40.0(eslint@8.57.1)(typescript@5.8.3): - resolution: {integrity: sha512-Cgzi2MXSZyAUOY+BFwGs17s7ad/7L+gKt6Y8rAVVWS+7o6wrjeFN4nVfTpbE25MNcxyJ+iYUXflbs2xR9h4UBg==} + /@typescript-eslint/utils@8.46.2(eslint@8.57.1)(typescript@5.8.3): + resolution: {integrity: sha512-sExxzucx0Tud5tE0XqR0lT0psBQvEpnpiul9XbGUB1QwpWJJAps1O/Z7hJxLGiZLBKMCutjTzDgmd1muEhBnVg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' dependencies: '@eslint-community/eslint-utils': 4.7.0(eslint@8.57.1) - '@typescript-eslint/scope-manager': 8.40.0 - '@typescript-eslint/types': 8.40.0 - '@typescript-eslint/typescript-estree': 8.40.0(typescript@5.8.3) + '@typescript-eslint/scope-manager': 8.46.2 + '@typescript-eslint/types': 8.46.2 + '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.8.3) eslint: 8.57.1 typescript: 5.8.3 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/visitor-keys@8.40.0: - resolution: {integrity: sha512-8CZ47QwalyRjsypfwnbI3hKy5gJDPmrkLjkgMxhi0+DZZ2QNx2naS6/hWoVYUHU7LU2zleF68V9miaVZvhFfTA==} + /@typescript-eslint/visitor-keys@8.46.2: + resolution: {integrity: sha512-tUFMXI4gxzzMXt4xpGJEsBsTox0XbNQ1y94EwlD/CuZwFcQP79xfQqMhau9HsRc/J0cAPA/HZt1dZPtGn9V/7w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dependencies: - '@typescript-eslint/types': 8.40.0 + '@typescript-eslint/types': 8.46.2 eslint-visitor-keys: 4.2.1 dev: true @@ -1453,14 +1586,6 @@ packages: electron-to-chromium: 1.5.207 node-releases: 2.0.19 update-browserslist-db: 1.1.3(browserslist@4.25.3) - dev: true - - /busboy@1.6.0: - resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} - engines: {node: '>=10.16.0'} - dependencies: - streamsearch: 1.1.0 - dev: false /c12@3.1.0: resolution: {integrity: sha512-uWoS8OU1MEIsOv8p/5a82c3H31LsWVR5qiyXVfBNOzfffjUWtPnhAb4BYI2uG2HfGmZmFjCtui5XNWaps+iFuw==} @@ -1569,25 +1694,6 @@ packages: /color-name@1.1.4: resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} - /color-string@1.9.1: - resolution: {integrity: sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==} - requiresBuild: true - dependencies: - color-name: 1.1.4 - simple-swizzle: 0.2.2 - dev: false - optional: true - - /color@4.2.3: - resolution: {integrity: sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==} - engines: {node: '>=12.5.0'} - requiresBuild: true - dependencies: - color-convert: 2.0.1 - color-string: 1.9.1 - dev: false - optional: true - /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} @@ -1604,6 +1710,9 @@ packages: resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==} engines: {node: ^14.18.0 || >=16.10.0} + /convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + /cross-spawn@7.0.6: resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} engines: {node: '>= 8'} @@ -1673,7 +1782,6 @@ packages: optional: true dependencies: ms: 2.1.3 - dev: true /deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -1707,8 +1815,8 @@ packages: /destr@2.0.5: resolution: {integrity: sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==} - /detect-libc@2.0.4: - resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==} + /detect-libc@2.1.2: + resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==} engines: {node: '>=8'} requiresBuild: true dev: false @@ -1758,15 +1866,14 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: false - /effect@3.16.12: - resolution: {integrity: sha512-N39iBk0K71F9nb442TLbTkjl24FLUzuvx2i1I2RsEAQsdAdUTuUoW0vlfUXgkMTUOnYqKnWcFfqw4hK4Pw27hg==} + /effect@3.18.4: + resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==} dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 /electron-to-chromium@1.5.207: resolution: {integrity: sha512-mryFrrL/GXDTmAtIVMVf+eIXM09BBPlO5IQ7lUyKmK8d+A4VpRGG+M3ofoVef6qyF8s60rJei8ymlJxjUA8Faw==} - dev: true /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} @@ -1941,35 +2048,34 @@ packages: /escalade@3.2.0: resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} engines: {node: '>=6'} - dev: true /escape-string-regexp@4.0.0: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} dev: true - /eslint-config-next@15.3.5(eslint@8.57.1)(typescript@5.8.3): - resolution: {integrity: sha512-oQdvnIgP68wh2RlR3MdQpvaJ94R6qEFl+lnu8ZKxPj5fsAHrSF/HlAOZcsimLw3DT6bnEQIUdbZC2Ab6sWyptg==} + /eslint-config-next@16.0.1(@typescript-eslint/parser@8.46.2)(eslint@8.57.1)(typescript@5.8.3): + resolution: {integrity: sha512-wNuHw5gNOxwLUvpg0cu6IL0crrVC9hAwdS/7UwleNkwyaMiWIOAwf8yzXVqBBzL3c9A7jVRngJxjoSpPP1aEhg==} peerDependencies: - eslint: ^7.23.0 || ^8.0.0 || ^9.0.0 + eslint: '>=9.0.0' typescript: '>=3.3.1' peerDependenciesMeta: typescript: optional: true dependencies: - '@next/eslint-plugin-next': 15.3.5 - '@rushstack/eslint-patch': 1.12.0 - '@typescript-eslint/eslint-plugin': 8.40.0(@typescript-eslint/parser@8.40.0)(eslint@8.57.1)(typescript@5.8.3) - '@typescript-eslint/parser': 8.40.0(eslint@8.57.1)(typescript@5.8.3) + '@next/eslint-plugin-next': 16.0.1 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-typescript: 3.10.1(eslint-plugin-import@2.32.0)(eslint@8.57.1) - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.40.0)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.46.2)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.57.1) eslint-plugin-react: 7.37.5(eslint@8.57.1) - eslint-plugin-react-hooks: 5.2.0(eslint@8.57.1) + eslint-plugin-react-hooks: 7.0.1(eslint@8.57.1) + globals: 16.4.0 typescript: 5.8.3 + typescript-eslint: 8.46.2(eslint@8.57.1)(typescript@5.8.3) transitivePeerDependencies: + - '@typescript-eslint/parser' - eslint-import-resolver-webpack - eslint-plugin-import-x - supports-color @@ -2001,7 +2107,7 @@ packages: '@nolyfill/is-core-module': 1.0.39 debug: 4.4.1 eslint: 8.57.1 - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.40.0)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.46.2)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) get-tsconfig: 4.10.1 is-bun-module: 2.0.0 stable-hash: 0.0.5 @@ -2011,7 +2117,7 @@ packages: - supports-color dev: true - /eslint-module-utils@2.12.1(@typescript-eslint/parser@8.40.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): + /eslint-module-utils@2.12.1(@typescript-eslint/parser@8.46.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): resolution: {integrity: sha512-L8jSWTze7K2mTg0vos/RuLRS5soomksDPoJLXIslC7c8Wmut3bx7CPpJijDcBZtxQ5lrbUdM+s0OlNbz0DCDNw==} engines: {node: '>=4'} peerDependencies: @@ -2032,7 +2138,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 8.40.0(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/parser': 8.46.2(eslint@8.57.1)(typescript@5.8.3) debug: 3.2.7 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 @@ -2041,7 +2147,7 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.40.0)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): + /eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.46.2)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1): resolution: {integrity: sha512-whOE1HFo/qJDyX4SnXzP4N6zOWn79WhnCUY/iDR0mPfQZO8wcYE4JClzI2oZrhBnnMUCBCHZhO6VQyoBU95mZA==} engines: {node: '>=4'} peerDependencies: @@ -2052,7 +2158,7 @@ packages: optional: true dependencies: '@rtsao/scc': 1.1.0 - '@typescript-eslint/parser': 8.40.0(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/parser': 8.46.2(eslint@8.57.1)(typescript@5.8.3) array-includes: 3.1.9 array.prototype.findlastindex: 1.2.6 array.prototype.flat: 1.3.3 @@ -2061,7 +2167,7 @@ packages: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.40.0)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) + eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.46.2)(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.10.1)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -2102,13 +2208,20 @@ packages: string.prototype.includes: 2.0.1 dev: true - /eslint-plugin-react-hooks@5.2.0(eslint@8.57.1): - resolution: {integrity: sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==} - engines: {node: '>=10'} + /eslint-plugin-react-hooks@7.0.1(eslint@8.57.1): + resolution: {integrity: sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA==} + engines: {node: '>=18'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 dependencies: + '@babel/core': 7.28.5 + '@babel/parser': 7.28.5 eslint: 8.57.1 + hermes-parser: 0.25.1 + zod: 3.25.76 + zod-validation-error: 4.0.2(zod@3.25.76) + transitivePeerDependencies: + - supports-color dev: true /eslint-plugin-react@7.37.5(eslint@8.57.1): @@ -2309,10 +2422,6 @@ packages: dependencies: to-regex-range: 5.0.1 - /find-up-simple@1.0.1: - resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==} - engines: {node: '>=18'} - /find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} @@ -2383,6 +2492,10 @@ packages: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} dev: true + /gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + /get-intrinsic@1.3.0: resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} engines: {node: '>= 0.4'} @@ -2476,6 +2589,11 @@ packages: type-fest: 0.20.2 dev: true + /globals@16.4.0: + resolution: {integrity: sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==} + engines: {node: '>=18'} + dev: true + /globalthis@1.0.4: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} @@ -2542,11 +2660,15 @@ packages: dependencies: function-bind: 1.1.2 - /hosted-git-info@7.0.2: - resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} - engines: {node: ^16.14.0 || >=18.0.0} + /hermes-estree@0.25.1: + resolution: {integrity: sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw==} + dev: true + + /hermes-parser@0.25.1: + resolution: {integrity: sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA==} dependencies: - lru-cache: 10.4.3 + hermes-estree: 0.25.1 + dev: true /ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} @@ -2571,10 +2693,6 @@ packages: engines: {node: '>=0.8.19'} dev: true - /index-to-position@1.1.0: - resolution: {integrity: sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==} - engines: {node: '>=18'} - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -2605,12 +2723,6 @@ packages: get-intrinsic: 1.3.0 dev: true - /is-arrayish@0.3.2: - resolution: {integrity: sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==} - requiresBuild: true - dev: false - optional: true - /is-async-function@2.1.1: resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==} engines: {node: '>= 0.4'} @@ -2849,6 +2961,11 @@ packages: argparse: 2.0.1 dev: true + /jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + /json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} dev: true @@ -2868,6 +2985,11 @@ packages: minimist: 1.2.8 dev: true + /json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + /jsx-ast-utils@3.3.5: resolution: {integrity: sha512-ZZow9HBI5O6EPgSJLUb8n2NKgmVWTwCvHGwFuJlMjvLFqlGG6pjirPhtdsseaLZjSibD8eegzmYpUZwoIlj2cQ==} engines: {node: '>=4.0'} @@ -2932,6 +3054,12 @@ packages: /lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + dev: false + + /lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + dependencies: + yallist: 3.1.1 /math-intrinsics@1.1.0: resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} @@ -2972,7 +3100,6 @@ packages: /ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - dev: true /mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} @@ -2997,13 +3124,13 @@ packages: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} dev: true - /next@15.3.5(react-dom@19.1.0)(react@19.1.0): - resolution: {integrity: sha512-RkazLBMMDJSJ4XZQ81kolSpwiCt907l0xcgcpF4xC2Vml6QVcPNXW0NQRwQ80FFtSn7UM52XN0anaw8TEJXaiw==} - engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0} + /next@16.0.1(@babel/core@7.28.5)(react-dom@19.2.0)(react@19.2.0): + resolution: {integrity: sha512-e9RLSssZwd35p7/vOa+hoDFggUZIUbZhIUSLZuETCwrCVvxOs87NamoUzT+vbcNAL8Ld9GobBnWOA6SbV/arOw==} + engines: {node: '>=20.9.0'} hasBin: true peerDependencies: '@opentelemetry/api': ^1.1.0 - '@playwright/test': ^1.41.2 + '@playwright/test': ^1.51.1 babel-plugin-react-compiler: '*' react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0 @@ -3018,25 +3145,23 @@ packages: sass: optional: true dependencies: - '@next/env': 15.3.5 - '@swc/counter': 0.1.3 + '@next/env': 16.0.1 '@swc/helpers': 0.5.15 - busboy: 1.6.0 caniuse-lite: 1.0.30001735 postcss: 8.4.31 - react: 19.1.0 - react-dom: 19.1.0(react@19.1.0) - styled-jsx: 5.1.6(react@19.1.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) + styled-jsx: 5.1.6(@babel/core@7.28.5)(react@19.2.0) optionalDependencies: - '@next/swc-darwin-arm64': 15.3.5 - '@next/swc-darwin-x64': 15.3.5 - '@next/swc-linux-arm64-gnu': 15.3.5 - '@next/swc-linux-arm64-musl': 15.3.5 - '@next/swc-linux-x64-gnu': 15.3.5 - '@next/swc-linux-x64-musl': 15.3.5 - '@next/swc-win32-arm64-msvc': 15.3.5 - '@next/swc-win32-x64-msvc': 15.3.5 - sharp: 0.34.3 + '@next/swc-darwin-arm64': 16.0.1 + '@next/swc-darwin-x64': 16.0.1 + '@next/swc-linux-arm64-gnu': 16.0.1 + '@next/swc-linux-arm64-musl': 16.0.1 + '@next/swc-linux-x64-gnu': 16.0.1 + '@next/swc-linux-x64-musl': 16.0.1 + '@next/swc-win32-arm64-msvc': 16.0.1 + '@next/swc-win32-x64-msvc': 16.0.1 + sharp: 0.34.4 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -3047,15 +3172,6 @@ packages: /node-releases@2.0.19: resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} - dev: true - - /normalize-package-data@6.0.2: - resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - hosted-git-info: 7.0.2 - semver: 7.7.2 - validate-npm-package-license: 3.0.4 /normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} @@ -3203,14 +3319,6 @@ packages: callsites: 3.1.0 dev: true - /parse-json@8.3.0: - resolution: {integrity: sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==} - engines: {node: '>=18'} - dependencies: - '@babel/code-frame': 7.27.1 - index-to-position: 1.1.0 - type-fest: 4.41.0 - /path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3447,8 +3555,8 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prisma@6.14.0(typescript@5.8.3): - resolution: {integrity: sha512-QEuCwxu+Uq9BffFw7in8In+WfbSUN0ewnaSUKloLkbJd42w6EyFckux4M0f7VwwHlM3A8ssaz4OyniCXlsn0WA==} + /prisma@6.18.0(typescript@5.8.3): + resolution: {integrity: sha512-bXWy3vTk8mnRmT+SLyZBQoC2vtV9Z8u7OHvEu+aULYxwiop/CPiFZ+F56KsNRNf35jw+8wcu8pmLsjxpBxAO9g==} engines: {node: '>=18.18'} hasBin: true requiresBuild: true @@ -3458,8 +3566,8 @@ packages: typescript: optional: true dependencies: - '@prisma/config': 6.14.0 - '@prisma/engines': 6.14.0 + '@prisma/config': 6.18.0 + '@prisma/engines': 6.18.0 typescript: 5.8.3 transitivePeerDependencies: - magicast @@ -3489,16 +3597,16 @@ packages: defu: 6.1.4 destr: 2.0.5 - /react-dom@19.1.0(react@19.1.0): - resolution: {integrity: sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==} + /react-dom@19.2.0(react@19.2.0): + resolution: {integrity: sha512-UlbRu4cAiGaIewkPyiRGJk0imDN2T3JjieT6spoL2UeSf5od4n5LB/mQ4ejmxhCFT1tYe8IvaFulzynWovsEFQ==} peerDependencies: - react: ^19.1.0 + react: ^19.2.0 dependencies: - react: 19.1.0 - scheduler: 0.26.0 + react: 19.2.0 + scheduler: 0.27.0 dev: false - /react-hot-toast@2.5.2(react-dom@19.1.0)(react@19.1.0): + /react-hot-toast@2.5.2(react-dom@19.2.0)(react@19.2.0): resolution: {integrity: sha512-Tun3BbCxzmXXM7C+NI4qiv6lT0uwGh4oAfeJyNOjYUejTsm35mK9iCaYLGv8cBz9L5YxZLx/2ii7zsIwPtPUdw==} engines: {node: '>=10'} peerDependencies: @@ -3507,16 +3615,16 @@ packages: dependencies: csstype: 3.1.3 goober: 2.1.16(csstype@3.1.3) - react: 19.1.0 - react-dom: 19.1.0(react@19.1.0) + react: 19.2.0 + react-dom: 19.2.0(react@19.2.0) dev: false /react-is@16.13.1: resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} dev: true - /react@19.1.0: - resolution: {integrity: sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==} + /react@19.2.0: + resolution: {integrity: sha512-tmbWg6W31tQLeB5cdIBOicJDJRR2KzXsV7uSK9iNfLWQ5bIZfxuPEHp7M8wiHyHnn0DD1i7w3Zmin0FtkrwoCQ==} engines: {node: '>=0.10.0'} dev: false @@ -3526,24 +3634,6 @@ packages: pify: 2.3.0 dev: false - /read-package-up@11.0.0: - resolution: {integrity: sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==} - engines: {node: '>=18'} - dependencies: - find-up-simple: 1.0.1 - read-pkg: 9.0.1 - type-fest: 4.41.0 - - /read-pkg@9.0.1: - resolution: {integrity: sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==} - engines: {node: '>=18'} - dependencies: - '@types/normalize-package-data': 2.4.4 - normalize-package-data: 6.0.2 - parse-json: 8.3.0 - type-fest: 4.41.0 - unicorn-magic: 0.1.0 - /readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} @@ -3653,14 +3743,13 @@ packages: is-regex: 1.2.1 dev: true - /scheduler@0.26.0: - resolution: {integrity: sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==} + /scheduler@0.27.0: + resolution: {integrity: sha512-eNv+WrVbKu1f3vbYJT/xtiF5syA5HPIMtf9IgY/nKg0sWqzAUEvqY/xm7OcZc/qafLx/iO9FgOmeSAp4v5ti/Q==} dev: false /semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - dev: true /semver@7.7.2: resolution: {integrity: sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==} @@ -3698,37 +3787,37 @@ packages: es-object-atoms: 1.1.1 dev: true - /sharp@0.34.3: - resolution: {integrity: sha512-eX2IQ6nFohW4DbvHIOLRB3MHFpYqaqvXd3Tp5e/T/dSH83fxaNJQRvDMhASmkNTsNTVF2/OOopzRCt7xokgPfg==} + /sharp@0.34.4: + resolution: {integrity: sha512-FUH39xp3SBPnxWvd5iib1X8XY7J0K0X7d93sie9CJg2PO8/7gmg89Nve6OjItK53/MlAushNNxteBYfM6DEuoA==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} requiresBuild: true dependencies: - color: 4.2.3 - detect-libc: 2.0.4 + '@img/colour': 1.0.0 + detect-libc: 2.1.2 semver: 7.7.2 optionalDependencies: - '@img/sharp-darwin-arm64': 0.34.3 - '@img/sharp-darwin-x64': 0.34.3 - '@img/sharp-libvips-darwin-arm64': 1.2.0 - '@img/sharp-libvips-darwin-x64': 1.2.0 - '@img/sharp-libvips-linux-arm': 1.2.0 - '@img/sharp-libvips-linux-arm64': 1.2.0 - '@img/sharp-libvips-linux-ppc64': 1.2.0 - '@img/sharp-libvips-linux-s390x': 1.2.0 - '@img/sharp-libvips-linux-x64': 1.2.0 - '@img/sharp-libvips-linuxmusl-arm64': 1.2.0 - '@img/sharp-libvips-linuxmusl-x64': 1.2.0 - '@img/sharp-linux-arm': 0.34.3 - '@img/sharp-linux-arm64': 0.34.3 - '@img/sharp-linux-ppc64': 0.34.3 - '@img/sharp-linux-s390x': 0.34.3 - '@img/sharp-linux-x64': 0.34.3 - '@img/sharp-linuxmusl-arm64': 0.34.3 - '@img/sharp-linuxmusl-x64': 0.34.3 - '@img/sharp-wasm32': 0.34.3 - '@img/sharp-win32-arm64': 0.34.3 - '@img/sharp-win32-ia32': 0.34.3 - '@img/sharp-win32-x64': 0.34.3 + '@img/sharp-darwin-arm64': 0.34.4 + '@img/sharp-darwin-x64': 0.34.4 + '@img/sharp-libvips-darwin-arm64': 1.2.3 + '@img/sharp-libvips-darwin-x64': 1.2.3 + '@img/sharp-libvips-linux-arm': 1.2.3 + '@img/sharp-libvips-linux-arm64': 1.2.3 + '@img/sharp-libvips-linux-ppc64': 1.2.3 + '@img/sharp-libvips-linux-s390x': 1.2.3 + '@img/sharp-libvips-linux-x64': 1.2.3 + '@img/sharp-libvips-linuxmusl-arm64': 1.2.3 + '@img/sharp-libvips-linuxmusl-x64': 1.2.3 + '@img/sharp-linux-arm': 0.34.4 + '@img/sharp-linux-arm64': 0.34.4 + '@img/sharp-linux-ppc64': 0.34.4 + '@img/sharp-linux-s390x': 0.34.4 + '@img/sharp-linux-x64': 0.34.4 + '@img/sharp-linuxmusl-arm64': 0.34.4 + '@img/sharp-linuxmusl-x64': 0.34.4 + '@img/sharp-wasm32': 0.34.4 + '@img/sharp-win32-arm64': 0.34.4 + '@img/sharp-win32-ia32': 0.34.4 + '@img/sharp-win32-x64': 0.34.4 dev: false optional: true @@ -3787,36 +3876,10 @@ packages: engines: {node: '>=14'} dev: false - /simple-swizzle@0.2.2: - resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} - requiresBuild: true - dependencies: - is-arrayish: 0.3.2 - dev: false - optional: true - /source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.21 - - /spdx-exceptions@2.5.0: - resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} - - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - dependencies: - spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.21 - - /spdx-license-ids@3.0.21: - resolution: {integrity: sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==} - /split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} @@ -3834,11 +3897,6 @@ packages: internal-slot: 1.1.0 dev: true - /streamsearch@1.1.0: - resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} - engines: {node: '>=10.0.0'} - dev: false - /string-width@4.2.3: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} @@ -3947,7 +4005,7 @@ packages: engines: {node: '>=8'} dev: true - /styled-jsx@5.1.6(react@19.1.0): + /styled-jsx@5.1.6(@babel/core@7.28.5)(react@19.2.0): resolution: {integrity: sha512-qSVyDTeMotdvQYoHWLNGwRFJHC+i+ZvdBRYosOFgC+Wg1vx4frN2/RG/NA7SYqqvKNLf39P2LSRA2pu6n0XYZA==} engines: {node: '>= 12.0.0'} peerDependencies: @@ -3960,8 +4018,9 @@ packages: babel-plugin-macros: optional: true dependencies: + '@babel/core': 7.28.5 client-only: 0.0.1 - react: 19.1.0 + react: 19.2.0 dev: false /sucrase@3.35.0: @@ -4102,10 +4161,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} - /typed-array-buffer@1.0.3: resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} engines: {node: '>= 0.4'} @@ -4151,6 +4206,23 @@ packages: reflect.getprototypeof: 1.0.10 dev: true + /typescript-eslint@8.46.2(eslint@8.57.1)(typescript@5.8.3): + resolution: {integrity: sha512-vbw8bOmiuYNdzzV3lsiWv6sRwjyuKJMQqWulBOU7M0RrxedXledX8G8kBbQeiOYDnTfiXz0Y4081E1QMNB6iQg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <6.0.0' + dependencies: + '@typescript-eslint/eslint-plugin': 8.46.2(@typescript-eslint/parser@8.46.2)(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/parser': 8.46.2(eslint@8.57.1)(typescript@5.8.3) + '@typescript-eslint/typescript-estree': 8.46.2(typescript@5.8.3) + '@typescript-eslint/utils': 8.46.2(eslint@8.57.1)(typescript@5.8.3) + eslint: 8.57.1 + typescript: 5.8.3 + transitivePeerDependencies: + - supports-color + dev: true + /typescript@5.8.3: resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} engines: {node: '>=14.17'} @@ -4170,10 +4242,6 @@ packages: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} dev: true - /unicorn-magic@0.1.0: - resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} - engines: {node: '>=18'} - /unrs-resolver@1.11.1: resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==} requiresBuild: true @@ -4210,7 +4278,6 @@ packages: browserslist: 4.25.3 escalade: 3.2.0 picocolors: 1.1.1 - dev: true /uri-js@4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} @@ -4222,12 +4289,6 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - /which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} @@ -4320,6 +4381,9 @@ packages: engines: {node: '>=0.4'} dev: false + /yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + /yaml@2.8.1: resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==} engines: {node: '>= 14.6'} @@ -4331,6 +4395,14 @@ packages: engines: {node: '>=10'} dev: true + /zod-validation-error@4.0.2(zod@3.25.76): + resolution: {integrity: sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + zod: ^3.25.0 || ^4.0.0 + dependencies: + zod: 3.25.76 + dev: true + /zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} - dev: false diff --git a/generator-prisma-client/nextjs-starter-turbopack/prisma.config.ts b/generator-prisma-client/nextjs-starter-turbopack/prisma.config.ts index 655255f2f772..205ad5b9c05b 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/prisma.config.ts +++ b/generator-prisma-client/nextjs-starter-turbopack/prisma.config.ts @@ -1,10 +1,14 @@ -import { defineConfig } from 'prisma/config' +import { defineConfig, env } from 'prisma/config' import 'dotenv/config' export default defineConfig({ - schema: './prisma/schema.prisma', + schema: 'prisma/schema.prisma', migrations: { - path: './prisma/migrations', + path: 'prisma/migrations', seed: 'tsx ./prisma/seed.ts', }, + engine: 'classic', + datasource: { + url: env('DATABASE_URL'), + }, }) diff --git a/generator-prisma-client/nextjs-starter-turbopack/prisma/schema.prisma b/generator-prisma-client/nextjs-starter-turbopack/prisma/schema.prisma index 0d0b928627c7..0abb294364cc 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/prisma/schema.prisma +++ b/generator-prisma-client/nextjs-starter-turbopack/prisma/schema.prisma @@ -3,15 +3,14 @@ // See: https://www.prisma.io/docs/orm/prisma-schema/overview/generators#field-reference-1 generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] + provider = "prisma-client" + output = "../lib/generated/prisma" + engineType = "client" } datasource db { - provider = "postgresql" - url = env("DATABASE_URL") - directUrl = env("DIRECT_URL") + provider = "postgresql" + url = env("DATABASE_URL") } enum QuoteKind { @@ -20,8 +19,8 @@ enum QuoteKind { } model Quotes { - id Int @id @default(autoincrement()) + id Int @id @default(autoincrement()) quote String kind QuoteKind @default(Opinion) - createdAt DateTime @default(now()) + createdAt DateTime @default(now()) } diff --git a/generator-prisma-client/nextjs-starter-turbopack/tsconfig.json b/generator-prisma-client/nextjs-starter-turbopack/tsconfig.json index 23f7338a48f6..5d28de1b8eb2 100644 --- a/generator-prisma-client/nextjs-starter-turbopack/tsconfig.json +++ b/generator-prisma-client/nextjs-starter-turbopack/tsconfig.json @@ -1,7 +1,11 @@ { "compilerOptions": { "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], + "lib": [ + "dom", + "dom.iterable", + "esnext" + ], "allowJs": true, "skipLibCheck": true, "strict": true, @@ -11,7 +15,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", + "jsx": "react-jsx", "incremental": true, "plugins": [ { @@ -19,7 +23,9 @@ } ], "paths": { - "@/*": ["./*"] + "@/*": [ + "./*" + ] } }, "ts-node": { @@ -27,6 +33,14 @@ "module": "commonjs" } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], - "exclude": ["node_modules"] + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + ".next/dev/types/**/*.ts" + ], + "exclude": [ + "node_modules" + ] } diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/README.md b/generator-prisma-client/nextjs-starter-webpack-monorepo/README.md index 82e838240f0a..c4b4bb17f086 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/README.md +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/README.md @@ -31,12 +31,7 @@ It also demonstrates that [@prisma/nextjs-monorepo-workaround-plugin](https://ww ## Prerequisites -To successfully run the project, you will need the following: - -- Two **Prisma Postgres** connection strings: - - Your **Prisma Postgres + Accelerate connection string** (containing your **Prisma API key**) which you can get by enabling Postgres in a project in your [Prisma Data Platform](https://pris.ly/pdp) account. You will use this connection string to run Prisma migrations. - - Your **Prisma Postgres direct TCP connection string** which you will use with Prisma Client. - Learn more in the [docs](https://www.prisma.io/docs/postgres/database/direct-connections). +To successfully run the project, you will need a **Prisma Postgres** connection string from your [Prisma Data Platform](https://pris.ly/pdp) project. - [`pnpm`](https://pnpm.io/) installed globally to manage the monorepo workspace. ## Tech Stack @@ -53,10 +48,9 @@ To successfully run the project, you will need the following: ```prisma generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] - runtime = "nodejs" + provider = "prisma-client" + output = "../src/generated/prisma" + engineType = "client" } ``` @@ -80,23 +74,17 @@ Create a `.envrc` in the root of the project directory: touch .envrc ``` -Now, open the `.envrc` file and set the `DATABASE_URL` environment variables with the values of your connection string and your Prisma Postgres connection string: +Now, open the `.envrc` file and set the `DATABASE_URL` environment variable with your connection string: ```bash # .envrc -# Prisma Postgres connection string (used for migrations) export DATABASE_URL="__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__" -# Postgres connection string (used for queries by Prisma Client) -export DATABASE_URL="__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__" - NEXT_PUBLIC_URL="http://localhost:3000" ``` -Note that `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres + Accelerate connection string. Notice that the Accelerate connection string has the following structure: `prisma+postgres://accelerate.prisma-data.net/?api_key=`. - -Note that `__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres direct TCP connection string. The direct connection string has the following structure: `postgres://:@:/`. +Replace `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` with your actual Prisma Postgres connection string. Expose the environment variables to your project by running the following command: diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/app/layout.tsx b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/app/layout.tsx index 9fe90ca08d0d..bc1c85ce1c4b 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/app/layout.tsx +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/app/layout.tsx @@ -5,8 +5,8 @@ import { Inter } from 'next/font/google' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { - title: 'Accelerated Quotes', - description: 'Accelerate starter', + title: 'Quotes', + description: 'Starter', } export default function RootLayout({ diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/db.ts b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/db.ts index 223314bacd66..78836d5399d3 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/db.ts +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/db.ts @@ -1,5 +1,5 @@ import { getDb } from '@nextjs-starter-webpack-monorepo/prisma' import { env } from './env/server' -const prisma = getDb({ connectionString: env.DIRECT_URL }) +const prisma = getDb({ connectionString: env.DATABASE_URL }) export default prisma diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/env/server.ts b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/env/server.ts index 7e7dff77e266..484cf7d8ba46 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/env/server.ts +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/next-app/lib/env/server.ts @@ -3,7 +3,7 @@ import { z } from 'zod' export const env = createEnv({ server: { - DIRECT_URL: z.string().url().startsWith('postgres://'), + DATABASE_URL: z.string(), }, runtimeEnv: process.env, }) diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/package.json b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/package.json index 8773e03d7156..ed3a62423fc3 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/package.json +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/package.json @@ -42,14 +42,14 @@ "build": "tsc" }, "dependencies": { - "@prisma/adapter-pg": "6.14.0", - "@prisma/client": "6.14.0", + "@prisma/adapter-pg": "6.18.0", + "@prisma/client": "6.18.0", "pg": "8.16.3" }, "devDependencies": { "@types/node": "22.18.12", - "@types/pg": "8.15.6", - "prisma": "6.14.0", + "@types/pg": "8.15.5", + "prisma": "6.18.0", "tsx": "4.20.6", "typescript": "5.8.3" }, diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma.config.ts b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma.config.ts index a108034f62ef..4e5d8be2632f 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma.config.ts +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma.config.ts @@ -1,9 +1,14 @@ -import { defineConfig } from 'prisma/config' +import { defineConfig, env } from 'prisma/config' +import 'dotenv/config' export default defineConfig({ - schema: './prisma/schema.prisma', + schema: 'prisma/schema.prisma', migrations: { - path: './prisma/migrations', + path: 'prisma/migrations', seed: 'tsx ./src/seed.ts', }, + engine: 'classic', + datasource: { + url: env('DATABASE_URL'), + }, }) diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma/schema.prisma b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma/schema.prisma index af861aa92482..9283704bf7db 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma/schema.prisma +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/prisma/schema.prisma @@ -1,14 +1,13 @@ // See: https://www.prisma.io/docs/orm/prisma-schema/overview/generators#field-reference-1 generator client { - provider = "prisma-client" - output = "../src/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] + provider = "prisma-client" + output = "../src/generated/prisma" + engineType = "client" } datasource db { - provider = "postgresql" - url = env("DATABASE_URL") - directUrl = env("DIRECT_URL") + provider = "postgresql" + url = env("DATABASE_URL") } enum QuoteKind { @@ -17,8 +16,8 @@ enum QuoteKind { } model Quotes { - id Int @id @default(autoincrement()) + id Int @id @default(autoincrement()) quote String kind QuoteKind @default(Opinion) - createdAt DateTime @default(now()) + createdAt DateTime @default(now()) } diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/src/seed.ts b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/src/seed.ts index d54352fadcbf..c1cbd08ef6eb 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/src/seed.ts +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/packages/prisma/src/seed.ts @@ -2,10 +2,10 @@ import { getDb } from './index' import { QuoteKind } from './enums' const main = async () => { - + console.log('Seeding database...') const prisma = getDb({ - connectionString: process.env.DIRECT_URL!, + connectionString: process.env.DATABASE_URL!, }) console.time('Seeding complete 🌱') diff --git a/generator-prisma-client/nextjs-starter-webpack-monorepo/pnpm-lock.yaml b/generator-prisma-client/nextjs-starter-webpack-monorepo/pnpm-lock.yaml index b5ef7157a6b4..e47b49a66d31 100644 --- a/generator-prisma-client/nextjs-starter-webpack-monorepo/pnpm-lock.yaml +++ b/generator-prisma-client/nextjs-starter-webpack-monorepo/pnpm-lock.yaml @@ -66,11 +66,11 @@ importers: packages/prisma: dependencies: '@prisma/adapter-pg': - specifier: 6.14.0 - version: 6.14.0 + specifier: 6.18.0 + version: 6.18.0 '@prisma/client': - specifier: 6.14.0 - version: 6.14.0(prisma@6.14.0)(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(prisma@6.18.0)(typescript@5.8.3) pg: specifier: 8.16.3 version: 8.16.3 @@ -82,8 +82,8 @@ importers: specifier: 8.15.6 version: 8.15.6 prisma: - specifier: 6.14.0 - version: 6.14.0(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(typescript@5.8.3) tsx: specifier: 4.20.6 version: 4.20.6 @@ -767,18 +767,18 @@ packages: dev: false optional: true - /@prisma/adapter-pg@6.14.0: - resolution: {integrity: sha512-heUCNPZ3f2Iv/JId280HCoN7NECWkYckC3K1cOKpTRRjiJv0mN0w99V91vBq7aHHTtlOVpfDPQbUMNAjMegIWg==} + /@prisma/adapter-pg@6.18.0: + resolution: {integrity: sha512-eBtBOL1z2Sh0Rc2hwa4dmwoNeFs5T69tsA62AkhBvnzNfTcr/YfLeJae/wjNmvRttYDPmdiuhqZCRPNY1+8fOA==} dependencies: - '@prisma/driver-adapter-utils': 6.14.0 + '@prisma/driver-adapter-utils': 6.18.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native dev: false - /@prisma/client@6.14.0(prisma@6.14.0)(typescript@5.8.3): - resolution: {integrity: sha512-8E/Nk3eL5g7RQIg/LUj1ICyDmhD053STjxrPxUtCRybs2s/2sOEcx9NpITuAOPn07HEpWBfhAVe1T/HYWXUPOw==} + /@prisma/client@6.18.0(prisma@6.18.0)(typescript@5.8.3): + resolution: {integrity: sha512-jnL2I9gDnPnw4A+4h5SuNn8Gc+1mL1Z79U/3I9eE2gbxJG1oSA+62ByPW4xkeDgwE0fqMzzpAZ7IHxYnLZ4iQA==} engines: {node: '>=18.18'} requiresBuild: true peerDependencies: @@ -790,52 +790,52 @@ packages: typescript: optional: true dependencies: - prisma: 6.14.0(typescript@5.8.3) + prisma: 6.18.0(typescript@5.8.3) typescript: 5.8.3 dev: false - /@prisma/config@6.14.0: - resolution: {integrity: sha512-IwC7o5KNNGhmblLs23swnfBjADkacBb7wvyDXUWLwuvUQciKJZqyecU0jw0d7JRkswrj+XTL8fdr0y2/VerKQQ==} + /@prisma/config@6.18.0: + resolution: {integrity: sha512-rgFzspCpwsE+q3OF/xkp0fI2SJ3PfNe9LLMmuSVbAZ4nN66WfBiKqJKo/hLz3ysxiPQZf8h1SMf2ilqPMeWATQ==} dependencies: c12: 3.1.0 deepmerge-ts: 7.1.5 - effect: 3.16.12 + effect: 3.18.4 empathic: 2.0.0 transitivePeerDependencies: - magicast - /@prisma/debug@6.14.0: - resolution: {integrity: sha512-j4Lf+y+5QIJgQD4sJWSbkOD7geKx9CakaLp/TyTy/UDu9Wo0awvWCBH/BAxTHUaCpIl9USA5VS/KJhDqKJSwug==} + /@prisma/debug@6.18.0: + resolution: {integrity: sha512-PMVPMmxPj0ps1VY75DIrT430MoOyQx9hmm174k6cmLZpcI95rAPXOQ+pp8ANQkJtNyLVDxnxVJ0QLbrm/ViBcg==} - /@prisma/driver-adapter-utils@6.14.0: - resolution: {integrity: sha512-On9vTNiJ7J/O1kVqedLtfdhhrfRYprkUOhxjlmmWEv12WNdG6v5x4PsrfZXdBtZqRZaqK1i1TigO6IdtYh8z+A==} + /@prisma/driver-adapter-utils@6.18.0: + resolution: {integrity: sha512-9wgSriEKs4j1ePxlv1/RNfJV9Gu5rzG37Neshg+DfrCcUY3amroERvTjyR04w5J1THdGdOTgGL9VdJcVaKRMmQ==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 dev: false - /@prisma/engines-version@6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49: - resolution: {integrity: sha512-EgN9ODJpiX45yvwcngoStp3uQPJ3l+AEVoQ6dMMO2QvmwIlnxfApzKmJQExzdo7/hqQANrz5txHJdGYHzOnGHA==} + /@prisma/engines-version@6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f: + resolution: {integrity: sha512-T7Af4QsJQnSgWN1zBbX+Cha5t4qjHRxoeoWpK4JugJzG/ipmmDMY5S+O0N1ET6sCBNVkf6lz+Y+ZNO9+wFU8pQ==} - /@prisma/engines@6.14.0: - resolution: {integrity: sha512-LhJjqsALFEcoAtF07nSaOkVguaxw/ZsgfROIYZ8bAZDobe7y8Wy+PkYQaPOK1iLSsFgV2MhCO/eNrI1gdSOj6w==} + /@prisma/engines@6.18.0: + resolution: {integrity: sha512-i5RzjGF/ex6AFgqEe2o1IW8iIxJGYVQJVRau13kHPYEL1Ck8Zvwuzamqed/1iIljs5C7L+Opiz5TzSsUebkriA==} requiresBuild: true dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/fetch-engine': 6.14.0 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/fetch-engine': 6.18.0 + '@prisma/get-platform': 6.18.0 - /@prisma/fetch-engine@6.14.0: - resolution: {integrity: sha512-MPzYPOKMENYOaY3AcAbaKrfvXVlvTc6iHmTXsp9RiwCX+bPyfDMqMFVUSVXPYrXnrvEzhGHfyiFy0PRLHPysNg==} + /@prisma/fetch-engine@6.18.0: + resolution: {integrity: sha512-TdaBvTtBwP3IoqVYoGIYpD4mWlk0pJpjTJjir/xLeNWlwog7Sl3bD2J0jJ8+5+q/6RBg+acb9drsv5W6lqae7A==} dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/get-platform': 6.18.0 - /@prisma/get-platform@6.14.0: - resolution: {integrity: sha512-7VjuxKNwjnBhKfqPpMeWiHEa2sVjYzmHdl1slW6STuUCe9QnOY0OY1ljGSvz6wpG4U8DfbDqkG1yofd/1GINww==} + /@prisma/get-platform@6.18.0: + resolution: {integrity: sha512-uXNJCJGhxTCXo2B25Ta91Rk1/Nmlqg9p7G9GKh8TPhxvAyXCvMNQoogj4JLEUy+3ku8g59cpyQIKFhqY2xO2bg==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 /@rtsao/scc@1.1.0: resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -1755,8 +1755,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: false - /effect@3.16.12: - resolution: {integrity: sha512-N39iBk0K71F9nb442TLbTkjl24FLUzuvx2i1I2RsEAQsdAdUTuUoW0vlfUXgkMTUOnYqKnWcFfqw4hK4Pw27hg==} + /effect@3.18.4: + resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==} dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 @@ -3407,8 +3407,8 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prisma@6.14.0(typescript@5.8.3): - resolution: {integrity: sha512-QEuCwxu+Uq9BffFw7in8In+WfbSUN0ewnaSUKloLkbJd42w6EyFckux4M0f7VwwHlM3A8ssaz4OyniCXlsn0WA==} + /prisma@6.18.0(typescript@5.8.3): + resolution: {integrity: sha512-bXWy3vTk8mnRmT+SLyZBQoC2vtV9Z8u7OHvEu+aULYxwiop/CPiFZ+F56KsNRNf35jw+8wcu8pmLsjxpBxAO9g==} engines: {node: '>=18.18'} hasBin: true requiresBuild: true @@ -3418,8 +3418,8 @@ packages: typescript: optional: true dependencies: - '@prisma/config': 6.14.0 - '@prisma/engines': 6.14.0 + '@prisma/config': 6.18.0 + '@prisma/engines': 6.18.0 typescript: 5.8.3 transitivePeerDependencies: - magicast diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/README.md b/generator-prisma-client/nextjs-starter-webpack-turborepo/README.md index 4ddb95979a35..2b49e71a4753 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/README.md +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/README.md @@ -36,12 +36,7 @@ It also demonstrates that [@prisma/nextjs-monorepo-workaround-plugin](https://ww ## Prerequisites -To successfully run the project, you will need the following: - -- Two **Prisma Postgres** connection strings: - - Your **Prisma Postgres + Accelerate connection string** (containing your **Prisma API key**) which you can get by enabling Postgres in a project in your [Prisma Data Platform](https://pris.ly/pdp) account. You will use this connection string to run Prisma migrations. - - Your **Prisma Postgres direct TCP connection string** which you will use with Prisma Client. - Learn more in the [docs](https://www.prisma.io/docs/postgres/database/direct-connections). +To successfully run the project, you will need a **Prisma Postgres** connection string from your [Prisma Data Platform](https://pris.ly/pdp) project. - [`pnpm`](https://pnpm.io/) installed globally to manage the monorepo workspace. ## Tech Stack @@ -59,10 +54,9 @@ To successfully run the project, you will need the following: ```prisma generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] - runtime = "nodejs" + provider = "prisma-client" + output = "../src/generated/prisma" + engineType = "client" } ``` @@ -86,17 +80,13 @@ Create an `.env` file in the `packages/database` directory: cd packages/database; touch .env ``` -Now, open the `.env` file and set the `DATABASE_URL` and `DIRECT_URL` environment variables with the values of your connection string and your Prisma Postgres connection string: +Now, open the `.env` file and set the `DATABASE_URL` environment variable with your connection string: ```bash # packages/database/.env -# Prisma Postgres connection string (used for migrations) DATABASE_URL="__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__" -# Postgres connection string (used for queries by Prisma Client) -DIRECT_URL="__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__" - NEXT_PUBLIC_URL="http://localhost:3000" ``` @@ -106,20 +96,17 @@ Then, create an `.env` file in the `apps/web` directory: cd apps/web; touch .env ``` -Now, open the `.env` file and set the `DIRECT_URL` environment variable with the values of your connection string and your Prisma Postgres connection string: +Now, open the `.env` file and set the `DATABASE_URL` environment variable with your connection string: ```bash # apps/web/.env -# Postgres connection string (used for queries by Prisma Client) -DIRECT_URL="__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__" +DATABASE_URL="__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__" NEXT_PUBLIC_URL="http://localhost:3000" ``` -Note that `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres + Accelerate connection string. Notice that the Accelerate connection string has the following structure: `prisma+postgres://accelerate.prisma-data.net/?api_key=`. - -Note that `__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres direct TCP connection string. The direct connection string has the following structure: `postgres://:@:/`. +Replace `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` with your actual Prisma Postgres connection string. ### 3. Build the Prisma Client and the Next.js app diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/app/layout.tsx b/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/app/layout.tsx index 9fe90ca08d0d..bc1c85ce1c4b 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/app/layout.tsx +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/app/layout.tsx @@ -5,8 +5,8 @@ import { Inter } from 'next/font/google' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { - title: 'Accelerated Quotes', - description: 'Accelerate starter', + title: 'Quotes', + description: 'Starter', } export default function RootLayout({ diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/db.ts b/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/db.ts index 496661a29aeb..acc5c250e873 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/db.ts +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/db.ts @@ -1,5 +1,5 @@ import { getDb } from '@repo/database' import { env } from './env/server' -const prisma = getDb({ connectionString: env.DIRECT_URL }) +const prisma = getDb({ connectionString: env.DATABASE_URL }) export default prisma diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/env/server.ts b/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/env/server.ts index 7e7dff77e266..484cf7d8ba46 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/env/server.ts +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/apps/web/lib/env/server.ts @@ -3,7 +3,7 @@ import { z } from 'zod' export const env = createEnv({ server: { - DIRECT_URL: z.string().url().startsWith('postgres://'), + DATABASE_URL: z.string(), }, runtimeEnv: process.env, }) diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/package.json b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/package.json index 60bb090ea5ad..e38d9caba97e 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/package.json +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/package.json @@ -19,15 +19,15 @@ "studio": "prisma studio" }, "dependencies": { - "@prisma/adapter-pg": "6.14.0", - "@prisma/client": "6.14.0" + "@prisma/adapter-pg": "6.18.0", + "@prisma/client": "6.18.0" }, "devDependencies": { "@repo/typescript-config": "workspace:*", "@types/node": "20.19.24", "dotenv": "17.2.1", "eslint": "8.57.1", - "prisma": "6.14.0", + "prisma": "6.18.0", "rimraf": "5.0.10", "tsup": "8.5.0", "tsx": "4.20.6", diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma.config.ts b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma.config.ts index bc7f24cbaa67..4e5d8be2632f 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma.config.ts +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma.config.ts @@ -1,10 +1,14 @@ -import { defineConfig } from 'prisma/config' +import { defineConfig, env } from 'prisma/config' import 'dotenv/config' export default defineConfig({ - schema: './prisma/schema.prisma', + schema: 'prisma/schema.prisma', migrations: { - path: './prisma/migrations', + path: 'prisma/migrations', seed: 'tsx ./src/seed.ts', }, + engine: 'classic', + datasource: { + url: env('DATABASE_URL'), + }, }) diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma/schema.prisma b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma/schema.prisma index af861aa92482..9283704bf7db 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma/schema.prisma +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/prisma/schema.prisma @@ -1,14 +1,13 @@ // See: https://www.prisma.io/docs/orm/prisma-schema/overview/generators#field-reference-1 generator client { - provider = "prisma-client" - output = "../src/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] + provider = "prisma-client" + output = "../src/generated/prisma" + engineType = "client" } datasource db { - provider = "postgresql" - url = env("DATABASE_URL") - directUrl = env("DIRECT_URL") + provider = "postgresql" + url = env("DATABASE_URL") } enum QuoteKind { @@ -17,8 +16,8 @@ enum QuoteKind { } model Quotes { - id Int @id @default(autoincrement()) + id Int @id @default(autoincrement()) quote String kind QuoteKind @default(Opinion) - createdAt DateTime @default(now()) + createdAt DateTime @default(now()) } diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/src/seed.ts b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/src/seed.ts index d54352fadcbf..c1cbd08ef6eb 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/src/seed.ts +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/packages/database/src/seed.ts @@ -2,10 +2,10 @@ import { getDb } from './index' import { QuoteKind } from './enums' const main = async () => { - + console.log('Seeding database...') const prisma = getDb({ - connectionString: process.env.DIRECT_URL!, + connectionString: process.env.DATABASE_URL!, }) console.time('Seeding complete 🌱') diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/pnpm-lock.yaml b/generator-prisma-client/nextjs-starter-webpack-turborepo/pnpm-lock.yaml index d3f818a71c2a..3e76382f0c7d 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/pnpm-lock.yaml +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/pnpm-lock.yaml @@ -78,11 +78,11 @@ importers: packages/database: dependencies: '@prisma/adapter-pg': - specifier: 6.14.0 - version: 6.14.0 + specifier: 6.18.0 + version: 6.18.0 '@prisma/client': - specifier: 6.14.0 - version: 6.14.0(prisma@6.14.0)(typescript@5.5.4) + specifier: 6.18.0 + version: 6.18.0(prisma@6.18.0)(typescript@5.5.4) devDependencies: '@repo/typescript-config': specifier: workspace:* @@ -97,8 +97,8 @@ importers: specifier: 8.57.1 version: 8.57.1 prisma: - specifier: 6.14.0 - version: 6.14.0(typescript@5.5.4) + specifier: 6.18.0 + version: 6.18.0(typescript@5.5.4) rimraf: specifier: 5.0.10 version: 5.0.10 @@ -119,18 +119,6 @@ packages: engines: {node: '>=10'} dev: false - /@babel/code-frame@7.27.1: - resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.27.1 - js-tokens: 4.0.0 - picocolors: 1.1.1 - - /@babel/helper-validator-identifier@7.27.1: - resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} - engines: {node: '>=6.9.0'} - /@emnapi/core@1.4.5: resolution: {integrity: sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==} requiresBuild: true @@ -807,18 +795,18 @@ packages: requiresBuild: true optional: true - /@prisma/adapter-pg@6.14.0: - resolution: {integrity: sha512-heUCNPZ3f2Iv/JId280HCoN7NECWkYckC3K1cOKpTRRjiJv0mN0w99V91vBq7aHHTtlOVpfDPQbUMNAjMegIWg==} + /@prisma/adapter-pg@6.18.0: + resolution: {integrity: sha512-eBtBOL1z2Sh0Rc2hwa4dmwoNeFs5T69tsA62AkhBvnzNfTcr/YfLeJae/wjNmvRttYDPmdiuhqZCRPNY1+8fOA==} dependencies: - '@prisma/driver-adapter-utils': 6.14.0 + '@prisma/driver-adapter-utils': 6.18.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native dev: false - /@prisma/client@6.14.0(prisma@6.14.0)(typescript@5.5.4): - resolution: {integrity: sha512-8E/Nk3eL5g7RQIg/LUj1ICyDmhD053STjxrPxUtCRybs2s/2sOEcx9NpITuAOPn07HEpWBfhAVe1T/HYWXUPOw==} + /@prisma/client@6.18.0(prisma@6.18.0)(typescript@5.5.4): + resolution: {integrity: sha512-jnL2I9gDnPnw4A+4h5SuNn8Gc+1mL1Z79U/3I9eE2gbxJG1oSA+62ByPW4xkeDgwE0fqMzzpAZ7IHxYnLZ4iQA==} engines: {node: '>=18.18'} requiresBuild: true peerDependencies: @@ -830,53 +818,52 @@ packages: typescript: optional: true dependencies: - prisma: 6.14.0(typescript@5.5.4) + prisma: 6.18.0(typescript@5.5.4) typescript: 5.5.4 dev: false - /@prisma/config@6.14.0: - resolution: {integrity: sha512-IwC7o5KNNGhmblLs23swnfBjADkacBb7wvyDXUWLwuvUQciKJZqyecU0jw0d7JRkswrj+XTL8fdr0y2/VerKQQ==} + /@prisma/config@6.18.0: + resolution: {integrity: sha512-rgFzspCpwsE+q3OF/xkp0fI2SJ3PfNe9LLMmuSVbAZ4nN66WfBiKqJKo/hLz3ysxiPQZf8h1SMf2ilqPMeWATQ==} dependencies: c12: 3.1.0 deepmerge-ts: 7.1.5 - effect: 3.16.12 + effect: 3.18.4 empathic: 2.0.0 - read-package-up: 11.0.0 transitivePeerDependencies: - magicast - /@prisma/debug@6.14.0: - resolution: {integrity: sha512-j4Lf+y+5QIJgQD4sJWSbkOD7geKx9CakaLp/TyTy/UDu9Wo0awvWCBH/BAxTHUaCpIl9USA5VS/KJhDqKJSwug==} + /@prisma/debug@6.18.0: + resolution: {integrity: sha512-PMVPMmxPj0ps1VY75DIrT430MoOyQx9hmm174k6cmLZpcI95rAPXOQ+pp8ANQkJtNyLVDxnxVJ0QLbrm/ViBcg==} - /@prisma/driver-adapter-utils@6.14.0: - resolution: {integrity: sha512-On9vTNiJ7J/O1kVqedLtfdhhrfRYprkUOhxjlmmWEv12WNdG6v5x4PsrfZXdBtZqRZaqK1i1TigO6IdtYh8z+A==} + /@prisma/driver-adapter-utils@6.18.0: + resolution: {integrity: sha512-9wgSriEKs4j1ePxlv1/RNfJV9Gu5rzG37Neshg+DfrCcUY3amroERvTjyR04w5J1THdGdOTgGL9VdJcVaKRMmQ==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 dev: false - /@prisma/engines-version@6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49: - resolution: {integrity: sha512-EgN9ODJpiX45yvwcngoStp3uQPJ3l+AEVoQ6dMMO2QvmwIlnxfApzKmJQExzdo7/hqQANrz5txHJdGYHzOnGHA==} + /@prisma/engines-version@6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f: + resolution: {integrity: sha512-T7Af4QsJQnSgWN1zBbX+Cha5t4qjHRxoeoWpK4JugJzG/ipmmDMY5S+O0N1ET6sCBNVkf6lz+Y+ZNO9+wFU8pQ==} - /@prisma/engines@6.14.0: - resolution: {integrity: sha512-LhJjqsALFEcoAtF07nSaOkVguaxw/ZsgfROIYZ8bAZDobe7y8Wy+PkYQaPOK1iLSsFgV2MhCO/eNrI1gdSOj6w==} + /@prisma/engines@6.18.0: + resolution: {integrity: sha512-i5RzjGF/ex6AFgqEe2o1IW8iIxJGYVQJVRau13kHPYEL1Ck8Zvwuzamqed/1iIljs5C7L+Opiz5TzSsUebkriA==} requiresBuild: true dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/fetch-engine': 6.14.0 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/fetch-engine': 6.18.0 + '@prisma/get-platform': 6.18.0 - /@prisma/fetch-engine@6.14.0: - resolution: {integrity: sha512-MPzYPOKMENYOaY3AcAbaKrfvXVlvTc6iHmTXsp9RiwCX+bPyfDMqMFVUSVXPYrXnrvEzhGHfyiFy0PRLHPysNg==} + /@prisma/fetch-engine@6.18.0: + resolution: {integrity: sha512-TdaBvTtBwP3IoqVYoGIYpD4mWlk0pJpjTJjir/xLeNWlwog7Sl3bD2J0jJ8+5+q/6RBg+acb9drsv5W6lqae7A==} dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/get-platform': 6.18.0 - /@prisma/get-platform@6.14.0: - resolution: {integrity: sha512-7VjuxKNwjnBhKfqPpMeWiHEa2sVjYzmHdl1slW6STuUCe9QnOY0OY1ljGSvz6wpG4U8DfbDqkG1yofd/1GINww==} + /@prisma/get-platform@6.18.0: + resolution: {integrity: sha512-uXNJCJGhxTCXo2B25Ta91Rk1/Nmlqg9p7G9GKh8TPhxvAyXCvMNQoogj4JLEUy+3ku8g59cpyQIKFhqY2xO2bg==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 /@rollup/rollup-android-arm-eabi@4.46.4: resolution: {integrity: sha512-B2wfzCJ+ps/OBzRjeds7DlJumCU3rXMxJJS1vzURyj7+KBHGONm7c9q1TfdBl4vCuNMkDvARn3PBl2wZzuR5mw==} @@ -1108,9 +1095,6 @@ packages: undici-types: 6.21.0 dev: true - /@types/normalize-package-data@2.4.4: - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - /@types/react-dom@19.1.6(@types/react@19.1.8): resolution: {integrity: sha512-4hOiT/dwO8Ko0gV1m/TJZYk3y0KBnY9vzDh7W+DH17b2HFSOGgdj33dhihPeuy3l0q23+4e+hoXHV6hCC4dCXw==} peerDependencies: @@ -1981,8 +1965,8 @@ packages: /eastasianwidth@0.2.0: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - /effect@3.16.12: - resolution: {integrity: sha512-N39iBk0K71F9nb442TLbTkjl24FLUzuvx2i1I2RsEAQsdAdUTuUoW0vlfUXgkMTUOnYqKnWcFfqw4hK4Pw27hg==} + /effect@3.18.4: + resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==} dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 @@ -2531,10 +2515,6 @@ packages: dependencies: to-regex-range: 5.0.1 - /find-up-simple@1.0.1: - resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==} - engines: {node: '>=18'} - /find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} @@ -2770,12 +2750,6 @@ packages: dependencies: function-bind: 1.1.2 - /hosted-git-info@7.0.2: - resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - lru-cache: 10.4.3 - /ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} @@ -2799,10 +2773,6 @@ packages: engines: {node: '>=0.8.19'} dev: true - /index-to-position@1.1.0: - resolution: {integrity: sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==} - engines: {node: '>=18'} - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -3072,6 +3042,7 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: true /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} @@ -3300,14 +3271,6 @@ packages: resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} dev: true - /normalize-package-data@6.0.2: - resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - hosted-git-info: 7.0.2 - semver: 7.7.2 - validate-npm-package-license: 3.0.4 - /normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -3453,14 +3416,6 @@ packages: callsites: 3.1.0 dev: true - /parse-json@8.3.0: - resolution: {integrity: sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==} - engines: {node: '>=18'} - dependencies: - '@babel/code-frame': 7.27.1 - index-to-position: 1.1.0 - type-fest: 4.41.0 - /path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3731,8 +3686,8 @@ packages: hasBin: true dev: true - /prisma@6.14.0(typescript@5.5.4): - resolution: {integrity: sha512-QEuCwxu+Uq9BffFw7in8In+WfbSUN0ewnaSUKloLkbJd42w6EyFckux4M0f7VwwHlM3A8ssaz4OyniCXlsn0WA==} + /prisma@6.18.0(typescript@5.5.4): + resolution: {integrity: sha512-bXWy3vTk8mnRmT+SLyZBQoC2vtV9Z8u7OHvEu+aULYxwiop/CPiFZ+F56KsNRNf35jw+8wcu8pmLsjxpBxAO9g==} engines: {node: '>=18.18'} hasBin: true requiresBuild: true @@ -3742,8 +3697,8 @@ packages: typescript: optional: true dependencies: - '@prisma/config': 6.14.0 - '@prisma/engines': 6.14.0 + '@prisma/config': 6.18.0 + '@prisma/engines': 6.18.0 typescript: 5.5.4 transitivePeerDependencies: - magicast @@ -3810,24 +3765,6 @@ packages: pify: 2.3.0 dev: false - /read-package-up@11.0.0: - resolution: {integrity: sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==} - engines: {node: '>=18'} - dependencies: - find-up-simple: 1.0.1 - read-pkg: 9.0.1 - type-fest: 4.41.0 - - /read-pkg@9.0.1: - resolution: {integrity: sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==} - engines: {node: '>=18'} - dependencies: - '@types/normalize-package-data': 2.4.4 - normalize-package-data: 6.0.2 - parse-json: 8.3.0 - type-fest: 4.41.0 - unicorn-magic: 0.1.0 - /readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} @@ -4132,24 +4069,6 @@ packages: whatwg-url: 7.1.0 dev: true - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.21 - - /spdx-exceptions@2.5.0: - resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} - - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - dependencies: - spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.21 - - /spdx-license-ids@3.0.21: - resolution: {integrity: sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==} - /split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} @@ -4547,10 +4466,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} - /typed-array-buffer@1.0.3: resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} engines: {node: '>= 0.4'} @@ -4624,10 +4539,6 @@ packages: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} dev: true - /unicorn-magic@0.1.0: - resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} - engines: {node: '>=18'} - /unrs-resolver@1.11.1: resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==} requiresBuild: true @@ -4676,12 +4587,6 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - /webidl-conversions@4.0.2: resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} dev: true diff --git a/generator-prisma-client/nextjs-starter-webpack-turborepo/turbo.json b/generator-prisma-client/nextjs-starter-webpack-turborepo/turbo.json index 0974d3f7994a..449fa11d4aad 100644 --- a/generator-prisma-client/nextjs-starter-webpack-turborepo/turbo.json +++ b/generator-prisma-client/nextjs-starter-webpack-turborepo/turbo.json @@ -5,13 +5,24 @@ ], "tasks": { "build": { - "dependsOn": ["^build"], - "inputs": ["$TURBO_DEFAULT$", ".env*"], - "outputs": ["dist/**", ".next/**", "!.next/cache/**"], - "env": ["DIRECT_URL"] + "dependsOn": [ + "^build" + ], + "inputs": [ + "$TURBO_DEFAULT$", + ".env*" + ], + "outputs": [ + "dist/**", + ".next/**", + "!.next/cache/**" + ], + "env": [] }, "db:migrate:dev": { - "env": ["DATABASE_URL", "DIRECT_URL"], + "env": [ + "DATABASE_URL" + ], "inputs": [ "packages/database" ], @@ -19,21 +30,27 @@ }, "db:migrate:deploy": { "cache": false, - "env": ["DATABASE_URL", "DIRECT_URL"], + "env": [ + "DATABASE_URL" + ], "inputs": [ "packages/database" ] }, "db:push": { "cache": false, - "env": ["DATABASE_URL", "DIRECT_URL"], + "env": [ + "DATABASE_URL" + ], "inputs": [ "packages/database" ] }, "db:seed": { "cache": false, - "env": ["DATABASE_URL", "DIRECT_URL"], + "env": [ + "DATABASE_URL" + ], "inputs": [ "packages/database" ] @@ -41,13 +58,17 @@ "dev": { "cache": false, "persistent": true, - "env": ["DIRECT_URL"] + "env": [] }, "generate": { - "dependsOn": ["^generate"], - "env": ["DATABASE_URL", "DIRECT_URL"], + "dependsOn": [ + "^generate" + ], + "env": [ + "DATABASE_URL" + ], "cache": false }, "lint": {} } -} +} \ No newline at end of file diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/README.md b/generator-prisma-client/nextjs-starter-webpack-with-middleware/README.md index a5b4a4e00897..e716565724da 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/README.md +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/README.md @@ -4,12 +4,7 @@ This project showcases how to use the Prisma ORM with Prisma Postgres in an ESM ## Prerequisites -To successfully run the project, you will need the following: - -- Two **Prisma Postgres** connection strings: - - Your **Prisma Postgres + Accelerate connection string** (containing your **Prisma API key**) which you can get by enabling Postgres in a project in your [Prisma Data Platform](https://pris.ly/pdp) account. You will use this connection string to run Prisma migrations, and to run Prisma queries with Accelerate on the Vercel Edge runtime. - - Your **Prisma Postgres direct TCP connection string** which you will use with Prisma Client. - Learn more in the [docs](https://www.prisma.io/docs/postgres/database/direct-connections). +To successfully run the project, you will need a **Prisma Postgres** connection string from your [Prisma Data Platform](https://pris.ly/pdp) project. ## Tech Stack @@ -27,16 +22,15 @@ To successfully run the project, you will need the following: ```prisma generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] - runtime = "nodejs" + provider = "prisma-client" + output = "../lib/generated/prisma" + engineType = "client" } generator edge { provider = "prisma-client" - output = "../lib/generated/prisma-edge" - runtime = "edge-light" + output = "../lib/generated/prisma-edge" + runtime = "vercel" } ``` @@ -60,23 +54,17 @@ Create a `.env` in the root of the project directory: touch .env ``` -Now, open the `.env` file and set the `DATABASE_URL` environment variables with the values of your connection string and your Prisma Postgres connection string: +Now, open the `.env` file and set the `DATABASE_URL` environment variable with your connection string: ```bash # .env -# Prisma Postgres connection string (used for migrations and for Accelerate queries on the Vercel Edge runtime) DATABASE_URL="__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__" -# Postgres connection string (used for queries by Prisma Client) -DIRECT_URL="__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__" - NEXT_PUBLIC_URL="http://localhost:3000" ``` -Note that `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres + Accelerate connection string. Notice that the Accelerate connection string has the following structure: `prisma+postgres://accelerate.prisma-data.net/?api_key=`. - -Note that `__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres direct TCP connection string. The direct connection string has the following structure: `postgres://:@:/`. +Replace `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` with your actual Prisma Postgres connection string. ### 3. Generate Prisma Client diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/app/layout.tsx b/generator-prisma-client/nextjs-starter-webpack-with-middleware/app/layout.tsx index 9fe90ca08d0d..bc1c85ce1c4b 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/app/layout.tsx +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/app/layout.tsx @@ -5,8 +5,8 @@ import { Inter } from 'next/font/google' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { - title: 'Accelerated Quotes', - description: 'Accelerate starter', + title: 'Quotes', + description: 'Starter', } export default function RootLayout({ diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db-edge.ts b/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db-edge.ts index 01ca77d717f1..c06b3a528a61 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db-edge.ts +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db-edge.ts @@ -1,4 +1,3 @@ -import { withAccelerate } from '@prisma/extension-accelerate' import { PrismaClient } from './generated/prisma-edge/client' import { env } from './env/server' @@ -9,7 +8,7 @@ export type GetDbParams = { export function getDb({ connectionString }: GetDbParams) { const prisma = new PrismaClient({ datasourceUrl: connectionString, - }).$extends(withAccelerate()) + }) return prisma } diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db.ts b/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db.ts index a46343f9012a..675a2b418747 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db.ts +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/db.ts @@ -13,5 +13,5 @@ export function getDb({ connectionString }: GetDbParams) { return prisma } -const prisma = getDb({ connectionString: env.DIRECT_URL }) +const prisma = getDb({ connectionString: env.DATABASE_URL }) export default prisma diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/env/server.ts b/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/env/server.ts index baea7a5e16f9..484cf7d8ba46 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/env/server.ts +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/lib/env/server.ts @@ -3,8 +3,7 @@ import { z } from 'zod' export const env = createEnv({ server: { - DATABASE_URL: z.string().url().startsWith('prisma+postgres://'), - DIRECT_URL: z.string().url().startsWith('postgres://'), + DATABASE_URL: z.string(), }, runtimeEnv: process.env, }) diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/package.json b/generator-prisma-client/nextjs-starter-webpack-with-middleware/package.json index 3dc8936101a0..084d5070b925 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/package.json +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/package.json @@ -24,8 +24,8 @@ "lint": "next lint" }, "dependencies": { - "@prisma/adapter-pg": "6.14.0", - "@prisma/client": "6.14.0", + "@prisma/adapter-pg": "6.18.0", + "@prisma/client": "6.18.0", "@prisma/extension-accelerate": "2.0.2", "@t3-oss/env-core": "0.13.8", "next": "15.3.5", @@ -44,7 +44,7 @@ "dotenv": "17.2.1", "eslint": "8.57.1", "eslint-config-next": "15.3.5", - "prisma": "6.14.0", + "prisma": "6.18.0", "tsx": "4.20.6", "typescript": "5.8.3" }, diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/pnpm-lock.yaml b/generator-prisma-client/nextjs-starter-webpack-with-middleware/pnpm-lock.yaml index 87814b1868bb..a20cedbe6161 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/pnpm-lock.yaml +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/pnpm-lock.yaml @@ -6,14 +6,14 @@ settings: dependencies: '@prisma/adapter-pg': - specifier: 6.14.0 - version: 6.14.0 + specifier: 6.18.0 + version: 6.18.0 '@prisma/client': - specifier: 6.14.0 - version: 6.14.0(prisma@6.14.0)(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(prisma@6.18.0)(typescript@5.8.3) '@prisma/extension-accelerate': specifier: 2.0.2 - version: 2.0.2(@prisma/client@6.14.0) + version: 2.0.2(@prisma/client@6.18.0) '@t3-oss/env-core': specifier: 0.13.8 version: 0.13.8(typescript@5.8.3)(zod@3.25.76) @@ -62,8 +62,8 @@ devDependencies: specifier: 15.3.5 version: 15.3.5(eslint@8.57.1)(typescript@5.8.3) prisma: - specifier: 6.14.0 - version: 6.14.0(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(typescript@5.8.3) tsx: specifier: 4.20.6 version: 4.20.6 @@ -78,18 +78,6 @@ packages: engines: {node: '>=10'} dev: false - /@babel/code-frame@7.27.1: - resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.27.1 - js-tokens: 4.0.0 - picocolors: 1.1.1 - - /@babel/helper-validator-identifier@7.27.1: - resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} - engines: {node: '>=6.9.0'} - /@emnapi/core@1.4.5: resolution: {integrity: sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==} requiresBuild: true @@ -772,18 +760,18 @@ packages: dev: false optional: true - /@prisma/adapter-pg@6.14.0: - resolution: {integrity: sha512-heUCNPZ3f2Iv/JId280HCoN7NECWkYckC3K1cOKpTRRjiJv0mN0w99V91vBq7aHHTtlOVpfDPQbUMNAjMegIWg==} + /@prisma/adapter-pg@6.18.0: + resolution: {integrity: sha512-eBtBOL1z2Sh0Rc2hwa4dmwoNeFs5T69tsA62AkhBvnzNfTcr/YfLeJae/wjNmvRttYDPmdiuhqZCRPNY1+8fOA==} dependencies: - '@prisma/driver-adapter-utils': 6.14.0 + '@prisma/driver-adapter-utils': 6.18.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native dev: false - /@prisma/client@6.14.0(prisma@6.14.0)(typescript@5.8.3): - resolution: {integrity: sha512-8E/Nk3eL5g7RQIg/LUj1ICyDmhD053STjxrPxUtCRybs2s/2sOEcx9NpITuAOPn07HEpWBfhAVe1T/HYWXUPOw==} + /@prisma/client@6.18.0(prisma@6.18.0)(typescript@5.8.3): + resolution: {integrity: sha512-jnL2I9gDnPnw4A+4h5SuNn8Gc+1mL1Z79U/3I9eE2gbxJG1oSA+62ByPW4xkeDgwE0fqMzzpAZ7IHxYnLZ4iQA==} engines: {node: '>=18.18'} requiresBuild: true peerDependencies: @@ -795,62 +783,61 @@ packages: typescript: optional: true dependencies: - prisma: 6.14.0(typescript@5.8.3) + prisma: 6.18.0(typescript@5.8.3) typescript: 5.8.3 dev: false - /@prisma/config@6.14.0: - resolution: {integrity: sha512-IwC7o5KNNGhmblLs23swnfBjADkacBb7wvyDXUWLwuvUQciKJZqyecU0jw0d7JRkswrj+XTL8fdr0y2/VerKQQ==} + /@prisma/config@6.18.0: + resolution: {integrity: sha512-rgFzspCpwsE+q3OF/xkp0fI2SJ3PfNe9LLMmuSVbAZ4nN66WfBiKqJKo/hLz3ysxiPQZf8h1SMf2ilqPMeWATQ==} dependencies: c12: 3.1.0 deepmerge-ts: 7.1.5 - effect: 3.16.12 + effect: 3.18.4 empathic: 2.0.0 - read-package-up: 11.0.0 transitivePeerDependencies: - magicast - /@prisma/debug@6.14.0: - resolution: {integrity: sha512-j4Lf+y+5QIJgQD4sJWSbkOD7geKx9CakaLp/TyTy/UDu9Wo0awvWCBH/BAxTHUaCpIl9USA5VS/KJhDqKJSwug==} + /@prisma/debug@6.18.0: + resolution: {integrity: sha512-PMVPMmxPj0ps1VY75DIrT430MoOyQx9hmm174k6cmLZpcI95rAPXOQ+pp8ANQkJtNyLVDxnxVJ0QLbrm/ViBcg==} - /@prisma/driver-adapter-utils@6.14.0: - resolution: {integrity: sha512-On9vTNiJ7J/O1kVqedLtfdhhrfRYprkUOhxjlmmWEv12WNdG6v5x4PsrfZXdBtZqRZaqK1i1TigO6IdtYh8z+A==} + /@prisma/driver-adapter-utils@6.18.0: + resolution: {integrity: sha512-9wgSriEKs4j1ePxlv1/RNfJV9Gu5rzG37Neshg+DfrCcUY3amroERvTjyR04w5J1THdGdOTgGL9VdJcVaKRMmQ==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 dev: false - /@prisma/engines-version@6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49: - resolution: {integrity: sha512-EgN9ODJpiX45yvwcngoStp3uQPJ3l+AEVoQ6dMMO2QvmwIlnxfApzKmJQExzdo7/hqQANrz5txHJdGYHzOnGHA==} + /@prisma/engines-version@6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f: + resolution: {integrity: sha512-T7Af4QsJQnSgWN1zBbX+Cha5t4qjHRxoeoWpK4JugJzG/ipmmDMY5S+O0N1ET6sCBNVkf6lz+Y+ZNO9+wFU8pQ==} - /@prisma/engines@6.14.0: - resolution: {integrity: sha512-LhJjqsALFEcoAtF07nSaOkVguaxw/ZsgfROIYZ8bAZDobe7y8Wy+PkYQaPOK1iLSsFgV2MhCO/eNrI1gdSOj6w==} + /@prisma/engines@6.18.0: + resolution: {integrity: sha512-i5RzjGF/ex6AFgqEe2o1IW8iIxJGYVQJVRau13kHPYEL1Ck8Zvwuzamqed/1iIljs5C7L+Opiz5TzSsUebkriA==} requiresBuild: true dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/fetch-engine': 6.14.0 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/fetch-engine': 6.18.0 + '@prisma/get-platform': 6.18.0 - /@prisma/extension-accelerate@2.0.2(@prisma/client@6.14.0): + /@prisma/extension-accelerate@2.0.2(@prisma/client@6.18.0): resolution: {integrity: sha512-yZK6/k7uOEFpEsKoZezQS1CKDboPtBCQ0NyI70e1Un8tDiRgg80iWGyjsJmRpps2ZIut3MroHP+dyR3wVKh8lA==} engines: {node: '>=18'} peerDependencies: '@prisma/client': '>=4.16.1' dependencies: - '@prisma/client': 6.14.0(prisma@6.14.0)(typescript@5.8.3) + '@prisma/client': 6.18.0(prisma@6.18.0)(typescript@5.8.3) dev: false - /@prisma/fetch-engine@6.14.0: - resolution: {integrity: sha512-MPzYPOKMENYOaY3AcAbaKrfvXVlvTc6iHmTXsp9RiwCX+bPyfDMqMFVUSVXPYrXnrvEzhGHfyiFy0PRLHPysNg==} + /@prisma/fetch-engine@6.18.0: + resolution: {integrity: sha512-TdaBvTtBwP3IoqVYoGIYpD4mWlk0pJpjTJjir/xLeNWlwog7Sl3bD2J0jJ8+5+q/6RBg+acb9drsv5W6lqae7A==} dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/get-platform': 6.18.0 - /@prisma/get-platform@6.14.0: - resolution: {integrity: sha512-7VjuxKNwjnBhKfqPpMeWiHEa2sVjYzmHdl1slW6STuUCe9QnOY0OY1ljGSvz6wpG4U8DfbDqkG1yofd/1GINww==} + /@prisma/get-platform@6.18.0: + resolution: {integrity: sha512-uXNJCJGhxTCXo2B25Ta91Rk1/Nmlqg9p7G9GKh8TPhxvAyXCvMNQoogj4JLEUy+3ku8g59cpyQIKFhqY2xO2bg==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 /@rtsao/scc@1.1.0: resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -912,9 +899,6 @@ packages: undici-types: 6.21.0 dev: true - /@types/normalize-package-data@2.4.4: - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - /@types/react-dom@19.1.6(@types/react@19.1.8): resolution: {integrity: sha512-4hOiT/dwO8Ko0gV1m/TJZYk3y0KBnY9vzDh7W+DH17b2HFSOGgdj33dhihPeuy3l0q23+4e+hoXHV6hCC4dCXw==} peerDependencies: @@ -1771,8 +1755,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: false - /effect@3.16.12: - resolution: {integrity: sha512-N39iBk0K71F9nb442TLbTkjl24FLUzuvx2i1I2RsEAQsdAdUTuUoW0vlfUXgkMTUOnYqKnWcFfqw4hK4Pw27hg==} + /effect@3.18.4: + resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==} dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 @@ -2322,10 +2306,6 @@ packages: dependencies: to-regex-range: 5.0.1 - /find-up-simple@1.0.1: - resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==} - engines: {node: '>=18'} - /find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} @@ -2555,12 +2535,6 @@ packages: dependencies: function-bind: 1.1.2 - /hosted-git-info@7.0.2: - resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - lru-cache: 10.4.3 - /ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} @@ -2584,10 +2558,6 @@ packages: engines: {node: '>=0.8.19'} dev: true - /index-to-position@1.1.0: - resolution: {integrity: sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==} - engines: {node: '>=18'} - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -2854,6 +2824,7 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: true /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} @@ -2945,6 +2916,7 @@ packages: /lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + dev: false /math-intrinsics@1.1.0: resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} @@ -3062,14 +3034,6 @@ packages: resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} dev: true - /normalize-package-data@6.0.2: - resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - hosted-git-info: 7.0.2 - semver: 7.7.2 - validate-npm-package-license: 3.0.4 - /normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -3216,14 +3180,6 @@ packages: callsites: 3.1.0 dev: true - /parse-json@8.3.0: - resolution: {integrity: sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==} - engines: {node: '>=18'} - dependencies: - '@babel/code-frame': 7.27.1 - index-to-position: 1.1.0 - type-fest: 4.41.0 - /path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3460,8 +3416,8 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prisma@6.14.0(typescript@5.8.3): - resolution: {integrity: sha512-QEuCwxu+Uq9BffFw7in8In+WfbSUN0ewnaSUKloLkbJd42w6EyFckux4M0f7VwwHlM3A8ssaz4OyniCXlsn0WA==} + /prisma@6.18.0(typescript@5.8.3): + resolution: {integrity: sha512-bXWy3vTk8mnRmT+SLyZBQoC2vtV9Z8u7OHvEu+aULYxwiop/CPiFZ+F56KsNRNf35jw+8wcu8pmLsjxpBxAO9g==} engines: {node: '>=18.18'} hasBin: true requiresBuild: true @@ -3471,8 +3427,8 @@ packages: typescript: optional: true dependencies: - '@prisma/config': 6.14.0 - '@prisma/engines': 6.14.0 + '@prisma/config': 6.18.0 + '@prisma/engines': 6.18.0 typescript: 5.8.3 transitivePeerDependencies: - magicast @@ -3539,24 +3495,6 @@ packages: pify: 2.3.0 dev: false - /read-package-up@11.0.0: - resolution: {integrity: sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==} - engines: {node: '>=18'} - dependencies: - find-up-simple: 1.0.1 - read-pkg: 9.0.1 - type-fest: 4.41.0 - - /read-pkg@9.0.1: - resolution: {integrity: sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==} - engines: {node: '>=18'} - dependencies: - '@types/normalize-package-data': 2.4.4 - normalize-package-data: 6.0.2 - parse-json: 8.3.0 - type-fest: 4.41.0 - unicorn-magic: 0.1.0 - /readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} @@ -3812,24 +3750,6 @@ packages: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.21 - - /spdx-exceptions@2.5.0: - resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} - - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - dependencies: - spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.21 - - /spdx-license-ids@3.0.21: - resolution: {integrity: sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==} - /split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} @@ -4115,10 +4035,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} - /typed-array-buffer@1.0.3: resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} engines: {node: '>= 0.4'} @@ -4183,10 +4099,6 @@ packages: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} dev: true - /unicorn-magic@0.1.0: - resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} - engines: {node: '>=18'} - /unrs-resolver@1.11.1: resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==} requiresBuild: true @@ -4235,12 +4147,6 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - /which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma.config.ts b/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma.config.ts index 655255f2f772..f21b30ed4f5b 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma.config.ts +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma.config.ts @@ -1,10 +1,15 @@ -import { defineConfig } from 'prisma/config' +import { defineConfig, env } from 'prisma/config' import 'dotenv/config' export default defineConfig({ - schema: './prisma/schema.prisma', + schema: 'prisma/schema.prisma', migrations: { - path: './prisma/migrations', + path: 'prisma/migrations', seed: 'tsx ./prisma/seed.ts', }, + engine: 'classic', + datasource: { + url: env('DATABASE_URL'), + }, }) + diff --git a/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma/schema.prisma b/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma/schema.prisma index 420fce405388..3200b277ae4f 100644 --- a/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma/schema.prisma +++ b/generator-prisma-client/nextjs-starter-webpack-with-middleware/prisma/schema.prisma @@ -3,9 +3,9 @@ // See: https://www.prisma.io/docs/orm/prisma-schema/overview/generators#field-reference-1 generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] + provider = "prisma-client" + output = "../lib/generated/prisma" + engineType = "client" } generator edge { @@ -15,9 +15,8 @@ generator edge { } datasource db { - provider = "postgresql" - url = env("DATABASE_URL") - directUrl = env("DIRECT_URL") + provider = "postgresql" + url = env("DATABASE_URL") } enum QuoteKind { diff --git a/generator-prisma-client/nextjs-starter-webpack/README.md b/generator-prisma-client/nextjs-starter-webpack/README.md index c0f55cb47f26..454d0ad4401b 100644 --- a/generator-prisma-client/nextjs-starter-webpack/README.md +++ b/generator-prisma-client/nextjs-starter-webpack/README.md @@ -4,12 +4,7 @@ This project showcases how to use the Prisma ORM with Prisma Postgres in an ESM ## Prerequisites -To successfully run the project, you will need the following: - -- Two **Prisma Postgres** connection strings: - - Your **Prisma Postgres + Accelerate connection string** (containing your **Prisma API key**) which you can get by enabling Postgres in a project in your [Prisma Data Platform](https://pris.ly/pdp) account. You will use this connection string to run Prisma migrations. - - Your **Prisma Postgres direct TCP connection string** which you will use with Prisma Client. - Learn more in the [docs](https://www.prisma.io/docs/postgres/database/direct-connections). +To successfully run the project, you will need a **Prisma Postgres** connection string from your [Prisma Data Platform](https://pris.ly/pdp) project. ## Tech Stack @@ -25,10 +20,9 @@ To successfully run the project, you will need the following: ```prisma generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] - runtime = "nodejs" + provider = "prisma-client" + output = "../lib/generated/prisma" + engineType = "client" } ``` @@ -52,23 +46,17 @@ Create a `.env` in the root of the project directory: touch .env ``` -Now, open the `.env` file and set the `DATABASE_URL` environment variables with the values of your connection string and your Prisma Postgres connection string: +Now, open the `.env` file and set the `DATABASE_URL` environment variable with your connection string: ```bash # .env -# Prisma Postgres connection string (used for migrations) DATABASE_URL="__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__" -# Postgres connection string (used for queries by Prisma Client) -DIRECT_URL="__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__" - NEXT_PUBLIC_URL="http://localhost:3000" ``` -Note that `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres + Accelerate connection string. Notice that the Accelerate connection string has the following structure: `prisma+postgres://accelerate.prisma-data.net/?api_key=`. - -Note that `__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres direct TCP connection string. The direct connection string has the following structure: `postgres://:@:/`. +Replace `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` with your actual Prisma Postgres connection string. ### 3. Generate Prisma Client diff --git a/generator-prisma-client/nextjs-starter-webpack/app/layout.tsx b/generator-prisma-client/nextjs-starter-webpack/app/layout.tsx index 9fe90ca08d0d..bc1c85ce1c4b 100644 --- a/generator-prisma-client/nextjs-starter-webpack/app/layout.tsx +++ b/generator-prisma-client/nextjs-starter-webpack/app/layout.tsx @@ -5,8 +5,8 @@ import { Inter } from 'next/font/google' const inter = Inter({ subsets: ['latin'] }) export const metadata: Metadata = { - title: 'Accelerated Quotes', - description: 'Accelerate starter', + title: 'Quotes', + description: 'Starter', } export default function RootLayout({ diff --git a/generator-prisma-client/nextjs-starter-webpack/lib/db.ts b/generator-prisma-client/nextjs-starter-webpack/lib/db.ts index a46343f9012a..675a2b418747 100644 --- a/generator-prisma-client/nextjs-starter-webpack/lib/db.ts +++ b/generator-prisma-client/nextjs-starter-webpack/lib/db.ts @@ -13,5 +13,5 @@ export function getDb({ connectionString }: GetDbParams) { return prisma } -const prisma = getDb({ connectionString: env.DIRECT_URL }) +const prisma = getDb({ connectionString: env.DATABASE_URL }) export default prisma diff --git a/generator-prisma-client/nextjs-starter-webpack/lib/env/server.ts b/generator-prisma-client/nextjs-starter-webpack/lib/env/server.ts index 7e7dff77e266..484cf7d8ba46 100644 --- a/generator-prisma-client/nextjs-starter-webpack/lib/env/server.ts +++ b/generator-prisma-client/nextjs-starter-webpack/lib/env/server.ts @@ -3,7 +3,7 @@ import { z } from 'zod' export const env = createEnv({ server: { - DIRECT_URL: z.string().url().startsWith('postgres://'), + DATABASE_URL: z.string(), }, runtimeEnv: process.env, }) diff --git a/generator-prisma-client/nextjs-starter-webpack/package.json b/generator-prisma-client/nextjs-starter-webpack/package.json index 1953ecc6b129..09be568417ea 100644 --- a/generator-prisma-client/nextjs-starter-webpack/package.json +++ b/generator-prisma-client/nextjs-starter-webpack/package.json @@ -24,8 +24,8 @@ "lint": "next lint" }, "dependencies": { - "@prisma/adapter-pg": "6.14.0", - "@prisma/client": "6.14.0", + "@prisma/adapter-pg": "6.18.0", + "@prisma/client": "6.18.0", "@t3-oss/env-core": "0.13.8", "next": "15.3.5", "postcss": "8.5.6", @@ -43,7 +43,7 @@ "dotenv": "17.2.1", "eslint": "8.57.1", "eslint-config-next": "15.3.5", - "prisma": "6.14.0", + "prisma": "6.18.0", "tsx": "4.20.6", "typescript": "5.8.3" }, diff --git a/generator-prisma-client/nextjs-starter-webpack/pnpm-lock.yaml b/generator-prisma-client/nextjs-starter-webpack/pnpm-lock.yaml index 10a00cb20ce7..7dd7ca2f3545 100644 --- a/generator-prisma-client/nextjs-starter-webpack/pnpm-lock.yaml +++ b/generator-prisma-client/nextjs-starter-webpack/pnpm-lock.yaml @@ -6,11 +6,11 @@ settings: dependencies: '@prisma/adapter-pg': - specifier: 6.14.0 - version: 6.14.0 + specifier: 6.18.0 + version: 6.18.0 '@prisma/client': - specifier: 6.14.0 - version: 6.14.0(prisma@6.14.0)(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(prisma@6.18.0)(typescript@5.8.3) '@t3-oss/env-core': specifier: 0.13.8 version: 0.13.8(typescript@5.8.3)(zod@3.25.76) @@ -59,8 +59,8 @@ devDependencies: specifier: 15.3.5 version: 15.3.5(eslint@8.57.1)(typescript@5.8.3) prisma: - specifier: 6.14.0 - version: 6.14.0(typescript@5.8.3) + specifier: 6.18.0 + version: 6.18.0(typescript@5.8.3) tsx: specifier: 4.20.6 version: 4.20.6 @@ -75,18 +75,6 @@ packages: engines: {node: '>=10'} dev: false - /@babel/code-frame@7.27.1: - resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.27.1 - js-tokens: 4.0.0 - picocolors: 1.1.1 - - /@babel/helper-validator-identifier@7.27.1: - resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==} - engines: {node: '>=6.9.0'} - /@emnapi/core@1.4.5: resolution: {integrity: sha512-XsLw1dEOpkSX/WucdqUhPWP7hDxSvZiY+fsUC14h+FtQ2Ifni4znbBt8punRX+Uj2JG/uDb8nEHVKvrVlvdZ5Q==} requiresBuild: true @@ -769,18 +757,18 @@ packages: dev: false optional: true - /@prisma/adapter-pg@6.14.0: - resolution: {integrity: sha512-heUCNPZ3f2Iv/JId280HCoN7NECWkYckC3K1cOKpTRRjiJv0mN0w99V91vBq7aHHTtlOVpfDPQbUMNAjMegIWg==} + /@prisma/adapter-pg@6.18.0: + resolution: {integrity: sha512-eBtBOL1z2Sh0Rc2hwa4dmwoNeFs5T69tsA62AkhBvnzNfTcr/YfLeJae/wjNmvRttYDPmdiuhqZCRPNY1+8fOA==} dependencies: - '@prisma/driver-adapter-utils': 6.14.0 + '@prisma/driver-adapter-utils': 6.18.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native dev: false - /@prisma/client@6.14.0(prisma@6.14.0)(typescript@5.8.3): - resolution: {integrity: sha512-8E/Nk3eL5g7RQIg/LUj1ICyDmhD053STjxrPxUtCRybs2s/2sOEcx9NpITuAOPn07HEpWBfhAVe1T/HYWXUPOw==} + /@prisma/client@6.18.0(prisma@6.18.0)(typescript@5.8.3): + resolution: {integrity: sha512-jnL2I9gDnPnw4A+4h5SuNn8Gc+1mL1Z79U/3I9eE2gbxJG1oSA+62ByPW4xkeDgwE0fqMzzpAZ7IHxYnLZ4iQA==} engines: {node: '>=18.18'} requiresBuild: true peerDependencies: @@ -792,53 +780,52 @@ packages: typescript: optional: true dependencies: - prisma: 6.14.0(typescript@5.8.3) + prisma: 6.18.0(typescript@5.8.3) typescript: 5.8.3 dev: false - /@prisma/config@6.14.0: - resolution: {integrity: sha512-IwC7o5KNNGhmblLs23swnfBjADkacBb7wvyDXUWLwuvUQciKJZqyecU0jw0d7JRkswrj+XTL8fdr0y2/VerKQQ==} + /@prisma/config@6.18.0: + resolution: {integrity: sha512-rgFzspCpwsE+q3OF/xkp0fI2SJ3PfNe9LLMmuSVbAZ4nN66WfBiKqJKo/hLz3ysxiPQZf8h1SMf2ilqPMeWATQ==} dependencies: c12: 3.1.0 deepmerge-ts: 7.1.5 - effect: 3.16.12 + effect: 3.18.4 empathic: 2.0.0 - read-package-up: 11.0.0 transitivePeerDependencies: - magicast - /@prisma/debug@6.14.0: - resolution: {integrity: sha512-j4Lf+y+5QIJgQD4sJWSbkOD7geKx9CakaLp/TyTy/UDu9Wo0awvWCBH/BAxTHUaCpIl9USA5VS/KJhDqKJSwug==} + /@prisma/debug@6.18.0: + resolution: {integrity: sha512-PMVPMmxPj0ps1VY75DIrT430MoOyQx9hmm174k6cmLZpcI95rAPXOQ+pp8ANQkJtNyLVDxnxVJ0QLbrm/ViBcg==} - /@prisma/driver-adapter-utils@6.14.0: - resolution: {integrity: sha512-On9vTNiJ7J/O1kVqedLtfdhhrfRYprkUOhxjlmmWEv12WNdG6v5x4PsrfZXdBtZqRZaqK1i1TigO6IdtYh8z+A==} + /@prisma/driver-adapter-utils@6.18.0: + resolution: {integrity: sha512-9wgSriEKs4j1ePxlv1/RNfJV9Gu5rzG37Neshg+DfrCcUY3amroERvTjyR04w5J1THdGdOTgGL9VdJcVaKRMmQ==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 dev: false - /@prisma/engines-version@6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49: - resolution: {integrity: sha512-EgN9ODJpiX45yvwcngoStp3uQPJ3l+AEVoQ6dMMO2QvmwIlnxfApzKmJQExzdo7/hqQANrz5txHJdGYHzOnGHA==} + /@prisma/engines-version@6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f: + resolution: {integrity: sha512-T7Af4QsJQnSgWN1zBbX+Cha5t4qjHRxoeoWpK4JugJzG/ipmmDMY5S+O0N1ET6sCBNVkf6lz+Y+ZNO9+wFU8pQ==} - /@prisma/engines@6.14.0: - resolution: {integrity: sha512-LhJjqsALFEcoAtF07nSaOkVguaxw/ZsgfROIYZ8bAZDobe7y8Wy+PkYQaPOK1iLSsFgV2MhCO/eNrI1gdSOj6w==} + /@prisma/engines@6.18.0: + resolution: {integrity: sha512-i5RzjGF/ex6AFgqEe2o1IW8iIxJGYVQJVRau13kHPYEL1Ck8Zvwuzamqed/1iIljs5C7L+Opiz5TzSsUebkriA==} requiresBuild: true dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/fetch-engine': 6.14.0 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/fetch-engine': 6.18.0 + '@prisma/get-platform': 6.18.0 - /@prisma/fetch-engine@6.14.0: - resolution: {integrity: sha512-MPzYPOKMENYOaY3AcAbaKrfvXVlvTc6iHmTXsp9RiwCX+bPyfDMqMFVUSVXPYrXnrvEzhGHfyiFy0PRLHPysNg==} + /@prisma/fetch-engine@6.18.0: + resolution: {integrity: sha512-TdaBvTtBwP3IoqVYoGIYpD4mWlk0pJpjTJjir/xLeNWlwog7Sl3bD2J0jJ8+5+q/6RBg+acb9drsv5W6lqae7A==} dependencies: - '@prisma/debug': 6.14.0 - '@prisma/engines-version': 6.14.0-25.717184b7b35ea05dfa71a3236b7af656013e1e49 - '@prisma/get-platform': 6.14.0 + '@prisma/debug': 6.18.0 + '@prisma/engines-version': 6.18.0-8.34b5a692b7bd79939a9a2c3ef97d816e749cda2f + '@prisma/get-platform': 6.18.0 - /@prisma/get-platform@6.14.0: - resolution: {integrity: sha512-7VjuxKNwjnBhKfqPpMeWiHEa2sVjYzmHdl1slW6STuUCe9QnOY0OY1ljGSvz6wpG4U8DfbDqkG1yofd/1GINww==} + /@prisma/get-platform@6.18.0: + resolution: {integrity: sha512-uXNJCJGhxTCXo2B25Ta91Rk1/Nmlqg9p7G9GKh8TPhxvAyXCvMNQoogj4JLEUy+3ku8g59cpyQIKFhqY2xO2bg==} dependencies: - '@prisma/debug': 6.14.0 + '@prisma/debug': 6.18.0 /@rtsao/scc@1.1.0: resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -900,9 +887,6 @@ packages: undici-types: 6.21.0 dev: true - /@types/normalize-package-data@2.4.4: - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - /@types/react-dom@19.1.6(@types/react@19.1.8): resolution: {integrity: sha512-4hOiT/dwO8Ko0gV1m/TJZYk3y0KBnY9vzDh7W+DH17b2HFSOGgdj33dhihPeuy3l0q23+4e+hoXHV6hCC4dCXw==} peerDependencies: @@ -1759,8 +1743,8 @@ packages: resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} dev: false - /effect@3.16.12: - resolution: {integrity: sha512-N39iBk0K71F9nb442TLbTkjl24FLUzuvx2i1I2RsEAQsdAdUTuUoW0vlfUXgkMTUOnYqKnWcFfqw4hK4Pw27hg==} + /effect@3.18.4: + resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==} dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 @@ -2310,10 +2294,6 @@ packages: dependencies: to-regex-range: 5.0.1 - /find-up-simple@1.0.1: - resolution: {integrity: sha512-afd4O7zpqHeRyg4PfDQsXmlDe2PfdHtJt6Akt8jOWaApLOZk5JXs6VMR29lz03pRe9mpykrRCYIYxaJYcfpncQ==} - engines: {node: '>=18'} - /find-up@5.0.0: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} @@ -2543,12 +2523,6 @@ packages: dependencies: function-bind: 1.1.2 - /hosted-git-info@7.0.2: - resolution: {integrity: sha512-puUZAUKT5m8Zzvs72XWy3HtvVbTWljRE66cP60bxJzAqf2DgICo7lYTY2IHUmLnNpjYvw5bvmoHvPc0QO2a62w==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - lru-cache: 10.4.3 - /ignore@5.3.2: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} @@ -2572,10 +2546,6 @@ packages: engines: {node: '>=0.8.19'} dev: true - /index-to-position@1.1.0: - resolution: {integrity: sha512-XPdx9Dq4t9Qk1mTMbWONJqU7boCoumEH7fRET37HX5+khDUl3J2W6PdALxhILYlIYx2amlwYcRPp28p0tSiojg==} - engines: {node: '>=18'} - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -2842,6 +2812,7 @@ packages: /js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: true /js-yaml@4.1.0: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} @@ -2933,6 +2904,7 @@ packages: /lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + dev: false /math-intrinsics@1.1.0: resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} @@ -3050,14 +3022,6 @@ packages: resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} dev: true - /normalize-package-data@6.0.2: - resolution: {integrity: sha512-V6gygoYb/5EmNI+MEGrWkC+e6+Rr7mTmfHrxDbLzxQogBkgzo76rkok0Am6thgSF7Mv2nLOajAJj5vDJZEFn7g==} - engines: {node: ^16.14.0 || >=18.0.0} - dependencies: - hosted-git-info: 7.0.2 - semver: 7.7.2 - validate-npm-package-license: 3.0.4 - /normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -3204,14 +3168,6 @@ packages: callsites: 3.1.0 dev: true - /parse-json@8.3.0: - resolution: {integrity: sha512-ybiGyvspI+fAoRQbIPRddCcSTV9/LsJbf0e/S85VLowVGzRmokfneg2kwVW/KU5rOXrPSbF1qAKPMgNTqqROQQ==} - engines: {node: '>=18'} - dependencies: - '@babel/code-frame': 7.27.1 - index-to-position: 1.1.0 - type-fest: 4.41.0 - /path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -3448,8 +3404,8 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prisma@6.14.0(typescript@5.8.3): - resolution: {integrity: sha512-QEuCwxu+Uq9BffFw7in8In+WfbSUN0ewnaSUKloLkbJd42w6EyFckux4M0f7VwwHlM3A8ssaz4OyniCXlsn0WA==} + /prisma@6.18.0(typescript@5.8.3): + resolution: {integrity: sha512-bXWy3vTk8mnRmT+SLyZBQoC2vtV9Z8u7OHvEu+aULYxwiop/CPiFZ+F56KsNRNf35jw+8wcu8pmLsjxpBxAO9g==} engines: {node: '>=18.18'} hasBin: true requiresBuild: true @@ -3459,8 +3415,8 @@ packages: typescript: optional: true dependencies: - '@prisma/config': 6.14.0 - '@prisma/engines': 6.14.0 + '@prisma/config': 6.18.0 + '@prisma/engines': 6.18.0 typescript: 5.8.3 transitivePeerDependencies: - magicast @@ -3527,24 +3483,6 @@ packages: pify: 2.3.0 dev: false - /read-package-up@11.0.0: - resolution: {integrity: sha512-MbgfoNPANMdb4oRBNg5eqLbB2t2r+o5Ua1pNt8BqGp4I0FJZhuVSOj3PaBPni4azWuSzEdNn2evevzVmEk1ohQ==} - engines: {node: '>=18'} - dependencies: - find-up-simple: 1.0.1 - read-pkg: 9.0.1 - type-fest: 4.41.0 - - /read-pkg@9.0.1: - resolution: {integrity: sha512-9viLL4/n1BJUCT1NXVTdS1jtm80yDEgR5T4yCelII49Mbj0v1rZdKqj7zCiYdbB0CuCgdrvHcNogAKTFPBocFA==} - engines: {node: '>=18'} - dependencies: - '@types/normalize-package-data': 2.4.4 - normalize-package-data: 6.0.2 - parse-json: 8.3.0 - type-fest: 4.41.0 - unicorn-magic: 0.1.0 - /readdirp@3.6.0: resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} engines: {node: '>=8.10.0'} @@ -3800,24 +3738,6 @@ packages: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} - /spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.21 - - /spdx-exceptions@2.5.0: - resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} - - /spdx-expression-parse@3.0.1: - resolution: {integrity: sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==} - dependencies: - spdx-exceptions: 2.5.0 - spdx-license-ids: 3.0.21 - - /spdx-license-ids@3.0.21: - resolution: {integrity: sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==} - /split2@4.2.0: resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==} engines: {node: '>= 10.x'} @@ -4103,10 +4023,6 @@ packages: engines: {node: '>=10'} dev: true - /type-fest@4.41.0: - resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} - engines: {node: '>=16'} - /typed-array-buffer@1.0.3: resolution: {integrity: sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==} engines: {node: '>= 0.4'} @@ -4171,10 +4087,6 @@ packages: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} dev: true - /unicorn-magic@0.1.0: - resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} - engines: {node: '>=18'} - /unrs-resolver@1.11.1: resolution: {integrity: sha512-bSjt9pjaEBnNiGgc9rUiHGKv5l4/TGzDmYw3RhnkJGtLhbnnA/5qJj7x3dNDCRx/PJxu774LlH8lCOlB4hEfKg==} requiresBuild: true @@ -4223,12 +4135,6 @@ packages: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} dev: false - /validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - /which-boxed-primitive@1.1.1: resolution: {integrity: sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==} engines: {node: '>= 0.4'} diff --git a/generator-prisma-client/nextjs-starter-webpack/prisma.config.ts b/generator-prisma-client/nextjs-starter-webpack/prisma.config.ts index 655255f2f772..f21b30ed4f5b 100644 --- a/generator-prisma-client/nextjs-starter-webpack/prisma.config.ts +++ b/generator-prisma-client/nextjs-starter-webpack/prisma.config.ts @@ -1,10 +1,15 @@ -import { defineConfig } from 'prisma/config' +import { defineConfig, env } from 'prisma/config' import 'dotenv/config' export default defineConfig({ - schema: './prisma/schema.prisma', + schema: 'prisma/schema.prisma', migrations: { - path: './prisma/migrations', + path: 'prisma/migrations', seed: 'tsx ./prisma/seed.ts', }, + engine: 'classic', + datasource: { + url: env('DATABASE_URL'), + }, }) + diff --git a/generator-prisma-client/nextjs-starter-webpack/prisma/schema.prisma b/generator-prisma-client/nextjs-starter-webpack/prisma/schema.prisma index 0d0b928627c7..0abb294364cc 100644 --- a/generator-prisma-client/nextjs-starter-webpack/prisma/schema.prisma +++ b/generator-prisma-client/nextjs-starter-webpack/prisma/schema.prisma @@ -3,15 +3,14 @@ // See: https://www.prisma.io/docs/orm/prisma-schema/overview/generators#field-reference-1 generator client { - provider = "prisma-client" - output = "../lib/generated/prisma" - previewFeatures = ["driverAdapters", "queryCompiler"] + provider = "prisma-client" + output = "../lib/generated/prisma" + engineType = "client" } datasource db { - provider = "postgresql" - url = env("DATABASE_URL") - directUrl = env("DIRECT_URL") + provider = "postgresql" + url = env("DATABASE_URL") } enum QuoteKind { @@ -20,8 +19,8 @@ enum QuoteKind { } model Quotes { - id Int @id @default(autoincrement()) + id Int @id @default(autoincrement()) quote String kind QuoteKind @default(Opinion) - createdAt DateTime @default(now()) + createdAt DateTime @default(now()) }