diff --git a/packages/mercurius-codegen/package.json b/packages/mercurius-codegen/package.json index 706d5dcb3..6c3ef1c93 100644 --- a/packages/mercurius-codegen/package.json +++ b/packages/mercurius-codegen/package.json @@ -30,13 +30,13 @@ "watch": "concurrently -r pnpm:test:watch \"wait-on coverage && serve coverage/lcov-report\" \"wait-on -s 1 tcp:5000 && open-cli http://localhost:5000\"" }, "dependencies": { - "@graphql-codegen/core": "^3.1.0", - "@graphql-codegen/plugin-helpers": "^4.2.0", - "@graphql-codegen/typed-document-node": "^4.0.1", - "@graphql-codegen/typescript": "^3.0.4", - "@graphql-codegen/typescript-operations": "^3.0.4", - "@graphql-codegen/typescript-resolvers": "^3.2.1", - "@graphql-codegen/visitor-plugin-common": "^3.1.1", + "@graphql-codegen/core": "^4.0.0", + "@graphql-codegen/plugin-helpers": "^5.0.0", + "@graphql-codegen/typed-document-node": "^5.0.0", + "@graphql-codegen/typescript": "^4.0.0", + "@graphql-codegen/typescript-operations": "^4.0.0", + "@graphql-codegen/typescript-resolvers": "^4.0.0", + "@graphql-codegen/visitor-plugin-common": "^4.0.0", "@graphql-tools/load-files": "^7.0.0", "@graphql-tools/utils": "^10.0.0", "@graphql-typed-document-node/core": "^3.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 405560d51..fd859bb36 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -174,26 +174,26 @@ importers: packages/mercurius-codegen: dependencies: '@graphql-codegen/core': - specifier: ^3.1.0 - version: 3.1.0(graphql@16.6.0) + specifier: ^4.0.0 + version: 4.0.0(graphql@16.6.0) '@graphql-codegen/plugin-helpers': - specifier: ^4.2.0 - version: 4.2.0(graphql@16.6.0) + specifier: ^5.0.0 + version: 5.0.0(graphql@16.6.0) '@graphql-codegen/typed-document-node': - specifier: ^4.0.1 - version: 4.0.1(graphql@16.6.0) + specifier: ^5.0.0 + version: 5.0.0(graphql@16.6.0) '@graphql-codegen/typescript': - specifier: ^3.0.4 - version: 3.0.4(graphql@16.6.0) + specifier: ^4.0.0 + version: 4.0.0(graphql@16.6.0) '@graphql-codegen/typescript-operations': - specifier: ^3.0.4 - version: 3.0.4(graphql@16.6.0) + specifier: ^4.0.0 + version: 4.0.0(graphql@16.6.0) '@graphql-codegen/typescript-resolvers': - specifier: ^3.2.1 - version: 3.2.1(graphql@16.6.0) + specifier: ^4.0.0 + version: 4.0.0(graphql@16.6.0) '@graphql-codegen/visitor-plugin-common': - specifier: ^3.1.1 - version: 3.1.1(graphql@16.6.0) + specifier: ^4.0.0 + version: 4.0.0(graphql@16.6.0) '@graphql-tools/load-files': specifier: ^7.0.0 version: 7.0.0(graphql@16.6.0) @@ -1299,24 +1299,24 @@ packages: - bufferutil - utf-8-validate - /@graphql-codegen/core@3.1.0(graphql@16.6.0): - resolution: {integrity: sha512-DH1/yaR7oJE6/B+c6ZF2Tbdh7LixF1K8L+8BoSubjNyQ8pNwR4a70mvc1sv6H7qgp6y1bPQ9tKE+aazRRshysw==} + /@graphql-codegen/core@4.0.0(graphql@16.6.0): + resolution: {integrity: sha512-JAGRn49lEtSsZVxeIlFVIRxts2lWObR+OQo7V2LHDJ7ohYYw3ilv7nJ8pf8P4GTg/w6ptcYdSdVVdkI8kUHB/Q==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.6.0) - '@graphql-tools/schema': 9.0.8(graphql@16.6.0) - '@graphql-tools/utils': 9.2.1(graphql@16.6.0) + '@graphql-codegen/plugin-helpers': 5.0.0(graphql@16.6.0) + '@graphql-tools/schema': 10.0.0(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) graphql: 16.6.0 tslib: 2.5.0 dev: false - /@graphql-codegen/plugin-helpers@4.2.0(graphql@16.6.0): - resolution: {integrity: sha512-THFTCfg+46PXlXobYJ/OoCX6pzjI+9woQqCjdyKtgoI0tn3Xq2HUUCiidndxUpEYVrXb5pRiRXb7b/ZbMQqD0A==} + /@graphql-codegen/plugin-helpers@5.0.0(graphql@16.6.0): + resolution: {integrity: sha512-suL2ZMkBAU2a4YbBHaZvUPsV1z0q3cW6S96Z/eYYfkRIsJoe2vN+wNZ9Xdzmqx0JLmeeFCBSoBGC0imFyXlkDQ==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) change-case-all: 1.0.15 common-tags: 1.8.2 graphql: 16.6.0 @@ -1325,24 +1325,24 @@ packages: tslib: 2.5.0 dev: false - /@graphql-codegen/schema-ast@3.0.1(graphql@16.6.0): - resolution: {integrity: sha512-rTKTi4XiW4QFZnrEqetpiYEWVsOFNoiR/v3rY9mFSttXFbIwNXPme32EspTiGWmEEdHY8UuTDtZN3vEcs/31zw==} + /@graphql-codegen/schema-ast@4.0.0(graphql@16.6.0): + resolution: {integrity: sha512-WIzkJFa9Gz28FITAPILbt+7A8+yzOyd1NxgwFh7ie+EmO9a5zQK6UQ3U/BviirguXCYnn+AR4dXsoDrSrtRA1g==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.6.0) - '@graphql-tools/utils': 9.2.1(graphql@16.6.0) + '@graphql-codegen/plugin-helpers': 5.0.0(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) graphql: 16.6.0 tslib: 2.5.0 dev: false - /@graphql-codegen/typed-document-node@4.0.1(graphql@16.6.0): - resolution: {integrity: sha512-mQNYCd12JsFSaK6xLry4olY9TdYG7GxQPexU6qU4Om++eKhseGwk2eGmQDRG4Qp8jEDFLMXuHMVUKqMQ1M+F/A==} + /@graphql-codegen/typed-document-node@5.0.0(graphql@16.6.0): + resolution: {integrity: sha512-B5zSs9i9IOBX1Y4E2EduP8Q5qnG5SVcoTgTEx2SY3Jm3GKSbxs+ANawXXuf9G9/5plhJD9nHc53WuNLJ1xyIcg==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.6.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.6.0) + '@graphql-codegen/plugin-helpers': 5.0.0(graphql@16.6.0) + '@graphql-codegen/visitor-plugin-common': 4.0.0(graphql@16.6.0) auto-bind: 4.0.0 change-case-all: 1.0.15 graphql: 16.6.0 @@ -1352,14 +1352,14 @@ packages: - supports-color dev: false - /@graphql-codegen/typescript-operations@3.0.4(graphql@16.6.0): - resolution: {integrity: sha512-6yE2OL2+WJ1vd5MwFEGXpaxsFGzjAGUytPVHDML3Bi3TwP1F3lnQlIko4untwvHW0JhZEGQ7Ck30H9HjcxpdKA==} + /@graphql-codegen/typescript-operations@4.0.0(graphql@16.6.0): + resolution: {integrity: sha512-4juN+rCeyXx97zHg5FF2s6u9lfgVHY2ee+5S+P3X+nr2X0m93yFKJhbbEYKYMdE0d/nPPl5mxUiUGb/vzrDCig==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.6.0) - '@graphql-codegen/typescript': 3.0.4(graphql@16.6.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.6.0) + '@graphql-codegen/plugin-helpers': 5.0.0(graphql@16.6.0) + '@graphql-codegen/typescript': 4.0.0(graphql@16.6.0) + '@graphql-codegen/visitor-plugin-common': 4.0.0(graphql@16.6.0) auto-bind: 4.0.0 graphql: 16.6.0 tslib: 2.5.0 @@ -1368,15 +1368,15 @@ packages: - supports-color dev: false - /@graphql-codegen/typescript-resolvers@3.2.1(graphql@16.6.0): - resolution: {integrity: sha512-2ZIHk5J6HTuylse5ZIxw+aega54prHxvj7vM8hiKJ6vejZ94kvVPAq4aWmSFOkZ5lqU3YnM/ZyWfnhT5CUDj1g==} + /@graphql-codegen/typescript-resolvers@4.0.0(graphql@16.6.0): + resolution: {integrity: sha512-FapeQD/phVKAS0NVFUoSMK/nsR/QmHthF1m2/5Cg5WaHd51IFIt4pAdkThxnANd2UsxRKYNCGK3tOaNCQehWsQ==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.6.0) - '@graphql-codegen/typescript': 3.0.4(graphql@16.6.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.6.0) - '@graphql-tools/utils': 9.2.1(graphql@16.6.0) + '@graphql-codegen/plugin-helpers': 5.0.0(graphql@16.6.0) + '@graphql-codegen/typescript': 4.0.0(graphql@16.6.0) + '@graphql-codegen/visitor-plugin-common': 4.0.0(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) auto-bind: 4.0.0 graphql: 16.6.0 tslib: 2.5.0 @@ -1385,14 +1385,14 @@ packages: - supports-color dev: false - /@graphql-codegen/typescript@3.0.4(graphql@16.6.0): - resolution: {integrity: sha512-x4O47447DZrWNtE/l5CU9QzzW4m1RbmCEdijlA3s2flG/y1Ckqdemob4CWfilSm5/tZ3w1junVDY616RDTSvZw==} + /@graphql-codegen/typescript@4.0.0(graphql@16.6.0): + resolution: {integrity: sha512-9Wv050+a4O/c3RRDbXKVnm0e45mhmb8XuW3ICsmmwPUVJ5oX8NOLYIMU8ie1/gNTTCfJNwOtZr5EwX2yhXYUfQ==} peerDependencies: graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.6.0) - '@graphql-codegen/schema-ast': 3.0.1(graphql@16.6.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.6.0) + '@graphql-codegen/plugin-helpers': 5.0.0(graphql@16.6.0) + '@graphql-codegen/schema-ast': 4.0.0(graphql@16.6.0) + '@graphql-codegen/visitor-plugin-common': 4.0.0(graphql@16.6.0) auto-bind: 4.0.0 graphql: 16.6.0 tslib: 2.5.0 @@ -1401,15 +1401,15 @@ packages: - supports-color dev: false - /@graphql-codegen/visitor-plugin-common@3.1.1(graphql@16.6.0): - resolution: {integrity: sha512-uAfp+zu/009R3HUAuTK2AamR1bxIltM6rrYYI6EXSmkM3rFtFsLTuJhjUDj98HcUCszJZrADppz8KKLGRUVlNg==} + /@graphql-codegen/visitor-plugin-common@4.0.0(graphql@16.6.0): + resolution: {integrity: sha512-OFWr5tkrG4nCcE7AI9BSAwuA0VLP16uNCLssbmXpBa1rKR6b4mX+rJTQCoz47TFV5hii8yp8xaWfXVUcsNY39w==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.6.0) - '@graphql-tools/optimize': 1.3.1(graphql@16.6.0) - '@graphql-tools/relay-operation-optimizer': 6.5.10(graphql@16.6.0) - '@graphql-tools/utils': 9.2.1(graphql@16.6.0) + '@graphql-codegen/plugin-helpers': 5.0.0(graphql@16.6.0) + '@graphql-tools/optimize': 2.0.0(graphql@16.6.0) + '@graphql-tools/relay-operation-optimizer': 7.0.0(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) auto-bind: 4.0.0 change-case-all: 1.0.15 dependency-graph: 0.11.0 @@ -1434,18 +1434,20 @@ packages: unixify: 1.0.0 dev: false - /@graphql-tools/merge@8.3.10(graphql@16.6.0): - resolution: {integrity: sha512-/hSg69JwqEA+t01wQmMGKPuaJ9VJBSz6uAXhbNNrTBJu8bmXljw305NVXM49pCwDKFVUGtbTqYrBeLcfT3RoYw==} + /@graphql-tools/merge@9.0.0(graphql@16.6.0): + resolution: {integrity: sha512-J7/xqjkGTTwOJmaJQJ2C+VDBDOWJL3lKrHJN4yMaRLAJH3PosB7GiPRaSDZdErs0+F77sH2MKs2haMMkywzx7Q==} + engines: {node: '>=16.0.0'} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: - '@graphql-tools/utils': 9.0.1(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) graphql: 16.6.0 tslib: 2.5.0 dev: false - /@graphql-tools/optimize@1.3.1(graphql@16.6.0): - resolution: {integrity: sha512-5j5CZSRGWVobt4bgRRg7zhjPiSimk+/zIuColih8E8DxuFOaJ+t0qu7eZS5KXWBkjcd4BPNuhUPpNlEmHPqVRQ==} + /@graphql-tools/optimize@2.0.0(graphql@16.6.0): + resolution: {integrity: sha512-nhdT+CRGDZ+bk68ic+Jw1OZ99YCDIKYA5AlVAnBHJvMawSx9YQqQAIj4refNc1/LRieGiuWvhbG3jvPVYho0Dg==} + engines: {node: '>=16.0.0'} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: @@ -1453,13 +1455,14 @@ packages: tslib: 2.5.0 dev: false - /@graphql-tools/relay-operation-optimizer@6.5.10(graphql@16.6.0): - resolution: {integrity: sha512-daNJRkJa/NgpXVxUApCMIGqHoyHExaG7XN2gk48r+DbKmoahpflF+lnhBKmS44HtSGciFUv8bPbp0NWvXafZ2w==} + /@graphql-tools/relay-operation-optimizer@7.0.0(graphql@16.6.0): + resolution: {integrity: sha512-UNlJi5y3JylhVWU4MBpL0Hun4Q7IoJwv9xYtmAz+CgRa066szzY7dcuPfxrA7cIGgG/Q6TVsKsYaiF4OHPs1Fw==} + engines: {node: '>=16.0.0'} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: '@ardatan/relay-compiler': 12.0.0(graphql@16.6.0) - '@graphql-tools/utils': 9.0.1(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) graphql: 16.6.0 tslib: 2.5.0 transitivePeerDependencies: @@ -1467,16 +1470,17 @@ packages: - supports-color dev: false - /@graphql-tools/schema@9.0.8(graphql@16.6.0): - resolution: {integrity: sha512-PnES7sNkhQ/FdPQhP7cup0OIzwzQh+nfjklilU7YJzE209ACIyEQtxoNCfvPW5eV6hc9bWsBQeI3Jm4mMtwxNA==} + /@graphql-tools/schema@10.0.0(graphql@16.6.0): + resolution: {integrity: sha512-kf3qOXMFcMs2f/S8Y3A8fm/2w+GaHAkfr3Gnhh2LOug/JgpY/ywgFVxO3jOeSpSEdoYcDKLcXVjMigNbY4AdQg==} + engines: {node: '>=16.0.0'} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 dependencies: - '@graphql-tools/merge': 8.3.10(graphql@16.6.0) - '@graphql-tools/utils': 9.0.1(graphql@16.6.0) + '@graphql-tools/merge': 9.0.0(graphql@16.6.0) + '@graphql-tools/utils': 10.0.0(graphql@16.6.0) graphql: 16.6.0 tslib: 2.5.0 - value-or-promise: 1.0.11 + value-or-promise: 1.0.12 dev: false /@graphql-tools/utils@10.0.0(graphql@16.6.0): @@ -1490,25 +1494,6 @@ packages: tslib: 2.5.0 dev: false - /@graphql-tools/utils@9.0.1(graphql@16.6.0): - resolution: {integrity: sha512-z6FimVa5E44bHKmqK0/uMp9hHvHo2Tkt9A5rlLb40ReD/8IFKehSXLzM4b2N1vcP7mSsbXIdDK9Aoc8jT/he1Q==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - graphql: 16.6.0 - tslib: 2.5.0 - dev: false - - /@graphql-tools/utils@9.2.1(graphql@16.6.0): - resolution: {integrity: sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.6.0) - graphql: 16.6.0 - tslib: 2.4.1 - dev: false - /@graphql-typed-document-node/core@3.2.0(graphql@16.6.0): resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} peerDependencies: @@ -6203,8 +6188,8 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /value-or-promise@1.0.11: - resolution: {integrity: sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg==} + /value-or-promise@1.0.12: + resolution: {integrity: sha512-Z6Uz+TYwEqE7ZN50gwn+1LCVo9ZVrpxRPOhOLnncYkY1ZzOYtrX8Fwf/rFktZ8R5mJms6EZf5TqNOMeZmnPq9Q==} engines: {node: '>=12'} dev: false