From 43d23a7ae640a07252e9e408aa5fd7cbe9fddaa1 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Wed, 15 Apr 2026 17:50:23 +0000 Subject: [PATCH] fix: update references/prisma-7 to Prisma 7.7.0 to fix hoisting conflict The references/prisma-7 project had @prisma/client@6.20.0-integration-next.8 which caused @prisma/client-runtime-utils@6.20.0 to be hoisted to root instead of @7.7.0 needed by the generated Prisma 7 client. This caused TypeError: isObjectEnumValue is not a function at runtime. Co-Authored-By: Eric Allam --- pnpm-lock.yaml | 139 ++----------------------------- references/prisma-7/package.json | 8 +- 2 files changed, 10 insertions(+), 137 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d376903cb..9a66e1821 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2689,11 +2689,11 @@ importers: references/prisma-7: dependencies: '@prisma/adapter-pg': - specifier: 6.20.0-integration-next.8 - version: 6.20.0-integration-next.8 + specifier: 7.7.0 + version: 7.7.0 '@prisma/client': - specifier: 6.20.0-integration-next.8 - version: 6.20.0-integration-next.8(prisma@6.20.0-integration-next.8(@types/react@19.2.14)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4))(typescript@5.5.4) + specifier: 7.7.0 + version: 7.7.0(prisma@7.7.0(@types/react-dom@19.0.4(@types/react@19.2.14))(@types/react@19.2.14)(better-sqlite3@11.10.0)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4))(typescript@5.5.4) '@trigger.dev/build': specifier: workspace:* version: link:../../packages/build @@ -2705,8 +2705,8 @@ importers: version: 17.2.3 devDependencies: prisma: - specifier: 6.20.0-integration-next.8 - version: 6.20.0-integration-next.8(@types/react@19.2.14)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4) + specifier: 7.7.0 + version: 7.7.0(@types/react-dom@19.0.4(@types/react@19.2.14))(@types/react@19.2.14)(better-sqlite3@11.10.0)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4) trigger.dev: specifier: workspace:* version: link:../../packages/cli-v3 @@ -6911,15 +6911,9 @@ packages: '@prisma/adapter-pg@6.16.0': resolution: {integrity: sha512-zNMQyIrkcVFMYFuVeO9GhK9dc5kMSvqwqL+pNMM9oK4+mj7HcKws780ZXhAgV149kcg2kDisHPHO5nE4gkG+oA==} - '@prisma/adapter-pg@6.20.0-integration-next.8': - resolution: {integrity: sha512-5+ZjSPMzyfDYMmWLH1IaQIOQGa8eJrqEz5A9V4vS4+b6LV6qvCOHjqlnbRQ5IKSNCwFP055SJ54RsPES+0jOyA==} - '@prisma/adapter-pg@7.7.0': resolution: {integrity: sha512-q33Ta8sKbgzEpAy0lx45tAq//yMv0qcb+8nj+TCA3P4wiAY+OBFEFk/NDkZncAfHaNJeGo5WJpJdpbL+ijYx8g==} - '@prisma/client-runtime-utils@6.20.0-integration-next.8': - resolution: {integrity: sha512-prENLjPislFvRWDHNgXmg9yzixQYsFPVQGtDv5zIMs4pV2KPdNc5pCiZ3n77hAinvqGJVafASa+eU4TfpVphdA==} - '@prisma/client-runtime-utils@7.7.0': resolution: {integrity: sha512-BLyd0UpFYOtyJFTHm7jS9vesHW7P83abibodQMiIofqjBKzDHQ1VAsQkdfvXyYDkPlONPfOTz7/rv3x/+CQqvQ==} @@ -6968,18 +6962,6 @@ packages: typescript: optional: true - '@prisma/client@6.20.0-integration-next.8': - resolution: {integrity: sha512-cSxdnyO3nBr+JQFsW8j4C3JvMWiknSoZktmMNRNtXQ7bmUeG4IyQks97bjzeAUP8feJechk5casCIq3p26GDvA==} - engines: {node: ^20.19 || ^22.12 || ^24.0} - peerDependencies: - prisma: '*' - typescript: 5.5.4 - peerDependenciesMeta: - prisma: - optional: true - typescript: - optional: true - '@prisma/client@7.7.0': resolution: {integrity: sha512-5Ar4OsZpJ54s21sy5oDNNW9gQtd4NuxCaiM7+JDTOU07D6VvlpLjYzAVCMB1+JzokN+08dAVomlx+b7bhJd3ww==} engines: {node: ^20.19 || ^22.12 || >=24.0} @@ -7001,9 +6983,6 @@ packages: '@prisma/config@6.19.0': resolution: {integrity: sha512-zwCayme+NzI/WfrvFEtkFhhOaZb/hI+X8TTjzjJ252VbPxAl2hWHK5NMczmnG9sXck2lsXrxIZuK524E25UNmg==} - '@prisma/config@6.20.0-integration-next.8': - resolution: {integrity: sha512-nwf+tczfiGSn0tnuHmBpnK+wmaYzcC20sn9Zt8BSoJVCewJxf8ASHPxZEGgvFLl05zbCfFtq3rMc6ZnAiYjowg==} - '@prisma/config@7.7.0': resolution: {integrity: sha512-hmPI3tKLO2aP0Y5vugbjcnA9qqlfJndiT6ds4tw28U5hNHLWg+mHJEWAhjsSPgxjtmxhJ/EDIeIlyh+3Us0OPg==} @@ -7019,9 +6998,6 @@ packages: '@prisma/debug@6.19.0': resolution: {integrity: sha512-8hAdGG7JmxrzFcTzXZajlQCidX0XNkMJkpqtfbLV54wC6LSSX6Vni25W/G+nAANwLnZ2TmwkfIuWetA7jJxJFA==} - '@prisma/debug@6.20.0-integration-next.8': - resolution: {integrity: sha512-PqUUFXf8MDoIrsKMzpF4NYqA3gHE8l/CUWVnYa4hNIbynCcEhvk7iT+6ve0u9w1TiGVUFnIVMuqFGEb2aHCuFw==} - '@prisma/debug@7.2.0': resolution: {integrity: sha512-YSGTiSlBAVJPzX4ONZmMotL+ozJwQjRmZweQNIq/ER0tQJKJynNkRB3kyvt37eOfsbMCXk3gnLF6J9OJ4QWftw==} @@ -7034,9 +7010,6 @@ packages: '@prisma/driver-adapter-utils@6.16.0': resolution: {integrity: sha512-dsRHvEnifJ3xqpMKGBy1jRwR8yc+7Ko4TcHrdTQJIfq6NYN2gNoOf0k91hcbzs5AH19wDxjuHXCveklWq5AJdA==} - '@prisma/driver-adapter-utils@6.20.0-integration-next.8': - resolution: {integrity: sha512-TXpFugr3sCl2bHechoG3p9mvlq2Z3GgA0Cp73lUOEWQyUuoG8NW/4UA56Ax1r5fBUAs9hKbr20Ld6wKCZhnz8Q==} - '@prisma/driver-adapter-utils@7.7.0': resolution: {integrity: sha512-gZXREeu6mOk7zXfGFJgh86p7Vhj0sXNKp+4Cg1tWYo7V2dfncP2qxS2BiTmbIIha8xPqItkl0WSw38RuSq1HoQ==} @@ -7052,9 +7025,6 @@ packages: '@prisma/engines-version@6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773': resolution: {integrity: sha512-gV7uOBQfAFlWDvPJdQxMT1aSRur3a0EkU/6cfbAC5isV67tKDWUrPauyaHNpB+wN1ebM4A9jn/f4gH+3iHSYSQ==} - '@prisma/engines-version@6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95': - resolution: {integrity: sha512-DqrQqRIgeocvWpgN7t9PymiJdV8ISSSrZCuilAtpKEaKIt4JUGIxsAdWNMRSHk188hYA2W1YFG5KvWUYBaCO1A==} - '@prisma/engines-version@7.6.0-1.75cbdc1eb7150937890ad5465d861175c6624711': resolution: {integrity: sha512-r51DLcJ8bDRSrBEJF3J4cinoWyGA7rfP2mG6lD90VqIbGNOkbfcLcXalSVjq5Y6brQS3vcjrq4GbyUb1Cb7vkw==} @@ -7067,9 +7037,6 @@ packages: '@prisma/engines@6.19.0': resolution: {integrity: sha512-pMRJ+1S6NVdXoB8QJAPIGpKZevFjxhKt0paCkRDTZiczKb7F4yTgRP8M4JdVkpQwmaD4EoJf6qA+p61godDokw==} - '@prisma/engines@6.20.0-integration-next.8': - resolution: {integrity: sha512-XdzTxN0PFLIW2DcprG9xlMy39FrsjxW5J2qtHQ58FBtbllHSZGD0pK2nzATw5dRh7nGhmX+uNA02cqHv5oND3A==} - '@prisma/engines@7.7.0': resolution: {integrity: sha512-7fmcbT7HHXBq/b+3h/dO1JI3fd8l8q7erf7xP7pRprh58hmSSnG8mg9K3yjW3h9WaHWUwngVFpSxxxivaitQ2w==} @@ -7082,9 +7049,6 @@ packages: '@prisma/fetch-engine@6.19.0': resolution: {integrity: sha512-OOx2Lda0DGrZ1rodADT06ZGqHzr7HY7LNMaFE2Vp8dp146uJld58sRuasdX0OiwpHgl8SqDTUKHNUyzEq7pDdQ==} - '@prisma/fetch-engine@6.20.0-integration-next.8': - resolution: {integrity: sha512-zVNM5Q1hFclpqD1y7wujDzyc3l01S8ZMuP0Zddzuda4LOA7/F2enjro48VcD2/fxkBgzkkmO/quLOGnbQDKO7g==} - '@prisma/fetch-engine@7.7.0': resolution: {integrity: sha512-TfyzveBQoK4xALzsTpVhB/0KG1N8zOK0ap+RnBMkzGUu3f98fnQ4QtXa2wlKPhsO2X8a3N5ugFQgcKNoHGmDfw==} @@ -7100,9 +7064,6 @@ packages: '@prisma/get-platform@6.19.0': resolution: {integrity: sha512-ym85WDO2yDhC3fIXHWYpG3kVMBA49cL1XD2GCsCF8xbwoy2OkDQY44gEbAt2X46IQ4Apq9H6g0Ex1iFfPqEkHA==} - '@prisma/get-platform@6.20.0-integration-next.8': - resolution: {integrity: sha512-21jEfhFpC8FuvPD7JEf1Qu02engBCBa3+1il3UiyHKcKS3Kbp9IgR+DVqqrqSWIGJg8+1oTfF/3AgbjunaQ1Ag==} - '@prisma/get-platform@7.2.0': resolution: {integrity: sha512-k1V0l0Td1732EHpAfi2eySTezyllok9dXb6UQanajkJQzPUGi3vO2z7jdkz67SypFTdmbnyGYxvEvYZdZsMAVA==} @@ -7126,13 +7087,6 @@ packages: resolution: {integrity: sha512-l49yTxKKF2odFxaAXTmwmkBKL3+bVQ1tFOooGifu4xkdb9NMNLxHj27XAhTylWZod8I+ISGM5erU1xcl/oBCtg==} engines: {bun: '>=1.3.6', node: '>=22.0.0'} - '@prisma/studio-core-licensed@0.6.0': - resolution: {integrity: sha512-LNC8ohLosuWz6n9oKNqfR5Ep/JYiPavk4RxrU6inOS4LEvMQts8N+Vtt7NAB9i06BaiIRKnPsg1Hcaao5pRjSw==} - peerDependencies: - '@types/react': ^18.0.0 || ^19.0.0 - react: ^18.0.0 || ^19.0.0 - react-dom: ^18.0.0 || ^19.0.0 - '@prisma/studio-core@0.27.3': resolution: {integrity: sha512-AADjNFPdsrglxHQVTmHFqv6DuKQZ5WY4p5/gVFY017twvNrSwpLJ9lqUbYYxEu2W7nbvVxTZA8deJ8LseNALsw==} engines: {node: ^20.19 || ^22.12 || >=24.0, pnpm: '8'} @@ -17578,16 +17532,6 @@ packages: typescript: optional: true - prisma@6.20.0-integration-next.8: - resolution: {integrity: sha512-KUVwHRuyvl57CpEU6kZc5eMdbhUogmneo2a7jF1GKEZwPZscAU+FXIDsgCH+U4BCpKlm0NVrRd0YKz9+7zBWFQ==} - engines: {node: ^20.19 || ^22.12 || ^24.0} - hasBin: true - peerDependencies: - typescript: 5.5.4 - peerDependenciesMeta: - typescript: - optional: true - prisma@7.7.0: resolution: {integrity: sha512-HlgwRBt1uEFB9LStHL4HLYDvoi4BNu1rYA0hPG0zCAEyK9SaZBqp7E5Rjpc3Qh8Lex/ye/svoHZ0OWoFNhWxuQ==} engines: {node: ^20.19 || ^22.12 || >=24.0} @@ -25636,14 +25580,6 @@ snapshots: transitivePeerDependencies: - pg-native - '@prisma/adapter-pg@6.20.0-integration-next.8': - dependencies: - '@prisma/driver-adapter-utils': 6.20.0-integration-next.8 - pg: 8.16.3 - postgres-array: 3.0.4 - transitivePeerDependencies: - - pg-native - '@prisma/adapter-pg@7.7.0': dependencies: '@prisma/driver-adapter-utils': 7.7.0 @@ -25653,8 +25589,6 @@ snapshots: transitivePeerDependencies: - pg-native - '@prisma/client-runtime-utils@6.20.0-integration-next.8': {} - '@prisma/client-runtime-utils@7.7.0': {} '@prisma/client@4.9.0(prisma@6.14.0(magicast@0.3.5)(typescript@5.5.4))': @@ -25678,13 +25612,6 @@ snapshots: prisma: 6.19.0(typescript@5.5.4) typescript: 5.5.4 - '@prisma/client@6.20.0-integration-next.8(prisma@6.20.0-integration-next.8(@types/react@19.2.14)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4))(typescript@5.5.4)': - dependencies: - '@prisma/client-runtime-utils': 6.20.0-integration-next.8 - optionalDependencies: - prisma: 6.20.0-integration-next.8(@types/react@19.2.14)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4) - typescript: 5.5.4 - '@prisma/client@7.7.0(prisma@7.7.0(@types/react-dom@19.0.4(@types/react@19.2.14))(@types/react@19.2.14)(better-sqlite3@11.10.0)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4))(typescript@5.5.4)': dependencies: '@prisma/client-runtime-utils': 7.7.0 @@ -25719,15 +25646,6 @@ snapshots: transitivePeerDependencies: - magicast - '@prisma/config@6.20.0-integration-next.8(magicast@0.3.5)': - dependencies: - c12: 3.1.0(magicast@0.3.5) - deepmerge-ts: 7.1.5 - effect: 3.18.4 - empathic: 2.0.0 - transitivePeerDependencies: - - magicast - '@prisma/config@7.7.0(magicast@0.3.5)': dependencies: c12: 3.1.0(magicast@0.3.5) @@ -25751,8 +25669,6 @@ snapshots: '@prisma/debug@6.19.0': {} - '@prisma/debug@6.20.0-integration-next.8': {} - '@prisma/debug@7.2.0': {} '@prisma/debug@7.7.0': {} @@ -25783,10 +25699,6 @@ snapshots: dependencies: '@prisma/debug': 6.16.0 - '@prisma/driver-adapter-utils@6.20.0-integration-next.8': - dependencies: - '@prisma/debug': 6.20.0-integration-next.8 - '@prisma/driver-adapter-utils@7.7.0': dependencies: '@prisma/debug': 7.7.0 @@ -25799,8 +25711,6 @@ snapshots: '@prisma/engines-version@6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773': {} - '@prisma/engines-version@6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95': {} - '@prisma/engines-version@7.6.0-1.75cbdc1eb7150937890ad5465d861175c6624711': {} '@prisma/engines@6.14.0': @@ -25824,13 +25734,6 @@ snapshots: '@prisma/fetch-engine': 6.19.0 '@prisma/get-platform': 6.19.0 - '@prisma/engines@6.20.0-integration-next.8': - dependencies: - '@prisma/debug': 6.20.0-integration-next.8 - '@prisma/engines-version': 6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95 - '@prisma/fetch-engine': 6.20.0-integration-next.8 - '@prisma/get-platform': 6.20.0-integration-next.8 - '@prisma/engines@7.7.0': dependencies: '@prisma/debug': 7.7.0 @@ -25856,12 +25759,6 @@ snapshots: '@prisma/engines-version': 6.19.0-26.2ba551f319ab1df4bc874a89965d8b3641056773 '@prisma/get-platform': 6.19.0 - '@prisma/fetch-engine@6.20.0-integration-next.8': - dependencies: - '@prisma/debug': 6.20.0-integration-next.8 - '@prisma/engines-version': 6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95 - '@prisma/get-platform': 6.20.0-integration-next.8 - '@prisma/fetch-engine@7.7.0': dependencies: '@prisma/debug': 7.7.0 @@ -25889,10 +25786,6 @@ snapshots: dependencies: '@prisma/debug': 6.19.0 - '@prisma/get-platform@6.20.0-integration-next.8': - dependencies: - '@prisma/debug': 6.20.0-integration-next.8 - '@prisma/get-platform@7.2.0': dependencies: '@prisma/debug': 7.2.0 @@ -25924,12 +25817,6 @@ snapshots: env-paths: 3.0.0 proper-lockfile: 4.1.2 - '@prisma/studio-core-licensed@0.6.0(@types/react@19.2.14)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': - dependencies: - '@types/react': 19.2.14 - react: 19.1.0 - react-dom: 19.1.0(react@19.1.0) - '@prisma/studio-core@0.27.3(@types/react-dom@19.0.4(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': dependencies: '@radix-ui/react-toggle': 1.1.10(@types/react-dom@19.0.4(@types/react@19.2.14))(@types/react@19.2.14)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) @@ -39362,20 +39249,6 @@ snapshots: transitivePeerDependencies: - magicast - prisma@6.20.0-integration-next.8(@types/react@19.2.14)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4): - dependencies: - '@prisma/config': 6.20.0-integration-next.8(magicast@0.3.5) - '@prisma/engines': 6.20.0-integration-next.8 - '@prisma/studio-core-licensed': 0.6.0(@types/react@19.2.14)(react-dom@19.1.0(react@19.1.0))(react@19.1.0) - postgres: 3.4.7 - optionalDependencies: - typescript: 5.5.4 - transitivePeerDependencies: - - '@types/react' - - magicast - - react - - react-dom - prisma@7.7.0(@types/react-dom@19.0.4(@types/react@19.2.14))(@types/react@19.2.14)(better-sqlite3@11.10.0)(magicast@0.3.5)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(typescript@5.5.4): dependencies: '@prisma/config': 7.7.0(magicast@0.3.5) diff --git a/references/prisma-7/package.json b/references/prisma-7/package.json index 2fff27d99..e040d3e2a 100644 --- a/references/prisma-7/package.json +++ b/references/prisma-7/package.json @@ -3,12 +3,12 @@ "private": true, "type": "module", "devDependencies": { - "prisma": "6.20.0-integration-next.8", + "prisma": "7.7.0", "trigger.dev": "workspace:*" }, "dependencies": { - "@prisma/client": "6.20.0-integration-next.8", - "@prisma/adapter-pg": "6.20.0-integration-next.8", + "@prisma/client": "7.7.0", + "@prisma/adapter-pg": "7.7.0", "@trigger.dev/build": "workspace:*", "@trigger.dev/sdk": "workspace:*", "dotenv": "^17.2.3" @@ -18,4 +18,4 @@ "deploy": "trigger deploy", "prisma:generate": "prisma generate" } -} \ No newline at end of file +}