diff --git a/packages/mercurius-codegen/package.json b/packages/mercurius-codegen/package.json index 312685f7..b7212a7d 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.2", + "@graphql-codegen/plugin-helpers": "^5.1.0", + "@graphql-codegen/typed-document-node": "^5.0.11", + "@graphql-codegen/typescript": "^4.1.1", + "@graphql-codegen/typescript-operations": "^4.3.1", + "@graphql-codegen/typescript-resolvers": "^4.4.0", + "@graphql-codegen/visitor-plugin-common": "^5.5.0", "@graphql-tools/load-files": "^7.0.0", "@graphql-tools/utils": "^10.5.5", "@graphql-typed-document-node/core": "^3.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4efadfec..3a05f810 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.9.0) + specifier: ^4.0.2 + version: 4.0.2(graphql@16.9.0) '@graphql-codegen/plugin-helpers': - specifier: ^4.2.0 - version: 4.2.0(graphql@16.9.0) + specifier: ^5.1.0 + version: 5.1.0(graphql@16.9.0) '@graphql-codegen/typed-document-node': - specifier: ^4.0.1 - version: 4.0.1(graphql@16.9.0) + specifier: ^5.0.11 + version: 5.0.11(graphql@16.9.0) '@graphql-codegen/typescript': - specifier: ^3.0.4 - version: 3.0.4(graphql@16.9.0) + specifier: ^4.1.1 + version: 4.1.1(graphql@16.9.0) '@graphql-codegen/typescript-operations': - specifier: ^3.0.4 - version: 3.0.4(graphql@16.9.0) + specifier: ^4.3.1 + version: 4.3.1(graphql@16.9.0) '@graphql-codegen/typescript-resolvers': - specifier: ^3.2.1 - version: 3.2.1(graphql@16.9.0) + specifier: ^4.4.0 + version: 4.4.0(graphql@16.9.0) '@graphql-codegen/visitor-plugin-common': - specifier: ^3.1.1 - version: 3.1.1(graphql@16.9.0) + specifier: ^5.5.0 + version: 5.5.0(graphql@16.9.0) '@graphql-tools/load-files': specifier: ^7.0.0 version: 7.0.0(graphql@16.9.0) @@ -797,43 +797,49 @@ packages: '@fastify/websocket@11.0.0': resolution: {integrity: sha512-T+QeUaIDgEYyn+RN5vbbO2EZBRJOLGyZ5Y/N8dHxNREll4bN8ArRYsuXZ/WAVFZsqjz0HBjLw1eYq7eFwBzfiw==} - '@graphql-codegen/core@3.1.0': - resolution: {integrity: sha512-DH1/yaR7oJE6/B+c6ZF2Tbdh7LixF1K8L+8BoSubjNyQ8pNwR4a70mvc1sv6H7qgp6y1bPQ9tKE+aazRRshysw==} + '@graphql-codegen/core@4.0.2': + resolution: {integrity: sha512-IZbpkhwVqgizcjNiaVzNAzm/xbWT6YnGgeOLwVjm4KbJn3V2jchVtuzHH09G5/WkkLSk2wgbXNdwjM41JxO6Eg==} 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 - '@graphql-codegen/plugin-helpers@4.2.0': - resolution: {integrity: sha512-THFTCfg+46PXlXobYJ/OoCX6pzjI+9woQqCjdyKtgoI0tn3Xq2HUUCiidndxUpEYVrXb5pRiRXb7b/ZbMQqD0A==} + '@graphql-codegen/plugin-helpers@5.1.0': + resolution: {integrity: sha512-Y7cwEAkprbTKzVIe436TIw4w03jorsMruvCvu0HJkavaKMQbWY+lQ1RIuROgszDbxAyM35twB5/sUvYG5oW+yg==} + engines: {node: '>=16'} 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 - '@graphql-codegen/schema-ast@3.0.1': - resolution: {integrity: sha512-rTKTi4XiW4QFZnrEqetpiYEWVsOFNoiR/v3rY9mFSttXFbIwNXPme32EspTiGWmEEdHY8UuTDtZN3vEcs/31zw==} + '@graphql-codegen/schema-ast@4.1.0': + resolution: {integrity: sha512-kZVn0z+th9SvqxfKYgztA6PM7mhnSZaj4fiuBWvMTqA+QqQ9BBed6Pz41KuD/jr0gJtnlr2A4++/0VlpVbCTmQ==} 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 - '@graphql-codegen/typed-document-node@4.0.1': - resolution: {integrity: sha512-mQNYCd12JsFSaK6xLry4olY9TdYG7GxQPexU6qU4Om++eKhseGwk2eGmQDRG4Qp8jEDFLMXuHMVUKqMQ1M+F/A==} + '@graphql-codegen/typed-document-node@5.0.11': + resolution: {integrity: sha512-btENKrSIUZ5UllS8sFhVZ+Y91VL0knK9gHxW/6/WzaCTxBQ+wOk07vQNeoWlvMrkl0QeUsGt6YvSo0SoPtsKdA==} + engines: {node: '>=16'} 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 - '@graphql-codegen/typescript-operations@3.0.4': - resolution: {integrity: sha512-6yE2OL2+WJ1vd5MwFEGXpaxsFGzjAGUytPVHDML3Bi3TwP1F3lnQlIko4untwvHW0JhZEGQ7Ck30H9HjcxpdKA==} + '@graphql-codegen/typescript-operations@4.3.1': + resolution: {integrity: sha512-yW5Iia6IK1VKiPm3oeukYMQN5pEBLwRlG8ZzQA9beeLQ8PskKyz6mjar6U7dJ2hc8pv/qT4R8kcJOQ2RloniAQ==} + engines: {node: '>=16'} 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 - '@graphql-codegen/typescript-resolvers@3.2.1': - resolution: {integrity: sha512-2ZIHk5J6HTuylse5ZIxw+aega54prHxvj7vM8hiKJ6vejZ94kvVPAq4aWmSFOkZ5lqU3YnM/ZyWfnhT5CUDj1g==} + '@graphql-codegen/typescript-resolvers@4.4.0': + resolution: {integrity: sha512-RVgGqsI3NhHF5c7WrxbA3/gN7YIRVzLd5yWxVvtAZCXCIhBkrBVpXk/1b18eQIn5GyJoByx9vRW5pb604e0vCA==} + engines: {node: '>=16'} 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 - '@graphql-codegen/typescript@3.0.4': - resolution: {integrity: sha512-x4O47447DZrWNtE/l5CU9QzzW4m1RbmCEdijlA3s2flG/y1Ckqdemob4CWfilSm5/tZ3w1junVDY616RDTSvZw==} + '@graphql-codegen/typescript@4.1.1': + resolution: {integrity: sha512-+o5LOT71K9hdO4lDVnRGkkET5RdlKvxlQGug8dZgRGrhE2/xoPBsKfLhg9AoJGYMauNZxKj3blABQxHOKEku6Q==} + engines: {node: '>=16'} peerDependencies: graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 - '@graphql-codegen/visitor-plugin-common@3.1.1': - resolution: {integrity: sha512-uAfp+zu/009R3HUAuTK2AamR1bxIltM6rrYYI6EXSmkM3rFtFsLTuJhjUDj98HcUCszJZrADppz8KKLGRUVlNg==} + '@graphql-codegen/visitor-plugin-common@5.5.0': + resolution: {integrity: sha512-FSkxe/o4qKbpK+ipIT/jxZLYH0+3+XdIrJWsKlCW9wwJMF9mEJLJtzZNcxHSjz7+Eny6SUElAT2dqZ5XByxkog==} + engines: {node: '>=16'} 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 @@ -843,23 +849,27 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@graphql-tools/merge@8.4.2': - resolution: {integrity: sha512-XbrHAaj8yDuINph+sAfuq3QCZ/tKblrTLOpirK0+CAgNlZUCHs0Fa+xtMUURgwCVThLle1AF7svJCxFizygLsw==} + '@graphql-tools/merge@9.0.8': + resolution: {integrity: sha512-RG9NEp4fi0MoFi0te4ahqTMYuavQnXlpEZxxMomdCa6CI5tfekcVm/rsLF5Zt8O4HY+esDt9+4dCL+aOKvG79w==} + engines: {node: '>=16.0.0'} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@graphql-tools/optimize@1.4.0': - resolution: {integrity: sha512-dJs/2XvZp+wgHH8T5J2TqptT9/6uVzIYvA6uFACha+ufvdMBedkfR4b4GbT8jAKLRARiqRTxy3dctnwkTM2tdw==} + '@graphql-tools/optimize@2.0.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 - '@graphql-tools/relay-operation-optimizer@6.5.18': - resolution: {integrity: sha512-mc5VPyTeV+LwiM+DNvoDQfPqwQYhPV/cl5jOBjTgSniyaq8/86aODfMkrE2OduhQ5E00hqrkuL2Fdrgk0w1QJg==} + '@graphql-tools/relay-operation-optimizer@7.0.2': + resolution: {integrity: sha512-sdoGBfe6+OXcPYUBMla3KKvf56bk0wCRY2HL4qK/CNP+7752Nx6s24aBqZ5vrnB3tleddAfnG4gvy0JuHfmA+A==} + engines: {node: '>=16.0.0'} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@graphql-tools/schema@9.0.19': - resolution: {integrity: sha512-oBRPoNBtCkk0zbUsyP4GaIzCt8C0aCI4ycIRUL67KK5pOHljKLBBtGT+Jr6hkzA74C8Gco8bpZPe7aWFjiaK2w==} + '@graphql-tools/schema@10.0.7': + resolution: {integrity: sha512-Cz1o+rf9cd3uMgG+zI9HlM5mPlnHQUlk/UQRZyUlPDfT+944taLaokjvj7AI6GcOFVf4f2D11XthQp+0GY31jQ==} + engines: {node: '>=16.0.0'} peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 @@ -869,11 +879,6 @@ packages: peerDependencies: graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@graphql-tools/utils@9.2.1': - resolution: {integrity: sha512-WUw506Ql6xzmOORlriNrD6Ugx+HjVgYxt9KCXD9mHAak+eaXSwuGGPyE60hy9xaDEoXKBsG7SkG69ybitaVl6A==} - peerDependencies: - graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 - '@graphql-typed-document-node/core@3.2.0': resolution: {integrity: sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==} peerDependencies: @@ -3200,8 +3205,8 @@ packages: '@swc/wasm': optional: true - tslib@2.5.3: - resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==} + tslib@2.6.3: + resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} tslib@2.7.0: resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==} @@ -4049,93 +4054,93 @@ snapshots: - bufferutil - utf-8-validate - '@graphql-codegen/core@3.1.0(graphql@16.9.0)': + '@graphql-codegen/core@4.0.2(graphql@16.9.0)': dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.9.0) - '@graphql-tools/schema': 9.0.19(graphql@16.9.0) - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/schema': 10.0.7(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) graphql: 16.9.0 - tslib: 2.5.3 + tslib: 2.6.3 - '@graphql-codegen/plugin-helpers@4.2.0(graphql@16.9.0)': + '@graphql-codegen/plugin-helpers@5.1.0(graphql@16.9.0)': dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) change-case-all: 1.0.15 common-tags: 1.8.2 graphql: 16.9.0 import-from: 4.0.0 lodash: 4.17.21 - tslib: 2.5.3 + tslib: 2.6.3 - '@graphql-codegen/schema-ast@3.0.1(graphql@16.9.0)': + '@graphql-codegen/schema-ast@4.1.0(graphql@16.9.0)': dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.9.0) - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) graphql: 16.9.0 - tslib: 2.5.3 + tslib: 2.6.3 - '@graphql-codegen/typed-document-node@4.0.1(graphql@16.9.0)': + '@graphql-codegen/typed-document-node@5.0.11(graphql@16.9.0)': dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.9.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.5.0(graphql@16.9.0) auto-bind: 4.0.0 change-case-all: 1.0.15 graphql: 16.9.0 - tslib: 2.5.3 + tslib: 2.6.3 transitivePeerDependencies: - encoding - supports-color - '@graphql-codegen/typescript-operations@3.0.4(graphql@16.9.0)': + '@graphql-codegen/typescript-operations@4.3.1(graphql@16.9.0)': dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.9.0) - '@graphql-codegen/typescript': 3.0.4(graphql@16.9.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/typescript': 4.1.1(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.5.0(graphql@16.9.0) auto-bind: 4.0.0 graphql: 16.9.0 - tslib: 2.5.3 + tslib: 2.6.3 transitivePeerDependencies: - encoding - supports-color - '@graphql-codegen/typescript-resolvers@3.2.1(graphql@16.9.0)': + '@graphql-codegen/typescript-resolvers@4.4.0(graphql@16.9.0)': dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.9.0) - '@graphql-codegen/typescript': 3.0.4(graphql@16.9.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.9.0) - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/typescript': 4.1.1(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.5.0(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) auto-bind: 4.0.0 graphql: 16.9.0 - tslib: 2.5.3 + tslib: 2.6.3 transitivePeerDependencies: - encoding - supports-color - '@graphql-codegen/typescript@3.0.4(graphql@16.9.0)': + '@graphql-codegen/typescript@4.1.1(graphql@16.9.0)': dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.9.0) - '@graphql-codegen/schema-ast': 3.0.1(graphql@16.9.0) - '@graphql-codegen/visitor-plugin-common': 3.1.1(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-codegen/schema-ast': 4.1.0(graphql@16.9.0) + '@graphql-codegen/visitor-plugin-common': 5.5.0(graphql@16.9.0) auto-bind: 4.0.0 graphql: 16.9.0 - tslib: 2.5.3 + tslib: 2.6.3 transitivePeerDependencies: - encoding - supports-color - '@graphql-codegen/visitor-plugin-common@3.1.1(graphql@16.9.0)': + '@graphql-codegen/visitor-plugin-common@5.5.0(graphql@16.9.0)': dependencies: - '@graphql-codegen/plugin-helpers': 4.2.0(graphql@16.9.0) - '@graphql-tools/optimize': 1.4.0(graphql@16.9.0) - '@graphql-tools/relay-operation-optimizer': 6.5.18(graphql@16.9.0) - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-codegen/plugin-helpers': 5.1.0(graphql@16.9.0) + '@graphql-tools/optimize': 2.0.0(graphql@16.9.0) + '@graphql-tools/relay-operation-optimizer': 7.0.2(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) auto-bind: 4.0.0 change-case-all: 1.0.15 dependency-graph: 0.11.0 graphql: 16.9.0 graphql-tag: 2.12.6(graphql@16.9.0) parse-filepath: 1.0.2 - tslib: 2.5.3 + tslib: 2.6.3 transitivePeerDependencies: - encoding - supports-color @@ -4147,31 +4152,31 @@ snapshots: tslib: 2.7.0 unixify: 1.0.0 - '@graphql-tools/merge@8.4.2(graphql@16.9.0)': + '@graphql-tools/merge@9.0.8(graphql@16.9.0)': dependencies: - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) graphql: 16.9.0 tslib: 2.7.0 - '@graphql-tools/optimize@1.4.0(graphql@16.9.0)': + '@graphql-tools/optimize@2.0.0(graphql@16.9.0)': dependencies: graphql: 16.9.0 tslib: 2.7.0 - '@graphql-tools/relay-operation-optimizer@6.5.18(graphql@16.9.0)': + '@graphql-tools/relay-operation-optimizer@7.0.2(graphql@16.9.0)': dependencies: '@ardatan/relay-compiler': 12.0.0(graphql@16.9.0) - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) graphql: 16.9.0 tslib: 2.7.0 transitivePeerDependencies: - encoding - supports-color - '@graphql-tools/schema@9.0.19(graphql@16.9.0)': + '@graphql-tools/schema@10.0.7(graphql@16.9.0)': dependencies: - '@graphql-tools/merge': 8.4.2(graphql@16.9.0) - '@graphql-tools/utils': 9.2.1(graphql@16.9.0) + '@graphql-tools/merge': 9.0.8(graphql@16.9.0) + '@graphql-tools/utils': 10.5.5(graphql@16.9.0) graphql: 16.9.0 tslib: 2.7.0 value-or-promise: 1.0.12 @@ -4184,12 +4189,6 @@ snapshots: graphql: 16.9.0 tslib: 2.7.0 - '@graphql-tools/utils@9.2.1(graphql@16.9.0)': - dependencies: - '@graphql-typed-document-node/core': 3.2.0(graphql@16.9.0) - graphql: 16.9.0 - tslib: 2.7.0 - '@graphql-typed-document-node/core@3.2.0(graphql@16.9.0)': dependencies: graphql: 16.9.0 @@ -6662,7 +6661,7 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - tslib@2.5.3: {} + tslib@2.6.3: {} tslib@2.7.0: {}