From 68da965e5c17064aefd16ae4879e9d4217a12b0a Mon Sep 17 00:00:00 2001 From: Kingston Date: Mon, 22 Dec 2025 10:02:09 +0100 Subject: [PATCH 1/7] Move package upgrade playbook to skill --- .claude/skills/package-upgrade.md | 178 ++++++++++++++ PACKAGE-UPGRADE-PLAYBOOK.md | 369 ------------------------------ 2 files changed, 178 insertions(+), 369 deletions(-) create mode 100644 .claude/skills/package-upgrade.md delete mode 100644 PACKAGE-UPGRADE-PLAYBOOK.md diff --git a/.claude/skills/package-upgrade.md b/.claude/skills/package-upgrade.md new file mode 100644 index 000000000..96ecbbd2f --- /dev/null +++ b/.claude/skills/package-upgrade.md @@ -0,0 +1,178 @@ +--- +name: Package Upgrade +description: Systematic approach for upgrading packages in the Baseplate monorepo, ensuring consistency between monorepo dependencies and generated project code. +--- + +# Package Upgrade Skill + +Use this skill when the user asks to upgrade packages, update dependencies, or mentions upgrading specific npm packages in the Baseplate monorepo. + +## Overview + +Baseplate has a dual-location package management system: + +1. **Monorepo catalog** (`pnpm-workspace.yaml`) - Defines versions for the Baseplate development environment +2. **Generator constants** - Defines versions that get injected into generated projects + +Both locations must be kept in sync to ensure generated projects use the intended package versions. + +## Step-by-Step Process + +### 1. Identify Package Locations + +Before upgrading, identify where the package is defined: + +**Common generator constants locations:** +- `packages/react-generators/src/constants/react-packages.ts` - React, Vite, Tailwind, UI libraries +- `packages/fastify-generators/src/constants/fastify-packages.ts` - Fastify, server-side packages +- `packages/core-generators/src/constants/core-packages.ts` - Core Node.js utilities + +Search commands: +```bash +# Search for package in catalog +grep "package-name" pnpm-workspace.yaml + +# Search for package in generator constants +grep -r "package-name" packages/*/src/constants/ +``` + +### 2. Check Current and Latest Versions + +```bash +# Get latest version from npm +npm view package-name version + +# Get all available versions (helpful for major version planning) +npm view package-name versions --json +``` + +### 3. Research Breaking Changes + +Before upgrading, especially for major versions: +- Check the package's CHANGELOG.md or release notes +- Look for migration guides +- Check compatibility with other packages (peer dependencies) + +### 4. Update Package Versions + +#### 4.1 Update Monorepo Catalog + +Edit `pnpm-workspace.yaml`: +```yaml +catalog: + package-name: NEW_VERSION +``` + +#### 4.2 Update Generator Constants + +Find and update the appropriate constants file: +```typescript +export const PACKAGES = { + 'package-name': 'NEW_VERSION', +} as const; +``` + +### 5. Install and Resolve Dependencies + +```bash +# Install new versions +pnpm install + +# Resolve duplicate dependencies and conflicts +pnpm dedupe +``` + +**Note:** `pnpm dedupe` is crucial as it resolves version conflicts that can occur when upgrading packages with complex dependency trees. + +### 6. Sync Generated Projects + +Update all example projects to use the new package versions: + +```bash +# Sync all example projects +pnpm start sync-examples +``` + +This command: +- Regenerates all projects in `examples/` directory +- Updates `package.json` files with new versions +- Ensures generated code reflects any API changes + +### 7. Verification and Testing + +```bash +# Run type checking across all packages +pnpm typecheck + +# Run linting (with auto-fix) +pnpm lint:only:affected -- --fix + +# Run tests if available +pnpm test:affected + +# Build all packages to ensure compatibility +pnpm build +``` + +### 8. Create Changeset + +After successfully upgrading packages, create a changeset: + +```bash +echo "--- +'@baseplate-dev/react-generators': patch +--- + +Upgrade package-name to X.Y.Z + +- package-name: OLD_VERSION → NEW_VERSION" > .changeset/upgrade-package-name.md +``` + +**Changeset guidelines:** +- Use patch level for most package upgrades unless they introduce breaking changes +- Include affected package names in the frontmatter +- List all upgraded packages with version changes + +## Package Categories + +### Frontend Packages (React Generators) +**Location:** `packages/react-generators/src/constants/react-packages.ts` + +Common packages: `react`, `react-dom`, `vite`, `@vitejs/plugin-react`, `tailwindcss`, `@tailwindcss/vite`, `@tanstack/react-router`, `@apollo/client`, `graphql` + +### Backend Packages (Fastify Generators) +**Location:** `packages/fastify-generators/src/constants/fastify-packages.ts` + +Common packages: `fastify`, `@pothos/core`, `prisma`, `zod` + +### Core Packages (Core Generators) +**Location:** `packages/core-generators/src/constants/core-packages.ts` + +Common packages: `typescript`, `eslint`, `prettier`, `vitest` + +## Troubleshooting + +### Peer Dependency Warnings +1. Check if newer versions of the package are available +2. Look for compatibility matrices in package documentation +3. Use `pnpm dedupe` to resolve conflicts + +### Type Errors After Upgrade +1. Check the package's TypeScript definitions +2. Update imports and usage to match new API +3. Install updated `@types/*` packages if needed + +### Build Failures +1. Check package changelog for breaking configuration changes +2. Update relevant config files (vite.config.ts, etc.) +3. Look for migration guides in package documentation + +## Best Practices + +1. **Batch Related Updates** - Group related packages together (e.g., React ecosystem, Vite ecosystem) +2. **Test Major Upgrades Separately** - Create a separate branch for major version upgrades +3. **Check Example Projects** - Manually test generated example projects after upgrading +4. **Version Pinning Strategy:** + - Patch versions: Generally safe to auto-update + - Minor versions: Review changelog, usually safe + - Major versions: Always test thoroughly, may require code changes diff --git a/PACKAGE-UPGRADE-PLAYBOOK.md b/PACKAGE-UPGRADE-PLAYBOOK.md deleted file mode 100644 index 38190fabd..000000000 --- a/PACKAGE-UPGRADE-PLAYBOOK.md +++ /dev/null @@ -1,369 +0,0 @@ -# Package Upgrade Playbook for Baseplate - -This playbook provides a systematic approach for upgrading packages in the Baseplate monorepo, ensuring consistency between the monorepo dependencies and generated project code. - -## Overview - -Baseplate has a dual-location package management system: - -1. **Monorepo catalog** (`pnpm-workspace.yaml`) - Defines versions for the Baseplate development environment -2. **Generator constants** - Defines versions that get injected into generated projects - -Both locations must be kept in sync to ensure generated projects use the intended package versions. - -## Quick Reference Commands - -```bash -# 1. Find package locations -grep -r "package-name" pnpm-workspace.yaml packages/*/src/constants/ - -# 2. Check latest versions -npm view package-name version - -# 3. Update dependencies -pnpm install - -# 4. Resolve conflicts -pnpm dedupe - -# 5. Sync generated projects -pnpm start sync-examples - -# 6. Verify everything works -pnpm typecheck -``` - -## Step-by-Step Process - -### 1. Identify Package Locations - -Before upgrading, identify where the package is defined: - -```bash -# Search for package in catalog -grep "package-name" pnpm-workspace.yaml - -# Search for package in generator constants -find packages/ -name "*.ts" -exec grep -l "package-name" {} \; - -# Common generator constants locations: -# - packages/react-generators/src/constants/react-packages.ts (React ecosystem) -# - packages/fastify-generators/src/constants/fastify-packages.ts (Backend ecosystem) -# - packages/core-generators/src/constants/core-packages.ts (Core utilities) -``` - -### 2. Check Current and Latest Versions - -```bash -# Check current version in catalog -grep "package-name" pnpm-workspace.yaml - -# Check current version in generator constants -grep "package-name" packages/*/src/constants/*.ts - -# Get latest version from npm -npm view package-name version - -# Get all available versions (helpful for major version planning) -npm view package-name versions --json -``` - -### 3. Research Breaking Changes - -Before upgrading, especially for major versions: - -- Check the package's CHANGELOG.md or release notes -- Look for migration guides -- Check compatibility with other packages (peer dependencies) -- Test in a separate branch for major upgrades - -### 4. Update Package Versions - -#### 4.1 Update Monorepo Catalog - -Edit `pnpm-workspace.yaml`: - -```yaml -catalog: - package-name: NEW_VERSION # Update this line -``` - -#### 4.2 Update Generator Constants - -Find and update the appropriate constants file: - -```typescript -// Example: packages/react-generators/src/constants/react-packages.ts -export const REACT_PACKAGES = { - 'package-name': 'NEW_VERSION', // Update this line - // ... other packages -} as const; -``` - -**Common generator constants files:** - -- `packages/react-generators/src/constants/react-packages.ts` - React, Vite, Tailwind, UI libraries -- `packages/fastify-generators/src/constants/fastify-packages.ts` - Fastify, server-side packages -- `packages/core-generators/src/constants/core-packages.ts` - Core Node.js utilities - -### 5. Install and Resolve Dependencies - -```bash -# Install new versions -pnpm install - -# Resolve duplicate dependencies and conflicts -pnpm dedupe -``` - -**Note:** `pnpm dedupe` is crucial as it resolves version conflicts that can occur when upgrading packages with complex dependency trees. - -### 6. Sync Generated Projects - -Update all example projects to use the new package versions: - -```bash -# Sync all example projects -pnpm start sync-examples -``` - -This command: - -- Regenerates all projects in `examples/` directory -- Updates `package.json` files with new versions -- Ensures generated code reflects any API changes - -### 7. Verification and Testing - -```bash -# Run type checking across all packages -pnpm typecheck - -# Run linting (with auto-fix) -pnpm lint:only:affected -- --fix - -# Run tests if available -pnpm test:affected - -# Build all packages to ensure compatibility -pnpm build -``` - -### 8. Create Changeset - -After successfully upgrading packages, create a changeset to document the changes: - -```bash -# Create a new changeset file -echo "--- -'@baseplate-dev/react-generators': patch ---- - -Upgrade Vite to 7.1.5 and related packages - -- vite: 6.3.5 → 7.1.5 -- @vitejs/plugin-react: 4.4.1 → 5.0.2 -- @tailwindcss/vite: 4.1.6 → 4.1.13 -- tailwindcss: 4.1.6 → 4.1.13 -- vite-plugin-svgr: 4.3.0 → 4.5.0" > .changeset/upgrade-vite-7.md -``` - -**Changeset guidelines:** - -- Use patch level for most package upgrades unless they introduce breaking changes -- Include affected package names in the frontmatter -- List all upgraded packages with version changes -- Mention any breaking changes or migration steps required - -### 9. Handle Issues - -#### Type Errors - -- Check for breaking API changes in upgraded packages -- Update TypeScript configurations if needed -- Fix import statements or usage patterns - -#### Peer Dependency Warnings - -- Check if plugins/packages support the new versions -- Update peer dependencies if available -- Consider waiting for compatible versions - -#### Build/Runtime Errors - -- Check for breaking changes in build tools (Vite, Webpack, etc.) -- Update configuration files as needed -- Test generated projects manually - -## Package Categories and Common Upgrades - -### Frontend Packages (React Generators) - -**Location:** `packages/react-generators/src/constants/react-packages.ts` - -Common packages: - -- `react`, `react-dom` - Core React -- `vite`, `@vitejs/plugin-react` - Build tooling -- `tailwindcss`, `@tailwindcss/vite` - Styling -- `@tanstack/react-router` - Routing -- `@apollo/client`, `graphql` - GraphQL client - -### Backend Packages (Fastify Generators) - -**Location:** `packages/fastify-generators/src/constants/fastify-packages.ts` - -Common packages: - -- `fastify` - Core server -- `@pothos/core` - GraphQL schema builder -- `prisma` - Database ORM -- `zod` - Validation - -### Core Packages (Core Generators) - -**Location:** `packages/core-generators/src/constants/core-packages.ts` - -Common packages: - -- `typescript` - TypeScript compiler -- `eslint`, `prettier` - Code quality -- `vitest` - Testing framework - -## Best Practices - -### 1. Batch Related Updates - -Group related packages together (e.g., React ecosystem, Vite ecosystem) to ensure compatibility. - -### 2. Test Major Upgrades Separately - -For major version upgrades, create a separate branch and test thoroughly before merging. - -### 3. Update Documentation - -If the upgrade introduces new features or changes APIs, update relevant documentation. - -### 4. Check Example Projects - -After upgrading, manually test the generated example projects to ensure they work correctly: - -```bash -# Test a generated project -cd examples/blog-with-auth -pnpm install -pnpm dev # Check if it starts without errors -pnpm build # Check if it builds successfully -``` - -### 5. Version Pinning Strategy - -- **Patch versions**: Generally safe to auto-update -- **Minor versions**: Review changelog, usually safe -- **Major versions**: Always test thoroughly, may require code changes - -## Troubleshooting Common Issues - -### Issue: Peer Dependency Warnings - -``` -peer dep warnings about package X not compatible with Y -``` - -**Solution:** - -1. Check if newer versions of the package are available -2. Look for compatibility matrices in package documentation -3. Consider using `pnpm dedupe` to resolve conflicts -4. If no compatible version exists, consider waiting or finding alternatives - -### Issue: Type Errors After Upgrade - -``` -Property 'newFeature' does not exist on type 'OldInterface' -``` - -**Solution:** - -1. Check the package's TypeScript definitions -2. Update imports and usage to match new API -3. Install updated `@types/*` packages if needed - -### Issue: Build Failures - -``` -Build failed due to configuration changes -``` - -**Solution:** - -1. Check package changelog for breaking configuration changes -2. Update relevant config files (vite.config.ts, etc.) -3. Look for migration guides in package documentation - -## Example: Complete Vite Upgrade - -Here's the complete process we just performed for upgrading Vite from 6.3.5 to 7.1.5: - -```bash -# 1. Check current versions -grep vite pnpm-workspace.yaml -grep vite packages/react-generators/src/constants/react-packages.ts - -# 2. Get latest versions -npm view vite version # 7.1.5 -npm view @vitejs/plugin-react version # 5.0.2 -npm view @tailwindcss/vite version # 4.1.13 -npm view tailwindcss version # 4.1.13 - -# 3. Update pnpm-workspace.yaml -vite: 7.1.5 -@vitejs/plugin-react: 5.0.2 -@tailwindcss/vite: 4.1.13 -tailwindcss: 4.1.13 - -# 4. Update react-packages.ts -vite: '7.1.5', -@vitejs/plugin-react: '5.0.2', -@tailwindcss/vite: '4.1.13', -tailwindcss: '4.1.13', - -# 5. Install and resolve -pnpm install -pnpm dedupe - -# 6. Sync examples -pnpm start sync-examples - -# 7. Verify -pnpm typecheck -``` - -## Automation Opportunities - -Consider creating scripts for: - -- Checking for outdated packages across all generator constants -- Automated testing of generated projects after upgrades -- Batch updating of patch versions - -## Quick Commands Reference - -```bash -# Find all package constants files -find packages/ -name "*packages.ts" -o -name "*constants.ts" | grep -E "(packages|constants)" - -# Check for outdated packages in npm -npm outdated - -# Update all patch versions (be careful with this!) -pnpm update - -# Test a specific generated project -cd examples/blog-with-auth && pnpm install && pnpm build - -# Check which packages use a specific dependency -grep -r "package-name" packages/*/package.json -``` - -This playbook ensures consistent and reliable package upgrades across the entire Baseplate ecosystem. From 9602411a212d23f6e8034dca3dbaeac152020fdd Mon Sep 17 00:00:00 2001 From: Kingston Date: Mon, 22 Dec 2025 10:04:59 +0100 Subject: [PATCH 2/7] Move skill into the correct place --- .claude/skills/{package-upgrade.md => package-upgrade/SKILL.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .claude/skills/{package-upgrade.md => package-upgrade/SKILL.md} (100%) diff --git a/.claude/skills/package-upgrade.md b/.claude/skills/package-upgrade/SKILL.md similarity index 100% rename from .claude/skills/package-upgrade.md rename to .claude/skills/package-upgrade/SKILL.md From 2ba7393c970d7e12144f2aee72f135b0f73a0ad2 Mon Sep 17 00:00:00 2001 From: Kingston Date: Mon, 22 Dec 2025 11:09:35 +0100 Subject: [PATCH 3/7] feat: Upgrade Prisma to 7.2.0 --- .changeset/upgrade-prisma-7.md | 10 + .../backend/baseplate/generated/package.json | 8 +- .../blog-with-auth/apps/backend/package.json | 8 +- examples/blog-with-auth/pnpm-lock.yaml | 469 +++++++++++++++--- .../backend/baseplate/generated/package.json | 8 +- .../todo-with-auth0/apps/backend/package.json | 8 +- examples/todo-with-auth0/pnpm-lock.yaml | 463 ++++++++++++++--- .../src/constants/fastify-packages.ts | 8 +- 8 files changed, 810 insertions(+), 172 deletions(-) create mode 100644 .changeset/upgrade-prisma-7.md diff --git a/.changeset/upgrade-prisma-7.md b/.changeset/upgrade-prisma-7.md new file mode 100644 index 000000000..ca1efed94 --- /dev/null +++ b/.changeset/upgrade-prisma-7.md @@ -0,0 +1,10 @@ +--- +'@baseplate-dev/fastify-generators': patch +--- + +Upgrade Prisma to v7 + +- prisma: 6.17.1 → 7.2.0 +- @prisma/client: 6.17.1 → 7.2.0 +- @prisma/adapter-pg: 6.17.1 → 7.2.0 +- @pothos/plugin-prisma: 4.12.0 → 4.14.1 diff --git a/examples/blog-with-auth/apps/backend/baseplate/generated/package.json b/examples/blog-with-auth/apps/backend/baseplate/generated/package.json index ee1b79ce3..31b7c6ebb 100644 --- a/examples/blog-with-auth/apps/backend/baseplate/generated/package.json +++ b/examples/blog-with-auth/apps/backend/baseplate/generated/package.json @@ -39,14 +39,14 @@ "@fastify/request-context": "6.0.1", "@node-rs/argon2": "2.0.2", "@pothos/core": "4.10.0", - "@pothos/plugin-prisma": "4.12.0", + "@pothos/plugin-prisma": "4.14.1", "@pothos/plugin-relay": "4.6.2", "@pothos/plugin-simple-objects": "4.1.3", "@pothos/plugin-tracing": "1.1.0", "@pothos/plugin-validation": "4.2.0", "@pothos/tracing-sentry": "1.1.1", - "@prisma/adapter-pg": "6.17.1", - "@prisma/client": "6.17.1", + "@prisma/adapter-pg": "7.2.0", + "@prisma/client": "7.2.0", "@sentry/core": "9.17.0", "@sentry/node": "9.17.0", "@sentry/profiling-node": "9.17.0", @@ -80,7 +80,7 @@ "pino-pretty": "13.0.0", "prettier": "3.6.2", "prettier-plugin-packagejson": "2.5.19", - "prisma": "6.17.1", + "prisma": "7.2.0", "tsc-alias": "1.8.10", "tsx": "4.20.6", "typescript": "5.8.3", diff --git a/examples/blog-with-auth/apps/backend/package.json b/examples/blog-with-auth/apps/backend/package.json index ee1b79ce3..31b7c6ebb 100644 --- a/examples/blog-with-auth/apps/backend/package.json +++ b/examples/blog-with-auth/apps/backend/package.json @@ -39,14 +39,14 @@ "@fastify/request-context": "6.0.1", "@node-rs/argon2": "2.0.2", "@pothos/core": "4.10.0", - "@pothos/plugin-prisma": "4.12.0", + "@pothos/plugin-prisma": "4.14.1", "@pothos/plugin-relay": "4.6.2", "@pothos/plugin-simple-objects": "4.1.3", "@pothos/plugin-tracing": "1.1.0", "@pothos/plugin-validation": "4.2.0", "@pothos/tracing-sentry": "1.1.1", - "@prisma/adapter-pg": "6.17.1", - "@prisma/client": "6.17.1", + "@prisma/adapter-pg": "7.2.0", + "@prisma/client": "7.2.0", "@sentry/core": "9.17.0", "@sentry/node": "9.17.0", "@sentry/profiling-node": "9.17.0", @@ -80,7 +80,7 @@ "pino-pretty": "13.0.0", "prettier": "3.6.2", "prettier-plugin-packagejson": "2.5.19", - "prisma": "6.17.1", + "prisma": "7.2.0", "tsc-alias": "1.8.10", "tsx": "4.20.6", "typescript": "5.8.3", diff --git a/examples/blog-with-auth/pnpm-lock.yaml b/examples/blog-with-auth/pnpm-lock.yaml index 32a24ee1e..9d784b15b 100644 --- a/examples/blog-with-auth/pnpm-lock.yaml +++ b/examples/blog-with-auth/pnpm-lock.yaml @@ -211,8 +211,8 @@ importers: specifier: 4.10.0 version: 4.10.0(graphql@16.11.0) '@pothos/plugin-prisma': - specifier: 4.12.0 - version: 4.12.0(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3) + specifier: 4.14.1 + version: 4.14.1(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3) '@pothos/plugin-relay': specifier: 4.6.2 version: 4.6.2(@pothos/core@4.10.0(graphql@16.11.0))(graphql@16.11.0) @@ -229,11 +229,11 @@ importers: specifier: 1.1.1 version: 1.1.1(@pothos/core@4.10.0(graphql@16.11.0))(@pothos/plugin-tracing@1.1.0(@pothos/core@4.10.0(graphql@16.11.0))(graphql@16.11.0))(@sentry/node@9.17.0)(graphql@16.11.0) '@prisma/adapter-pg': - specifier: 6.17.1 - version: 6.17.1 + specifier: 7.2.0 + version: 7.2.0 '@prisma/client': - specifier: 6.17.1 - version: 6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3) + specifier: 7.2.0 + version: 7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3) '@sentry/core': specifier: 9.17.0 version: 9.17.0 @@ -329,8 +329,8 @@ importers: specifier: 2.5.19 version: 2.5.19(prettier@3.6.2) prisma: - specifier: 6.17.1 - version: 6.17.1(typescript@5.8.3) + specifier: 7.2.0 + version: 7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3) tsc-alias: specifier: 1.8.10 version: 1.8.10 @@ -678,9 +678,35 @@ packages: resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==} engines: {node: '>=6.9.0'} + '@chevrotain/cst-dts-gen@10.5.0': + resolution: {integrity: sha512-lhmC/FyqQ2o7pGK4Om+hzuDrm9rhFYIJ/AXoQBeongmn870Xeb0L6oGEiuR8nohFNL5sMaQEJWCxr1oIVIVXrw==} + + '@chevrotain/gast@10.5.0': + resolution: {integrity: sha512-pXdMJ9XeDAbgOWKuD1Fldz4ieCs6+nLNmyVhe2gZVqoO7v8HXuHYs5OV2EzUtbuai37TlOAQHrTDvxMnvMJz3A==} + + '@chevrotain/types@10.5.0': + resolution: {integrity: sha512-f1MAia0x/pAVPWH/T73BJVyO2XU5tI4/iE7cnxb7tqdNTNhQI3Uq3XkqcoteTmD4t1aM0LbHCJOhgIDn07kl2A==} + + '@chevrotain/utils@10.5.0': + resolution: {integrity: sha512-hBzuU5+JjB2cqNZyszkDHZgOSrUUT8V3dhgRl8Q9Gp6dAj/H5+KILGjbhDpc3Iy9qmqlm/akuOI2ut9VUtzJxQ==} + '@date-fns/tz@1.2.0': resolution: {integrity: sha512-LBrd7MiJZ9McsOgxqWX7AaxrDjcFVjWH/tIKJd7pnR7McaslGYOP1QmmiBXdJH/H/yLCT+rcQ7FaPBUxRGUtrg==} + '@electric-sql/pglite-socket@0.0.6': + resolution: {integrity: sha512-6RjmgzphIHIBA4NrMGJsjNWK4pu+bCWJlEWlwcxFTVY3WT86dFpKwbZaGWZV6C5Rd7sCk1Z0CI76QEfukLAUXw==} + hasBin: true + peerDependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite-tools@0.2.7': + resolution: {integrity: sha512-9dAccClqxx4cZB+Ar9B+FZ5WgxDc/Xvl9DPrTWv+dYTf0YNubLzi4wHHRGRGhrJv15XwnyKcGOZAP1VXSneSUg==} + peerDependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite@0.3.2': + resolution: {integrity: sha512-zfWWa+V2ViDCY/cmUfRqeWY1yLto+EpxjXnZzenB1TyxsTiXaTWeZFIZw6mac52BsuQm0RjCnisjBtdBaXOI6w==} + '@emnapi/core@1.4.3': resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==} @@ -1198,6 +1224,12 @@ packages: resolution: {integrity: sha512-ZpJxMqB+Qfe3rp6uszCQoag4nSw42icURnBRfFYSOmTgEeOe4rD0vYlbA8spvCu2TlCesNTlEN9BLWtQqLxabA==} engines: {node: '>=18.0.0'} + '@hono/node-server@1.19.6': + resolution: {integrity: sha512-Shz/KjlIeAhfiuE93NDKVdZ7HdBVLQAfdbaXEaoAVO3ic9ibRSLGIQGkcBbFyuLr+7/1D5ZCINM8B+6IvXeMtw==} + engines: {node: '>=18.14.1'} + peerDependencies: + hono: ^4 + '@hookform/resolvers@5.2.2': resolution: {integrity: sha512-A/IxlMLShx3KjV/HeTcTfaMxdwy690+L/ZADoeaTltLx+CVuzkeVIPuybK3jrRfw7YZnmdKsVVHAlEPIAEUNlA==} peerDependencies: @@ -1268,6 +1300,10 @@ packages: resolution: {integrity: sha512-9I2Zn6+NJLfaGoz9jN3lpwDgAYvfGeNYdbAIjJOqzs4Tpc+VU3Jqq4IofSUBKajiDS8k9fZIg18/z13mpk1bsA==} engines: {node: '>=8'} + '@mrleebo/prisma-ast@0.12.1': + resolution: {integrity: sha512-JwqeCQ1U3fvccttHZq7Tk0m/TMC6WcFAQZdukypW3AzlJYKYTGNVd1ANU2GuhKnv4UQuOFj3oAl0LLG/gxFN1w==} + engines: {node: '>=16'} + '@napi-rs/wasm-runtime@0.2.12': resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} @@ -1678,8 +1714,8 @@ packages: peerDependencies: graphql: ^16.10.0 - '@pothos/plugin-prisma@4.12.0': - resolution: {integrity: sha512-4q9fa5t1vj7pVKEqNlprcONjVh522+KNTEU4/1sI3NHR+dD4uW9XUFlVsXlC9AaAjo6KGgMO6pGFuCMivG1zCQ==} + '@pothos/plugin-prisma@4.14.1': + resolution: {integrity: sha512-uTRg056ybaX/3KDuiemgv1wAAkKlq1hk2df/EW3ieyBVQYrmqRNKfsIuDP8IHrlXtV2UzpJWsUinc18wUMG/gg==} hasBin: true peerDependencies: '@pothos/core': '*' @@ -1719,56 +1755,78 @@ packages: '@sentry/node': '*' graphql: '>=16.6.0' - '@prisma/adapter-pg@6.17.1': - resolution: {integrity: sha512-iy5aL2HHzW2sAGspgeUGXgM+JDiXm31R4iONSnAWdpFSc/SWgsR+z8muS0HAZnzclAUwqXrWFJh4RbneCM2ktA==} + '@prisma/adapter-pg@7.2.0': + resolution: {integrity: sha512-euIdQ13cRB2wZ3jPsnDnFhINquo1PYFPCg6yVL8b2rp3EdinQHsX9EDdCtRr489D5uhphcRk463OdQAFlsCr0w==} - '@prisma/client@6.17.1': - resolution: {integrity: sha512-zL58jbLzYamjnNnmNA51IOZdbk5ci03KviXCuB0Tydc9btH2kDWsi1pQm2VecviRTM7jGia0OPPkgpGnT3nKvw==} - engines: {node: '>=18.18'} + '@prisma/client-runtime-utils@7.2.0': + resolution: {integrity: sha512-dn7oB53v0tqkB0wBdMuTNFNPdEbfICEUe82Tn9FoKAhJCUkDH+fmyEp0ClciGh+9Hp2Tuu2K52kth2MTLstvmA==} + + '@prisma/client@7.2.0': + resolution: {integrity: sha512-JdLF8lWZ+LjKGKpBqyAlenxd/kXjd1Abf/xK+6vUA7R7L2Suo6AFTHFRpPSdAKCan9wzdFApsUpSa/F6+t1AtA==} + engines: {node: ^20.19 || ^22.12 || >=24.0} peerDependencies: prisma: '*' - typescript: '>=5.1.0' + typescript: '>=5.4.0' peerDependenciesMeta: prisma: optional: true typescript: optional: true - '@prisma/config@6.17.1': - resolution: {integrity: sha512-fs8wY6DsvOCzuiyWVckrVs1LOcbY4LZNz8ki4uUIQ28jCCzojTGqdLhN2Jl5lDnC1yI8/gNIKpsWDM8pLhOdwA==} + '@prisma/config@7.2.0': + resolution: {integrity: sha512-qmvSnfQ6l/srBW1S7RZGfjTQhc44Yl3ldvU6y3pgmuLM+83SBDs6UQVgMtQuMRe9J3gGqB0RF8wER6RlXEr6jQ==} + + '@prisma/debug@6.8.2': + resolution: {integrity: sha512-4muBSSUwJJ9BYth5N8tqts8JtiLT8QI/RSAzEogwEfpbYGFo9mYsInsVo8dqXdPO2+Rm5OG5q0qWDDE3nyUbVg==} - '@prisma/debug@6.17.1': - resolution: {integrity: sha512-Vf7Tt5Wh9XcndpbmeotuqOMLWPTjEKCsgojxXP2oxE1/xYe7PtnP76hsouG9vis6fctX+TxgmwxTuYi/+xc7dQ==} + '@prisma/debug@7.2.0': + resolution: {integrity: sha512-YSGTiSlBAVJPzX4ONZmMotL+ozJwQjRmZweQNIq/ER0tQJKJynNkRB3kyvt37eOfsbMCXk3gnLF6J9OJ4QWftw==} - '@prisma/dmmf@6.17.1': - resolution: {integrity: sha512-ILf+sYTvoZRJIn1KjW8ZBn9N3fK+4ZxreJT0EXuLxbZWbXuz7Eums0/PEscS8+fzktg1zbxZvjHVFMppqfFz3g==} + '@prisma/dev@0.17.0': + resolution: {integrity: sha512-6sGebe5jxX+FEsQTpjHLzvOGPn6ypFQprcs3jcuIWv1Xp/5v6P/rjfdvAwTkP2iF6pDx2tCd8vGLNWcsWzImTA==} - '@prisma/driver-adapter-utils@6.17.1': - resolution: {integrity: sha512-GT4QbVUyJa5sXj5vjrBPnZ68v1P/FoKBCSIkrFrCPrOi6OSzk+567XDZyBtWIECKxruuMTa7fU4wwNmtMQylrg==} + '@prisma/dmmf@7.2.0': + resolution: {integrity: sha512-w+hAFGH34+Ed+y7AhK3FL6ExwPu5Ym2uyadqlTEn8yyXereHRD8qO9tQfgTIJuUqF0G2JZXBVrNuqvRVVvSZdg==} - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': - resolution: {integrity: sha512-17140E3huOuD9lMdJ9+SF/juOf3WR3sTJMVyyenzqUPbuH+89nPhSWcrY+Mf7tmSs6HvaO+7S+HkELinn6bhdg==} + '@prisma/driver-adapter-utils@7.2.0': + resolution: {integrity: sha512-gzrUcbI9VmHS24Uf+0+7DNzdIw7keglJsD5m/MHxQOU68OhGVzlphQRobLiDMn8CHNA2XN8uugwKjudVtnfMVQ==} - '@prisma/engines@6.17.1': - resolution: {integrity: sha512-D95Ik3GYZkqZ8lSR4EyFOJ/tR33FcYRP8kK61o+WMsyD10UfJwd7+YielflHfKwiGodcqKqoraWw8ElAgMDbPw==} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': + resolution: {integrity: sha512-KezsjCZDsbjNR7SzIiVlUsn9PnLePI7r5uxABlwL+xoerurZTfgQVbIjvjF2sVr3Uc0ZcsnREw3F84HvbggGdA==} - '@prisma/fetch-engine@6.17.1': - resolution: {integrity: sha512-AYZiHOs184qkDMiTeshyJCtyL4yERkjfTkJiSJdYuSfc24m94lTNL5+GFinZ6vVz+ktX4NJzHKn1zIFzGTWrWg==} + '@prisma/engines@7.2.0': + resolution: {integrity: sha512-HUeOI/SvCDsHrR9QZn24cxxZcujOjcS3w1oW/XVhnSATAli5SRMOfp/WkG3TtT5rCxDA4xOnlJkW7xkho4nURA==} - '@prisma/generator-helper@6.17.1': - resolution: {integrity: sha512-ONuUTGXCTUK9K//ronFg4xOEARv+tZKOo5uVSJg6tj2y90gpXQunPYyvR17gEoAQrZT17kC0ie60ecv8nulWyQ==} + '@prisma/fetch-engine@7.2.0': + resolution: {integrity: sha512-Z5XZztJ8Ap+wovpjPD2lQKnB8nWFGNouCrglaNFjxIWAGWz0oeHXwUJRiclIoSSXN/ptcs9/behptSk8d0Yy6w==} - '@prisma/generator@6.17.1': - resolution: {integrity: sha512-R4SIlAtMHlxwXYYHiyWtN+MLRGFF3Jy+LvqcfInbCiaZkoqyhU5kj8/aOu2OV2ydNkkN+Q8ft9Tnv5a/b4pqPg==} + '@prisma/generator-helper@7.2.0': + resolution: {integrity: sha512-PTz/2mrLlj6ITgvEeubEe+CoSt5GsyFI+3xqnBS27h2r4fYFA6i1TLKjIq8m82GZERN9J/Awwdjw90hdAQSOHg==} - '@prisma/get-platform@6.17.1': - resolution: {integrity: sha512-AKEn6fsfz0r482S5KRDFlIGEaq9wLNcgalD1adL+fPcFFblIKs1sD81kY/utrHdqKuVC6E1XSRpegDK3ZLL4Qg==} + '@prisma/generator@7.2.0': + resolution: {integrity: sha512-EucIFLF/aGmXB2qrjPhjGnL2E0urFuYg1o1+DzFLecoJzZtpRD+nJQt9ZbxKSU6a7PjX3KROOzAEPb3ItaAATA==} + + '@prisma/get-platform@6.8.2': + resolution: {integrity: sha512-vXSxyUgX3vm1Q70QwzwkjeYfRryIvKno1SXbIqwSptKwqKzskINnDUcx85oX+ys6ooN2ATGSD0xN2UTfg6Zcow==} + + '@prisma/get-platform@7.2.0': + resolution: {integrity: sha512-k1V0l0Td1732EHpAfi2eySTezyllok9dXb6UQanajkJQzPUGi3vO2z7jdkz67SypFTdmbnyGYxvEvYZdZsMAVA==} '@prisma/instrumentation@6.7.0': resolution: {integrity: sha512-3NuxWlbzYNevgPZbV0ktA2z6r0bfh0g22ONTxcK09a6+6MdIPjHsYx1Hnyu4yOq+j7LmupO5J69hhuOnuvj8oQ==} peerDependencies: '@opentelemetry/api': ^1.8 + '@prisma/query-plan-executor@6.18.0': + resolution: {integrity: sha512-jZ8cfzFgL0jReE1R10gT8JLHtQxjWYLiQ//wHmVYZ2rVkFHoh0DT8IXsxcKcFlfKN7ak7k6j0XMNn2xVNyr5cA==} + + '@prisma/studio-core@0.9.0': + resolution: {integrity: sha512-xA2zoR/ADu/NCSQuriBKTh6Ps4XjU0bErkEcgMfnSGh346K1VI7iWKnoq1l2DoxUqiddPHIEWwtxJ6xCHG6W7g==} + peerDependencies: + '@types/react': ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + '@radix-ui/number@1.1.1': resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==} @@ -3341,6 +3399,10 @@ packages: avvio@9.1.0: resolution: {integrity: sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==} + aws-ssl-profiles@1.1.2: + resolution: {integrity: sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==} + engines: {node: '>= 6.0.0'} + axe-core@4.10.2: resolution: {integrity: sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==} engines: {node: '>=4'} @@ -3467,6 +3529,9 @@ packages: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} + chevrotain@10.5.0: + resolution: {integrity: sha512-Pkv5rBY3+CsHOYfV5g/Vs5JY9WTHHDEKOlohI2XeygaZhUeqhAlldZ8Hz9cRmxu709bvS08YzxHdTPHhffc13A==} + chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} @@ -3697,6 +3762,10 @@ packages: defu@6.1.4: resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} + denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + depd@2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} @@ -3762,8 +3831,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==} electron-to-chromium@1.5.192: resolution: {integrity: sha512-rP8Ez0w7UNw/9j5eSXCe10o1g/8B1P5SM90PCCMVkIRQn2R0LEHWz4Eh9RnxkniuDe1W0cTSOB3MLlkTGDcuCg==} @@ -4123,6 +4192,9 @@ packages: functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + generate-function@2.3.1: + resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} + gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} @@ -4139,6 +4211,9 @@ packages: resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==} engines: {node: '>=6'} + get-port-please@3.1.2: + resolution: {integrity: sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==} + get-proto@1.0.1: resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} engines: {node: '>= 0.4'} @@ -4204,6 +4279,9 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + grammex@3.1.12: + resolution: {integrity: sha512-6ufJOsSA7LcQehIJNCO7HIBykfM7DXQual0Ny780/DEcJIpBlHRvcqEBWGPYd7hrXL2GJ3oJI1MIhaXjWmLQOQ==} + graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} @@ -4289,6 +4367,10 @@ packages: hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} + hono@4.10.6: + resolution: {integrity: sha512-BIdolzGpDO9MQ4nu3AUuDwHZZ+KViNm+EZ75Ae55eMXMqLVhDFqEMXxtUe9Qh8hjL+pIna/frs2j6Y2yD5Ua/g==} + engines: {node: '>=16.9.0'} + http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} @@ -4297,6 +4379,9 @@ packages: resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} + http-status-codes@2.3.0: + resolution: {integrity: sha512-RJ8XvFvpPM/Dmc5SV+dC4y5PCeOhT3x1Hq0NU3rjGeg5a/CqlhZ7uudknPwZFz4aeAXDcbAyaeP7GAo9lvngtA==} + https-proxy-agent@7.0.6: resolution: {integrity: sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==} engines: {node: '>= 14'} @@ -4305,6 +4390,10 @@ packages: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} + iconv-lite@0.7.1: + resolution: {integrity: sha512-2Tth85cXwGFHfvRgZWszZSvdo+0Xsqmw8k8ZwxScfcBneNUraK+dxRxRm24nszx80Y0TVio8kKLt5sLE7ZCLlw==} + engines: {node: '>=0.10.0'} + ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -4465,6 +4554,9 @@ packages: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} + is-property@1.0.2: + resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} + is-regex@1.2.1: resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} engines: {node: '>= 0.4'} @@ -4694,6 +4786,10 @@ packages: resolution: {integrity: sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==} engines: {node: '>= 12.0.0'} + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -4735,6 +4831,9 @@ packages: resolution: {integrity: sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg==} engines: {node: '>= 0.6.0'} + long@5.3.2: + resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==} + loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -4758,6 +4857,10 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lru.min@1.1.3: + resolution: {integrity: sha512-Lkk/vx6ak3rYkRR0Nhu4lFUT2VDnQSxBe8Hbl7f36358p6ow8Bnvr8lrLt98H8J1aGxfhbX4Fs5tYg2+FTwr5Q==} + engines: {bun: '>=1.0.0', deno: '>=1.30.0', node: '>=8.0.0'} + luxon@3.7.1: resolution: {integrity: sha512-RkRWjA926cTvz5rAb1BqyWkKbbjzCGchDUIKMCUvNi17j6f6j8uHGDV82Aqcqtzd+icoYpELmG3ksgGiFNNcNg==} engines: {node: '>=12'} @@ -4847,6 +4950,14 @@ packages: resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==} engines: {node: '>=12.0.0'} + mysql2@3.15.3: + resolution: {integrity: sha512-FBrGau0IXmuqg4haEZRBfHNWB5mUARw6hNwPDXXGg0XzVJ50mr/9hb267lvpVMnhZ1FON3qNd4Xfcez1rbFwSg==} + engines: {node: '>= 8.0'} + + named-placeholders@1.1.6: + resolution: {integrity: sha512-Tz09sEL2EEuv5fFowm419c1+a/jSMiBjI9gHxVLrVdbUkkNUUfjsVYs9pVZu5oCon/kmRh9TfLEObFtkVxmY0w==} + engines: {node: '>=8.0.0'} + nanoid@3.3.11: resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -5164,6 +5275,10 @@ packages: resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} engines: {node: '>=0.10.0'} + postgres@3.4.7: + resolution: {integrity: sha512-Jtc2612XINuBjIl/QTWsV5UvE8UHuNblcO3vVADSrKsrc6RqGX6lOW1cEo3CM2v0XG4Nat8nI+YM7/f26VxXLw==} + engines: {node: '>=12'} + prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} @@ -5242,13 +5357,16 @@ packages: engines: {node: '>=14'} hasBin: true - prisma@6.17.1: - resolution: {integrity: sha512-ac6h0sM1Tg3zu8NInY+qhP/S9KhENVaw9n1BrGKQVFu05JT5yT5Qqqmb8tMRIE3ZXvVj4xcRA5yfrsy4X7Yy5g==} - engines: {node: '>=18.18'} + prisma@7.2.0: + resolution: {integrity: sha512-jSdHWgWOgFF24+nRyyNRVBIgGDQEsMEF8KPHvhBBg3jWyR9fUAK0Nq9ThUmiGlNgq2FA7vSk/ZoCvefod+a8qg==} + engines: {node: ^20.19 || ^22.12 || >=24.0} hasBin: true peerDependencies: - typescript: '>=5.1.0' + better-sqlite3: '>=9.0.0' + typescript: '>=5.4.0' peerDependenciesMeta: + better-sqlite3: + optional: true typescript: optional: true @@ -5264,6 +5382,9 @@ packages: prop-types@15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} + proper-lockfile@4.1.2: + resolution: {integrity: sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==} + pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} @@ -5392,6 +5513,9 @@ packages: resolution: {integrity: sha512-B5dj6usc5dkk8uFliwjwDHM8To5/QwdKz9JcBZ8Ic4G1f0YmeeJTtE/ZTdgRFPAfxZFiUaPhZ1Jcs4qeagItGQ==} engines: {node: '>= 0.4'} + regexp-to-ast@0.5.0: + resolution: {integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==} + regexp-tree@0.1.27: resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} hasBin: true @@ -5418,6 +5542,9 @@ packages: relay-runtime@12.0.0: resolution: {integrity: sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==} + remeda@2.21.3: + resolution: {integrity: sha512-XXrZdLA10oEOQhLLzEJEiFFSKi21REGAkHdImIb4rt/XXy8ORGXh5HCcpUOsElfPNDb+X6TA/+wkh+p2KffYmg==} + remedial@1.0.8: resolution: {integrity: sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==} @@ -5475,6 +5602,10 @@ packages: resolution: {integrity: sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==} engines: {node: '>=10'} + retry@0.12.0: + resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} + engines: {node: '>= 4'} + reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -5542,6 +5673,9 @@ packages: sentence-case@3.0.4: resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} + seq-queue@0.0.5: + resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==} + serialize-error@8.1.0: resolution: {integrity: sha512-3NnuWfM6vBYoy5gZFvHiYsVbafvI9vZv/+jlIigFn4oP4zjNPK3LhcY0xSCgeb1a5L8jO71Mit9LlNoi2UfDDQ==} engines: {node: '>=10'} @@ -5671,6 +5805,10 @@ packages: sponge-case@1.0.1: resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} + sqlstring@2.3.3: + resolution: {integrity: sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==} + engines: {node: '>= 0.6'} + stable-hash-x@0.2.0: resolution: {integrity: sha512-o3yWv49B/o4QZk5ZcsALc6t0+eCelPc44zZsLtCQnZPDwFpDYSWcDnrv2TtMmMbQ7uKo3J0HTURCqckw23czNQ==} engines: {node: '>=12.0.0'} @@ -5927,6 +6065,10 @@ packages: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} + typed-array-buffer@1.0.2: resolution: {integrity: sha512-gEymJYKZtKXzzBzM4jqa9w6Q1Jjm7x2d+sh19AdsD4wqnMPDYyvwpsIc2Q/835kHuo3BEQ7CjelGhfTsoBb2MQ==} engines: {node: '>= 0.4'} @@ -6032,6 +6174,14 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + valibot@1.2.0: + resolution: {integrity: sha512-mm1rxUsmOxzrwnX5arGS+U4T25RdvpPjPN4yR0u9pUBov9+zGVtO84tif1eY4r6zWxVxu3KzIyknJy3rxfRZZg==} + peerDependencies: + typescript: '>=5' + peerDependenciesMeta: + typescript: + optional: true + value-or-promise@1.0.12: resolution: {integrity: sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==} engines: {node: '>=12'} @@ -6252,6 +6402,9 @@ packages: zen-observable@0.8.15: resolution: {integrity: sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==} + zeptomatch@2.0.2: + resolution: {integrity: sha512-H33jtSKf8Ijtb5BW6wua3G5DhnFjbFML36eFu+VdOoVY4HD9e7ggjqdM6639B+L87rjnR6Y+XeRzBXZdy52B/g==} + zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} @@ -6689,8 +6842,33 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 + '@chevrotain/cst-dts-gen@10.5.0': + dependencies: + '@chevrotain/gast': 10.5.0 + '@chevrotain/types': 10.5.0 + lodash: 4.17.21 + + '@chevrotain/gast@10.5.0': + dependencies: + '@chevrotain/types': 10.5.0 + lodash: 4.17.21 + + '@chevrotain/types@10.5.0': {} + + '@chevrotain/utils@10.5.0': {} + '@date-fns/tz@1.2.0': {} + '@electric-sql/pglite-socket@0.0.6(@electric-sql/pglite@0.3.2)': + dependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite-tools@0.2.7(@electric-sql/pglite@0.3.2)': + dependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite@0.3.2': {} + '@emnapi/core@1.4.3': dependencies: '@emnapi/wasi-threads': 1.0.2 @@ -7384,6 +7562,10 @@ snapshots: '@repeaterjs/repeater': 3.0.6 tslib: 2.8.1 + '@hono/node-server@1.19.6(hono@4.10.6)': + dependencies: + hono: 4.10.6 + '@hookform/resolvers@5.2.2(react-hook-form@7.60.0(react@19.1.0))': dependencies: '@standard-schema/utils': 0.3.0 @@ -7449,6 +7631,11 @@ snapshots: '@lukeed/ms@2.0.2': {} + '@mrleebo/prisma-ast@0.12.1': + dependencies: + chevrotain: 10.5.0 + lilconfig: 2.1.0 + '@napi-rs/wasm-runtime@0.2.12': dependencies: '@emnapi/core': 1.4.3 @@ -7859,11 +8046,11 @@ snapshots: dependencies: graphql: 16.11.0 - '@pothos/plugin-prisma@4.12.0(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': + '@pothos/plugin-prisma@4.14.1(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': dependencies: '@pothos/core': 4.10.0(graphql@16.11.0) - '@prisma/client': 6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3) - '@prisma/generator-helper': 6.17.1 + '@prisma/client': 7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3) + '@prisma/generator-helper': 7.2.0 graphql: 16.11.0 typescript: 5.8.3 @@ -7894,62 +8081,94 @@ snapshots: '@sentry/node': 9.17.0 graphql: 16.11.0 - '@prisma/adapter-pg@6.17.1': + '@prisma/adapter-pg@7.2.0': dependencies: - '@prisma/driver-adapter-utils': 6.17.1 + '@prisma/driver-adapter-utils': 7.2.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native - '@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3)': + '@prisma/client-runtime-utils@7.2.0': {} + + '@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3)': + dependencies: + '@prisma/client-runtime-utils': 7.2.0 optionalDependencies: - prisma: 6.17.1(typescript@5.8.3) + prisma: 7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3) typescript: 5.8.3 - '@prisma/config@6.17.1': + '@prisma/config@7.2.0': 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.17.1': {} + '@prisma/debug@6.8.2': {} + + '@prisma/debug@7.2.0': {} + + '@prisma/dev@0.17.0(typescript@5.8.3)': + dependencies: + '@electric-sql/pglite': 0.3.2 + '@electric-sql/pglite-socket': 0.0.6(@electric-sql/pglite@0.3.2) + '@electric-sql/pglite-tools': 0.2.7(@electric-sql/pglite@0.3.2) + '@hono/node-server': 1.19.6(hono@4.10.6) + '@mrleebo/prisma-ast': 0.12.1 + '@prisma/get-platform': 6.8.2 + '@prisma/query-plan-executor': 6.18.0 + foreground-child: 3.3.1 + get-port-please: 3.1.2 + hono: 4.10.6 + http-status-codes: 2.3.0 + pathe: 2.0.3 + proper-lockfile: 4.1.2 + remeda: 2.21.3 + std-env: 3.9.0 + valibot: 1.2.0(typescript@5.8.3) + zeptomatch: 2.0.2 + transitivePeerDependencies: + - typescript - '@prisma/dmmf@6.17.1': {} + '@prisma/dmmf@7.2.0': {} - '@prisma/driver-adapter-utils@6.17.1': + '@prisma/driver-adapter-utils@7.2.0': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 7.2.0 - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': {} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': {} - '@prisma/engines@6.17.1': + '@prisma/engines@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/fetch-engine': 6.17.1 - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/fetch-engine': 7.2.0 + '@prisma/get-platform': 7.2.0 - '@prisma/fetch-engine@6.17.1': + '@prisma/fetch-engine@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/get-platform': 7.2.0 - '@prisma/generator-helper@6.17.1': + '@prisma/generator-helper@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/dmmf': 6.17.1 - '@prisma/generator': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/dmmf': 7.2.0 + '@prisma/generator': 7.2.0 - '@prisma/generator@6.17.1': {} + '@prisma/generator@7.2.0': {} + + '@prisma/get-platform@6.8.2': + dependencies: + '@prisma/debug': 6.8.2 - '@prisma/get-platform@6.17.1': + '@prisma/get-platform@7.2.0': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 7.2.0 '@prisma/instrumentation@6.7.0(@opentelemetry/api@1.9.0)': dependencies: @@ -7958,6 +8177,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@prisma/query-plan-executor@6.18.0': {} + + '@prisma/studio-core@0.9.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + dependencies: + '@types/react': 19.1.3 + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + '@radix-ui/number@1.1.1': {} '@radix-ui/primitive@1.1.2': {} @@ -9611,6 +9838,8 @@ snapshots: '@fastify/error': 4.0.0 fastq: 1.17.1 + aws-ssl-profiles@1.1.2: {} + axe-core@4.10.2: {} axobject-query@4.1.0: {} @@ -9802,6 +10031,15 @@ snapshots: check-error@2.1.1: {} + chevrotain@10.5.0: + dependencies: + '@chevrotain/cst-dts-gen': 10.5.0 + '@chevrotain/gast': 10.5.0 + '@chevrotain/types': 10.5.0 + '@chevrotain/utils': 10.5.0 + lodash: 4.17.21 + regexp-to-ast: 0.5.0 + chokidar@3.6.0: dependencies: anymatch: 3.1.3 @@ -10019,6 +10257,8 @@ snapshots: defu@6.1.4: {} + denque@2.1.0: {} + depd@2.0.0: {} dependency-graph@0.11.0: {} @@ -10064,7 +10304,7 @@ snapshots: eastasianwidth@0.2.0: {} - effect@3.16.12: + effect@3.18.4: dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 @@ -10599,6 +10839,10 @@ snapshots: functions-have-names@1.2.3: {} + generate-function@2.3.1: + dependencies: + is-property: 1.0.2 + gensync@1.0.0-beta.2: {} get-caller-file@2.0.5: {} @@ -10618,6 +10862,8 @@ snapshots: get-nonce@1.0.1: {} + get-port-please@3.1.2: {} + get-proto@1.0.1: dependencies: dunder-proto: 1.0.1 @@ -10696,6 +10942,8 @@ snapshots: graceful-fs@4.2.11: {} + grammex@3.1.12: {} + graphemer@1.4.0: {} graphql-config@5.1.3(@types/node@22.13.11)(graphql@16.11.0)(typescript@5.8.3): @@ -10795,6 +11043,8 @@ snapshots: dependencies: react-is: 16.13.1 + hono@4.10.6: {} + http-errors@2.0.0: dependencies: depd: 2.0.0 @@ -10810,6 +11060,8 @@ snapshots: transitivePeerDependencies: - supports-color + http-status-codes@2.3.0: {} + https-proxy-agent@7.0.6: dependencies: agent-base: 7.1.3 @@ -10821,6 +11073,10 @@ snapshots: dependencies: safer-buffer: 2.1.2 + iconv-lite@0.7.1: + dependencies: + safer-buffer: 2.1.2 + ieee754@1.2.1: {} ignore@5.3.2: {} @@ -10980,6 +11236,8 @@ snapshots: is-plain-obj@4.1.0: {} + is-property@1.0.2: {} + is-regex@1.2.1: dependencies: call-bound: 1.0.4 @@ -11172,6 +11430,8 @@ snapshots: lightningcss-win32-arm64-msvc: 1.30.1 lightningcss-win32-x64-msvc: 1.30.1 + lilconfig@2.1.0: {} + lines-and-columns@1.2.4: {} listr2@4.0.5(enquirer@2.3.6): @@ -11215,6 +11475,8 @@ snapshots: loglevel@1.9.1: {} + long@5.3.2: {} + loose-envify@1.4.0: dependencies: js-tokens: 4.0.0 @@ -11237,6 +11499,8 @@ snapshots: dependencies: yallist: 3.1.1 + lru.min@1.1.3: {} + luxon@3.7.1: {} magic-string@0.30.19: @@ -11298,6 +11562,22 @@ snapshots: mylas@2.1.13: {} + mysql2@3.15.3: + dependencies: + aws-ssl-profiles: 1.1.2 + denque: 2.1.0 + generate-function: 2.3.1 + iconv-lite: 0.7.1 + long: 5.3.2 + lru.min: 1.1.3 + named-placeholders: 1.1.6 + seq-queue: 0.0.5 + sqlstring: 2.3.3 + + named-placeholders@1.1.6: + dependencies: + lru.min: 1.1.3 + nanoid@3.3.11: {} nanoid@5.1.6: {} @@ -11635,6 +11915,8 @@ snapshots: dependencies: xtend: 4.0.2 + postgres@3.4.7: {} + prelude-ls@1.2.1: {} prettier-plugin-packagejson@2.5.19(prettier@3.6.2): @@ -11650,14 +11932,21 @@ snapshots: prettier@3.6.2: {} - prisma@6.17.1(typescript@5.8.3): + prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3): dependencies: - '@prisma/config': 6.17.1 - '@prisma/engines': 6.17.1 + '@prisma/config': 7.2.0 + '@prisma/dev': 0.17.0(typescript@5.8.3) + '@prisma/engines': 7.2.0 + '@prisma/studio-core': 0.9.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + mysql2: 3.15.3 + postgres: 3.4.7 optionalDependencies: typescript: 5.8.3 transitivePeerDependencies: + - '@types/react' - magicast + - react + - react-dom process-warning@4.0.0: {} @@ -11673,6 +11962,12 @@ snapshots: object-assign: 4.1.1 react-is: 16.13.1 + proper-lockfile@4.1.2: + dependencies: + graceful-fs: 4.2.11 + retry: 0.12.0 + signal-exit: 3.0.7 + pump@3.0.0: dependencies: end-of-stream: 1.4.4 @@ -11847,6 +12142,8 @@ snapshots: gopd: 1.2.0 which-builtin-type: 1.2.1 + regexp-to-ast@0.5.0: {} + regexp-tree@0.1.27: {} regexp.prototype.flags@1.5.3: @@ -11873,6 +12170,10 @@ snapshots: transitivePeerDependencies: - encoding + remeda@2.21.3: + dependencies: + type-fest: 4.41.0 + remedial@1.0.8: {} remove-trailing-separator@1.1.0: {} @@ -11925,6 +12226,8 @@ snapshots: ret@0.5.0: {} + retry@0.12.0: {} + reusify@1.0.4: {} rfdc@1.4.1: {} @@ -12008,6 +12311,8 @@ snapshots: tslib: 2.8.1 upper-case-first: 2.0.2 + seq-queue@0.0.5: {} + serialize-error@8.1.0: dependencies: type-fest: 0.20.2 @@ -12140,6 +12445,8 @@ snapshots: dependencies: tslib: 2.8.1 + sqlstring@2.3.3: {} + stable-hash-x@0.2.0: {} stackback@0.0.2: {} @@ -12383,6 +12690,8 @@ snapshots: type-fest@0.21.3: {} + type-fest@4.41.0: {} + typed-array-buffer@1.0.2: dependencies: call-bind: 1.0.8 @@ -12521,6 +12830,10 @@ snapshots: util-deprecate@1.0.2: {} + valibot@1.2.0(typescript@5.8.3): + optionalDependencies: + typescript: 5.8.3 + value-or-promise@1.0.12: {} vite-node@3.2.4(@types/node@22.13.11)(jiti@2.5.1)(lightningcss@1.30.1)(tsx@4.20.6)(yaml@2.8.1): @@ -12769,6 +13082,10 @@ snapshots: zen-observable@0.8.15: {} + zeptomatch@2.0.2: + dependencies: + grammex: 3.1.12 + zod@3.25.76: {} zod@4.1.13: {} diff --git a/examples/todo-with-auth0/apps/backend/baseplate/generated/package.json b/examples/todo-with-auth0/apps/backend/baseplate/generated/package.json index f38f17449..f49edceb6 100644 --- a/examples/todo-with-auth0/apps/backend/baseplate/generated/package.json +++ b/examples/todo-with-auth0/apps/backend/baseplate/generated/package.json @@ -44,14 +44,14 @@ "@fastify/helmet": "13.0.0", "@fastify/request-context": "6.0.1", "@pothos/core": "4.10.0", - "@pothos/plugin-prisma": "4.12.0", + "@pothos/plugin-prisma": "4.14.1", "@pothos/plugin-relay": "4.6.2", "@pothos/plugin-simple-objects": "4.1.3", "@pothos/plugin-tracing": "1.1.0", "@pothos/plugin-validation": "4.2.0", "@pothos/tracing-sentry": "1.1.1", - "@prisma/adapter-pg": "6.17.1", - "@prisma/client": "6.17.1", + "@prisma/adapter-pg": "7.2.0", + "@prisma/client": "7.2.0", "@sentry/core": "9.17.0", "@sentry/node": "9.17.0", "@sentry/profiling-node": "9.17.0", @@ -98,7 +98,7 @@ "pino-pretty": "13.0.0", "prettier": "3.6.2", "prettier-plugin-packagejson": "2.5.19", - "prisma": "6.17.1", + "prisma": "7.2.0", "tsc-alias": "1.8.10", "tsx": "4.20.6", "typescript": "5.8.3", diff --git a/examples/todo-with-auth0/apps/backend/package.json b/examples/todo-with-auth0/apps/backend/package.json index 614d78c8f..adcd9ccbe 100644 --- a/examples/todo-with-auth0/apps/backend/package.json +++ b/examples/todo-with-auth0/apps/backend/package.json @@ -44,14 +44,14 @@ "@fastify/helmet": "13.0.0", "@fastify/request-context": "6.0.1", "@pothos/core": "4.10.0", - "@pothos/plugin-prisma": "4.12.0", + "@pothos/plugin-prisma": "4.14.1", "@pothos/plugin-relay": "4.6.2", "@pothos/plugin-simple-objects": "4.1.3", "@pothos/plugin-tracing": "1.1.0", "@pothos/plugin-validation": "4.2.0", "@pothos/tracing-sentry": "1.1.1", - "@prisma/adapter-pg": "6.17.1", - "@prisma/client": "6.17.1", + "@prisma/adapter-pg": "7.2.0", + "@prisma/client": "7.2.0", "@sentry/core": "9.17.0", "@sentry/node": "9.17.0", "@sentry/profiling-node": "9.17.0", @@ -98,7 +98,7 @@ "pino-pretty": "13.0.0", "prettier": "3.6.2", "prettier-plugin-packagejson": "2.5.19", - "prisma": "6.17.1", + "prisma": "7.2.0", "sentry-testkit": "^6.2.2", "tsc-alias": "1.8.10", "tsx": "4.20.6", diff --git a/examples/todo-with-auth0/pnpm-lock.yaml b/examples/todo-with-auth0/pnpm-lock.yaml index e93457841..e35741308 100644 --- a/examples/todo-with-auth0/pnpm-lock.yaml +++ b/examples/todo-with-auth0/pnpm-lock.yaml @@ -241,8 +241,8 @@ importers: specifier: 4.10.0 version: 4.10.0(graphql@16.11.0) '@pothos/plugin-prisma': - specifier: 4.12.0 - version: 4.12.0(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3) + specifier: 4.14.1 + version: 4.14.1(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3) '@pothos/plugin-relay': specifier: 4.6.2 version: 4.6.2(@pothos/core@4.10.0(graphql@16.11.0))(graphql@16.11.0) @@ -259,11 +259,11 @@ importers: specifier: 1.1.1 version: 1.1.1(@pothos/core@4.10.0(graphql@16.11.0))(@pothos/plugin-tracing@1.1.0(@pothos/core@4.10.0(graphql@16.11.0))(graphql@16.11.0))(@sentry/node@9.17.0)(graphql@16.11.0) '@prisma/adapter-pg': - specifier: 6.17.1 - version: 6.17.1 + specifier: 7.2.0 + version: 7.2.0 '@prisma/client': - specifier: 6.17.1 - version: 6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3) + specifier: 7.2.0 + version: 7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3) '@sentry/core': specifier: 9.17.0 version: 9.17.0 @@ -398,8 +398,8 @@ importers: specifier: 2.5.19 version: 2.5.19(prettier@3.6.2) prisma: - specifier: 6.17.1 - version: 6.17.1(typescript@5.8.3) + specifier: 7.2.0 + version: 7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3) sentry-testkit: specifier: ^6.2.2 version: 6.2.2 @@ -1124,9 +1124,35 @@ packages: '@bull-board/ui@6.5.3': resolution: {integrity: sha512-h2A7HX6Mb1+/sMTYueK5zBgOCPiPyu9ENHUapPiPdrl58xm+J9vHA/TYxzv9vgJ9DckWczXg1JP11P9SmC1oxQ==} + '@chevrotain/cst-dts-gen@10.5.0': + resolution: {integrity: sha512-lhmC/FyqQ2o7pGK4Om+hzuDrm9rhFYIJ/AXoQBeongmn870Xeb0L6oGEiuR8nohFNL5sMaQEJWCxr1oIVIVXrw==} + + '@chevrotain/gast@10.5.0': + resolution: {integrity: sha512-pXdMJ9XeDAbgOWKuD1Fldz4ieCs6+nLNmyVhe2gZVqoO7v8HXuHYs5OV2EzUtbuai37TlOAQHrTDvxMnvMJz3A==} + + '@chevrotain/types@10.5.0': + resolution: {integrity: sha512-f1MAia0x/pAVPWH/T73BJVyO2XU5tI4/iE7cnxb7tqdNTNhQI3Uq3XkqcoteTmD4t1aM0LbHCJOhgIDn07kl2A==} + + '@chevrotain/utils@10.5.0': + resolution: {integrity: sha512-hBzuU5+JjB2cqNZyszkDHZgOSrUUT8V3dhgRl8Q9Gp6dAj/H5+KILGjbhDpc3Iy9qmqlm/akuOI2ut9VUtzJxQ==} + '@date-fns/tz@1.2.0': resolution: {integrity: sha512-LBrd7MiJZ9McsOgxqWX7AaxrDjcFVjWH/tIKJd7pnR7McaslGYOP1QmmiBXdJH/H/yLCT+rcQ7FaPBUxRGUtrg==} + '@electric-sql/pglite-socket@0.0.6': + resolution: {integrity: sha512-6RjmgzphIHIBA4NrMGJsjNWK4pu+bCWJlEWlwcxFTVY3WT86dFpKwbZaGWZV6C5Rd7sCk1Z0CI76QEfukLAUXw==} + hasBin: true + peerDependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite-tools@0.2.7': + resolution: {integrity: sha512-9dAccClqxx4cZB+Ar9B+FZ5WgxDc/Xvl9DPrTWv+dYTf0YNubLzi4wHHRGRGhrJv15XwnyKcGOZAP1VXSneSUg==} + peerDependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite@0.3.2': + resolution: {integrity: sha512-zfWWa+V2ViDCY/cmUfRqeWY1yLto+EpxjXnZzenB1TyxsTiXaTWeZFIZw6mac52BsuQm0RjCnisjBtdBaXOI6w==} + '@emnapi/core@1.4.3': resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==} @@ -1649,6 +1675,12 @@ packages: resolution: {integrity: sha512-ZpJxMqB+Qfe3rp6uszCQoag4nSw42icURnBRfFYSOmTgEeOe4rD0vYlbA8spvCu2TlCesNTlEN9BLWtQqLxabA==} engines: {node: '>=18.0.0'} + '@hono/node-server@1.19.6': + resolution: {integrity: sha512-Shz/KjlIeAhfiuE93NDKVdZ7HdBVLQAfdbaXEaoAVO3ic9ibRSLGIQGkcBbFyuLr+7/1D5ZCINM8B+6IvXeMtw==} + engines: {node: '>=18.14.1'} + peerDependencies: + hono: ^4 + '@hookform/resolvers@5.2.2': resolution: {integrity: sha512-A/IxlMLShx3KjV/HeTcTfaMxdwy690+L/ZADoeaTltLx+CVuzkeVIPuybK3jrRfw7YZnmdKsVVHAlEPIAEUNlA==} peerDependencies: @@ -1728,6 +1760,10 @@ packages: resolution: {integrity: sha512-9I2Zn6+NJLfaGoz9jN3lpwDgAYvfGeNYdbAIjJOqzs4Tpc+VU3Jqq4IofSUBKajiDS8k9fZIg18/z13mpk1bsA==} engines: {node: '>=8'} + '@mrleebo/prisma-ast@0.12.1': + resolution: {integrity: sha512-JwqeCQ1U3fvccttHZq7Tk0m/TMC6WcFAQZdukypW3AzlJYKYTGNVd1ANU2GuhKnv4UQuOFj3oAl0LLG/gxFN1w==} + engines: {node: '>=16'} + '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.2': resolution: {integrity: sha512-9bfjwDxIDWmmOKusUcqdS4Rw+SETlp9Dy39Xui9BEGEk19dDwH0jhipwFzEff/pFg95NKymc6TOTbRKcWeRqyQ==} cpu: [arm64] @@ -2077,8 +2113,8 @@ packages: peerDependencies: graphql: ^16.10.0 - '@pothos/plugin-prisma@4.12.0': - resolution: {integrity: sha512-4q9fa5t1vj7pVKEqNlprcONjVh522+KNTEU4/1sI3NHR+dD4uW9XUFlVsXlC9AaAjo6KGgMO6pGFuCMivG1zCQ==} + '@pothos/plugin-prisma@4.14.1': + resolution: {integrity: sha512-uTRg056ybaX/3KDuiemgv1wAAkKlq1hk2df/EW3ieyBVQYrmqRNKfsIuDP8IHrlXtV2UzpJWsUinc18wUMG/gg==} hasBin: true peerDependencies: '@pothos/core': '*' @@ -2118,56 +2154,78 @@ packages: '@sentry/node': '*' graphql: '>=16.6.0' - '@prisma/adapter-pg@6.17.1': - resolution: {integrity: sha512-iy5aL2HHzW2sAGspgeUGXgM+JDiXm31R4iONSnAWdpFSc/SWgsR+z8muS0HAZnzclAUwqXrWFJh4RbneCM2ktA==} + '@prisma/adapter-pg@7.2.0': + resolution: {integrity: sha512-euIdQ13cRB2wZ3jPsnDnFhINquo1PYFPCg6yVL8b2rp3EdinQHsX9EDdCtRr489D5uhphcRk463OdQAFlsCr0w==} - '@prisma/client@6.17.1': - resolution: {integrity: sha512-zL58jbLzYamjnNnmNA51IOZdbk5ci03KviXCuB0Tydc9btH2kDWsi1pQm2VecviRTM7jGia0OPPkgpGnT3nKvw==} - engines: {node: '>=18.18'} + '@prisma/client-runtime-utils@7.2.0': + resolution: {integrity: sha512-dn7oB53v0tqkB0wBdMuTNFNPdEbfICEUe82Tn9FoKAhJCUkDH+fmyEp0ClciGh+9Hp2Tuu2K52kth2MTLstvmA==} + + '@prisma/client@7.2.0': + resolution: {integrity: sha512-JdLF8lWZ+LjKGKpBqyAlenxd/kXjd1Abf/xK+6vUA7R7L2Suo6AFTHFRpPSdAKCan9wzdFApsUpSa/F6+t1AtA==} + engines: {node: ^20.19 || ^22.12 || >=24.0} peerDependencies: prisma: '*' - typescript: '>=5.1.0' + typescript: '>=5.4.0' peerDependenciesMeta: prisma: optional: true typescript: optional: true - '@prisma/config@6.17.1': - resolution: {integrity: sha512-fs8wY6DsvOCzuiyWVckrVs1LOcbY4LZNz8ki4uUIQ28jCCzojTGqdLhN2Jl5lDnC1yI8/gNIKpsWDM8pLhOdwA==} + '@prisma/config@7.2.0': + resolution: {integrity: sha512-qmvSnfQ6l/srBW1S7RZGfjTQhc44Yl3ldvU6y3pgmuLM+83SBDs6UQVgMtQuMRe9J3gGqB0RF8wER6RlXEr6jQ==} + + '@prisma/debug@6.8.2': + resolution: {integrity: sha512-4muBSSUwJJ9BYth5N8tqts8JtiLT8QI/RSAzEogwEfpbYGFo9mYsInsVo8dqXdPO2+Rm5OG5q0qWDDE3nyUbVg==} - '@prisma/debug@6.17.1': - resolution: {integrity: sha512-Vf7Tt5Wh9XcndpbmeotuqOMLWPTjEKCsgojxXP2oxE1/xYe7PtnP76hsouG9vis6fctX+TxgmwxTuYi/+xc7dQ==} + '@prisma/debug@7.2.0': + resolution: {integrity: sha512-YSGTiSlBAVJPzX4ONZmMotL+ozJwQjRmZweQNIq/ER0tQJKJynNkRB3kyvt37eOfsbMCXk3gnLF6J9OJ4QWftw==} - '@prisma/dmmf@6.17.1': - resolution: {integrity: sha512-ILf+sYTvoZRJIn1KjW8ZBn9N3fK+4ZxreJT0EXuLxbZWbXuz7Eums0/PEscS8+fzktg1zbxZvjHVFMppqfFz3g==} + '@prisma/dev@0.17.0': + resolution: {integrity: sha512-6sGebe5jxX+FEsQTpjHLzvOGPn6ypFQprcs3jcuIWv1Xp/5v6P/rjfdvAwTkP2iF6pDx2tCd8vGLNWcsWzImTA==} - '@prisma/driver-adapter-utils@6.17.1': - resolution: {integrity: sha512-GT4QbVUyJa5sXj5vjrBPnZ68v1P/FoKBCSIkrFrCPrOi6OSzk+567XDZyBtWIECKxruuMTa7fU4wwNmtMQylrg==} + '@prisma/dmmf@7.2.0': + resolution: {integrity: sha512-w+hAFGH34+Ed+y7AhK3FL6ExwPu5Ym2uyadqlTEn8yyXereHRD8qO9tQfgTIJuUqF0G2JZXBVrNuqvRVVvSZdg==} - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': - resolution: {integrity: sha512-17140E3huOuD9lMdJ9+SF/juOf3WR3sTJMVyyenzqUPbuH+89nPhSWcrY+Mf7tmSs6HvaO+7S+HkELinn6bhdg==} + '@prisma/driver-adapter-utils@7.2.0': + resolution: {integrity: sha512-gzrUcbI9VmHS24Uf+0+7DNzdIw7keglJsD5m/MHxQOU68OhGVzlphQRobLiDMn8CHNA2XN8uugwKjudVtnfMVQ==} - '@prisma/engines@6.17.1': - resolution: {integrity: sha512-D95Ik3GYZkqZ8lSR4EyFOJ/tR33FcYRP8kK61o+WMsyD10UfJwd7+YielflHfKwiGodcqKqoraWw8ElAgMDbPw==} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': + resolution: {integrity: sha512-KezsjCZDsbjNR7SzIiVlUsn9PnLePI7r5uxABlwL+xoerurZTfgQVbIjvjF2sVr3Uc0ZcsnREw3F84HvbggGdA==} - '@prisma/fetch-engine@6.17.1': - resolution: {integrity: sha512-AYZiHOs184qkDMiTeshyJCtyL4yERkjfTkJiSJdYuSfc24m94lTNL5+GFinZ6vVz+ktX4NJzHKn1zIFzGTWrWg==} + '@prisma/engines@7.2.0': + resolution: {integrity: sha512-HUeOI/SvCDsHrR9QZn24cxxZcujOjcS3w1oW/XVhnSATAli5SRMOfp/WkG3TtT5rCxDA4xOnlJkW7xkho4nURA==} - '@prisma/generator-helper@6.17.1': - resolution: {integrity: sha512-ONuUTGXCTUK9K//ronFg4xOEARv+tZKOo5uVSJg6tj2y90gpXQunPYyvR17gEoAQrZT17kC0ie60ecv8nulWyQ==} + '@prisma/fetch-engine@7.2.0': + resolution: {integrity: sha512-Z5XZztJ8Ap+wovpjPD2lQKnB8nWFGNouCrglaNFjxIWAGWz0oeHXwUJRiclIoSSXN/ptcs9/behptSk8d0Yy6w==} - '@prisma/generator@6.17.1': - resolution: {integrity: sha512-R4SIlAtMHlxwXYYHiyWtN+MLRGFF3Jy+LvqcfInbCiaZkoqyhU5kj8/aOu2OV2ydNkkN+Q8ft9Tnv5a/b4pqPg==} + '@prisma/generator-helper@7.2.0': + resolution: {integrity: sha512-PTz/2mrLlj6ITgvEeubEe+CoSt5GsyFI+3xqnBS27h2r4fYFA6i1TLKjIq8m82GZERN9J/Awwdjw90hdAQSOHg==} - '@prisma/get-platform@6.17.1': - resolution: {integrity: sha512-AKEn6fsfz0r482S5KRDFlIGEaq9wLNcgalD1adL+fPcFFblIKs1sD81kY/utrHdqKuVC6E1XSRpegDK3ZLL4Qg==} + '@prisma/generator@7.2.0': + resolution: {integrity: sha512-EucIFLF/aGmXB2qrjPhjGnL2E0urFuYg1o1+DzFLecoJzZtpRD+nJQt9ZbxKSU6a7PjX3KROOzAEPb3ItaAATA==} + + '@prisma/get-platform@6.8.2': + resolution: {integrity: sha512-vXSxyUgX3vm1Q70QwzwkjeYfRryIvKno1SXbIqwSptKwqKzskINnDUcx85oX+ys6ooN2ATGSD0xN2UTfg6Zcow==} + + '@prisma/get-platform@7.2.0': + resolution: {integrity: sha512-k1V0l0Td1732EHpAfi2eySTezyllok9dXb6UQanajkJQzPUGi3vO2z7jdkz67SypFTdmbnyGYxvEvYZdZsMAVA==} '@prisma/instrumentation@6.7.0': resolution: {integrity: sha512-3NuxWlbzYNevgPZbV0ktA2z6r0bfh0g22ONTxcK09a6+6MdIPjHsYx1Hnyu4yOq+j7LmupO5J69hhuOnuvj8oQ==} peerDependencies: '@opentelemetry/api': ^1.8 + '@prisma/query-plan-executor@6.18.0': + resolution: {integrity: sha512-jZ8cfzFgL0jReE1R10gT8JLHtQxjWYLiQ//wHmVYZ2rVkFHoh0DT8IXsxcKcFlfKN7ak7k6j0XMNn2xVNyr5cA==} + + '@prisma/studio-core@0.9.0': + resolution: {integrity: sha512-xA2zoR/ADu/NCSQuriBKTh6Ps4XjU0bErkEcgMfnSGh346K1VI7iWKnoq1l2DoxUqiddPHIEWwtxJ6xCHG6W7g==} + peerDependencies: + '@types/react': ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + '@radix-ui/number@1.1.1': resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==} @@ -4000,6 +4058,10 @@ packages: avvio@9.1.0: resolution: {integrity: sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==} + aws-ssl-profiles@1.1.2: + resolution: {integrity: sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==} + engines: {node: '>= 6.0.0'} + axe-core@4.10.3: resolution: {integrity: sha512-Xm7bpRXnDSX2YE2YFfBk2FnF0ep6tmG7xPh8iHee8MIcrgq762Nkce856dYtJYLkuIoYZvGfTs/PbZhideTcEg==} engines: {node: '>=4'} @@ -4153,6 +4215,9 @@ packages: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} + chevrotain@10.5.0: + resolution: {integrity: sha512-Pkv5rBY3+CsHOYfV5g/Vs5JY9WTHHDEKOlohI2XeygaZhUeqhAlldZ8Hz9cRmxu709bvS08YzxHdTPHhffc13A==} + chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} @@ -4497,8 +4562,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - effect@3.16.12: - resolution: {integrity: sha512-N39iBk0K71F9nb442TLbTkjl24FLUzuvx2i1I2RsEAQsdAdUTuUoW0vlfUXgkMTUOnYqKnWcFfqw4hK4Pw27hg==} + effect@3.18.4: + resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==} ejs@3.1.10: resolution: {integrity: sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==} @@ -4954,6 +5019,9 @@ packages: functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + generate-function@2.3.1: + resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} + gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} @@ -4970,6 +5038,9 @@ packages: resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==} engines: {node: '>=6'} + get-port-please@3.1.2: + resolution: {integrity: sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==} + get-proto@1.0.1: resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} engines: {node: '>= 0.4'} @@ -5040,6 +5111,9 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + grammex@3.1.12: + resolution: {integrity: sha512-6ufJOsSA7LcQehIJNCO7HIBykfM7DXQual0Ny780/DEcJIpBlHRvcqEBWGPYd7hrXL2GJ3oJI1MIhaXjWmLQOQ==} + graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} @@ -5125,6 +5199,10 @@ packages: hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} + hono@4.10.6: + resolution: {integrity: sha512-BIdolzGpDO9MQ4nu3AUuDwHZZ+KViNm+EZ75Ae55eMXMqLVhDFqEMXxtUe9Qh8hjL+pIna/frs2j6Y2yD5Ua/g==} + engines: {node: '>=16.9.0'} + http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} @@ -5133,6 +5211,9 @@ packages: resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} + http-status-codes@2.3.0: + resolution: {integrity: sha512-RJ8XvFvpPM/Dmc5SV+dC4y5PCeOhT3x1Hq0NU3rjGeg5a/CqlhZ7uudknPwZFz4aeAXDcbAyaeP7GAo9lvngtA==} + https-proxy-agent@7.0.5: resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} engines: {node: '>= 14'} @@ -5145,6 +5226,10 @@ packages: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} + iconv-lite@0.7.1: + resolution: {integrity: sha512-2Tth85cXwGFHfvRgZWszZSvdo+0Xsqmw8k8ZwxScfcBneNUraK+dxRxRm24nszx80Y0TVio8kKLt5sLE7ZCLlw==} + engines: {node: '>=0.10.0'} + ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -5313,6 +5398,9 @@ packages: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} + is-property@1.0.2: + resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} + is-regex@1.2.1: resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} engines: {node: '>= 0.4'} @@ -5550,6 +5638,10 @@ packages: resolution: {integrity: sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==} engines: {node: '>= 12.0.0'} + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -5597,6 +5689,9 @@ packages: resolution: {integrity: sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg==} engines: {node: '>= 0.6.0'} + long@5.3.2: + resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==} + loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -5621,6 +5716,10 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lru.min@1.1.3: + resolution: {integrity: sha512-Lkk/vx6ak3rYkRR0Nhu4lFUT2VDnQSxBe8Hbl7f36358p6ow8Bnvr8lrLt98H8J1aGxfhbX4Fs5tYg2+FTwr5Q==} + engines: {bun: '>=1.0.0', deno: '>=1.30.0', node: '>=8.0.0'} + luxon@3.4.4: resolution: {integrity: sha512-zobTr7akeGHnv7eBOXcRgMeCP6+uyYsczwmeRCauvpvaAltgNyTbLH/+VaEAPUeWBT+1GuNmz4wC/6jtQzbbVA==} engines: {node: '>=12'} @@ -5750,6 +5849,14 @@ packages: resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==} engines: {node: '>=12.0.0'} + mysql2@3.15.3: + resolution: {integrity: sha512-FBrGau0IXmuqg4haEZRBfHNWB5mUARw6hNwPDXXGg0XzVJ50mr/9hb267lvpVMnhZ1FON3qNd4Xfcez1rbFwSg==} + engines: {node: '>= 8.0'} + + named-placeholders@1.1.6: + resolution: {integrity: sha512-Tz09sEL2EEuv5fFowm419c1+a/jSMiBjI9gHxVLrVdbUkkNUUfjsVYs9pVZu5oCon/kmRh9TfLEObFtkVxmY0w==} + engines: {node: '>=8.0.0'} + nanoid@3.3.11: resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -6098,6 +6205,10 @@ packages: resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} engines: {node: '>=0.10.0'} + postgres@3.4.7: + resolution: {integrity: sha512-Jtc2612XINuBjIl/QTWsV5UvE8UHuNblcO3vVADSrKsrc6RqGX6lOW1cEo3CM2v0XG4Nat8nI+YM7/f26VxXLw==} + engines: {node: '>=12'} + postmark@4.0.2: resolution: {integrity: sha512-2zlCv+KVVQ0KoamXZHE7d+gXzLlr8tPE+PxQmtUaIZhbHzZAq4D6yH2b+ykhA8wYCc5ISodcx8U1aNLenXBs9g==} @@ -6179,13 +6290,16 @@ packages: engines: {node: '>=14'} hasBin: true - prisma@6.17.1: - resolution: {integrity: sha512-ac6h0sM1Tg3zu8NInY+qhP/S9KhENVaw9n1BrGKQVFu05JT5yT5Qqqmb8tMRIE3ZXvVj4xcRA5yfrsy4X7Yy5g==} - engines: {node: '>=18.18'} + prisma@7.2.0: + resolution: {integrity: sha512-jSdHWgWOgFF24+nRyyNRVBIgGDQEsMEF8KPHvhBBg3jWyR9fUAK0Nq9ThUmiGlNgq2FA7vSk/ZoCvefod+a8qg==} + engines: {node: ^20.19 || ^22.12 || >=24.0} hasBin: true peerDependencies: - typescript: '>=5.1.0' + better-sqlite3: '>=9.0.0' + typescript: '>=5.4.0' peerDependenciesMeta: + better-sqlite3: + optional: true typescript: optional: true @@ -6201,6 +6315,9 @@ packages: prop-types@15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} + proper-lockfile@4.1.2: + resolution: {integrity: sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==} + proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} @@ -6384,6 +6501,9 @@ packages: regenerator-runtime@0.14.0: resolution: {integrity: sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA==} + regexp-to-ast@0.5.0: + resolution: {integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==} + regexp-tree@0.1.27: resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} hasBin: true @@ -6410,6 +6530,9 @@ packages: relay-runtime@12.0.0: resolution: {integrity: sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==} + remeda@2.21.3: + resolution: {integrity: sha512-XXrZdLA10oEOQhLLzEJEiFFSKi21REGAkHdImIb4rt/XXy8ORGXh5HCcpUOsElfPNDb+X6TA/+wkh+p2KffYmg==} + remedial@1.0.8: resolution: {integrity: sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==} @@ -6462,6 +6585,10 @@ packages: resolution: {integrity: sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==} engines: {node: '>=10'} + retry@0.12.0: + resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} + engines: {node: '>= 4'} + reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -6540,6 +6667,9 @@ packages: sentry-testkit@6.2.2: resolution: {integrity: sha512-1YdDokVhf8pbCGF91TeaWP1ue+lHSB358nH+I3mGOWg79O1hssvv3H3OWMojp9RZ+qHXm0DgcZ05oIjnbYoMRw==} + seq-queue@0.0.5: + resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==} + seroval-plugins@1.4.0: resolution: {integrity: sha512-zir1aWzoiax6pbBVjoYVd0O1QQXgIL3eVGBMsBsNmM8Ukq90yGaWlfx0AB9dTS8GPqrOrbXn79vmItCUP9U3BQ==} engines: {node: '>=10'} @@ -6675,6 +6805,10 @@ packages: sprintf-js@1.1.3: resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==} + sqlstring@2.3.3: + resolution: {integrity: sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==} + engines: {node: '>= 0.6'} + stable-hash-x@0.2.0: resolution: {integrity: sha512-o3yWv49B/o4QZk5ZcsALc6t0+eCelPc44zZsLtCQnZPDwFpDYSWcDnrv2TtMmMbQ7uKo3J0HTURCqckw23czNQ==} engines: {node: '>=12.0.0'} @@ -6951,6 +7085,10 @@ packages: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} + type-fest@4.41.0: + resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==} + engines: {node: '>=16'} + type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -7071,6 +7209,14 @@ packages: resolution: {integrity: sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==} hasBin: true + valibot@1.2.0: + resolution: {integrity: sha512-mm1rxUsmOxzrwnX5arGS+U4T25RdvpPjPN4yR0u9pUBov9+zGVtO84tif1eY4r6zWxVxu3KzIyknJy3rxfRZZg==} + peerDependencies: + typescript: '>=5' + peerDependenciesMeta: + typescript: + optional: true + value-or-promise@1.0.12: resolution: {integrity: sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==} engines: {node: '>=12'} @@ -7295,6 +7441,9 @@ packages: zen-observable@0.8.15: resolution: {integrity: sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==} + zeptomatch@2.0.2: + resolution: {integrity: sha512-H33jtSKf8Ijtb5BW6wua3G5DhnFjbFML36eFu+VdOoVY4HD9e7ggjqdM6639B+L87rjnR6Y+XeRzBXZdy52B/g==} + zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} @@ -8278,8 +8427,33 @@ snapshots: dependencies: '@bull-board/api': 6.5.3(@bull-board/ui@6.5.3) + '@chevrotain/cst-dts-gen@10.5.0': + dependencies: + '@chevrotain/gast': 10.5.0 + '@chevrotain/types': 10.5.0 + lodash: 4.17.21 + + '@chevrotain/gast@10.5.0': + dependencies: + '@chevrotain/types': 10.5.0 + lodash: 4.17.21 + + '@chevrotain/types@10.5.0': {} + + '@chevrotain/utils@10.5.0': {} + '@date-fns/tz@1.2.0': {} + '@electric-sql/pglite-socket@0.0.6(@electric-sql/pglite@0.3.2)': + dependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite-tools@0.2.7(@electric-sql/pglite@0.3.2)': + dependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite@0.3.2': {} + '@emnapi/core@1.4.3': dependencies: '@emnapi/wasi-threads': 1.0.2 @@ -8987,6 +9161,10 @@ snapshots: '@repeaterjs/repeater': 3.0.6 tslib: 2.8.1 + '@hono/node-server@1.19.6(hono@4.10.6)': + dependencies: + hono: 4.10.6 + '@hookform/resolvers@5.2.2(react-hook-form@7.60.0(react@19.1.0))': dependencies: '@standard-schema/utils': 0.3.0 @@ -9058,6 +9236,11 @@ snapshots: '@lukeed/ms@2.0.2': {} + '@mrleebo/prisma-ast@0.12.1': + dependencies: + chevrotain: 10.5.0 + lilconfig: 2.1.0 + '@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.2': optional: true @@ -9425,11 +9608,11 @@ snapshots: dependencies: graphql: 16.11.0 - '@pothos/plugin-prisma@4.12.0(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': + '@pothos/plugin-prisma@4.14.1(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': dependencies: '@pothos/core': 4.10.0(graphql@16.11.0) - '@prisma/client': 6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3) - '@prisma/generator-helper': 6.17.1 + '@prisma/client': 7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3) + '@prisma/generator-helper': 7.2.0 graphql: 16.11.0 typescript: 5.8.3 @@ -9460,62 +9643,94 @@ snapshots: '@sentry/node': 9.17.0 graphql: 16.11.0 - '@prisma/adapter-pg@6.17.1': + '@prisma/adapter-pg@7.2.0': dependencies: - '@prisma/driver-adapter-utils': 6.17.1 + '@prisma/driver-adapter-utils': 7.2.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native - '@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3)': + '@prisma/client-runtime-utils@7.2.0': {} + + '@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3)': + dependencies: + '@prisma/client-runtime-utils': 7.2.0 optionalDependencies: - prisma: 6.17.1(typescript@5.8.3) + prisma: 7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3) typescript: 5.8.3 - '@prisma/config@6.17.1': + '@prisma/config@7.2.0': 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.17.1': {} + '@prisma/debug@6.8.2': {} + + '@prisma/debug@7.2.0': {} + + '@prisma/dev@0.17.0(typescript@5.8.3)': + dependencies: + '@electric-sql/pglite': 0.3.2 + '@electric-sql/pglite-socket': 0.0.6(@electric-sql/pglite@0.3.2) + '@electric-sql/pglite-tools': 0.2.7(@electric-sql/pglite@0.3.2) + '@hono/node-server': 1.19.6(hono@4.10.6) + '@mrleebo/prisma-ast': 0.12.1 + '@prisma/get-platform': 6.8.2 + '@prisma/query-plan-executor': 6.18.0 + foreground-child: 3.3.1 + get-port-please: 3.1.2 + hono: 4.10.6 + http-status-codes: 2.3.0 + pathe: 2.0.3 + proper-lockfile: 4.1.2 + remeda: 2.21.3 + std-env: 3.9.0 + valibot: 1.2.0(typescript@5.8.3) + zeptomatch: 2.0.2 + transitivePeerDependencies: + - typescript - '@prisma/dmmf@6.17.1': {} + '@prisma/dmmf@7.2.0': {} - '@prisma/driver-adapter-utils@6.17.1': + '@prisma/driver-adapter-utils@7.2.0': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 7.2.0 - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': {} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': {} - '@prisma/engines@6.17.1': + '@prisma/engines@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/fetch-engine': 6.17.1 - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/fetch-engine': 7.2.0 + '@prisma/get-platform': 7.2.0 - '@prisma/fetch-engine@6.17.1': + '@prisma/fetch-engine@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/get-platform': 7.2.0 - '@prisma/generator-helper@6.17.1': + '@prisma/generator-helper@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/dmmf': 6.17.1 - '@prisma/generator': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/dmmf': 7.2.0 + '@prisma/generator': 7.2.0 - '@prisma/generator@6.17.1': {} + '@prisma/generator@7.2.0': {} - '@prisma/get-platform@6.17.1': + '@prisma/get-platform@6.8.2': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 6.8.2 + + '@prisma/get-platform@7.2.0': + dependencies: + '@prisma/debug': 7.2.0 '@prisma/instrumentation@6.7.0(@opentelemetry/api@1.9.0)': dependencies: @@ -9524,6 +9739,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@prisma/query-plan-executor@6.18.0': {} + + '@prisma/studio-core@0.9.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + dependencies: + '@types/react': 19.1.3 + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + '@radix-ui/number@1.1.1': {} '@radix-ui/primitive@1.1.2': {} @@ -11567,6 +11790,8 @@ snapshots: '@fastify/error': 4.0.0 fastq: 1.17.1 + aws-ssl-profiles@1.1.2: {} + axe-core@4.10.3: {} axios@1.12.0: @@ -11812,6 +12037,15 @@ snapshots: check-error@2.1.1: {} + chevrotain@10.5.0: + dependencies: + '@chevrotain/cst-dts-gen': 10.5.0 + '@chevrotain/gast': 10.5.0 + '@chevrotain/types': 10.5.0 + '@chevrotain/utils': 10.5.0 + lodash: 4.17.21 + regexp-to-ast: 0.5.0 + chokidar@3.6.0: dependencies: anymatch: 3.1.3 @@ -12104,7 +12338,7 @@ snapshots: ee-first@1.1.1: {} - effect@3.16.12: + effect@3.18.4: dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 @@ -12787,6 +13021,10 @@ snapshots: functions-have-names@1.2.3: {} + generate-function@2.3.1: + dependencies: + is-property: 1.0.2 + gensync@1.0.0-beta.2: {} get-caller-file@2.0.5: {} @@ -12806,6 +13044,8 @@ snapshots: get-nonce@1.0.1: {} + get-port-please@3.1.2: {} + get-proto@1.0.1: dependencies: dunder-proto: 1.0.1 @@ -12892,6 +13132,8 @@ snapshots: graceful-fs@4.2.11: {} + grammex@3.1.12: {} + graphemer@1.4.0: {} graphql-config@5.1.3(@types/node@22.19.1)(graphql@16.11.0)(typescript@5.8.3): @@ -12991,6 +13233,8 @@ snapshots: dependencies: react-is: 16.13.1 + hono@4.10.6: {} + http-errors@2.0.0: dependencies: depd: 2.0.0 @@ -13006,6 +13250,8 @@ snapshots: transitivePeerDependencies: - supports-color + http-status-codes@2.3.0: {} + https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.1 @@ -13021,6 +13267,10 @@ snapshots: dependencies: safer-buffer: 2.1.2 + iconv-lite@0.7.1: + dependencies: + safer-buffer: 2.1.2 + ieee754@1.2.1: {} ignore@5.3.2: {} @@ -13202,6 +13452,8 @@ snapshots: is-plain-obj@4.1.0: {} + is-property@1.0.2: {} + is-regex@1.2.1: dependencies: call-bound: 1.0.4 @@ -13403,6 +13655,8 @@ snapshots: lightningcss-win32-arm64-msvc: 1.30.1 lightningcss-win32-x64-msvc: 1.30.1 + lilconfig@2.1.0: {} + lines-and-columns@1.2.4: {} listr2@4.0.5(enquirer@2.3.6): @@ -13450,6 +13704,8 @@ snapshots: loglevel@1.9.1: {} + long@5.3.2: {} + loose-envify@1.4.0: dependencies: js-tokens: 4.0.0 @@ -13472,6 +13728,8 @@ snapshots: dependencies: yallist: 3.1.1 + lru.min@1.1.3: {} + luxon@3.4.4: {} magic-string@0.30.19: @@ -13571,6 +13829,22 @@ snapshots: mylas@2.1.13: {} + mysql2@3.15.3: + dependencies: + aws-ssl-profiles: 1.1.2 + denque: 2.1.0 + generate-function: 2.3.1 + iconv-lite: 0.7.1 + long: 5.3.2 + lru.min: 1.1.3 + named-placeholders: 1.1.6 + seq-queue: 0.0.5 + sqlstring: 2.3.3 + + named-placeholders@1.1.6: + dependencies: + lru.min: 1.1.3 + nanoid@3.3.11: {} nanoid@5.1.6: {} @@ -13931,6 +14205,8 @@ snapshots: dependencies: xtend: 4.0.2 + postgres@3.4.7: {} + postmark@4.0.2: dependencies: axios: 1.12.0 @@ -13952,14 +14228,21 @@ snapshots: prettier@3.6.2: {} - prisma@6.17.1(typescript@5.8.3): + prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3): dependencies: - '@prisma/config': 6.17.1 - '@prisma/engines': 6.17.1 + '@prisma/config': 7.2.0 + '@prisma/dev': 0.17.0(typescript@5.8.3) + '@prisma/engines': 7.2.0 + '@prisma/studio-core': 0.9.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + mysql2: 3.15.3 + postgres: 3.4.7 optionalDependencies: typescript: 5.8.3 transitivePeerDependencies: + - '@types/react' - magicast + - react + - react-dom process-warning@4.0.0: {} @@ -13975,6 +14258,12 @@ snapshots: object-assign: 4.1.1 react-is: 16.13.1 + proper-lockfile@4.1.2: + dependencies: + graceful-fs: 4.2.11 + retry: 0.12.0 + signal-exit: 3.0.7 + proxy-addr@2.0.7: dependencies: forwarded: 0.2.0 @@ -14205,6 +14494,8 @@ snapshots: regenerator-runtime@0.14.0: {} + regexp-to-ast@0.5.0: {} + regexp-tree@0.1.27: {} regexp.prototype.flags@1.5.4: @@ -14233,6 +14524,10 @@ snapshots: transitivePeerDependencies: - encoding + remeda@2.21.3: + dependencies: + type-fest: 4.41.0 + remedial@1.0.8: {} remove-trailing-separator@1.1.0: {} @@ -14278,6 +14573,8 @@ snapshots: ret@0.5.0: {} + retry@0.12.0: {} + reusify@1.0.4: {} rfdc@1.4.1: {} @@ -14391,6 +14688,8 @@ snapshots: transitivePeerDependencies: - supports-color + seq-queue@0.0.5: {} + seroval-plugins@1.4.0(seroval@1.4.0): dependencies: seroval: 1.4.0 @@ -14536,6 +14835,8 @@ snapshots: sprintf-js@1.1.3: {} + sqlstring@2.3.3: {} + stable-hash-x@0.2.0: {} stackback@0.0.2: {} @@ -14805,6 +15106,8 @@ snapshots: type-fest@0.21.3: {} + type-fest@4.41.0: {} + type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -14954,6 +15257,10 @@ snapshots: uuid@9.0.0: {} + valibot@1.2.0(typescript@5.8.3): + optionalDependencies: + typescript: 5.8.3 + value-or-promise@1.0.12: {} vary@1.1.2: {} @@ -15206,6 +15513,10 @@ snapshots: zen-observable@0.8.15: {} + zeptomatch@2.0.2: + dependencies: + grammex: 3.1.12 + zod@3.25.76: {} zod@4.1.13: {} diff --git a/packages/fastify-generators/src/constants/fastify-packages.ts b/packages/fastify-generators/src/constants/fastify-packages.ts index 4ced6ce22..77db36dba 100644 --- a/packages/fastify-generators/src/constants/fastify-packages.ts +++ b/packages/fastify-generators/src/constants/fastify-packages.ts @@ -27,7 +27,7 @@ export const FASTIFY_PACKAGES = { '@pothos/core': '4.10.0', '@pothos/plugin-simple-objects': '4.1.3', '@pothos/plugin-relay': '4.6.2', - '@pothos/plugin-prisma': '4.12.0', + '@pothos/plugin-prisma': '4.14.1', '@pothos/plugin-validation': '4.2.0', 'graphql-scalars': '1.23.0', @@ -39,9 +39,9 @@ export const FASTIFY_PACKAGES = { '@bull-board/fastify': '6.5.3', // Prisma - '@prisma/client': '6.17.1', - prisma: '6.17.1', - '@prisma/adapter-pg': '6.17.1', + '@prisma/client': '7.2.0', + prisma: '7.2.0', + '@prisma/adapter-pg': '7.2.0', // Utils ms: '2.1.3', From 7564b3922056efd2da936111594b91b2f2a9d78a Mon Sep 17 00:00:00 2001 From: Kingston Date: Mon, 22 Dec 2025 12:07:20 +0100 Subject: [PATCH 4/7] Regenerate tests and remove URL field --- .../baseplate/generated/prisma/schema.prisma | 1 - .../apps/backend/prisma/schema.prisma | 1 - .../backend/src/generated/prisma/client.ts | 9 +- .../diffs/package.json.diff | 2 +- .../baseplate/generated/prisma/schema.prisma | 1 - .../apps/backend/prisma/schema.prisma | 1 - .../backend/src/generated/prisma/client.ts | 9 +- .../prisma/prisma/prisma.generator.ts | 1 - .../src/writers/prisma-schema/schema.ts | 3 - .../backend/baseplate/generated/package.json | 8 +- .../baseplate/generated/prisma/schema.prisma | 1 - tests/simple/apps/backend/package.json | 8 +- .../simple/apps/backend/prisma/schema.prisma | 1 - tests/simple/pnpm-lock.yaml | 469 +++++++++++++++--- 14 files changed, 410 insertions(+), 105 deletions(-) diff --git a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma/schema.prisma b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma/schema.prisma index 5632c96c1..75a0773a6 100644 --- a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma/schema.prisma +++ b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma/schema.prisma @@ -12,7 +12,6 @@ generator pothos { datasource db { provider = "postgresql" - url = env("DATABASE_URL") } model Blog { diff --git a/examples/blog-with-auth/apps/backend/prisma/schema.prisma b/examples/blog-with-auth/apps/backend/prisma/schema.prisma index 5632c96c1..75a0773a6 100644 --- a/examples/blog-with-auth/apps/backend/prisma/schema.prisma +++ b/examples/blog-with-auth/apps/backend/prisma/schema.prisma @@ -12,7 +12,6 @@ generator pothos { datasource db { provider = "postgresql" - url = env("DATABASE_URL") } model Blog { diff --git a/examples/blog-with-auth/apps/backend/src/generated/prisma/client.ts b/examples/blog-with-auth/apps/backend/src/generated/prisma/client.ts index 5e58e37a1..794399f2d 100644 --- a/examples/blog-with-auth/apps/backend/src/generated/prisma/client.ts +++ b/examples/blog-with-auth/apps/backend/src/generated/prisma/client.ts @@ -1,11 +1,12 @@ /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ +// biome-ignore-all lint: generated file // @ts-nocheck /* * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead. - * + * * 🟢 You can import this file directly. */ @@ -32,14 +33,12 @@ export * from "./enums.js" * const blogs = await prisma.blog.findMany() * ``` * - * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). + * Read more in our [docs](https://pris.ly/d/client). */ -export const PrismaClient = $Class.getPrismaClientClass(__dirname) +export const PrismaClient = $Class.getPrismaClientClass() export type PrismaClient = $Class.PrismaClient export { Prisma } - - /** * Model Blog * diff --git a/examples/todo-with-auth0/apps/backend/.baseplate-snapshot/diffs/package.json.diff b/examples/todo-with-auth0/apps/backend/.baseplate-snapshot/diffs/package.json.diff index 7f42430bc..f44d5f4cf 100644 --- a/examples/todo-with-auth0/apps/backend/.baseplate-snapshot/diffs/package.json.diff +++ b/examples/todo-with-auth0/apps/backend/.baseplate-snapshot/diffs/package.json.diff @@ -6,7 +6,7 @@ Index: package.json "pino-pretty": "13.0.0", "prettier": "3.6.2", "prettier-plugin-packagejson": "2.5.19", - "prisma": "6.17.1", + "prisma": "7.2.0", + "sentry-testkit": "^6.2.2", "tsc-alias": "1.8.10", "tsx": "4.20.6", diff --git a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma/schema.prisma b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma/schema.prisma index 2444a3df1..15547a9e3 100644 --- a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma/schema.prisma +++ b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma/schema.prisma @@ -12,7 +12,6 @@ generator pothos { datasource db { provider = "postgresql" - url = env("DATABASE_URL") } model Customer { diff --git a/examples/todo-with-auth0/apps/backend/prisma/schema.prisma b/examples/todo-with-auth0/apps/backend/prisma/schema.prisma index 2444a3df1..15547a9e3 100644 --- a/examples/todo-with-auth0/apps/backend/prisma/schema.prisma +++ b/examples/todo-with-auth0/apps/backend/prisma/schema.prisma @@ -12,7 +12,6 @@ generator pothos { datasource db { provider = "postgresql" - url = env("DATABASE_URL") } model Customer { diff --git a/examples/todo-with-auth0/apps/backend/src/generated/prisma/client.ts b/examples/todo-with-auth0/apps/backend/src/generated/prisma/client.ts index 4a9827f6d..e5c4b7f86 100644 --- a/examples/todo-with-auth0/apps/backend/src/generated/prisma/client.ts +++ b/examples/todo-with-auth0/apps/backend/src/generated/prisma/client.ts @@ -1,11 +1,12 @@ /* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ +// biome-ignore-all lint: generated file // @ts-nocheck /* * This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types. * If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead. - * + * * 🟢 You can import this file directly. */ @@ -32,14 +33,12 @@ export * from "./enums.js" * const customers = await prisma.customer.findMany() * ``` * - * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client). + * Read more in our [docs](https://pris.ly/d/client). */ -export const PrismaClient = $Class.getPrismaClientClass(__dirname) +export const PrismaClient = $Class.getPrismaClientClass() export type PrismaClient = $Class.PrismaClient export { Prisma } - - /** * Model Customer * diff --git a/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts b/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts index a5f4e6a5f..0d04d13fd 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts +++ b/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts @@ -296,7 +296,6 @@ export const prismaGenerator = createGenerator({ createPrismaSchemaDatasourceBlock({ name: 'db', provider: 'postgresql', - url: 'env("DATABASE_URL")', }), ); diff --git a/packages/fastify-generators/src/writers/prisma-schema/schema.ts b/packages/fastify-generators/src/writers/prisma-schema/schema.ts index e6295d646..83722e650 100644 --- a/packages/fastify-generators/src/writers/prisma-schema/schema.ts +++ b/packages/fastify-generators/src/writers/prisma-schema/schema.ts @@ -52,7 +52,6 @@ export function createPrismaSchemaGeneratorBlock({ interface PrismaDatasourceBlockOptions { name: string; provider: 'postgresql' | 'mysql' | 'sqlite'; - url: string; } function printEnumBlock(block: PrismaOutputEnum): PrismaEnumBlock { @@ -66,14 +65,12 @@ function printEnumBlock(block: PrismaOutputEnum): PrismaEnumBlock { export function createPrismaSchemaDatasourceBlock({ name, provider, - url, }: PrismaDatasourceBlockOptions): PrismaDatasourceBlock { return { name, type: 'datasource', contents: mapObjectToContents({ provider: `"${provider}"`, - url, }), }; } diff --git a/tests/simple/apps/backend/baseplate/generated/package.json b/tests/simple/apps/backend/baseplate/generated/package.json index 8d36ca7a0..56526d6d1 100644 --- a/tests/simple/apps/backend/baseplate/generated/package.json +++ b/tests/simple/apps/backend/baseplate/generated/package.json @@ -35,14 +35,14 @@ "@fastify/helmet": "13.0.0", "@fastify/request-context": "6.0.1", "@pothos/core": "4.10.0", - "@pothos/plugin-prisma": "4.12.0", + "@pothos/plugin-prisma": "4.14.1", "@pothos/plugin-relay": "4.6.2", "@pothos/plugin-simple-objects": "4.1.3", "@pothos/plugin-tracing": "1.1.0", "@pothos/plugin-validation": "4.2.0", "@pothos/tracing-sentry": "1.1.1", - "@prisma/adapter-pg": "6.17.1", - "@prisma/client": "6.17.1", + "@prisma/adapter-pg": "7.2.0", + "@prisma/client": "7.2.0", "@sentry/core": "9.17.0", "@sentry/node": "9.17.0", "@sentry/profiling-node": "9.17.0", @@ -75,7 +75,7 @@ "pino-pretty": "13.0.0", "prettier": "3.6.2", "prettier-plugin-packagejson": "2.5.19", - "prisma": "6.17.1", + "prisma": "7.2.0", "tsc-alias": "1.8.10", "tsx": "4.20.6", "typescript": "5.8.3", diff --git a/tests/simple/apps/backend/baseplate/generated/prisma/schema.prisma b/tests/simple/apps/backend/baseplate/generated/prisma/schema.prisma index 8f5e38538..f03f9f9e3 100644 --- a/tests/simple/apps/backend/baseplate/generated/prisma/schema.prisma +++ b/tests/simple/apps/backend/baseplate/generated/prisma/schema.prisma @@ -12,7 +12,6 @@ generator pothos { datasource db { provider = "postgresql" - url = env("DATABASE_URL") } model BlogPost { diff --git a/tests/simple/apps/backend/package.json b/tests/simple/apps/backend/package.json index 8d36ca7a0..56526d6d1 100644 --- a/tests/simple/apps/backend/package.json +++ b/tests/simple/apps/backend/package.json @@ -35,14 +35,14 @@ "@fastify/helmet": "13.0.0", "@fastify/request-context": "6.0.1", "@pothos/core": "4.10.0", - "@pothos/plugin-prisma": "4.12.0", + "@pothos/plugin-prisma": "4.14.1", "@pothos/plugin-relay": "4.6.2", "@pothos/plugin-simple-objects": "4.1.3", "@pothos/plugin-tracing": "1.1.0", "@pothos/plugin-validation": "4.2.0", "@pothos/tracing-sentry": "1.1.1", - "@prisma/adapter-pg": "6.17.1", - "@prisma/client": "6.17.1", + "@prisma/adapter-pg": "7.2.0", + "@prisma/client": "7.2.0", "@sentry/core": "9.17.0", "@sentry/node": "9.17.0", "@sentry/profiling-node": "9.17.0", @@ -75,7 +75,7 @@ "pino-pretty": "13.0.0", "prettier": "3.6.2", "prettier-plugin-packagejson": "2.5.19", - "prisma": "6.17.1", + "prisma": "7.2.0", "tsc-alias": "1.8.10", "tsx": "4.20.6", "typescript": "5.8.3", diff --git a/tests/simple/apps/backend/prisma/schema.prisma b/tests/simple/apps/backend/prisma/schema.prisma index 8f5e38538..f03f9f9e3 100644 --- a/tests/simple/apps/backend/prisma/schema.prisma +++ b/tests/simple/apps/backend/prisma/schema.prisma @@ -12,7 +12,6 @@ generator pothos { datasource db { provider = "postgresql" - url = env("DATABASE_URL") } model BlogPost { diff --git a/tests/simple/pnpm-lock.yaml b/tests/simple/pnpm-lock.yaml index ecf3ff7e7..58ce7cf17 100644 --- a/tests/simple/pnpm-lock.yaml +++ b/tests/simple/pnpm-lock.yaml @@ -39,8 +39,8 @@ importers: specifier: 4.10.0 version: 4.10.0(graphql@16.11.0) '@pothos/plugin-prisma': - specifier: 4.12.0 - version: 4.12.0(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3) + specifier: 4.14.1 + version: 4.14.1(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3) '@pothos/plugin-relay': specifier: 4.6.2 version: 4.6.2(@pothos/core@4.10.0(graphql@16.11.0))(graphql@16.11.0) @@ -57,11 +57,11 @@ importers: specifier: 1.1.1 version: 1.1.1(@pothos/core@4.10.0(graphql@16.11.0))(@pothos/plugin-tracing@1.1.0(@pothos/core@4.10.0(graphql@16.11.0))(graphql@16.11.0))(@sentry/node@9.17.0)(graphql@16.11.0) '@prisma/adapter-pg': - specifier: 6.17.1 - version: 6.17.1 + specifier: 7.2.0 + version: 7.2.0 '@prisma/client': - specifier: 6.17.1 - version: 6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3) + specifier: 7.2.0 + version: 7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3) '@sentry/core': specifier: 9.17.0 version: 9.17.0 @@ -154,8 +154,8 @@ importers: specifier: 2.5.19 version: 2.5.19(prettier@3.6.2) prisma: - specifier: 6.17.1 - version: 6.17.1(typescript@5.8.3) + specifier: 7.2.0 + version: 7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3) tsc-alias: specifier: 1.8.10 version: 1.8.10 @@ -684,9 +684,35 @@ packages: resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==} engines: {node: '>=6.9.0'} + '@chevrotain/cst-dts-gen@10.5.0': + resolution: {integrity: sha512-lhmC/FyqQ2o7pGK4Om+hzuDrm9rhFYIJ/AXoQBeongmn870Xeb0L6oGEiuR8nohFNL5sMaQEJWCxr1oIVIVXrw==} + + '@chevrotain/gast@10.5.0': + resolution: {integrity: sha512-pXdMJ9XeDAbgOWKuD1Fldz4ieCs6+nLNmyVhe2gZVqoO7v8HXuHYs5OV2EzUtbuai37TlOAQHrTDvxMnvMJz3A==} + + '@chevrotain/types@10.5.0': + resolution: {integrity: sha512-f1MAia0x/pAVPWH/T73BJVyO2XU5tI4/iE7cnxb7tqdNTNhQI3Uq3XkqcoteTmD4t1aM0LbHCJOhgIDn07kl2A==} + + '@chevrotain/utils@10.5.0': + resolution: {integrity: sha512-hBzuU5+JjB2cqNZyszkDHZgOSrUUT8V3dhgRl8Q9Gp6dAj/H5+KILGjbhDpc3Iy9qmqlm/akuOI2ut9VUtzJxQ==} + '@date-fns/tz@1.2.0': resolution: {integrity: sha512-LBrd7MiJZ9McsOgxqWX7AaxrDjcFVjWH/tIKJd7pnR7McaslGYOP1QmmiBXdJH/H/yLCT+rcQ7FaPBUxRGUtrg==} + '@electric-sql/pglite-socket@0.0.6': + resolution: {integrity: sha512-6RjmgzphIHIBA4NrMGJsjNWK4pu+bCWJlEWlwcxFTVY3WT86dFpKwbZaGWZV6C5Rd7sCk1Z0CI76QEfukLAUXw==} + hasBin: true + peerDependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite-tools@0.2.7': + resolution: {integrity: sha512-9dAccClqxx4cZB+Ar9B+FZ5WgxDc/Xvl9DPrTWv+dYTf0YNubLzi4wHHRGRGhrJv15XwnyKcGOZAP1VXSneSUg==} + peerDependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite@0.3.2': + resolution: {integrity: sha512-zfWWa+V2ViDCY/cmUfRqeWY1yLto+EpxjXnZzenB1TyxsTiXaTWeZFIZw6mac52BsuQm0RjCnisjBtdBaXOI6w==} + '@emnapi/core@1.4.3': resolution: {integrity: sha512-4m62DuCE07lw01soJwPiBGC0nAww0Q+RY70VZ+n49yDIO13yyinhbWCeNnaob0lakDtWQzSdtNWzJeOJt2ma+g==} @@ -1200,6 +1226,12 @@ packages: resolution: {integrity: sha512-ZpJxMqB+Qfe3rp6uszCQoag4nSw42icURnBRfFYSOmTgEeOe4rD0vYlbA8spvCu2TlCesNTlEN9BLWtQqLxabA==} engines: {node: '>=18.0.0'} + '@hono/node-server@1.19.6': + resolution: {integrity: sha512-Shz/KjlIeAhfiuE93NDKVdZ7HdBVLQAfdbaXEaoAVO3ic9ibRSLGIQGkcBbFyuLr+7/1D5ZCINM8B+6IvXeMtw==} + engines: {node: '>=18.14.1'} + peerDependencies: + hono: ^4 + '@hookform/resolvers@5.2.2': resolution: {integrity: sha512-A/IxlMLShx3KjV/HeTcTfaMxdwy690+L/ZADoeaTltLx+CVuzkeVIPuybK3jrRfw7YZnmdKsVVHAlEPIAEUNlA==} peerDependencies: @@ -1273,6 +1305,10 @@ packages: resolution: {integrity: sha512-9I2Zn6+NJLfaGoz9jN3lpwDgAYvfGeNYdbAIjJOqzs4Tpc+VU3Jqq4IofSUBKajiDS8k9fZIg18/z13mpk1bsA==} engines: {node: '>=8'} + '@mrleebo/prisma-ast@0.12.1': + resolution: {integrity: sha512-JwqeCQ1U3fvccttHZq7Tk0m/TMC6WcFAQZdukypW3AzlJYKYTGNVd1ANU2GuhKnv4UQuOFj3oAl0LLG/gxFN1w==} + engines: {node: '>=16'} + '@napi-rs/wasm-runtime@0.2.12': resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==} @@ -1597,8 +1633,8 @@ packages: peerDependencies: graphql: ^16.10.0 - '@pothos/plugin-prisma@4.12.0': - resolution: {integrity: sha512-4q9fa5t1vj7pVKEqNlprcONjVh522+KNTEU4/1sI3NHR+dD4uW9XUFlVsXlC9AaAjo6KGgMO6pGFuCMivG1zCQ==} + '@pothos/plugin-prisma@4.14.1': + resolution: {integrity: sha512-uTRg056ybaX/3KDuiemgv1wAAkKlq1hk2df/EW3ieyBVQYrmqRNKfsIuDP8IHrlXtV2UzpJWsUinc18wUMG/gg==} hasBin: true peerDependencies: '@pothos/core': '*' @@ -1638,56 +1674,78 @@ packages: '@sentry/node': '*' graphql: '>=16.6.0' - '@prisma/adapter-pg@6.17.1': - resolution: {integrity: sha512-iy5aL2HHzW2sAGspgeUGXgM+JDiXm31R4iONSnAWdpFSc/SWgsR+z8muS0HAZnzclAUwqXrWFJh4RbneCM2ktA==} + '@prisma/adapter-pg@7.2.0': + resolution: {integrity: sha512-euIdQ13cRB2wZ3jPsnDnFhINquo1PYFPCg6yVL8b2rp3EdinQHsX9EDdCtRr489D5uhphcRk463OdQAFlsCr0w==} - '@prisma/client@6.17.1': - resolution: {integrity: sha512-zL58jbLzYamjnNnmNA51IOZdbk5ci03KviXCuB0Tydc9btH2kDWsi1pQm2VecviRTM7jGia0OPPkgpGnT3nKvw==} - engines: {node: '>=18.18'} + '@prisma/client-runtime-utils@7.2.0': + resolution: {integrity: sha512-dn7oB53v0tqkB0wBdMuTNFNPdEbfICEUe82Tn9FoKAhJCUkDH+fmyEp0ClciGh+9Hp2Tuu2K52kth2MTLstvmA==} + + '@prisma/client@7.2.0': + resolution: {integrity: sha512-JdLF8lWZ+LjKGKpBqyAlenxd/kXjd1Abf/xK+6vUA7R7L2Suo6AFTHFRpPSdAKCan9wzdFApsUpSa/F6+t1AtA==} + engines: {node: ^20.19 || ^22.12 || >=24.0} peerDependencies: prisma: '*' - typescript: '>=5.1.0' + typescript: '>=5.4.0' peerDependenciesMeta: prisma: optional: true typescript: optional: true - '@prisma/config@6.17.1': - resolution: {integrity: sha512-fs8wY6DsvOCzuiyWVckrVs1LOcbY4LZNz8ki4uUIQ28jCCzojTGqdLhN2Jl5lDnC1yI8/gNIKpsWDM8pLhOdwA==} + '@prisma/config@7.2.0': + resolution: {integrity: sha512-qmvSnfQ6l/srBW1S7RZGfjTQhc44Yl3ldvU6y3pgmuLM+83SBDs6UQVgMtQuMRe9J3gGqB0RF8wER6RlXEr6jQ==} + + '@prisma/debug@6.8.2': + resolution: {integrity: sha512-4muBSSUwJJ9BYth5N8tqts8JtiLT8QI/RSAzEogwEfpbYGFo9mYsInsVo8dqXdPO2+Rm5OG5q0qWDDE3nyUbVg==} - '@prisma/debug@6.17.1': - resolution: {integrity: sha512-Vf7Tt5Wh9XcndpbmeotuqOMLWPTjEKCsgojxXP2oxE1/xYe7PtnP76hsouG9vis6fctX+TxgmwxTuYi/+xc7dQ==} + '@prisma/debug@7.2.0': + resolution: {integrity: sha512-YSGTiSlBAVJPzX4ONZmMotL+ozJwQjRmZweQNIq/ER0tQJKJynNkRB3kyvt37eOfsbMCXk3gnLF6J9OJ4QWftw==} - '@prisma/dmmf@6.17.1': - resolution: {integrity: sha512-ILf+sYTvoZRJIn1KjW8ZBn9N3fK+4ZxreJT0EXuLxbZWbXuz7Eums0/PEscS8+fzktg1zbxZvjHVFMppqfFz3g==} + '@prisma/dev@0.17.0': + resolution: {integrity: sha512-6sGebe5jxX+FEsQTpjHLzvOGPn6ypFQprcs3jcuIWv1Xp/5v6P/rjfdvAwTkP2iF6pDx2tCd8vGLNWcsWzImTA==} - '@prisma/driver-adapter-utils@6.17.1': - resolution: {integrity: sha512-GT4QbVUyJa5sXj5vjrBPnZ68v1P/FoKBCSIkrFrCPrOi6OSzk+567XDZyBtWIECKxruuMTa7fU4wwNmtMQylrg==} + '@prisma/dmmf@7.2.0': + resolution: {integrity: sha512-w+hAFGH34+Ed+y7AhK3FL6ExwPu5Ym2uyadqlTEn8yyXereHRD8qO9tQfgTIJuUqF0G2JZXBVrNuqvRVVvSZdg==} - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': - resolution: {integrity: sha512-17140E3huOuD9lMdJ9+SF/juOf3WR3sTJMVyyenzqUPbuH+89nPhSWcrY+Mf7tmSs6HvaO+7S+HkELinn6bhdg==} + '@prisma/driver-adapter-utils@7.2.0': + resolution: {integrity: sha512-gzrUcbI9VmHS24Uf+0+7DNzdIw7keglJsD5m/MHxQOU68OhGVzlphQRobLiDMn8CHNA2XN8uugwKjudVtnfMVQ==} - '@prisma/engines@6.17.1': - resolution: {integrity: sha512-D95Ik3GYZkqZ8lSR4EyFOJ/tR33FcYRP8kK61o+WMsyD10UfJwd7+YielflHfKwiGodcqKqoraWw8ElAgMDbPw==} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': + resolution: {integrity: sha512-KezsjCZDsbjNR7SzIiVlUsn9PnLePI7r5uxABlwL+xoerurZTfgQVbIjvjF2sVr3Uc0ZcsnREw3F84HvbggGdA==} - '@prisma/fetch-engine@6.17.1': - resolution: {integrity: sha512-AYZiHOs184qkDMiTeshyJCtyL4yERkjfTkJiSJdYuSfc24m94lTNL5+GFinZ6vVz+ktX4NJzHKn1zIFzGTWrWg==} + '@prisma/engines@7.2.0': + resolution: {integrity: sha512-HUeOI/SvCDsHrR9QZn24cxxZcujOjcS3w1oW/XVhnSATAli5SRMOfp/WkG3TtT5rCxDA4xOnlJkW7xkho4nURA==} - '@prisma/generator-helper@6.17.1': - resolution: {integrity: sha512-ONuUTGXCTUK9K//ronFg4xOEARv+tZKOo5uVSJg6tj2y90gpXQunPYyvR17gEoAQrZT17kC0ie60ecv8nulWyQ==} + '@prisma/fetch-engine@7.2.0': + resolution: {integrity: sha512-Z5XZztJ8Ap+wovpjPD2lQKnB8nWFGNouCrglaNFjxIWAGWz0oeHXwUJRiclIoSSXN/ptcs9/behptSk8d0Yy6w==} - '@prisma/generator@6.17.1': - resolution: {integrity: sha512-R4SIlAtMHlxwXYYHiyWtN+MLRGFF3Jy+LvqcfInbCiaZkoqyhU5kj8/aOu2OV2ydNkkN+Q8ft9Tnv5a/b4pqPg==} + '@prisma/generator-helper@7.2.0': + resolution: {integrity: sha512-PTz/2mrLlj6ITgvEeubEe+CoSt5GsyFI+3xqnBS27h2r4fYFA6i1TLKjIq8m82GZERN9J/Awwdjw90hdAQSOHg==} - '@prisma/get-platform@6.17.1': - resolution: {integrity: sha512-AKEn6fsfz0r482S5KRDFlIGEaq9wLNcgalD1adL+fPcFFblIKs1sD81kY/utrHdqKuVC6E1XSRpegDK3ZLL4Qg==} + '@prisma/generator@7.2.0': + resolution: {integrity: sha512-EucIFLF/aGmXB2qrjPhjGnL2E0urFuYg1o1+DzFLecoJzZtpRD+nJQt9ZbxKSU6a7PjX3KROOzAEPb3ItaAATA==} + + '@prisma/get-platform@6.8.2': + resolution: {integrity: sha512-vXSxyUgX3vm1Q70QwzwkjeYfRryIvKno1SXbIqwSptKwqKzskINnDUcx85oX+ys6ooN2ATGSD0xN2UTfg6Zcow==} + + '@prisma/get-platform@7.2.0': + resolution: {integrity: sha512-k1V0l0Td1732EHpAfi2eySTezyllok9dXb6UQanajkJQzPUGi3vO2z7jdkz67SypFTdmbnyGYxvEvYZdZsMAVA==} '@prisma/instrumentation@6.7.0': resolution: {integrity: sha512-3NuxWlbzYNevgPZbV0ktA2z6r0bfh0g22ONTxcK09a6+6MdIPjHsYx1Hnyu4yOq+j7LmupO5J69hhuOnuvj8oQ==} peerDependencies: '@opentelemetry/api': ^1.8 + '@prisma/query-plan-executor@6.18.0': + resolution: {integrity: sha512-jZ8cfzFgL0jReE1R10gT8JLHtQxjWYLiQ//wHmVYZ2rVkFHoh0DT8IXsxcKcFlfKN7ak7k6j0XMNn2xVNyr5cA==} + + '@prisma/studio-core@0.9.0': + resolution: {integrity: sha512-xA2zoR/ADu/NCSQuriBKTh6Ps4XjU0bErkEcgMfnSGh346K1VI7iWKnoq1l2DoxUqiddPHIEWwtxJ6xCHG6W7g==} + peerDependencies: + '@types/react': ^18.0.0 || ^19.0.0 + react: ^18.0.0 || ^19.0.0 + react-dom: ^18.0.0 || ^19.0.0 + '@radix-ui/number@1.1.1': resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==} @@ -3271,6 +3329,10 @@ packages: avvio@9.1.0: resolution: {integrity: sha512-fYASnYi600CsH/j9EQov7lECAniYiBFiiAtBNuZYLA2leLe9qOvZzqYHFjtIj6gD2VMoMLP14834LFWvr4IfDw==} + aws-ssl-profiles@1.1.2: + resolution: {integrity: sha512-NZKeq9AfyQvEeNlN0zSYAaWrmBffJh3IELMZfRpJVWgrpEbtEpnjvzqBPf+mxoI287JohRDoa+/nsfqqiZmF6g==} + engines: {node: '>= 6.0.0'} + axe-core@4.10.0: resolution: {integrity: sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==} engines: {node: '>=4'} @@ -3401,6 +3463,9 @@ packages: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} + chevrotain@10.5.0: + resolution: {integrity: sha512-Pkv5rBY3+CsHOYfV5g/Vs5JY9WTHHDEKOlohI2XeygaZhUeqhAlldZ8Hz9cRmxu709bvS08YzxHdTPHhffc13A==} + chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} @@ -3627,6 +3692,10 @@ packages: defu@6.1.4: resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==} + denque@2.1.0: + resolution: {integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==} + engines: {node: '>=0.10'} + depd@2.0.0: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} @@ -3692,8 +3761,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==} electron-to-chromium@1.5.192: resolution: {integrity: sha512-rP8Ez0w7UNw/9j5eSXCe10o1g/8B1P5SM90PCCMVkIRQn2R0LEHWz4Eh9RnxkniuDe1W0cTSOB3MLlkTGDcuCg==} @@ -4059,6 +4128,9 @@ packages: functions-have-names@1.2.3: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} + generate-function@2.3.1: + resolution: {integrity: sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==} + gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} @@ -4075,6 +4147,9 @@ packages: resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==} engines: {node: '>=6'} + get-port-please@3.1.2: + resolution: {integrity: sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==} + get-proto@1.0.1: resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} engines: {node: '>= 0.4'} @@ -4140,6 +4215,9 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + grammex@3.1.12: + resolution: {integrity: sha512-6ufJOsSA7LcQehIJNCO7HIBykfM7DXQual0Ny780/DEcJIpBlHRvcqEBWGPYd7hrXL2GJ3oJI1MIhaXjWmLQOQ==} + graphemer@1.4.0: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} @@ -4225,6 +4303,10 @@ packages: hoist-non-react-statics@3.3.2: resolution: {integrity: sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==} + hono@4.10.6: + resolution: {integrity: sha512-BIdolzGpDO9MQ4nu3AUuDwHZZ+KViNm+EZ75Ae55eMXMqLVhDFqEMXxtUe9Qh8hjL+pIna/frs2j6Y2yD5Ua/g==} + engines: {node: '>=16.9.0'} + http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} @@ -4233,6 +4315,9 @@ packages: resolution: {integrity: sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig==} engines: {node: '>= 14'} + http-status-codes@2.3.0: + resolution: {integrity: sha512-RJ8XvFvpPM/Dmc5SV+dC4y5PCeOhT3x1Hq0NU3rjGeg5a/CqlhZ7uudknPwZFz4aeAXDcbAyaeP7GAo9lvngtA==} + https-proxy-agent@7.0.5: resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} engines: {node: '>= 14'} @@ -4241,6 +4326,10 @@ packages: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} + iconv-lite@0.7.1: + resolution: {integrity: sha512-2Tth85cXwGFHfvRgZWszZSvdo+0Xsqmw8k8ZwxScfcBneNUraK+dxRxRm24nszx80Y0TVio8kKLt5sLE7ZCLlw==} + engines: {node: '>=0.10.0'} + ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} @@ -4394,6 +4483,9 @@ packages: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} + is-property@1.0.2: + resolution: {integrity: sha512-Ks/IoX00TtClbGQr4TWXemAnktAQvYB7HzcCxDGqEZU6oCmb2INHuOoKxbtR+HFkmYWBKv/dOZtGRiAjDhj92g==} + is-regex@1.2.1: resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} engines: {node: '>= 0.4'} @@ -4623,6 +4715,10 @@ packages: resolution: {integrity: sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==} engines: {node: '>= 12.0.0'} + lilconfig@2.1.0: + resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} + engines: {node: '>=10'} + lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} @@ -4664,6 +4760,9 @@ packages: resolution: {integrity: sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg==} engines: {node: '>= 0.6.0'} + long@5.3.2: + resolution: {integrity: sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==} + loose-envify@1.4.0: resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} hasBin: true @@ -4687,6 +4786,10 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lru.min@1.1.3: + resolution: {integrity: sha512-Lkk/vx6ak3rYkRR0Nhu4lFUT2VDnQSxBe8Hbl7f36358p6ow8Bnvr8lrLt98H8J1aGxfhbX4Fs5tYg2+FTwr5Q==} + engines: {bun: '>=1.0.0', deno: '>=1.30.0', node: '>=8.0.0'} + magic-string@0.30.19: resolution: {integrity: sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw==} @@ -4772,6 +4875,14 @@ packages: resolution: {integrity: sha512-+MrqnJRtxdF+xngFfUUkIMQrUUL0KsxbADUkn23Z/4ibGg192Q+z+CQyiYwvWTsYjJygmMR8+w3ZDa98Zh6ESg==} engines: {node: '>=12.0.0'} + mysql2@3.15.3: + resolution: {integrity: sha512-FBrGau0IXmuqg4haEZRBfHNWB5mUARw6hNwPDXXGg0XzVJ50mr/9hb267lvpVMnhZ1FON3qNd4Xfcez1rbFwSg==} + engines: {node: '>= 8.0'} + + named-placeholders@1.1.6: + resolution: {integrity: sha512-Tz09sEL2EEuv5fFowm419c1+a/jSMiBjI9gHxVLrVdbUkkNUUfjsVYs9pVZu5oCon/kmRh9TfLEObFtkVxmY0w==} + engines: {node: '>=8.0.0'} + nanoid@3.3.11: resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -5099,6 +5210,10 @@ packages: resolution: {integrity: sha512-9ZhXKM/rw350N1ovuWHbGxnGh/SNJ4cnxHiM0rxE4VN41wsg8P8zWn9hv/buK00RP4WvlOyr/RBDiptyxVbkZQ==} engines: {node: '>=0.10.0'} + postgres@3.4.7: + resolution: {integrity: sha512-Jtc2612XINuBjIl/QTWsV5UvE8UHuNblcO3vVADSrKsrc6RqGX6lOW1cEo3CM2v0XG4Nat8nI+YM7/f26VxXLw==} + engines: {node: '>=12'} + prelude-ls@1.2.1: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} @@ -5182,13 +5297,16 @@ packages: engines: {node: '>=14'} hasBin: true - prisma@6.17.1: - resolution: {integrity: sha512-ac6h0sM1Tg3zu8NInY+qhP/S9KhENVaw9n1BrGKQVFu05JT5yT5Qqqmb8tMRIE3ZXvVj4xcRA5yfrsy4X7Yy5g==} - engines: {node: '>=18.18'} + prisma@7.2.0: + resolution: {integrity: sha512-jSdHWgWOgFF24+nRyyNRVBIgGDQEsMEF8KPHvhBBg3jWyR9fUAK0Nq9ThUmiGlNgq2FA7vSk/ZoCvefod+a8qg==} + engines: {node: ^20.19 || ^22.12 || >=24.0} hasBin: true peerDependencies: - typescript: '>=5.1.0' + better-sqlite3: '>=9.0.0' + typescript: '>=5.4.0' peerDependenciesMeta: + better-sqlite3: + optional: true typescript: optional: true @@ -5204,6 +5322,9 @@ packages: prop-types@15.8.1: resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} + proper-lockfile@4.1.2: + resolution: {integrity: sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA==} + pump@3.0.0: resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} @@ -5335,6 +5456,9 @@ packages: regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + regexp-to-ast@0.5.0: + resolution: {integrity: sha512-tlbJqcMHnPKI9zSrystikWKwHkBqu2a/Sgw01h3zFjvYrMxEDYHzzoMZnUrbIfpTFEsoRnnviOXNCzFiSc54Qw==} + regexp-tree@0.1.27: resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} hasBin: true @@ -5361,6 +5485,9 @@ packages: relay-runtime@12.0.0: resolution: {integrity: sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==} + remeda@2.21.3: + resolution: {integrity: sha512-XXrZdLA10oEOQhLLzEJEiFFSKi21REGAkHdImIb4rt/XXy8ORGXh5HCcpUOsElfPNDb+X6TA/+wkh+p2KffYmg==} + remedial@1.0.8: resolution: {integrity: sha512-/62tYiOe6DzS5BqVsNpH/nkGlX45C/Sp6V+NtiN6JQNS1Viay7cWkazmRkrQrdFj2eshDe96SIQNIoMxqhzBOg==} @@ -5418,6 +5545,10 @@ packages: resolution: {integrity: sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw==} engines: {node: '>=10'} + retry@0.12.0: + resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} + engines: {node: '>= 4'} + reusify@1.0.4: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} @@ -5489,6 +5620,9 @@ packages: sentence-case@3.0.4: resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} + seq-queue@0.0.5: + resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==} + seroval-plugins@1.4.0: resolution: {integrity: sha512-zir1aWzoiax6pbBVjoYVd0O1QQXgIL3eVGBMsBsNmM8Ukq90yGaWlfx0AB9dTS8GPqrOrbXn79vmItCUP9U3BQ==} engines: {node: '>=10'} @@ -5617,6 +5751,10 @@ packages: sponge-case@1.0.1: resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} + sqlstring@2.3.3: + resolution: {integrity: sha512-qC9iz2FlN7DQl3+wjwn3802RTyjCx7sDvfQEXchwa6CWOx07/WVfh91gBmQ9fahw8snwGEWU3xGzOt4tFyHLxg==} + engines: {node: '>= 0.6'} + stable-hash-x@0.2.0: resolution: {integrity: sha512-o3yWv49B/o4QZk5ZcsALc6t0+eCelPc44zZsLtCQnZPDwFpDYSWcDnrv2TtMmMbQ7uKo3J0HTURCqckw23czNQ==} engines: {node: '>=12.0.0'} @@ -5873,6 +6011,10 @@ packages: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} + 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'} @@ -5985,6 +6127,14 @@ packages: util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + valibot@1.2.0: + resolution: {integrity: sha512-mm1rxUsmOxzrwnX5arGS+U4T25RdvpPjPN4yR0u9pUBov9+zGVtO84tif1eY4r6zWxVxu3KzIyknJy3rxfRZZg==} + peerDependencies: + typescript: '>=5' + peerDependenciesMeta: + typescript: + optional: true + value-or-promise@1.0.12: resolution: {integrity: sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==} engines: {node: '>=12'} @@ -6205,6 +6355,9 @@ packages: zen-observable@0.8.15: resolution: {integrity: sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ==} + zeptomatch@2.0.2: + resolution: {integrity: sha512-H33jtSKf8Ijtb5BW6wua3G5DhnFjbFML36eFu+VdOoVY4HD9e7ggjqdM6639B+L87rjnR6Y+XeRzBXZdy52B/g==} + zod@3.25.76: resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==} @@ -6644,8 +6797,33 @@ snapshots: '@babel/helper-string-parser': 7.27.1 '@babel/helper-validator-identifier': 7.27.1 + '@chevrotain/cst-dts-gen@10.5.0': + dependencies: + '@chevrotain/gast': 10.5.0 + '@chevrotain/types': 10.5.0 + lodash: 4.17.21 + + '@chevrotain/gast@10.5.0': + dependencies: + '@chevrotain/types': 10.5.0 + lodash: 4.17.21 + + '@chevrotain/types@10.5.0': {} + + '@chevrotain/utils@10.5.0': {} + '@date-fns/tz@1.2.0': {} + '@electric-sql/pglite-socket@0.0.6(@electric-sql/pglite@0.3.2)': + dependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite-tools@0.2.7(@electric-sql/pglite@0.3.2)': + dependencies: + '@electric-sql/pglite': 0.3.2 + + '@electric-sql/pglite@0.3.2': {} + '@emnapi/core@1.4.3': dependencies: '@emnapi/wasi-threads': 1.0.2 @@ -7334,6 +7512,10 @@ snapshots: '@repeaterjs/repeater': 3.0.6 tslib: 2.8.1 + '@hono/node-server@1.19.6(hono@4.10.6)': + dependencies: + hono: 4.10.6 + '@hookform/resolvers@5.2.2(react-hook-form@7.60.0(react@19.1.0))': dependencies: '@standard-schema/utils': 0.3.0 @@ -7401,6 +7583,11 @@ snapshots: '@lukeed/ms@2.0.2': {} + '@mrleebo/prisma-ast@0.12.1': + dependencies: + chevrotain: 10.5.0 + lilconfig: 2.1.0 + '@napi-rs/wasm-runtime@0.2.12': dependencies: '@emnapi/core': 1.4.3 @@ -7754,11 +7941,11 @@ snapshots: dependencies: graphql: 16.11.0 - '@pothos/plugin-prisma@4.12.0(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': + '@pothos/plugin-prisma@4.14.1(@pothos/core@4.10.0(graphql@16.11.0))(@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3))(graphql@16.11.0)(typescript@5.8.3)': dependencies: '@pothos/core': 4.10.0(graphql@16.11.0) - '@prisma/client': 6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3) - '@prisma/generator-helper': 6.17.1 + '@prisma/client': 7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3) + '@prisma/generator-helper': 7.2.0 graphql: 16.11.0 typescript: 5.8.3 @@ -7789,62 +7976,94 @@ snapshots: '@sentry/node': 9.17.0 graphql: 16.11.0 - '@prisma/adapter-pg@6.17.1': + '@prisma/adapter-pg@7.2.0': dependencies: - '@prisma/driver-adapter-utils': 6.17.1 + '@prisma/driver-adapter-utils': 7.2.0 pg: 8.16.3 postgres-array: 3.0.4 transitivePeerDependencies: - pg-native - '@prisma/client@6.17.1(prisma@6.17.1(typescript@5.8.3))(typescript@5.8.3)': + '@prisma/client-runtime-utils@7.2.0': {} + + '@prisma/client@7.2.0(prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3))(typescript@5.8.3)': + dependencies: + '@prisma/client-runtime-utils': 7.2.0 optionalDependencies: - prisma: 6.17.1(typescript@5.8.3) + prisma: 7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3) typescript: 5.8.3 - '@prisma/config@6.17.1': + '@prisma/config@7.2.0': 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.17.1': {} + '@prisma/debug@6.8.2': {} + + '@prisma/debug@7.2.0': {} + + '@prisma/dev@0.17.0(typescript@5.8.3)': + dependencies: + '@electric-sql/pglite': 0.3.2 + '@electric-sql/pglite-socket': 0.0.6(@electric-sql/pglite@0.3.2) + '@electric-sql/pglite-tools': 0.2.7(@electric-sql/pglite@0.3.2) + '@hono/node-server': 1.19.6(hono@4.10.6) + '@mrleebo/prisma-ast': 0.12.1 + '@prisma/get-platform': 6.8.2 + '@prisma/query-plan-executor': 6.18.0 + foreground-child: 3.3.1 + get-port-please: 3.1.2 + hono: 4.10.6 + http-status-codes: 2.3.0 + pathe: 2.0.3 + proper-lockfile: 4.1.2 + remeda: 2.21.3 + std-env: 3.9.0 + valibot: 1.2.0(typescript@5.8.3) + zeptomatch: 2.0.2 + transitivePeerDependencies: + - typescript - '@prisma/dmmf@6.17.1': {} + '@prisma/dmmf@7.2.0': {} - '@prisma/driver-adapter-utils@6.17.1': + '@prisma/driver-adapter-utils@7.2.0': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 7.2.0 - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': {} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': {} - '@prisma/engines@6.17.1': + '@prisma/engines@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/fetch-engine': 6.17.1 - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/fetch-engine': 7.2.0 + '@prisma/get-platform': 7.2.0 - '@prisma/fetch-engine@6.17.1': + '@prisma/fetch-engine@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/get-platform': 7.2.0 - '@prisma/generator-helper@6.17.1': + '@prisma/generator-helper@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/dmmf': 6.17.1 - '@prisma/generator': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/dmmf': 7.2.0 + '@prisma/generator': 7.2.0 - '@prisma/generator@6.17.1': {} + '@prisma/generator@7.2.0': {} + + '@prisma/get-platform@6.8.2': + dependencies: + '@prisma/debug': 6.8.2 - '@prisma/get-platform@6.17.1': + '@prisma/get-platform@7.2.0': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 7.2.0 '@prisma/instrumentation@6.7.0(@opentelemetry/api@1.9.0)': dependencies: @@ -7853,6 +8072,14 @@ snapshots: transitivePeerDependencies: - supports-color + '@prisma/query-plan-executor@6.18.0': {} + + '@prisma/studio-core@0.9.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + dependencies: + '@types/react': 19.1.3 + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + '@radix-ui/number@1.1.1': {} '@radix-ui/primitive@1.1.2': {} @@ -9526,6 +9753,8 @@ snapshots: '@fastify/error': 4.0.0 fastq: 1.17.1 + aws-ssl-profiles@1.1.2: {} + axe-core@4.10.0: {} axobject-query@4.1.0: {} @@ -9721,6 +9950,15 @@ snapshots: check-error@2.1.1: {} + chevrotain@10.5.0: + dependencies: + '@chevrotain/cst-dts-gen': 10.5.0 + '@chevrotain/gast': 10.5.0 + '@chevrotain/types': 10.5.0 + '@chevrotain/utils': 10.5.0 + lodash: 4.17.21 + regexp-to-ast: 0.5.0 + chokidar@3.6.0: dependencies: anymatch: 3.1.3 @@ -9934,6 +10172,8 @@ snapshots: defu@6.1.4: {} + denque@2.1.0: {} + depd@2.0.0: {} dependency-graph@0.11.0: {} @@ -9979,7 +10219,7 @@ snapshots: eastasianwidth@0.2.0: {} - effect@3.16.12: + effect@3.18.4: dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 @@ -10522,6 +10762,10 @@ snapshots: functions-have-names@1.2.3: {} + generate-function@2.3.1: + dependencies: + is-property: 1.0.2 + gensync@1.0.0-beta.2: {} get-caller-file@2.0.5: {} @@ -10541,6 +10785,8 @@ snapshots: get-nonce@1.0.1: {} + get-port-please@3.1.2: {} + get-proto@1.0.1: dependencies: dunder-proto: 1.0.1 @@ -10619,6 +10865,8 @@ snapshots: graceful-fs@4.2.11: {} + grammex@3.1.12: {} + graphemer@1.4.0: {} graphql-config@5.1.5(@types/node@22.13.11)(graphql@16.11.0)(typescript@5.8.3): @@ -10718,6 +10966,8 @@ snapshots: dependencies: react-is: 16.13.1 + hono@4.10.6: {} + http-errors@2.0.0: dependencies: depd: 2.0.0 @@ -10733,6 +10983,8 @@ snapshots: transitivePeerDependencies: - supports-color + http-status-codes@2.3.0: {} + https-proxy-agent@7.0.5: dependencies: agent-base: 7.1.1 @@ -10744,6 +10996,10 @@ snapshots: dependencies: safer-buffer: 2.1.2 + iconv-lite@0.7.1: + dependencies: + safer-buffer: 2.1.2 + ieee754@1.2.1: {} ignore@5.3.2: {} @@ -10899,6 +11155,8 @@ snapshots: is-plain-obj@4.1.0: {} + is-property@1.0.2: {} + is-regex@1.2.1: dependencies: call-bound: 1.0.4 @@ -11091,6 +11349,8 @@ snapshots: lightningcss-win32-arm64-msvc: 1.30.1 lightningcss-win32-x64-msvc: 1.30.1 + lilconfig@2.1.0: {} + lines-and-columns@1.2.4: {} listr2@4.0.5(enquirer@2.3.6): @@ -11134,6 +11394,8 @@ snapshots: loglevel@1.9.1: {} + long@5.3.2: {} + loose-envify@1.4.0: dependencies: js-tokens: 4.0.0 @@ -11156,6 +11418,8 @@ snapshots: dependencies: yallist: 3.1.1 + lru.min@1.1.3: {} + magic-string@0.30.19: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 @@ -11215,6 +11479,22 @@ snapshots: mylas@2.1.13: {} + mysql2@3.15.3: + dependencies: + aws-ssl-profiles: 1.1.2 + denque: 2.1.0 + generate-function: 2.3.1 + iconv-lite: 0.7.1 + long: 5.3.2 + lru.min: 1.1.3 + named-placeholders: 1.1.6 + seq-queue: 0.0.5 + sqlstring: 2.3.3 + + named-placeholders@1.1.6: + dependencies: + lru.min: 1.1.3 + nanoid@3.3.11: {} nanoid@5.1.6: {} @@ -11560,6 +11840,8 @@ snapshots: dependencies: xtend: 4.0.2 + postgres@3.4.7: {} + prelude-ls@1.2.1: {} prettier-plugin-packagejson@2.5.19(prettier@3.6.2): @@ -11577,14 +11859,21 @@ snapshots: prettier@3.6.2: {} - prisma@6.17.1(typescript@5.8.3): + prisma@7.2.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.8.3): dependencies: - '@prisma/config': 6.17.1 - '@prisma/engines': 6.17.1 + '@prisma/config': 7.2.0 + '@prisma/dev': 0.17.0(typescript@5.8.3) + '@prisma/engines': 7.2.0 + '@prisma/studio-core': 0.9.0(@types/react@19.1.3)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + mysql2: 3.15.3 + postgres: 3.4.7 optionalDependencies: typescript: 5.8.3 transitivePeerDependencies: + - '@types/react' - magicast + - react + - react-dom process-warning@4.0.0: {} @@ -11600,6 +11889,12 @@ snapshots: object-assign: 4.1.1 react-is: 16.13.1 + proper-lockfile@4.1.2: + dependencies: + graceful-fs: 4.2.11 + retry: 0.12.0 + signal-exit: 3.0.7 + pump@3.0.0: dependencies: end-of-stream: 1.4.4 @@ -11776,6 +12071,8 @@ snapshots: regenerator-runtime@0.14.1: {} + regexp-to-ast@0.5.0: {} + regexp-tree@0.1.27: {} regexp.prototype.flags@1.5.4: @@ -11804,6 +12101,10 @@ snapshots: transitivePeerDependencies: - encoding + remeda@2.21.3: + dependencies: + type-fest: 4.41.0 + remedial@1.0.8: {} remove-trailing-separator@1.1.0: {} @@ -11856,6 +12157,8 @@ snapshots: ret@0.5.0: {} + retry@0.12.0: {} + reusify@1.0.4: {} rfdc@1.4.1: {} @@ -11944,6 +12247,8 @@ snapshots: tslib: 2.8.1 upper-case-first: 2.0.2 + seq-queue@0.0.5: {} + seroval-plugins@1.4.0(seroval@1.4.0): dependencies: seroval: 1.4.0 @@ -12078,6 +12383,8 @@ snapshots: dependencies: tslib: 2.8.1 + sqlstring@2.3.3: {} + stable-hash-x@0.2.0: {} stackback@0.0.2: {} @@ -12321,6 +12628,8 @@ snapshots: type-fest@0.21.3: {} + type-fest@4.41.0: {} + typed-array-buffer@1.0.3: dependencies: call-bound: 1.0.4 @@ -12463,6 +12772,10 @@ snapshots: util-deprecate@1.0.2: {} + valibot@1.2.0(typescript@5.8.3): + optionalDependencies: + typescript: 5.8.3 + value-or-promise@1.0.12: {} vite-node@3.2.4(@types/node@22.13.11)(jiti@2.5.1)(lightningcss@1.30.1)(tsx@4.20.6)(yaml@2.5.1): @@ -12713,6 +13026,10 @@ snapshots: zen-observable@0.8.15: {} + zeptomatch@2.0.2: + dependencies: + grammex: 3.1.12 + zod@3.25.76: {} zod@4.1.13: {} From b3a6031e0c1a3ff51fe6885caaa10d4ce6175f63 Mon Sep 17 00:00:00 2001 From: Kingston Date: Mon, 22 Dec 2025 12:21:36 +0100 Subject: [PATCH 5/7] Fix prisma config ts to include datasource URL --- .../apps/backend/.templates-info.json | 2 +- .../apps/backend/baseplate/file-id-map.json | 2 +- .../baseplate/generated/eslint.config.js | 2 +- .../{prisma.config.mts => prisma.config.ts} | 12 +- .../apps/backend/eslint.config.js | 2 +- .../{prisma.config.mts => prisma.config.ts} | 12 +- .../apps/backend/.templates-info.json | 2 +- .../apps/backend/baseplate/file-id-map.json | 2 +- .../baseplate/generated/eslint.config.js | 2 +- .../{prisma.config.mts => prisma.config.ts} | 12 +- .../apps/backend/eslint.config.js | 2 +- .../{prisma.config.mts => prisma.config.ts} | 12 +- packages/fastify-generators/package.json | 2 +- .../generators/prisma/prisma/extractor.json | 4 +- .../prisma/prisma/generated/template-paths.ts | 2 +- .../prisma/generated/typed-templates.ts | 2 +- .../prisma/prisma/prisma.generator.ts | 2 +- .../{prisma.config.mts => prisma.config.ts} | 12 +- pnpm-lock.yaml | 148 +++++++++--------- .../apps/backend/baseplate/file-id-map.json | 2 +- .../baseplate/generated/eslint.config.js | 2 +- .../{prisma.config.mts => prisma.config.ts} | 12 +- tests/simple/apps/backend/eslint.config.js | 2 +- .../{prisma.config.mts => prisma.config.ts} | 12 +- 24 files changed, 147 insertions(+), 119 deletions(-) rename examples/blog-with-auth/apps/backend/baseplate/generated/{prisma.config.mts => prisma.config.ts} (62%) rename examples/blog-with-auth/apps/backend/{prisma.config.mts => prisma.config.ts} (62%) rename examples/todo-with-auth0/apps/backend/baseplate/generated/{prisma.config.mts => prisma.config.ts} (62%) rename examples/todo-with-auth0/apps/backend/{prisma.config.mts => prisma.config.ts} (62%) rename packages/fastify-generators/src/generators/prisma/prisma/templates/package/{prisma.config.mts => prisma.config.ts} (52%) rename tests/simple/apps/backend/baseplate/generated/{prisma.config.mts => prisma.config.ts} (57%) rename tests/simple/apps/backend/{prisma.config.mts => prisma.config.ts} (57%) diff --git a/examples/blog-with-auth/apps/backend/.templates-info.json b/examples/blog-with-auth/apps/backend/.templates-info.json index ce5c1541c..63fa3048b 100644 --- a/examples/blog-with-auth/apps/backend/.templates-info.json +++ b/examples/blog-with-auth/apps/backend/.templates-info.json @@ -11,7 +11,7 @@ "instanceData": {}, "template": "eslint-config" }, - "prisma.config.mts": { + "prisma.config.ts": { "generator": "@baseplate-dev/fastify-generators#prisma/prisma", "instanceData": {}, "template": "prisma-config" diff --git a/examples/blog-with-auth/apps/backend/baseplate/file-id-map.json b/examples/blog-with-auth/apps/backend/baseplate/file-id-map.json index d00f98fee..fc86b19b6 100644 --- a/examples/blog-with-auth/apps/backend/baseplate/file-id-map.json +++ b/examples/blog-with-auth/apps/backend/baseplate/file-id-map.json @@ -73,7 +73,7 @@ "@baseplate-dev/fastify-generators#prisma/data-utils:relation-helpers": "src/utils/data-operations/relation-helpers.ts", "@baseplate-dev/fastify-generators#prisma/data-utils:types": "src/utils/data-operations/types.ts", "@baseplate-dev/fastify-generators#prisma/prisma:client": "src/generated/prisma/client.ts", - "@baseplate-dev/fastify-generators#prisma/prisma:prisma-config": "prisma.config.mts", + "@baseplate-dev/fastify-generators#prisma/prisma:prisma-config": "prisma.config.ts", "@baseplate-dev/fastify-generators#prisma/prisma:prisma-schema": "prisma/schema.prisma", "@baseplate-dev/fastify-generators#prisma/prisma:prisma-seed-env": ".seed.env", "@baseplate-dev/fastify-generators#prisma/prisma:prisma-seed-env-example": ".seed.env.example", diff --git a/examples/blog-with-auth/apps/backend/baseplate/generated/eslint.config.js b/examples/blog-with-auth/apps/backend/baseplate/generated/eslint.config.js index c6b28de09..7cacbd657 100644 --- a/examples/blog-with-auth/apps/backend/baseplate/generated/eslint.config.js +++ b/examples/blog-with-auth/apps/backend/baseplate/generated/eslint.config.js @@ -35,7 +35,7 @@ const IGNORE_FILES = /* TPL_IGNORE_FILES:START */ [ // Specifies which files should use the default tsconfig.json project // This is useful for certain files outside the src directory, e.g. config files const TS_DEFAULT_PROJECT_FILES = /* TPL_DEFAULT_PROJECT_FILES:START */ [ - 'prisma.config.mts', + 'prisma.config.ts', 'vitest.config.ts', 'vitest.config.ts', ]; /* TPL_DEFAULT_PROJECT_FILES:END */ diff --git a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.mts b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts similarity index 62% rename from examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.mts rename to examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts index afb91fb6a..916ee2fd4 100644 --- a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.mts +++ b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts @@ -1,15 +1,19 @@ -import type { PrismaConfig } from 'prisma'; - import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; +import { defineConfig, env } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { loadEnvFile(); } -export default { +export default defineConfig({ + schema: './prisma/schema.prisma', migrations: { + path: './prisma/migrations', seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, -} satisfies PrismaConfig; + datasource: { + url: env('DATABASE_URL'), + }, +}); diff --git a/examples/blog-with-auth/apps/backend/eslint.config.js b/examples/blog-with-auth/apps/backend/eslint.config.js index c6b28de09..7cacbd657 100644 --- a/examples/blog-with-auth/apps/backend/eslint.config.js +++ b/examples/blog-with-auth/apps/backend/eslint.config.js @@ -35,7 +35,7 @@ const IGNORE_FILES = /* TPL_IGNORE_FILES:START */ [ // Specifies which files should use the default tsconfig.json project // This is useful for certain files outside the src directory, e.g. config files const TS_DEFAULT_PROJECT_FILES = /* TPL_DEFAULT_PROJECT_FILES:START */ [ - 'prisma.config.mts', + 'prisma.config.ts', 'vitest.config.ts', 'vitest.config.ts', ]; /* TPL_DEFAULT_PROJECT_FILES:END */ diff --git a/examples/blog-with-auth/apps/backend/prisma.config.mts b/examples/blog-with-auth/apps/backend/prisma.config.ts similarity index 62% rename from examples/blog-with-auth/apps/backend/prisma.config.mts rename to examples/blog-with-auth/apps/backend/prisma.config.ts index afb91fb6a..916ee2fd4 100644 --- a/examples/blog-with-auth/apps/backend/prisma.config.mts +++ b/examples/blog-with-auth/apps/backend/prisma.config.ts @@ -1,15 +1,19 @@ -import type { PrismaConfig } from 'prisma'; - import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; +import { defineConfig, env } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { loadEnvFile(); } -export default { +export default defineConfig({ + schema: './prisma/schema.prisma', migrations: { + path: './prisma/migrations', seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, -} satisfies PrismaConfig; + datasource: { + url: env('DATABASE_URL'), + }, +}); diff --git a/examples/todo-with-auth0/apps/backend/.templates-info.json b/examples/todo-with-auth0/apps/backend/.templates-info.json index 92bde729c..73b451c7c 100644 --- a/examples/todo-with-auth0/apps/backend/.templates-info.json +++ b/examples/todo-with-auth0/apps/backend/.templates-info.json @@ -11,7 +11,7 @@ "instanceData": {}, "template": "eslint-config" }, - "prisma.config.mts": { + "prisma.config.ts": { "generator": "@baseplate-dev/fastify-generators#prisma/prisma", "instanceData": {}, "template": "prisma-config" diff --git a/examples/todo-with-auth0/apps/backend/baseplate/file-id-map.json b/examples/todo-with-auth0/apps/backend/baseplate/file-id-map.json index edaaa232f..1ef9ac6d4 100644 --- a/examples/todo-with-auth0/apps/backend/baseplate/file-id-map.json +++ b/examples/todo-with-auth0/apps/backend/baseplate/file-id-map.json @@ -108,7 +108,7 @@ "@baseplate-dev/fastify-generators#prisma/data-utils:relation-helpers": "src/utils/data-operations/relation-helpers.ts", "@baseplate-dev/fastify-generators#prisma/data-utils:types": "src/utils/data-operations/types.ts", "@baseplate-dev/fastify-generators#prisma/prisma:client": "src/generated/prisma/client.ts", - "@baseplate-dev/fastify-generators#prisma/prisma:prisma-config": "prisma.config.mts", + "@baseplate-dev/fastify-generators#prisma/prisma:prisma-config": "prisma.config.ts", "@baseplate-dev/fastify-generators#prisma/prisma:prisma-schema": "prisma/schema.prisma", "@baseplate-dev/fastify-generators#prisma/prisma:seed": "src/prisma/seed.ts", "@baseplate-dev/fastify-generators#prisma/prisma:service": "src/services/prisma.ts", diff --git a/examples/todo-with-auth0/apps/backend/baseplate/generated/eslint.config.js b/examples/todo-with-auth0/apps/backend/baseplate/generated/eslint.config.js index c6b28de09..7cacbd657 100644 --- a/examples/todo-with-auth0/apps/backend/baseplate/generated/eslint.config.js +++ b/examples/todo-with-auth0/apps/backend/baseplate/generated/eslint.config.js @@ -35,7 +35,7 @@ const IGNORE_FILES = /* TPL_IGNORE_FILES:START */ [ // Specifies which files should use the default tsconfig.json project // This is useful for certain files outside the src directory, e.g. config files const TS_DEFAULT_PROJECT_FILES = /* TPL_DEFAULT_PROJECT_FILES:START */ [ - 'prisma.config.mts', + 'prisma.config.ts', 'vitest.config.ts', 'vitest.config.ts', ]; /* TPL_DEFAULT_PROJECT_FILES:END */ diff --git a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.mts b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts similarity index 62% rename from examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.mts rename to examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts index afb91fb6a..916ee2fd4 100644 --- a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.mts +++ b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts @@ -1,15 +1,19 @@ -import type { PrismaConfig } from 'prisma'; - import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; +import { defineConfig, env } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { loadEnvFile(); } -export default { +export default defineConfig({ + schema: './prisma/schema.prisma', migrations: { + path: './prisma/migrations', seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, -} satisfies PrismaConfig; + datasource: { + url: env('DATABASE_URL'), + }, +}); diff --git a/examples/todo-with-auth0/apps/backend/eslint.config.js b/examples/todo-with-auth0/apps/backend/eslint.config.js index c6b28de09..7cacbd657 100644 --- a/examples/todo-with-auth0/apps/backend/eslint.config.js +++ b/examples/todo-with-auth0/apps/backend/eslint.config.js @@ -35,7 +35,7 @@ const IGNORE_FILES = /* TPL_IGNORE_FILES:START */ [ // Specifies which files should use the default tsconfig.json project // This is useful for certain files outside the src directory, e.g. config files const TS_DEFAULT_PROJECT_FILES = /* TPL_DEFAULT_PROJECT_FILES:START */ [ - 'prisma.config.mts', + 'prisma.config.ts', 'vitest.config.ts', 'vitest.config.ts', ]; /* TPL_DEFAULT_PROJECT_FILES:END */ diff --git a/examples/todo-with-auth0/apps/backend/prisma.config.mts b/examples/todo-with-auth0/apps/backend/prisma.config.ts similarity index 62% rename from examples/todo-with-auth0/apps/backend/prisma.config.mts rename to examples/todo-with-auth0/apps/backend/prisma.config.ts index afb91fb6a..916ee2fd4 100644 --- a/examples/todo-with-auth0/apps/backend/prisma.config.mts +++ b/examples/todo-with-auth0/apps/backend/prisma.config.ts @@ -1,15 +1,19 @@ -import type { PrismaConfig } from 'prisma'; - import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; +import { defineConfig, env } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { loadEnvFile(); } -export default { +export default defineConfig({ + schema: './prisma/schema.prisma', migrations: { + path: './prisma/migrations', seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, -} satisfies PrismaConfig; + datasource: { + url: env('DATABASE_URL'), + }, +}); diff --git a/packages/fastify-generators/package.json b/packages/fastify-generators/package.json index 8fbc30597..6149a1222 100644 --- a/packages/fastify-generators/package.json +++ b/packages/fastify-generators/package.json @@ -50,7 +50,7 @@ "@baseplate-dev/core-generators": "workspace:*", "@baseplate-dev/sync": "workspace:*", "@baseplate-dev/utils": "workspace:*", - "@prisma/internals": "6.17.1", + "@prisma/internals": "7.2.0", "change-case": "5.4.4", "es-toolkit": "1.31.0", "indent-string": "5.0.0", diff --git a/packages/fastify-generators/src/generators/prisma/prisma/extractor.json b/packages/fastify-generators/src/generators/prisma/prisma/extractor.json index c6c2e39c7..bf1edbb21 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/extractor.json +++ b/packages/fastify-generators/src/generators/prisma/prisma/extractor.json @@ -26,8 +26,8 @@ "type": "ts", "fileOptions": { "kind": "singleton" }, "importMapProviders": {}, - "pathRootRelativePath": "{package-root}/prisma.config.mts", - "sourceFile": "package/prisma.config.mts", + "pathRootRelativePath": "{package-root}/prisma.config.ts", + "sourceFile": "package/prisma.config.ts", "variables": { "TPL_SEED_COMMAND": {} } }, "seed": { diff --git a/packages/fastify-generators/src/generators/prisma/prisma/generated/template-paths.ts b/packages/fastify-generators/src/generators/prisma/prisma/generated/template-paths.ts index 5e7a0d95a..9714f298d 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/generated/template-paths.ts +++ b/packages/fastify-generators/src/generators/prisma/prisma/generated/template-paths.ts @@ -23,7 +23,7 @@ const prismaPrismaPathsTask = createGeneratorTask({ providers: { prismaPrismaPaths: { client: `${srcRoot}/generated/prisma/client.ts`, - prismaConfig: `${packageRoot}/prisma.config.mts`, + prismaConfig: `${packageRoot}/prisma.config.ts`, seed: `${srcRoot}/prisma/seed.ts`, service: `${srcRoot}/services/prisma.ts`, }, diff --git a/packages/fastify-generators/src/generators/prisma/prisma/generated/typed-templates.ts b/packages/fastify-generators/src/generators/prisma/prisma/generated/typed-templates.ts index d2400d826..89ef4cde8 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/generated/typed-templates.ts +++ b/packages/fastify-generators/src/generators/prisma/prisma/generated/typed-templates.ts @@ -22,7 +22,7 @@ const prismaConfig = createTsTemplateFile({ source: { path: path.join( import.meta.dirname, - '../templates/package/prisma.config.mts', + '../templates/package/prisma.config.ts', ), }, variables: { TPL_SEED_COMMAND: {} }, diff --git a/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts b/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts index 0d04d13fd..3f0f9f865 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts +++ b/packages/fastify-generators/src/generators/prisma/prisma/prisma.generator.ts @@ -121,7 +121,7 @@ export const prismaGenerator = createGenerator({ prettier: prettierProvider, }, run({ eslintConfig, prettier }) { - eslintConfig.tsDefaultProjectFiles.push('prisma.config.mts'); + eslintConfig.tsDefaultProjectFiles.push('prisma.config.ts'); eslintConfig.eslintIgnore.push('src/generated/prisma/**/*.ts'); prettier.addPrettierIgnore('src/generated/prisma/**/*.ts'); }, diff --git a/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.mts b/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts similarity index 52% rename from packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.mts rename to packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts index 8401ddb13..54e9bd89f 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.mts +++ b/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts @@ -1,17 +1,21 @@ // @ts-nocheck -import type { PrismaConfig } from 'prisma'; - import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; +import { defineConfig, env } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { loadEnvFile(); } -export default { +export default defineConfig({ + schema: './prisma/schema.prisma', migrations: { + path: './prisma/migrations', seed: TPL_SEED_COMMAND, }, -} satisfies PrismaConfig; + datasource: { + url: env('DATABASE_URL'), + }, +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e0dcdf099..9526abc43 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -301,8 +301,8 @@ importers: specifier: workspace:* version: link:../utils '@prisma/internals': - specifier: 6.17.1 - version: 6.17.1(typescript@5.8.3) + specifier: 7.2.0 + version: 7.2.0(typescript@5.8.3) change-case: specifier: 5.4.4 version: 5.4.4 @@ -2524,52 +2524,52 @@ packages: engines: {node: '>=18'} hasBin: true - '@prisma/config@6.17.1': - resolution: {integrity: sha512-fs8wY6DsvOCzuiyWVckrVs1LOcbY4LZNz8ki4uUIQ28jCCzojTGqdLhN2Jl5lDnC1yI8/gNIKpsWDM8pLhOdwA==} + '@prisma/config@7.2.0': + resolution: {integrity: sha512-qmvSnfQ6l/srBW1S7RZGfjTQhc44Yl3ldvU6y3pgmuLM+83SBDs6UQVgMtQuMRe9J3gGqB0RF8wER6RlXEr6jQ==} - '@prisma/debug@6.17.1': - resolution: {integrity: sha512-Vf7Tt5Wh9XcndpbmeotuqOMLWPTjEKCsgojxXP2oxE1/xYe7PtnP76hsouG9vis6fctX+TxgmwxTuYi/+xc7dQ==} + '@prisma/debug@7.2.0': + resolution: {integrity: sha512-YSGTiSlBAVJPzX4ONZmMotL+ozJwQjRmZweQNIq/ER0tQJKJynNkRB3kyvt37eOfsbMCXk3gnLF6J9OJ4QWftw==} - '@prisma/dmmf@6.17.1': - resolution: {integrity: sha512-ILf+sYTvoZRJIn1KjW8ZBn9N3fK+4ZxreJT0EXuLxbZWbXuz7Eums0/PEscS8+fzktg1zbxZvjHVFMppqfFz3g==} + '@prisma/dmmf@7.2.0': + resolution: {integrity: sha512-w+hAFGH34+Ed+y7AhK3FL6ExwPu5Ym2uyadqlTEn8yyXereHRD8qO9tQfgTIJuUqF0G2JZXBVrNuqvRVVvSZdg==} - '@prisma/driver-adapter-utils@6.17.1': - resolution: {integrity: sha512-GT4QbVUyJa5sXj5vjrBPnZ68v1P/FoKBCSIkrFrCPrOi6OSzk+567XDZyBtWIECKxruuMTa7fU4wwNmtMQylrg==} + '@prisma/driver-adapter-utils@7.2.0': + resolution: {integrity: sha512-gzrUcbI9VmHS24Uf+0+7DNzdIw7keglJsD5m/MHxQOU68OhGVzlphQRobLiDMn8CHNA2XN8uugwKjudVtnfMVQ==} - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': - resolution: {integrity: sha512-17140E3huOuD9lMdJ9+SF/juOf3WR3sTJMVyyenzqUPbuH+89nPhSWcrY+Mf7tmSs6HvaO+7S+HkELinn6bhdg==} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': + resolution: {integrity: sha512-KezsjCZDsbjNR7SzIiVlUsn9PnLePI7r5uxABlwL+xoerurZTfgQVbIjvjF2sVr3Uc0ZcsnREw3F84HvbggGdA==} - '@prisma/engines@6.17.1': - resolution: {integrity: sha512-D95Ik3GYZkqZ8lSR4EyFOJ/tR33FcYRP8kK61o+WMsyD10UfJwd7+YielflHfKwiGodcqKqoraWw8ElAgMDbPw==} + '@prisma/engines@7.2.0': + resolution: {integrity: sha512-HUeOI/SvCDsHrR9QZn24cxxZcujOjcS3w1oW/XVhnSATAli5SRMOfp/WkG3TtT5rCxDA4xOnlJkW7xkho4nURA==} - '@prisma/fetch-engine@6.17.1': - resolution: {integrity: sha512-AYZiHOs184qkDMiTeshyJCtyL4yERkjfTkJiSJdYuSfc24m94lTNL5+GFinZ6vVz+ktX4NJzHKn1zIFzGTWrWg==} + '@prisma/fetch-engine@7.2.0': + resolution: {integrity: sha512-Z5XZztJ8Ap+wovpjPD2lQKnB8nWFGNouCrglaNFjxIWAGWz0oeHXwUJRiclIoSSXN/ptcs9/behptSk8d0Yy6w==} - '@prisma/generator-helper@6.17.1': - resolution: {integrity: sha512-ONuUTGXCTUK9K//ronFg4xOEARv+tZKOo5uVSJg6tj2y90gpXQunPYyvR17gEoAQrZT17kC0ie60ecv8nulWyQ==} + '@prisma/generator-helper@7.2.0': + resolution: {integrity: sha512-PTz/2mrLlj6ITgvEeubEe+CoSt5GsyFI+3xqnBS27h2r4fYFA6i1TLKjIq8m82GZERN9J/Awwdjw90hdAQSOHg==} - '@prisma/generator@6.17.1': - resolution: {integrity: sha512-R4SIlAtMHlxwXYYHiyWtN+MLRGFF3Jy+LvqcfInbCiaZkoqyhU5kj8/aOu2OV2ydNkkN+Q8ft9Tnv5a/b4pqPg==} + '@prisma/generator@7.2.0': + resolution: {integrity: sha512-EucIFLF/aGmXB2qrjPhjGnL2E0urFuYg1o1+DzFLecoJzZtpRD+nJQt9ZbxKSU6a7PjX3KROOzAEPb3ItaAATA==} - '@prisma/get-platform@6.17.1': - resolution: {integrity: sha512-AKEn6fsfz0r482S5KRDFlIGEaq9wLNcgalD1adL+fPcFFblIKs1sD81kY/utrHdqKuVC6E1XSRpegDK3ZLL4Qg==} + '@prisma/get-platform@7.2.0': + resolution: {integrity: sha512-k1V0l0Td1732EHpAfi2eySTezyllok9dXb6UQanajkJQzPUGi3vO2z7jdkz67SypFTdmbnyGYxvEvYZdZsMAVA==} - '@prisma/internals@6.17.1': - resolution: {integrity: sha512-UTHiHl5Bm/tMdCbooP/x4jJe5HOV2a2gWolTmdqTlCRRxPZqPA6an4M1/Kn8mJXjJTL6b70Dc8b+aY14O3Fmkw==} + '@prisma/internals@7.2.0': + resolution: {integrity: sha512-AD6ziauXgqacFVqKsFi7C+xiZ2/jsrAB0o6m3BdIaj9zQLFkMYETHmRKN7js3+D4RXAVkyIk/AVBUGDvPHWRfw==} peerDependencies: - typescript: '>=5.1.0' + typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - '@prisma/prisma-schema-wasm@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': - resolution: {integrity: sha512-lSeL/eOjCt7SauvAhvlzbYL6fbkBBC07tdghT7dwhRHEorfYh2TTVQQwN29BJgNFufYEyFLYMIoYRHSw4InphQ==} + '@prisma/prisma-schema-wasm@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': + resolution: {integrity: sha512-rniY+d+pqkH1vmnM+rGH3nxf0Z50uC27Yqo9eUsWkkosJ/jyUSFa/lTiPl4CyCOlk6AtJ6ycxjzQnJcMLYaptA==} - '@prisma/schema-engine-wasm@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': - resolution: {integrity: sha512-Xod6kiWzK60WPFgky/DsPEO+6131RxVfFQiq6Hu0pzCThm1cOsEYpfykchZre6FN5uoruqiJRorDFMVpqtPwtw==} + '@prisma/schema-engine-wasm@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': + resolution: {integrity: sha512-Kdyw3LJXp1lbXow1de9WJEFwZdG0Apll4RV1uanatNZlz3cOfl9wuQzD8rh9T+pg6wGT201l+klpJV9sox/S3Q==} - '@prisma/schema-files-loader@6.17.1': - resolution: {integrity: sha512-rRYUP664wFbdvqSbqKdNijb2LHP6A3yEauPy4V7WJDR9ySQJ8adV0nP0cBcUAzHAsBW1JVMwqF+OKIrcwVG3qg==} + '@prisma/schema-files-loader@7.2.0': + resolution: {integrity: sha512-3OQ913USxffx3N9tJalZV/WPzvfhunn8/P7aUplbdV7bPZWSevMQANWDbaYOsZ9uHvWvgvC4lOXUrHdfweJhWw==} '@protobufjs/aspromise@1.1.2': resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} @@ -4849,8 +4849,8 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} - effect@3.16.12: - resolution: {integrity: sha512-N39iBk0K71F9nb442TLbTkjl24FLUzuvx2i1I2RsEAQsdAdUTuUoW0vlfUXgkMTUOnYqKnWcFfqw4hK4Pw27hg==} + effect@3.18.4: + resolution: {integrity: sha512-b1LXQJLe9D11wfnOKAk3PKxuqYshQ0Heez+y5pnkd3jLj1yx9QhM72zZ9uUrOQyNvrs2GZZd/3maL0ZV18YuDA==} electron-to-chromium@1.5.192: resolution: {integrity: sha512-rP8Ez0w7UNw/9j5eSXCe10o1g/8B1P5SM90PCCMVkIRQn2R0LEHWz4Eh9RnxkniuDe1W0cTSOB3MLlkTGDcuCg==} @@ -8928,64 +8928,64 @@ snapshots: dependencies: playwright: 1.56.1 - '@prisma/config@6.17.1': + '@prisma/config@7.2.0': 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.17.1': {} + '@prisma/debug@7.2.0': {} - '@prisma/dmmf@6.17.1': {} + '@prisma/dmmf@7.2.0': {} - '@prisma/driver-adapter-utils@6.17.1': + '@prisma/driver-adapter-utils@7.2.0': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 7.2.0 - '@prisma/engines-version@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': {} + '@prisma/engines-version@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': {} - '@prisma/engines@6.17.1': + '@prisma/engines@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/fetch-engine': 6.17.1 - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/fetch-engine': 7.2.0 + '@prisma/get-platform': 7.2.0 - '@prisma/fetch-engine@6.17.1': + '@prisma/fetch-engine@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/engines-version': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/get-platform': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/engines-version': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/get-platform': 7.2.0 - '@prisma/generator-helper@6.17.1': + '@prisma/generator-helper@7.2.0': dependencies: - '@prisma/debug': 6.17.1 - '@prisma/dmmf': 6.17.1 - '@prisma/generator': 6.17.1 + '@prisma/debug': 7.2.0 + '@prisma/dmmf': 7.2.0 + '@prisma/generator': 7.2.0 - '@prisma/generator@6.17.1': {} + '@prisma/generator@7.2.0': {} - '@prisma/get-platform@6.17.1': + '@prisma/get-platform@7.2.0': dependencies: - '@prisma/debug': 6.17.1 + '@prisma/debug': 7.2.0 - '@prisma/internals@6.17.1(typescript@5.8.3)': + '@prisma/internals@7.2.0(typescript@5.8.3)': dependencies: - '@prisma/config': 6.17.1 - '@prisma/debug': 6.17.1 - '@prisma/dmmf': 6.17.1 - '@prisma/driver-adapter-utils': 6.17.1 - '@prisma/engines': 6.17.1 - '@prisma/fetch-engine': 6.17.1 - '@prisma/generator': 6.17.1 - '@prisma/generator-helper': 6.17.1 - '@prisma/get-platform': 6.17.1 - '@prisma/prisma-schema-wasm': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/schema-engine-wasm': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac - '@prisma/schema-files-loader': 6.17.1 + '@prisma/config': 7.2.0 + '@prisma/debug': 7.2.0 + '@prisma/dmmf': 7.2.0 + '@prisma/driver-adapter-utils': 7.2.0 + '@prisma/engines': 7.2.0 + '@prisma/fetch-engine': 7.2.0 + '@prisma/generator': 7.2.0 + '@prisma/generator-helper': 7.2.0 + '@prisma/get-platform': 7.2.0 + '@prisma/prisma-schema-wasm': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/schema-engine-wasm': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 + '@prisma/schema-files-loader': 7.2.0 arg: 5.0.2 prompts: 2.4.2 optionalDependencies: @@ -8993,13 +8993,13 @@ snapshots: transitivePeerDependencies: - magicast - '@prisma/prisma-schema-wasm@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': {} + '@prisma/prisma-schema-wasm@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': {} - '@prisma/schema-engine-wasm@6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac': {} + '@prisma/schema-engine-wasm@7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3': {} - '@prisma/schema-files-loader@6.17.1': + '@prisma/schema-files-loader@7.2.0': dependencies: - '@prisma/prisma-schema-wasm': 6.17.1-1.272a37d34178c2894197e17273bf937f25acdeac + '@prisma/prisma-schema-wasm': 7.2.0-4.0c8ef2ce45c83248ab3df073180d5eda9e8be7a3 fs-extra: 11.3.0 '@protobufjs/aspromise@1.1.2': {} @@ -11338,7 +11338,7 @@ snapshots: ee-first@1.1.1: {} - effect@3.16.12: + effect@3.18.4: dependencies: '@standard-schema/spec': 1.0.0 fast-check: 3.23.2 diff --git a/tests/simple/apps/backend/baseplate/file-id-map.json b/tests/simple/apps/backend/baseplate/file-id-map.json index ef93d7bf9..695ef38ec 100644 --- a/tests/simple/apps/backend/baseplate/file-id-map.json +++ b/tests/simple/apps/backend/baseplate/file-id-map.json @@ -54,7 +54,7 @@ "@baseplate-dev/fastify-generators#prisma/data-utils:relation-helpers": "src/utils/data-operations/relation-helpers.ts", "@baseplate-dev/fastify-generators#prisma/data-utils:types": "src/utils/data-operations/types.ts", "@baseplate-dev/fastify-generators#prisma/prisma:client": "src/generated/prisma/client.ts", - "@baseplate-dev/fastify-generators#prisma/prisma:prisma-config": "prisma.config.mts", + "@baseplate-dev/fastify-generators#prisma/prisma:prisma-config": "prisma.config.ts", "@baseplate-dev/fastify-generators#prisma/prisma:prisma-schema": "prisma/schema.prisma", "@baseplate-dev/fastify-generators#prisma/prisma:seed": "src/prisma/seed.ts", "@baseplate-dev/fastify-generators#prisma/prisma:service": "src/services/prisma.ts", diff --git a/tests/simple/apps/backend/baseplate/generated/eslint.config.js b/tests/simple/apps/backend/baseplate/generated/eslint.config.js index 1f8498e2b..400b97f7f 100644 --- a/tests/simple/apps/backend/baseplate/generated/eslint.config.js +++ b/tests/simple/apps/backend/baseplate/generated/eslint.config.js @@ -35,7 +35,7 @@ const IGNORE_FILES = [ // Specifies which files should use the default tsconfig.json project // This is useful for certain files outside the src directory, e.g. config files const TS_DEFAULT_PROJECT_FILES = [ - 'prisma.config.mts', + 'prisma.config.ts', 'vitest.config.ts', 'vitest.config.ts', ]; diff --git a/tests/simple/apps/backend/baseplate/generated/prisma.config.mts b/tests/simple/apps/backend/baseplate/generated/prisma.config.ts similarity index 57% rename from tests/simple/apps/backend/baseplate/generated/prisma.config.mts rename to tests/simple/apps/backend/baseplate/generated/prisma.config.ts index 1580aa900..85dc2701a 100644 --- a/tests/simple/apps/backend/baseplate/generated/prisma.config.mts +++ b/tests/simple/apps/backend/baseplate/generated/prisma.config.ts @@ -1,15 +1,19 @@ -import type { PrismaConfig } from 'prisma'; - import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; +import { defineConfig, env } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { loadEnvFile(); } -export default { +export default defineConfig({ + schema: './prisma/schema.prisma', migrations: { + path: './prisma/migrations', seed: 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts', }, -} satisfies PrismaConfig; + datasource: { + url: env('DATABASE_URL'), + }, +}); diff --git a/tests/simple/apps/backend/eslint.config.js b/tests/simple/apps/backend/eslint.config.js index 1f8498e2b..400b97f7f 100644 --- a/tests/simple/apps/backend/eslint.config.js +++ b/tests/simple/apps/backend/eslint.config.js @@ -35,7 +35,7 @@ const IGNORE_FILES = [ // Specifies which files should use the default tsconfig.json project // This is useful for certain files outside the src directory, e.g. config files const TS_DEFAULT_PROJECT_FILES = [ - 'prisma.config.mts', + 'prisma.config.ts', 'vitest.config.ts', 'vitest.config.ts', ]; diff --git a/tests/simple/apps/backend/prisma.config.mts b/tests/simple/apps/backend/prisma.config.ts similarity index 57% rename from tests/simple/apps/backend/prisma.config.mts rename to tests/simple/apps/backend/prisma.config.ts index 1580aa900..85dc2701a 100644 --- a/tests/simple/apps/backend/prisma.config.mts +++ b/tests/simple/apps/backend/prisma.config.ts @@ -1,15 +1,19 @@ -import type { PrismaConfig } from 'prisma'; - import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; +import { defineConfig, env } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { loadEnvFile(); } -export default { +export default defineConfig({ + schema: './prisma/schema.prisma', migrations: { + path: './prisma/migrations', seed: 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts', }, -} satisfies PrismaConfig; + datasource: { + url: env('DATABASE_URL'), + }, +}); From d3565ee5fa1b22a5658c53d91b703620863562cf Mon Sep 17 00:00:00 2001 From: Kingston Date: Mon, 22 Dec 2025 13:35:58 +0100 Subject: [PATCH 6/7] Allow pnpm install without DATABASE_URL --- .../apps/backend/baseplate/generated/prisma.config.ts | 2 +- examples/blog-with-auth/apps/backend/prisma.config.ts | 2 +- .../apps/backend/baseplate/generated/prisma.config.ts | 2 +- examples/todo-with-auth0/apps/backend/prisma.config.ts | 2 +- .../generators/prisma/prisma/templates/package/prisma.config.ts | 2 +- tests/simple/apps/backend/baseplate/generated/prisma.config.ts | 2 +- tests/simple/apps/backend/prisma.config.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts index 916ee2fd4..ac9ab0475 100644 --- a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts +++ b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts @@ -14,6 +14,6 @@ export default defineConfig({ seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, datasource: { - url: env('DATABASE_URL'), + url: process.env.DATABASE_URL, }, }); diff --git a/examples/blog-with-auth/apps/backend/prisma.config.ts b/examples/blog-with-auth/apps/backend/prisma.config.ts index 916ee2fd4..ac9ab0475 100644 --- a/examples/blog-with-auth/apps/backend/prisma.config.ts +++ b/examples/blog-with-auth/apps/backend/prisma.config.ts @@ -14,6 +14,6 @@ export default defineConfig({ seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, datasource: { - url: env('DATABASE_URL'), + url: process.env.DATABASE_URL, }, }); diff --git a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts index 916ee2fd4..ac9ab0475 100644 --- a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts +++ b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts @@ -14,6 +14,6 @@ export default defineConfig({ seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, datasource: { - url: env('DATABASE_URL'), + url: process.env.DATABASE_URL, }, }); diff --git a/examples/todo-with-auth0/apps/backend/prisma.config.ts b/examples/todo-with-auth0/apps/backend/prisma.config.ts index 916ee2fd4..ac9ab0475 100644 --- a/examples/todo-with-auth0/apps/backend/prisma.config.ts +++ b/examples/todo-with-auth0/apps/backend/prisma.config.ts @@ -14,6 +14,6 @@ export default defineConfig({ seed: /* TPL_SEED_COMMAND:START */ 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts' /* TPL_SEED_COMMAND:END */, }, datasource: { - url: env('DATABASE_URL'), + url: process.env.DATABASE_URL, }, }); diff --git a/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts b/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts index 54e9bd89f..50295c4e1 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts +++ b/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts @@ -16,6 +16,6 @@ export default defineConfig({ seed: TPL_SEED_COMMAND, }, datasource: { - url: env('DATABASE_URL'), + url: process.env.DATABASE_URL, }, }); diff --git a/tests/simple/apps/backend/baseplate/generated/prisma.config.ts b/tests/simple/apps/backend/baseplate/generated/prisma.config.ts index 85dc2701a..2e1c0d3cf 100644 --- a/tests/simple/apps/backend/baseplate/generated/prisma.config.ts +++ b/tests/simple/apps/backend/baseplate/generated/prisma.config.ts @@ -14,6 +14,6 @@ export default defineConfig({ seed: 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts', }, datasource: { - url: env('DATABASE_URL'), + url: process.env.DATABASE_URL, }, }); diff --git a/tests/simple/apps/backend/prisma.config.ts b/tests/simple/apps/backend/prisma.config.ts index 85dc2701a..2e1c0d3cf 100644 --- a/tests/simple/apps/backend/prisma.config.ts +++ b/tests/simple/apps/backend/prisma.config.ts @@ -14,6 +14,6 @@ export default defineConfig({ seed: 'tsx --env-file-if-exists=.env --env-file-if-exists=.seed.env src/prisma/seed.ts', }, datasource: { - url: env('DATABASE_URL'), + url: process.env.DATABASE_URL, }, }); From 44217f832ce8d94990a0160c3abeb00cbcf571ac Mon Sep 17 00:00:00 2001 From: Kingston Date: Mon, 22 Dec 2025 13:45:20 +0100 Subject: [PATCH 7/7] Fix linting error --- .../apps/backend/baseplate/generated/prisma.config.ts | 2 +- examples/blog-with-auth/apps/backend/prisma.config.ts | 2 +- .../apps/backend/baseplate/generated/prisma.config.ts | 2 +- examples/todo-with-auth0/apps/backend/prisma.config.ts | 2 +- .../generators/prisma/prisma/templates/package/prisma.config.ts | 2 +- tests/simple/apps/backend/baseplate/generated/prisma.config.ts | 2 +- tests/simple/apps/backend/prisma.config.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts index ac9ab0475..8303f0873 100644 --- a/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts +++ b/examples/blog-with-auth/apps/backend/baseplate/generated/prisma.config.ts @@ -1,6 +1,6 @@ import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; -import { defineConfig, env } from 'prisma/config'; +import { defineConfig } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { diff --git a/examples/blog-with-auth/apps/backend/prisma.config.ts b/examples/blog-with-auth/apps/backend/prisma.config.ts index ac9ab0475..8303f0873 100644 --- a/examples/blog-with-auth/apps/backend/prisma.config.ts +++ b/examples/blog-with-auth/apps/backend/prisma.config.ts @@ -1,6 +1,6 @@ import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; -import { defineConfig, env } from 'prisma/config'; +import { defineConfig } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { diff --git a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts index ac9ab0475..8303f0873 100644 --- a/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts +++ b/examples/todo-with-auth0/apps/backend/baseplate/generated/prisma.config.ts @@ -1,6 +1,6 @@ import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; -import { defineConfig, env } from 'prisma/config'; +import { defineConfig } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { diff --git a/examples/todo-with-auth0/apps/backend/prisma.config.ts b/examples/todo-with-auth0/apps/backend/prisma.config.ts index ac9ab0475..8303f0873 100644 --- a/examples/todo-with-auth0/apps/backend/prisma.config.ts +++ b/examples/todo-with-auth0/apps/backend/prisma.config.ts @@ -1,6 +1,6 @@ import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; -import { defineConfig, env } from 'prisma/config'; +import { defineConfig } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { diff --git a/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts b/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts index 50295c4e1..3f8abe17a 100644 --- a/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts +++ b/packages/fastify-generators/src/generators/prisma/prisma/templates/package/prisma.config.ts @@ -2,7 +2,7 @@ import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; -import { defineConfig, env } from 'prisma/config'; +import { defineConfig } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { diff --git a/tests/simple/apps/backend/baseplate/generated/prisma.config.ts b/tests/simple/apps/backend/baseplate/generated/prisma.config.ts index 2e1c0d3cf..496ea73bb 100644 --- a/tests/simple/apps/backend/baseplate/generated/prisma.config.ts +++ b/tests/simple/apps/backend/baseplate/generated/prisma.config.ts @@ -1,6 +1,6 @@ import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; -import { defineConfig, env } from 'prisma/config'; +import { defineConfig } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) { diff --git a/tests/simple/apps/backend/prisma.config.ts b/tests/simple/apps/backend/prisma.config.ts index 2e1c0d3cf..496ea73bb 100644 --- a/tests/simple/apps/backend/prisma.config.ts +++ b/tests/simple/apps/backend/prisma.config.ts @@ -1,6 +1,6 @@ import { existsSync } from 'node:fs'; import { loadEnvFile } from 'node:process'; -import { defineConfig, env } from 'prisma/config'; +import { defineConfig } from 'prisma/config'; // Only load .env file if it exists if (existsSync('.env')) {