Skip to content

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

chore: align prisma + add targets (#1494)

bautistaaa4e8dae481165
diff --git a/apps/aot/package.json b/apps/aot/package.json
index 6b082759..10f7e726 100644
--- a/apps/aot/package.json
+++ b/apps/aot/package.json
@@ -5,7 +5,7 @@
"scripts": {
"build": "dotenv -e ../../.env next build",
"clean": "rm -rf .next dist node_modules",
- "dev": "dotenv -e ../../.env next dev --turbo -- -p 3001",
+ "dev": "dotenv -e ../../.env next dev --turbo -- -p 3003",
"format": "prettier . --check --cache --cache-location=\"node_modules/.cache/prettiercache\"",
"format:fix": "prettier . --write --cache --cache-location=\"node_modules/.cache/prettiercache\" --log-level=warn",
"lint": "eslint . --cache --cache-location \"node_modules/.cache/.eslintcache\" --max-warnings 0",
diff --git a/packages/auth/package.json b/packages/auth/package.json
index 159c2a07..030ec397 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.0.0",
+ "prisma": "5.7.0",
"tsup": "5.12.0",
"typescript": "^5.3.3"
}
diff --git a/packages/db/package.json b/packages/db/package.json
index 2bc25b5f..b88c34df 100644
--- a/packages/db/package.json
+++ b/packages/db/package.json
@@ -32,7 +32,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
- "@prisma/client": "^5.0.0"
+ "@prisma/client": "5.7.0"
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
@@ -41,7 +41,7 @@
"@types/node": "^20.4.2",
"dotenv-cli": "^7.2.1",
"eslint": "^8.45.0",
- "prisma": "^5.0.0",
+ "prisma": "5.7.0",
"simple-git": "^3.19.1",
"tsup": "5.12.0",
"tsx": "^3.12.7",
diff --git a/packages/db/schema.prisma b/packages/db/schema.prisma
index 7c1d66d0..5c6e741a 100644
--- a/packages/db/schema.prisma
+++ b/packages/db/schema.prisma
@@ -3,6 +3,7 @@
generator client {
provider = "prisma-client-js"
+ binaryTargets = ["native", "rhel-openssl-1.0.x"]
}
datasource db {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f5dfb7b9..48a5789c 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -540,7 +540,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
@@ -561,8 +561,8 @@ importers:
specifier: ^8.45.0
version: 8.45.0
prisma:
- specifier: ^5.0.0
- version: 5.0.0
+ specifier: 5.7.0
+ version: 5.7.0
tsup:
specifier: 5.12.0
@@ -573,8 +573,8 @@ importers:
packages/db:
dependencies:
'@prisma/client':
- specifier: ^5.0.0
- version: 5.7.0([email protected])
+ specifier: 5.7.0
+ version: 5.7.0([email protected])
devDependencies:
'@faker-js/faker':
specifier: ^8.0.2
@@ -595,8 +595,8 @@ importers:
specifier: ^8.45.0
version: 8.45.0
prisma:
- specifier: ^5.0.0
- version: 5.0.0
+ specifier: 5.7.0
+ version: 5.7.0
simple-git:
specifier: ^3.19.1
version: 3.19.1
@@ -805,7 +805,7 @@ importers:
dependencies:
'@next/eslint-plugin-next':
specifier: canary
- version: 15.0.0-canary.96
+ version: 15.0.0-canary.101
'@repo/tsconfig':
specifier: workspace:*
version: link:../config-typescript
@@ -817,7 +817,7 @@ importers:
'@vercel/style-guide':
specifier: ^4.0.2
eslint:
specifier: ^8.45.0
version: 8.45.0
@@ -1894,8 +1894,8 @@ packages:
resolution: {integrity: sha512-YJqyq6vk39JQfvaNtN83t/p5Jy45+bazRL+V4QI8FPd3FBqFYMEsULiwRLgSJMgFqkk4t4JbeZurz+gILEAFpA==}
- resolution: {integrity: sha512-F5kmcqnyDxpUA9AT1BmiwgVUPEHoyNoO+J3VroFySXcqn5ILd8KTXwbbzyvN4NnTYQh2rCpg6ibfJjGaHRMFOQ==}
+ resolution: {integrity: sha512-dKqDu3omRlS3k/ibQAp8QIwRJL46HxpXR2x9QXrw+XLe7NAzIDG6NUlJhMCcNhy9TLDikCwmnC7AJzOLtuEuSQ==}
resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==}
@@ -2176,8 +2176,20 @@ packages:
prisma:
optional: true
- '@prisma/[email protected]':
- resolution: {integrity: sha512-kyT/8fd0OpWmhAU5YnY7eP31brW1q1YrTGoblWrhQJDiN/1K+Z8S1kylcmtjqx5wsUGcP1HBWutayA/jtyt+sg==}
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-tZ+MOjWlVvz1kOEhNYMa4QUGURY+kgOUBqLHYIV8jmCsMuvA1tWcn7qtIMLzYWCbDcQT4ZS8xDgK0R2gl6/0wA==}
+
+ '@prisma/engines-version@5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9':
+ resolution: {integrity: sha512-V6tgRVi62jRwTm0Hglky3Scwjr/AKFBFtS+MdbsBr7UOuiu1TKLPc6xfPiyEN1+bYqjEtjxwGsHgahcJsd1rNg==}
+
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-TkOMgMm60n5YgEKPn9erIvFX2/QuWnl3GBo6yTRyZKk5O5KQertXiNnrYgSLy0SpsKmhovEPQb+D4l0SzyE7XA==}
+
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-zIn/qmO+N/3FYe7/L9o+yZseIU8ivh4NdPKSkQRIHfg2QVTVMnbhGoTcecbxfVubeTp+DjcbjS0H9fCuM4W04w==}
+
+ '@prisma/[email protected]':
+ resolution: {integrity: sha512-ZeV/Op4bZsWXuw5Tg05WwRI8BlKiRFhsixPcAM+5BKYSiUZiMKIi713tfT3drBq8+T0E1arNZgYSA9QYcglWNA==}
'@radix-ui/[email protected]':
resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==}
@@ -6621,8 +6633,8 @@ packages:
resolution: {integrity: sha512-G9xUchgTEiNpormdYBl+Pha50gOUovT18IvAe7EYMZ1/f9W/WWMPRn+xI68yXNMUk3QXHDwo/1wV/4NejVNe1w==}
engines: {node: '>=0.10.0'}
- resolution: {integrity: sha512-KYWk83Fhi1FH59jSpavAYTt2eoMVW9YKgu8ci0kuUnt6Dup5Qy47pcB4/TLmiPAbhGrxxSz7gsSnJcCmkyPANA==}
+ resolution: {integrity: sha512-0rcfXO2ErmGAtxnuTNHQT9ztL0zZheQjOI/VNJzdq87C3TlGPQtMqtM+KCwU6XtmkoEr7vbCQqA7HF9IY0ST+Q==}
engines: {node: '>=16.13'}
hasBin: true
@@ -8119,10 +8131,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.7.0([email protected])
transitivePeerDependencies:
- nodemailer
@@ -8953,7 +8965,7 @@ snapshots:
dependencies:
glob: 7.1.7
dependencies:
fast-glob: 3.3.1
@@ -9232,11 +9244,30 @@ snapshots:
'@polka/[email protected]': {}
optionalDependencies:
- prisma: 5.0.0
+ prisma: 5.7.0
+
+ '@prisma/[email protected]': {}
+
+ '@prisma/engines-version@5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9': {}
+
+ '@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/[email protected]':
+ dependencies:
+ '@prisma/debug': 5.7.0
+ '@prisma/engines-version': 5.7.0-41.79fb5193cf0a8fdbef536e4b4a159cad677ab1b9
+ '@prisma/get-platform': 5.7.0
- '@prisma/[email protected]': {}
+ '@prisma/[email protected]':
+ dependencies:
+ '@prisma/debug': 5.7.0
'@radix-ui/[email protected]':
dependencies:
@@ -10768,7 +10799,7 @@ snapshots:
satori: 0.0.46
yoga-wasm-web: 0.3.0
dependencies:
'@babel/core': 7.22.10
'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])
@@ -10790,7 +10821,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.96
+ '@next/eslint-plugin-next': 15.0.0-canary.101
eslint: 8.45.0
prettier: 3.1.1
typescript: 5.3.3
@@ -14736,9 +14767,9 @@ snapshots:
extend-shallow: 2.0.1
js-beautify: 1.14.9
dependencies:
- '@prisma/engines': 5.0.0
+ '@prisma/engines': 5.7.0