Skip to content

Commit 4ee0136

Browse files
committed
support prisma 5.16.1
1 parent 1951e9f commit 4ee0136

File tree

4 files changed

+96
-95
lines changed

4 files changed

+96
-95
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
**NOTE: this plugin is now following the same package version as the Prisma framework it is linked/validated against. Will make things easier to track 👍**
77

8-
This plugin has been upgraded to support **Prisma 4.0+**. Latest version of prisma supported: [Prisma 5.13.0](https://github.com/prisma/prisma/releases/tag/5.13.0)
8+
This plugin has been upgraded to support **Prisma 4.0+**. Latest version of prisma supported: [Prisma 5.16.1](https://github.com/prisma/prisma/releases/tag/5.16.1)
99

1010
---
1111

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@morgothulhu/nexus-plugin-prisma",
3-
"version": "5.13.0",
3+
"version": "5.16.1",
44
"main": "dist/index.js",
55
"types": "dist/index.d.ts",
66
"license": "MIT",
@@ -48,12 +48,12 @@
4848
"upgrade-prisma-dev": "yarn add prisma @prisma/client@dev @prisma/generator-helper@dev @prisma/migrate@dev @prisma/sdk@dev"
4949
},
5050
"peerDependencies": {
51-
"@prisma/client": "5.13.0",
51+
"@prisma/client": "5.16.1",
5252
"graphql": "16.6.0",
5353
"nexus": "1.3.0"
5454
},
5555
"dependencies": {
56-
"@prisma/internals": "5.13.0",
56+
"@prisma/internals": "5.16.1",
5757
"camelcase": "^6.3.0",
5858
"endent": "2.1.0",
5959
"escape-string-regexp": "^4.0.0",
@@ -64,9 +64,9 @@
6464
},
6565
"devDependencies": {
6666
"@prisma-labs/prettier-config": "0.1.0",
67-
"@prisma/client": "5.13.0",
68-
"@prisma/generator-helper": "5.13.0",
69-
"@prisma/migrate": "5.13.0",
67+
"@prisma/client": "5.16.1",
68+
"@prisma/generator-helper": "5.16.1",
69+
"@prisma/migrate": "5.16.1",
7070
"@types/jest": "29.5.12",
7171
"@types/lodash": "4.17.0",
7272
"@types/node": "^18.16.18",
@@ -87,7 +87,7 @@
8787
"node-fetch": "3.3.2",
8888
"npm-check": "6.0.1",
8989
"prettier": "3.2.5",
90-
"prisma": "5.13.0",
90+
"prisma": "5.16.1",
9191
"strip-ansi": "^6.0.1",
9292
"ts-jest": "29.1.0",
9393
"ts-morph": "22.0.0",

tests/schema/__snapshots__/ordering.test.ts.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports[`finds correct ordering types if fullTextSearch preview feature is enabl
44
"type Foo {
55
id: Int!
66
a: String!
7-
bars(orderBy: [BarOrderByWithRelationAndSearchRelevanceInput!], first: Int, last: Int, before: BarWhereUniqueInput, after: BarWhereUniqueInput): [Bar!]!
7+
bars(orderBy: [BarOrderByWithRelationInput!], first: Int, last: Int, before: BarWhereUniqueInput, after: BarWhereUniqueInput): [Bar!]!
88
}
99
1010
type Bar {
@@ -13,13 +13,13 @@ type Bar {
1313
}
1414
1515
type Query {
16-
foos(orderBy: [FooOrderByWithRelationAndSearchRelevanceInput!], first: Int, last: Int, before: FooWhereUniqueInput, after: FooWhereUniqueInput): [Foo!]!
16+
foos(orderBy: [FooOrderByWithRelationInput!], first: Int, last: Int, before: FooWhereUniqueInput, after: FooWhereUniqueInput): [Foo!]!
1717
}
1818
19-
input BarOrderByWithRelationAndSearchRelevanceInput {
19+
input BarOrderByWithRelationInput {
2020
id: SortOrder
2121
fooId: SortOrderInput
22-
foo: FooOrderByWithRelationAndSearchRelevanceInput
22+
foo: FooOrderByWithRelationInput
2323
}
2424
2525
input BarWhereUniqueInput {
@@ -31,7 +31,7 @@ input BarWhereUniqueInput {
3131
foo: FooWhereInput
3232
}
3333
34-
input FooOrderByWithRelationAndSearchRelevanceInput {
34+
input FooOrderByWithRelationInput {
3535
id: SortOrder
3636
a: SortOrder
3737
bars: BarOrderByRelationAggregateInput

yarn.lock

Lines changed: 83 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -867,91 +867,92 @@
867867
resolved "https://registry.yarnpkg.com/@prisma-labs/prettier-config/-/prettier-config-0.1.0.tgz#ef6cb5f89487974ca997516e9b39d5ccbefeeaad"
868868
integrity sha512-P0h2y+gnIxFP2HdsTYSYHWmabGBlxyVjnUepsrRe8gAF36mxOonGsbsQmKt/Q9H9CMjrSkFoDe5F5HLi2iW5/Q==
869869

870-
"@prisma/client@5.13.0":
871-
version "5.13.0"
872-
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.13.0.tgz#b9f1d0983d714e982675201d8222a9ecb4bdad4a"
873-
integrity sha512-uYdfpPncbZ/syJyiYBwGZS8Gt1PTNoErNYMuqHDa2r30rNSFtgTA/LXsSk55R7pdRTMi5pHkeP9B14K6nHmwkg==
874-
875-
"@prisma/debug@5.13.0":
876-
version "5.13.0"
877-
resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.13.0.tgz#d88b0f6fafa0c216e20e284ed9fc30f1cbe45786"
878-
integrity sha512-699iqlEvzyCj9ETrXhs8o8wQc/eVW+FigSsHpiskSFydhjVuwTJEfj/nIYqTaWFYuxiWQRfm3r01meuW97SZaQ==
879-
880-
"@prisma/engines-version@5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b":
881-
version "5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b"
882-
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b.tgz#a72a4fb83ba1fd01ad45f795aa55168f60d34723"
883-
integrity sha512-AyUuhahTINGn8auyqYdmxsN+qn0mw3eg+uhkp8zwknXYIqoT3bChG4RqNY/nfDkPvzWAPBa9mrDyBeOnWSgO6A==
884-
885-
"@prisma/engines@5.13.0":
886-
version "5.13.0"
887-
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.13.0.tgz#8994ebf7b4e35aee7746a8465ec22738379bcab6"
888-
integrity sha512-hIFLm4H1boj6CBZx55P4xKby9jgDTeDG0Jj3iXtwaaHmlD5JmiDkZhh8+DYWkTGchu+rRF36AVROLnk0oaqhHw==
889-
dependencies:
890-
"@prisma/debug" "5.13.0"
891-
"@prisma/engines-version" "5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b"
892-
"@prisma/fetch-engine" "5.13.0"
893-
"@prisma/get-platform" "5.13.0"
894-
895-
"@prisma/fetch-engine@5.13.0":
896-
version "5.13.0"
897-
resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.13.0.tgz#9b6945c7b38bb59e840f8905b20ea7a3d059ca55"
898-
integrity sha512-Yh4W+t6YKyqgcSEB3odBXt7QyVSm0OQlBSldQF2SNXtmOgMX8D7PF/fvH6E6qBCpjB/yeJLy/FfwfFijoHI6sA==
899-
dependencies:
900-
"@prisma/debug" "5.13.0"
901-
"@prisma/engines-version" "5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b"
902-
"@prisma/get-platform" "5.13.0"
903-
904-
"@prisma/generator-helper@5.13.0":
905-
version "5.13.0"
906-
resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-5.13.0.tgz#9ef960e5cad763df254c666afdffd890c5c35a0f"
907-
integrity sha512-i+53beJ0dxkDrkHdsXxmeMf+eVhyhOIpL0SdBga8vwe0qHPrAIJ/lpuT/Hj0y5awTmq40qiUEmhXwCEuM/Z17w==
908-
dependencies:
909-
"@prisma/debug" "5.13.0"
910-
911-
"@prisma/get-platform@5.13.0":
912-
version "5.13.0"
913-
resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.13.0.tgz#99ef909a52b9d79b64d72d2d3d8210c4892b6572"
914-
integrity sha512-B/WrQwYTzwr7qCLifQzYOmQhZcFmIFhR81xC45gweInSUn2hTEbfKUPd2keAog+y5WI5xLAFNJ3wkXplvSVkSw==
915-
dependencies:
916-
"@prisma/debug" "5.13.0"
917-
918-
"@prisma/internals@5.13.0":
919-
version "5.13.0"
920-
resolved "https://registry.yarnpkg.com/@prisma/internals/-/internals-5.13.0.tgz#15ba677eec8789d3d36b6eebfa424eeee6b6b028"
921-
integrity sha512-OPMzS+IBPzCLT4s+IfGUbOhGFY51CFbokIFMZuoSeLKWE8UvDlitiXZ3OlVqDPUc0AlH++ysQHzDISHbZD+ZUg==
922-
dependencies:
923-
"@prisma/debug" "5.13.0"
924-
"@prisma/engines" "5.13.0"
925-
"@prisma/fetch-engine" "5.13.0"
926-
"@prisma/generator-helper" "5.13.0"
927-
"@prisma/get-platform" "5.13.0"
928-
"@prisma/prisma-schema-wasm" "5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b"
929-
"@prisma/schema-files-loader" "5.13.0"
870+
"@prisma/client@5.16.1":
871+
version "5.16.1"
872+
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.16.1.tgz#65c5649b4701c097e7fa943c91a3140ce8bf053d"
873+
integrity sha512-wM9SKQjF0qLxdnOZIVAIMKiz6Hu7vDt4FFAih85K1dk/Rr2mdahy6d3QP41K62N9O0DJJA//gUDA3Mp49xsKIg==
874+
875+
"@prisma/debug@5.16.1":
876+
version "5.16.1"
877+
resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.16.1.tgz#4887a57a0973fb732a60c30dc48de97bf1eefd7e"
878+
integrity sha512-JsNgZAg6BD9RInLSrg7ZYzo11N7cVvYArq3fHGSD89HSgtN0VDdjV6bib7YddbcO6snzjchTiLfjeTqBjtArVQ==
879+
880+
"@prisma/engines-version@5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303":
881+
version "5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303"
882+
resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303.tgz#63ceebefb7daa1eb17f250cad75d35999a50ee1b"
883+
integrity sha512-HkT2WbfmFZ9WUPyuJHhkiADxazHg8Y4gByrTSVeb3OikP6tjQ7txtSUGu9OBOBH0C13dPKN2qqH12xKtHu/Hiw==
884+
885+
"@prisma/engines@5.16.1":
886+
version "5.16.1"
887+
resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.16.1.tgz#a14e5d08d34241ed1f1bb7d11ed44eacb37b6fc6"
888+
integrity sha512-KkyF3eIUtBIyp5A/rJHCtwQO18OjpGgx18PzjyGcJDY/+vNgaVyuVd+TgwBgeq6NLdd1XMwRCI+58vinHsAdfA==
889+
dependencies:
890+
"@prisma/debug" "5.16.1"
891+
"@prisma/engines-version" "5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303"
892+
"@prisma/fetch-engine" "5.16.1"
893+
"@prisma/get-platform" "5.16.1"
894+
895+
"@prisma/fetch-engine@5.16.1":
896+
version "5.16.1"
897+
resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.16.1.tgz#506a034eb23222af27ba635eb48c63df0ba7fc14"
898+
integrity sha512-oOkjaPU1lhcA/Rvr4GVfd1NLJBwExgNBE36Ueq7dr71kTMwy++a3U3oLd2ZwrV9dj9xoP6LjCcky799D9nEt4w==
899+
dependencies:
900+
"@prisma/debug" "5.16.1"
901+
"@prisma/engines-version" "5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303"
902+
"@prisma/get-platform" "5.16.1"
903+
904+
"@prisma/generator-helper@5.16.1":
905+
version "5.16.1"
906+
resolved "https://registry.yarnpkg.com/@prisma/generator-helper/-/generator-helper-5.16.1.tgz#6378d6acb1dcbada9379c435680fc885fa1109d3"
907+
integrity sha512-WxV/msovIubvr20iIdPJN0MUj46J26ax+sV+vMQSCeVoHQW//xdJZoPnimG54M7+CA9kupXjVpgjiPX4rcKQeA==
908+
dependencies:
909+
"@prisma/debug" "5.16.1"
910+
911+
"@prisma/get-platform@5.16.1":
912+
version "5.16.1"
913+
resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.16.1.tgz#613197c58acaafd5142d48a11f4df45a8f26a9e9"
914+
integrity sha512-R4IKnWnMkR2nUAbU5gjrPehdQYUUd7RENFD2/D+xXTNhcqczp0N+WEGQ3ViyI3+6mtVcjjNIMdnUTNyu3GxIgA==
915+
dependencies:
916+
"@prisma/debug" "5.16.1"
917+
918+
"@prisma/internals@5.16.1":
919+
version "5.16.1"
920+
resolved "https://registry.yarnpkg.com/@prisma/internals/-/internals-5.16.1.tgz#d40a56975349ea3964482dd682586bd809fa412b"
921+
integrity sha512-3N5i7PWNFU0qKulnQ8q5Nm8kZZxphFIeO0CvejgBS+7+9Cg9CEuJlwqwXpyT8MofvVe/7Q44zjhrenODNl5dTg==
922+
dependencies:
923+
"@prisma/debug" "5.16.1"
924+
"@prisma/engines" "5.16.1"
925+
"@prisma/fetch-engine" "5.16.1"
926+
"@prisma/generator-helper" "5.16.1"
927+
"@prisma/get-platform" "5.16.1"
928+
"@prisma/prisma-schema-wasm" "5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303"
929+
"@prisma/schema-files-loader" "5.16.1"
930930
arg "5.0.2"
931931
prompts "2.4.2"
932932

933-
"@prisma/migrate@5.13.0":
934-
version "5.13.0"
935-
resolved "https://registry.yarnpkg.com/@prisma/migrate/-/migrate-5.13.0.tgz#6574c57e9bb92ddf1ee0fb1c049a3b4f1f44ffe9"
936-
integrity sha512-cFIYfX92yVyOGp/tYGGMShXVptlER23Yg05HoGdzjPBzy6jDQEBBs9VhlRA9I39I8zGFxNFOql+5pIGxktkGyw==
933+
"@prisma/migrate@5.16.1":
934+
version "5.16.1"
935+
resolved "https://registry.yarnpkg.com/@prisma/migrate/-/migrate-5.16.1.tgz#439590f1776bb164096f5afce18d54c716f2bb72"
936+
integrity sha512-AD4LcHrBATIuDoYkun7LhpCanc8s5+VatvgCzVh8OGnp1ZcaW0BM+sxSEGN1y0BPpAY6K8f11+iwJ+tkFp4u3w==
937937
dependencies:
938-
"@prisma/debug" "5.13.0"
939-
"@prisma/engines-version" "5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b"
940-
"@prisma/generator-helper" "5.13.0"
941-
"@prisma/get-platform" "5.13.0"
942-
"@prisma/internals" "5.13.0"
938+
"@prisma/debug" "5.16.1"
939+
"@prisma/engines-version" "5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303"
940+
"@prisma/generator-helper" "5.16.1"
941+
"@prisma/get-platform" "5.16.1"
942+
"@prisma/internals" "5.16.1"
943943
prompts "2.4.2"
944944

945-
"@prisma/prisma-schema-wasm@5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b":
946-
version "5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b"
947-
resolved "https://registry.yarnpkg.com/@prisma/prisma-schema-wasm/-/prisma-schema-wasm-5.13.0-23.b9a39a7ee606c28e3455d0fd60e78c3ba82b1a2b.tgz#a78ac66393dfb0683eebb78bae325a2ec398ab88"
948-
integrity sha512-+IhHvuE1wKlyOpJgwAhGop1oqEt+1eixrCeikBIshRhdX6LwjmtRxVxVMlP5nS1yyughmpfkysIW4jZTa+Zjuw==
945+
"@prisma/prisma-schema-wasm@5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303":
946+
version "5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303"
947+
resolved "https://registry.yarnpkg.com/@prisma/prisma-schema-wasm/-/prisma-schema-wasm-5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303.tgz#d090b871fa308d23fa4bd766d4dc2bc6e80cdce3"
948+
integrity sha512-l2yUdEkR3eKEBKsEs18/ZjMNsS7IUMLFWZOvtylhHs2pMY6UaxJN1ho0x8IB2z54VsKUp0fhqPm5LSi9FWmeCA==
949949

950-
"@prisma/schema-files-loader@5.13.0":
951-
version "5.13.0"
952-
resolved "https://registry.yarnpkg.com/@prisma/schema-files-loader/-/schema-files-loader-5.13.0.tgz#6fb9ddda90d32d9469d8896789c806071238b082"
953-
integrity sha512-6sVMoqobkWKsmzb98LfLiIt/aFRucWfkzSUBsqk7sc+h99xjynJt6aKtM2SSkyndFdWpRU0OiCHfQ9UlYUEJIw==
950+
"@prisma/schema-files-loader@5.16.1":
951+
version "5.16.1"
952+
resolved "https://registry.yarnpkg.com/@prisma/schema-files-loader/-/schema-files-loader-5.16.1.tgz#9fe15d7bcdb3e77d5adb3e3eb4fa68aabbf7b3a7"
953+
integrity sha512-GRckmUI37R7MgheSBMTCBgV6Qg7geirKfhs2tHsD600vs38vKCHGXTuHWgJ2mZLO1hRwMIclCwRrIoob+JIw6Q==
954954
dependencies:
955+
"@prisma/prisma-schema-wasm" "5.16.0-24.34ace0eb2704183d2c05b60b52fba5c43c13f303"
955956
fs-extra "11.1.1"
956957

957958
"@repeaterjs/repeater@^3.0.4":
@@ -4211,12 +4212,12 @@ pretty-format@^29.5.0:
42114212
ansi-styles "^5.0.0"
42124213
react-is "^18.0.0"
42134214

4214-
prisma@5.13.0:
4215-
version "5.13.0"
4216-
resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.13.0.tgz#1f06e20ccfb6038ad68869e6eacd3b346f9d0851"
4217-
integrity sha512-kGtcJaElNRAdAGsCNykFSZ7dBKpL14Cbs+VaQ8cECxQlRPDjBlMHNFYeYt0SKovAVy2Y65JXQwB3A5+zIQwnTg==
4215+
prisma@5.16.1:
4216+
version "5.16.1"
4217+
resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.16.1.tgz#6dfd1e27e6534741326f4a231f04c16b3fbb7ba9"
4218+
integrity sha512-Z1Uqodk44diztImxALgJJfNl2Uisl9xDRvqybMKEBYJLNKNhDfAHf+ZIJbZyYiBhLMbKU9cYGdDVG5IIXEnL2Q==
42184219
dependencies:
4219-
"@prisma/engines" "5.13.0"
4220+
"@prisma/engines" "5.16.1"
42204221

42214222
prompts@2.4.2:
42224223
version "2.4.2"

0 commit comments

Comments
 (0)