Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

chore: update prisma (#1593)

bautistaaadd00f1ac5df3
diff --git a/packages/auth/package.json b/packages/auth/package.json
index 030ec397..2fd940ed 100644
--- a/packages/auth/package.json
+++ b/packages/auth/package.json
@@ -38,7 +38,7 @@
"@repo/tsconfig": "workspace:*",
"@types/node": "^20.4.2",
"eslint": "^8.45.0",
- "prisma": "5.7.0",
+ "prisma": "5.21.1",
"tsup": "5.12.0",
"typescript": "^5.3.3"
}
diff --git a/packages/db/package.json b/packages/db/package.json
index 41c1711c..5aa915f6 100644
--- a/packages/db/package.json
+++ b/packages/db/package.json
@@ -23,7 +23,7 @@
"db:push": "dotenv -e ../../.env prisma db push",
"db:reset": "dotenv -e ../../.env prisma db push -- --force-reset",
"db:seed": "dotenv -e ../../.env tsx ./seed/dev.ts",
- "db:prod:seed": "dotenv -e ../../.env tsx ./temp/populate-aot-challenges.ts && tsx ./seed/prod.ts",
+ "db:prod:seed": "dotenv -e ../../.env tsx ./temp/populate-aot-challenges.ts && dotenv -e ../../.env tsx ./seed/prod.ts",
"db:studio": "dotenv -e ../../.env prisma studio",
"format": "prettier . --check --cache --cache-location=\"node_modules/.cache/prettiercache\"",
"format:fix": "prettier . --write --cache --cache-location=\"node_modules/.cache/prettiercache\" --log-level=warn",
@@ -32,7 +32,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
- "@prisma/client": "5.7.0"
+ "@prisma/client": "5.21.1"
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
@@ -41,15 +41,12 @@
"@types/node": "^20.4.2",
"dotenv-cli": "^7.2.1",
"eslint": "^8.45.0",
- "prisma": "5.7.0",
+ "prisma": "5.21.1",
"simple-git": "^3.19.1",
"tsup": "5.12.0",
"tsx": "4.19.0",
"typescript": "^5.3.3",
"uuid-by-string": "^4.0.0",
"yaml": "^2.3.1"
- },
- "prisma": {
- "seed": "tsx ./seed.ts"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 32db1e2f..d81c0e27 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -91,10 +91,10 @@ importers:
version: 2.6.0-beta.12
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -158,7 +158,7 @@ importers:
eslint-plugin-import:
specifier: ^2.27.5
postcss:
specifier: ^8.4.31
version: 8.4.31
@@ -197,10 +197,10 @@ importers:
version: 2.0.0
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -307,7 +307,7 @@ importers:
version: 1.0.0
next:
specifier: 14.2.5
react:
specifier: 18.2.0
version: 18.2.0
@@ -383,7 +383,7 @@ importers:
version: link:../../packages/ui
'@sentry/nextjs':
specifier: ^7.73.0
'@stripe/react-stripe-js':
specifier: ^2.8.0
@@ -407,7 +407,7 @@ importers:
'@uploadthing/react':
specifier: ^6.2.2
'@vercel/analytics':
specifier: ^1.1.1
version: 1.1.1
@@ -416,10 +416,10 @@ importers:
version: 0.2.1
'@vercel/speed-insights':
specifier: ^1.0.12
'@vercel/toolbar':
specifier: ^0.1.18
algoliasearch:
specifier: ^4.20.0
version: 4.20.0
@@ -455,10 +455,10 @@ importers:
version: 5.0.7
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -485,7 +485,7 @@ importers:
react-instantsearch-nextjs:
specifier: ^0.1.5
react-intersection-observer:
specifier: ^9.5.2
version: 9.5.2([email protected])
@@ -582,7 +582,7 @@ importers:
eslint-plugin-import:
specifier: ^2.27.5
postcss:
specifier: ^8.4.31
version: 8.4.31
@@ -606,7 +606,7 @@ importers:
dependencies:
'@auth/prisma-adapter':
specifier: ^1.0.13
- version: 1.0.13(@prisma/[email protected]([email protected]))
+ version: 1.0.13(@prisma/[email protected]([email protected]))
'@repo/db':
specifier: workspace:*
version: link:../db
@@ -627,8 +627,8 @@ importers:
specifier: ^8.45.0
version: 8.45.0
prisma:
- specifier: 5.7.0
- version: 5.7.0
+ specifier: 5.21.1
+ version: 5.21.1
tsup:
specifier: 5.12.0
@@ -639,8 +639,8 @@ importers:
packages/db:
dependencies:
'@prisma/client':
- specifier: 5.7.0
- version: 5.7.0([email protected])
+ specifier: 5.21.1
+ version: 5.21.1([email protected])
devDependencies:
'@faker-js/faker':
specifier: ^8.0.2
@@ -661,8 +661,8 @@ importers:
specifier: ^8.45.0
version: 8.45.0
prisma:
- specifier: 5.7.0
- version: 5.7.0
+ specifier: 5.21.1
+ version: 5.21.1
simple-git:
specifier: ^3.19.1
version: 3.19.1
@@ -899,7 +899,7 @@ importers:
dependencies:
'@next/eslint-plugin-next':
specifier: canary
- version: 15.0.0-canary.181
+ version: 15.0.0-canary.198
'@repo/tsconfig':
specifier: workspace:*
version: link:../config-typescript
@@ -911,7 +911,7 @@ importers:
'@vercel/style-guide':
specifier: ^4.0.2
eslint:
specifier: ^8.45.0
version: 8.45.0
@@ -1993,8 +1993,8 @@ packages:
resolution: {integrity: sha512-YJqyq6vk39JQfvaNtN83t/p5Jy45+bazRL+V4QI8FPd3FBqFYMEsULiwRLgSJMgFqkk4t4JbeZurz+gILEAFpA==}
- resolution: {integrity: sha512-SsF47gljH574N8RKsMBbSh33v2LU3FN78TyHWnFcd6S/I75FErA3mJGKEYxLTb8gMqSU0GCIXTcAi7Lo4h6S+g==}
+ resolution: {integrity: sha512-Iyvdq3xHfaNdO3+/VVBfiJtiwZpEDZgzI9ZadvYb7TGxzLl/1a8ZIUAWp593jwjv1RUB45VhHbBxqi3y+QTx1w==}
resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==}
@@ -2267,8 +2267,8 @@ packages:
resolution: {integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==}
- '@prisma/[email protected]':
- resolution: {integrity: sha512-cZmglCrfNbYpzUtz7HscVHl38e9CrUs31nrVoGUK1nIPXGgt8hT4jj2s657UXcNdQ/jBUxDgGmHyu2Nyrq1txg==}
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-3n+GgbAZYjaS/k0M03yQsQfR1APbr411r74foknnsGpmhNKBG49VuUkxIU6jORgvJPChoD4WC4PqoHImN1FP0w==}
engines: {node: '>=16.13'}
peerDependencies:
prisma: '*'
@@ -2276,20 +2276,20 @@ packages:
prisma:
optional: true
- '@prisma/[email protected]':
- resolution: {integrity: sha512-tZ+MOjWlVvz1kOEhNYMa4QUGURY+kgOUBqLHYIV8jmCsMuvA1tWcn7qtIMLzYWCbDcQT4ZS8xDgK0R2gl6/0wA==}
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-uY8SAhcnORhvgtOrNdvWS98Aq/nkQ9QDUxrWAgW8XrCZaI3j2X7zb7Xe6GQSh6xSesKffFbFlkw0c2luHQviZA==}
- '@prisma/engines-version@5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9':
- resolution: {integrity: sha512-V6tgRVi62jRwTm0Hglky3Scwjr/AKFBFtS+MdbsBr7UOuiu1TKLPc6xfPiyEN1+bYqjEtjxwGsHgahcJsd1rNg==}
+ '@prisma/engines-version@5.21.1-1.bf0e5e8a04cada8225617067eaa03d041e2bba36':
+ resolution: {integrity: sha512-qvnEflL0//lh44S/T9NcvTMxfyowNeUxTunPcDfKPjyJNrCNf2F1zQLcUv5UHAruECpX+zz21CzsC7V2xAeM7Q==}
- '@prisma/[email protected]':
- resolution: {integrity: sha512-TkOMgMm60n5YgEKPn9erIvFX2/QuWnl3GBo6yTRyZKk5O5KQertXiNnrYgSLy0SpsKmhovEPQb+D4l0SzyE7XA==}
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-hGVTldUkIkTwoV8//hmnAAiAchi4oMEKD3aW5H2RrnI50tTdwza7VQbTTAyN3OIHWlK5DVg6xV7X8N/9dtOydA==}
- '@prisma/[email protected]':
- resolution: {integrity: sha512-zIn/qmO+N/3FYe7/L9o+yZseIU8ivh4NdPKSkQRIHfg2QVTVMnbhGoTcecbxfVubeTp+DjcbjS0H9fCuM4W04w==}
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-70S31vgpCGcp9J+mh/wHtLCkVezLUqe/fGWk3J3JWZIN7prdYSlr1C0niaWUyNK2VflLXYi8kMjAmSxUVq6WGQ==}
- '@prisma/[email protected]':
- resolution: {integrity: sha512-ZeV/Op4bZsWXuw5Tg05WwRI8BlKiRFhsixPcAM+5BKYSiUZiMKIi713tfT3drBq8+T0E1arNZgYSA9QYcglWNA==}
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-sRxjL3Igst3ct+e8ya/x//cDXmpLbZQ5vfps2N4tWl4VGKQAmym77C/IG/psSMsQKszc8uFC/q1dgmKFLUgXZQ==}
'@radix-ui/[email protected]':
resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==}
@@ -6969,8 +6969,8 @@ packages:
resolution: {integrity: sha512-G9xUchgTEiNpormdYBl+Pha50gOUovT18IvAe7EYMZ1/f9W/WWMPRn+xI68yXNMUk3QXHDwo/1wV/4NejVNe1w==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-0rcfXO2ErmGAtxnuTNHQT9ztL0zZheQjOI/VNJzdq87C3TlGPQtMqtM+KCwU6XtmkoEr7vbCQqA7HF9IY0ST+Q==}
+ resolution: {integrity: sha512-PB+Iqzld/uQBPaaw2UVIk84kb0ITsLajzsxzsadxxl54eaU5Gyl2/L02ysivHxK89t7YrfQJm+Ggk37uvM70oQ==}
engines: {node: '>=16.13'}
hasBin: true
@@ -8483,10 +8483,10 @@ snapshots:
preact: 10.11.3
preact-render-to-string: 5.2.3([email protected])
dependencies:
'@auth/core': 0.19.0
- '@prisma/client': 5.7.0([email protected])
+ '@prisma/client': 5.21.1([email protected])
transitivePeerDependencies:
- nodemailer
@@ -9308,7 +9308,7 @@ snapshots:
dependencies:
glob: 7.1.7
dependencies:
fast-glob: 3.3.1
@@ -9587,30 +9587,30 @@ snapshots:
'@polka/[email protected]': {}
optionalDependencies:
- prisma: 5.7.0
+ prisma: 5.21.1
- '@prisma/[email protected]': {}
+ '@prisma/[email protected]': {}
- '@prisma/engines-version@5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9': {}
+ '@prisma/engines-version@5.21.1-1.bf0e5e8a04cada8225617067eaa03d041e2bba36': {}
- '@prisma/[email protected]':
+ '@prisma/[email protected]':
dependencies:
- '@prisma/debug': 5.7.0
- '@prisma/engines-version': 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9
- '@prisma/fetch-engine': 5.7.0
- '@prisma/get-platform': 5.7.0
+ '@prisma/debug': 5.21.1
+ '@prisma/engines-version': 5.21.1-1.bf0e5e8a04cada8225617067eaa03d041e2bba36
+ '@prisma/fetch-engine': 5.21.1
+ '@prisma/get-platform': 5.21.1
- '@prisma/[email protected]':
+ '@prisma/[email protected]':
dependencies:
- '@prisma/debug': 5.7.0
- '@prisma/engines-version': 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9
- '@prisma/get-platform': 5.7.0
+ '@prisma/debug': 5.21.1
+ '@prisma/engines-version': 5.21.1-1.bf0e5e8a04cada8225617067eaa03d041e2bba36
+ '@prisma/get-platform': 5.21.1
- '@prisma/[email protected]':
+ '@prisma/[email protected]':
dependencies:
- '@prisma/debug': 5.7.0
+ '@prisma/debug': 5.21.1
'@radix-ui/[email protected]':
dependencies:
@@ -10735,7 +10735,7 @@ snapshots:
localforage: 1.10.0
tslib: 2.6.0
dependencies:
'@rollup/plugin-commonjs': 24.0.0([email protected])
'@sentry/core': 7.73.0
@@ -10747,7 +10747,7 @@ snapshots:
'@sentry/vercel-edge': 7.73.0
'@sentry/webpack-plugin': 1.20.0
chalk: 3.0.0
react: 18.2.0
rollup: 2.78.0
stacktrace-parser: 0.1.10
@@ -11258,7 +11258,7 @@ snapshots:
'@uploadthing/[email protected]': {}
dependencies:
'@uploadthing/dropzone': 0.1.1
'@uploadthing/shared': 6.2.0(@uploadthing/[email protected])
@@ -11268,7 +11268,7 @@ snapshots:
tailwind-merge: 1.14.0
uploadthing: 6.3.1
optionalDependencies:
transitivePeerDependencies:
- '@uploadthing/mime-types'
@@ -11311,12 +11311,12 @@ snapshots:
satori: 0.0.46
yoga-wasm-web: 0.3.0
optionalDependencies:
react: 18.2.0
dependencies:
'@babel/core': 7.22.10
'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])
@@ -11338,7 +11338,7 @@ snapshots:
eslint-plugin-unicorn: 43.0.2([email protected])
prettier-plugin-packagejson: 2.4.3([email protected])
optionalDependencies:
- '@next/eslint-plugin-next': 15.0.0-canary.181
+ '@next/eslint-plugin-next': 15.0.0-canary.198
eslint: 8.45.0
prettier: 3.1.1
typescript: 5.3.3
@@ -11348,7 +11348,7 @@ snapshots:
- jest
- supports-color
dependencies:
'@tinyhttp/app': 1.3.0
chokidar: 3.5.3
@@ -11357,7 +11357,7 @@ snapshots:
get-port: 5.1.1
strip-ansi: 6.0.1
optionalDependencies:
react: 18.2.0
'@vitest/[email protected]':
@@ -12759,6 +12759,31 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
+ dependencies:
+ array-includes: 3.1.6
+ array.prototype.flat: 1.3.1
+ array.prototype.flatmap: 1.3.1
+ debug: 3.2.7
+ doctrine: 2.1.0
+ eslint: 8.45.0
+ eslint-import-resolver-node: 0.3.7
+ has: 1.0.3
+ is-core-module: 2.12.1
+ is-glob: 4.0.3
+ minimatch: 3.1.2
+ object.values: 1.1.6
+ resolve: 1.22.2
+ semver: 6.3.1
+ tsconfig-paths: 3.14.2
+ optionalDependencies:
+ '@typescript-eslint/parser': 5.62.0([email protected])([email protected])
+ transitivePeerDependencies:
+ - eslint-import-resolver-typescript
+ - eslint-import-resolver-webpack
+ - supports-color
+
dependencies:
array-includes: 3.1.6
@@ -14653,15 +14678,15 @@ snapshots:
react: 18.3.1
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -14671,7 +14696,7 @@ snapshots:
react: 18.2.0
react-dom: 18.3.1([email protected])
dependencies:
'@next/env': 14.2.5
'@swc/helpers': 0.5.5
@@ -14692,12 +14717,11 @@ snapshots:
'@next/swc-win32-arm64-msvc': 14.2.5
'@next/swc-win32-ia32-msvc': 14.2.5
'@next/swc-win32-x64-msvc': 14.2.5
- '@playwright/test': 1.38.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dependencies:
'@next/env': 14.2.5
'@swc/helpers': 0.5.5
@@ -14718,6 +14742,7 @@ snapshots:
'@next/swc-win32-arm64-msvc': 14.2.5
'@next/swc-win32-ia32-msvc': 14.2.5
'@next/swc-win32-x64-msvc': 14.2.5
+ '@playwright/test': 1.38.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@@ -15257,9 +15282,11 @@ snapshots:
extend-shallow: 2.0.1
js-beautify: 1.14.9
dependencies:
- '@prisma/engines': 5.7.0
+ '@prisma/engines': 5.21.1
+ optionalDependencies:
+ fsevents: 2.3.3
@@ -15374,9 +15401,9 @@ snapshots:
react: 18.2.0
use-sync-external-store: 1.2.0([email protected])
dependencies: