chore: upgrade prisma version to 5.14.0

This commit is contained in:
moonrailgun 2024-05-26 00:49:49 +08:00
parent d74ba8d283
commit a0ab1da6b6
2 changed files with 47 additions and 29 deletions

View File

@ -406,8 +406,8 @@ importers:
specifier: ^2.2.2
version: 2.2.2
'@prisma/client':
specifier: 5.4.2
version: 5.4.2(prisma@5.4.2)
specifier: 5.14.0
version: 5.14.0(prisma@5.14.0)
'@tianji/shared':
specifier: workspace:^
version: link:../shared
@ -536,7 +536,7 @@ importers:
version: 3.22.2
zod-prisma:
specifier: ^0.5.4
version: 0.5.4(prisma@5.4.2)(zod@3.22.2)
version: 0.5.4(prisma@5.14.0)(zod@3.22.2)
devDependencies:
'@faker-js/faker':
specifier: ^8.4.0
@ -608,14 +608,14 @@ importers:
specifier: 4.0.0
version: 4.0.0
prisma:
specifier: 5.4.2
version: 5.4.2
specifier: 5.14.0
version: 5.14.0
prisma-json-types-generator:
specifier: 3.0.3
version: 3.0.3(prisma@5.4.2)(typescript@5.4.5)
version: 3.0.3(prisma@5.14.0)(typescript@5.4.5)
prisma-zod-generator:
specifier: 0.8.13
version: 0.8.13(prisma@5.4.2)
version: 0.8.13(prisma@5.14.0)
supertest:
specifier: ^6.3.4
version: 6.3.4
@ -5252,7 +5252,7 @@ packages:
resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}
dev: false
/@prisma/client@4.16.2(prisma@5.4.2):
/@prisma/client@4.16.2(prisma@5.14.0):
resolution: {integrity: sha512-qCoEyxv1ZrQ4bKy39GnylE8Zq31IRmm8bNhNbZx7bF2cU5aiCCnSa93J2imF88MBjn7J9eUQneNxUQVJdl/rPQ==}
engines: {node: '>=14.17'}
requiresBuild: true
@ -5263,11 +5263,11 @@ packages:
optional: true
dependencies:
'@prisma/engines-version': 4.16.1-1.4bc8b6e1b66cb932731fb1bdbbc550d1e010de81
prisma: 5.4.2
prisma: 5.14.0
dev: true
/@prisma/client@5.4.2(prisma@5.4.2):
resolution: {integrity: sha512-2xsPaz4EaMKj1WS9iW6MlPhmbqtBsXAOeVttSePp8vTFTtvzh2hZbDgswwBdSCgPzmmwF+tLB259QzggvCmJqA==}
/@prisma/client@5.14.0(prisma@5.14.0):
resolution: {integrity: sha512-akMSuyvLKeoU4LeyBAUdThP/uhVP3GuLygFE3MlYzaCb3/J8SfsYBE5PkaFuLuVpLyA6sFoW+16z/aPhNAESqg==}
engines: {node: '>=16.13'}
requiresBuild: true
peerDependencies:
@ -5276,8 +5276,7 @@ packages:
prisma:
optional: true
dependencies:
'@prisma/engines-version': 5.4.1-2.ac9d7041ed77bcc8a8dbd2ab6616b39013829574
prisma: 5.4.2
prisma: 5.14.0
dev: false
/@prisma/debug@3.8.1:
@ -5298,6 +5297,9 @@ packages:
- supports-color
dev: true
/@prisma/debug@5.14.0:
resolution: {integrity: sha512-iq56qBZuFfX3fCxoxT8gBX33lQzomBU0qIUaEj1RebsKVz1ob/BVH1XSBwwwvRVtZEV1b7Fxx2eVu34Ge/mg3w==}
/@prisma/debug@5.5.2:
resolution: {integrity: sha512-OeyuNABo1dgWHIQuJAdvW5qp5ccFfbI0CKNvdg8D34YWOfo6L+4J0gmnRI/j+h40HvM3S5WH2T8e3W9bPa7EVg==}
dependencies:
@ -5312,18 +5314,22 @@ packages:
resolution: {integrity: sha512-q617EUWfRIDTriWADZ4YiWRZXCa/WuhNgLTVd+HqWLffjMSPzyM5uOWoauX91wvQClSKZU4pzI4JJLQ9Kl62Qg==}
dev: true
/@prisma/engines-version@5.4.1-2.ac9d7041ed77bcc8a8dbd2ab6616b39013829574:
resolution: {integrity: sha512-wvupDL4AA1vf4TQNANg7kR7y98ITqPsk6aacfBxZKtrJKRIsWjURHkZCGcQliHdqCiW/hGreO6d6ZuSv9MhdAA==}
dev: false
/@prisma/engines-version@5.14.0-25.e9771e62de70f79a5e1c604a2d7c8e2a0a874b48:
resolution: {integrity: sha512-ip6pNkRo1UxWv+6toxNcYvItNYaqQjXdFNGJ+Nuk2eYtRoEdoF13wxo7/jsClJFFenMPVNVqXQDV0oveXnR1cA==}
/@prisma/engines@4.16.2:
resolution: {integrity: sha512-vx1nxVvN4QeT/cepQce68deh/Turxy5Mr+4L4zClFuK1GlxN3+ivxfuv+ej/gvidWn1cE1uAhW7ALLNlYbRUAw==}
requiresBuild: true
dev: true
/@prisma/engines@5.4.2:
resolution: {integrity: sha512-fqeucJ3LH0e1eyFdT0zRx+oETLancu5+n4lhiYECyEz6H2RDskPJHJYHkVc0LhkU4Uv7fuEnppKU3nVKNzMh8g==}
/@prisma/engines@5.14.0:
resolution: {integrity: sha512-lgxkKZ6IEygVcw6IZZUlPIfLQ9hjSYAtHjZ5r64sCLDgVzsPFCi2XBBJgzPMkOQ5RHzUD4E/dVdpn9+ez8tk1A==}
requiresBuild: true
dependencies:
'@prisma/debug': 5.14.0
'@prisma/engines-version': 5.14.0-25.e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
'@prisma/fetch-engine': 5.14.0
'@prisma/get-platform': 5.14.0
/@prisma/fetch-engine@4.16.2:
resolution: {integrity: sha512-lnCnHcOaNn0kw8qTJbVcNhyfIf5Lus2GFXbj3qpkdKEIB9xLgqkkuTP+35q1xFaqwQ0vy4HFpdRUpFP7njE15g==}
@ -5350,6 +5356,13 @@ packages:
- supports-color
dev: true
/@prisma/fetch-engine@5.14.0:
resolution: {integrity: sha512-VrheA9y9DMURK5vu8OJoOgQpxOhas3qF0IBHJ8G/0X44k82kc8E0w98HCn2nhnbOOMwbWsJWXfLC2/F8n5u0gQ==}
dependencies:
'@prisma/debug': 5.14.0
'@prisma/engines-version': 5.14.0-25.e9771e62de70f79a5e1c604a2d7c8e2a0a874b48
'@prisma/get-platform': 5.14.0
/@prisma/generator-helper@3.8.1:
resolution: {integrity: sha512-3zSy+XTEjmjLj6NO+/YPN1Cu7or3xA11TOoOnLRJ9G4pTT67RJXjK0L9Xy5n+3I0Xlb7xrWCgo8MvQQLMWzxPA==}
dependencies:
@ -5398,6 +5411,11 @@ packages:
- supports-color
dev: true
/@prisma/get-platform@5.14.0:
resolution: {integrity: sha512-/yAyBvcEjRv41ynZrhdrPtHgk47xLRRq/o5eWGcUpBJ1YrUZTYB8EoPiopnP7iQrMATK8stXQdPOoVlrzuTQZw==}
dependencies:
'@prisma/debug': 5.14.0
/@prisma/internals@4.16.2:
resolution: {integrity: sha512-/3OiSADA3RRgsaeEE+MDsBgL6oAMwddSheXn6wtYGUnjERAV/BmF5bMMLnTykesQqwZ1s8HrISrJ0Vf6cjOxMg==}
dependencies:
@ -18869,7 +18887,7 @@ packages:
clsx: 2.1.0
react: 18.3.1
/prisma-json-types-generator@3.0.3(prisma@5.4.2)(typescript@5.4.5):
/prisma-json-types-generator@3.0.3(prisma@5.14.0)(typescript@5.4.5):
resolution: {integrity: sha512-6TT1J6biRpQdU1Z7ggLeQ74pQNFMxxvT2vwTc9/yYV3znDhy9kW/e/CE6j0XhL8nkP2xzshtCQ1Y/EAh+LO3jQ==}
engines: {node: '>=14.0'}
hasBin: true
@ -18878,18 +18896,18 @@ packages:
typescript: ^5.1
dependencies:
'@prisma/generator-helper': 5.5.2
prisma: 5.4.2
prisma: 5.14.0
tslib: 2.6.2
typescript: 5.4.5
transitivePeerDependencies:
- supports-color
dev: true
/prisma-zod-generator@0.8.13(prisma@5.4.2):
/prisma-zod-generator@0.8.13(prisma@5.14.0):
resolution: {integrity: sha512-X455pyEO2LgEetEiKC5vzasB1+ga58y8ODKbCBJJ5ZK03Gjm5oQedXVa//fu2joXiovHC9YutbT+qLXf0UsLEw==}
hasBin: true
dependencies:
'@prisma/client': 4.16.2(prisma@5.4.2)
'@prisma/client': 4.16.2(prisma@5.14.0)
'@prisma/generator-helper': 4.16.2
'@prisma/internals': 4.16.2
prettier: 2.8.8
@ -18901,13 +18919,13 @@ packages:
- supports-color
dev: true
/prisma@5.4.2:
resolution: {integrity: sha512-GDMZwZy7mysB2oXU+angQqJ90iaPFdD0rHaZNkn+dio5NRkGLmMqmXs31//tg/qXT3iB0cTQwnGGQNuirhSTZg==}
/prisma@5.14.0:
resolution: {integrity: sha512-gCNZco7y5XtjrnQYeDJTiVZmT/ncqCr5RY1/Cf8X2wgLRmyh9ayPAGBNziI4qEE4S6SxCH5omQLVo9lmURaJ/Q==}
engines: {node: '>=16.13'}
hasBin: true
requiresBuild: true
dependencies:
'@prisma/engines': 5.4.2
'@prisma/engines': 5.14.0
/prismjs@1.29.0:
resolution: {integrity: sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==}
@ -24698,7 +24716,7 @@ packages:
readable-stream: 3.6.2
dev: true
/zod-prisma@0.5.4(prisma@5.4.2)(zod@3.22.2):
/zod-prisma@0.5.4(prisma@5.14.0)(zod@3.22.2):
resolution: {integrity: sha512-5Ca4Qd1a1jy1T/NqCEpbr0c+EsbjJfJ/7euEHob3zDvtUK2rTuD1Rc/vfzH8q8PtaR2TZbysD88NHmrLwpv3Xg==}
engines: {node: '>=14'}
hasBin: true
@ -24712,7 +24730,7 @@ packages:
dependencies:
'@prisma/generator-helper': 3.8.1
parenthesis: 3.1.8
prisma: 5.4.2
prisma: 5.14.0
ts-morph: 13.0.3
zod: 3.22.2
dev: false

View File

@ -22,7 +22,7 @@
"author": "moonrailgun <moonrailgun@gmail.com>",
"dependencies": {
"@paralleldrive/cuid2": "^2.2.2",
"@prisma/client": "5.4.2",
"@prisma/client": "5.14.0",
"@tianji/shared": "workspace:^",
"@trpc/server": "^10.45.2",
"accept-language-parser": "^1.5.0",
@ -91,7 +91,7 @@
"execa": "^5.1.1",
"nodemon": "^3.0.3",
"p-map": "4.0.0",
"prisma": "5.4.2",
"prisma": "5.14.0",
"prisma-json-types-generator": "3.0.3",
"prisma-zod-generator": "0.8.13",
"supertest": "^6.3.4",