diff --git a/package.json b/package.json index 980b642..09127b5 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "devDependencies": { "@graphql-codegen/testing": "^1.17.7", - "@graphql-codegen/typescript": "^1.22.1", + "@graphql-codegen/typescript": "^2.0.0", "@graphql-codegen/typescript-graphql-request": "^3.2.1", "@graphql-codegen/typescript-operations": "^1.18.0", "@types/jest": "^27.0.0", diff --git a/yarn.lock b/yarn.lock index e1d88c6..01e1c70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -590,7 +590,7 @@ lodash "~4.17.0" tslib "~2.3.0" -"@graphql-codegen/plugin-helpers@^2.0.0": +"@graphql-codegen/plugin-helpers@^2.0.0", "@graphql-codegen/plugin-helpers@^2.3.0": version "2.3.1" resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-2.3.1.tgz#b66c742d3209a85bc2f72f9e2eceb6b08fc81f85" integrity sha512-rWH7igcjYqZ6rqNFTb4Wyp31863fRmmVpsRN8VHzBCltrepOO97jwTwB93aAw+T6Dm8aZto3QFfDIC79u8wA2Q== @@ -602,6 +602,15 @@ lodash "~4.17.0" tslib "~2.3.0" +"@graphql-codegen/schema-ast@^2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/schema-ast/-/schema-ast-2.4.0.tgz#a41fdf2bacf88ec8318c78fdf03f19e620e5534a" + integrity sha512-xsLd4mF0H3mPp7Z2PHZ2Sv1KKIb/FOORqhDc9XHCnHJJ/h9nmaleKSTxTGzSUfIAQ1aCNzVilcaUwlenK+MMBQ== + dependencies: + "@graphql-codegen/plugin-helpers" "^2.3.0" + "@graphql-tools/utils" "^8.1.1" + tslib "~2.3.0" + "@graphql-codegen/testing@^1.17.7": version "1.17.7" resolved "https://registry.yarnpkg.com/@graphql-codegen/testing/-/testing-1.17.7.tgz#fc7bbaaee3af91fbe554ec547ec3f9ca40076c25" @@ -634,7 +643,7 @@ auto-bind "~4.0.0" tslib "~2.3.0" -"@graphql-codegen/typescript@^1.22.1", "@graphql-codegen/typescript@^1.23.0": +"@graphql-codegen/typescript@^1.23.0": version "1.23.0" resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-1.23.0.tgz#48a5372bcbe81a442c71c1bb032c312c6586a59a" integrity sha512-ZfFgk5mGfuOy4kEpy+dcuvJMphigMfJ4AkiP1qWmWFufDW3Sg2yayTSNmzeFdcXMrWGgfNW2dKtuuTmbmQhS5g== @@ -644,6 +653,17 @@ auto-bind "~4.0.0" tslib "~2.3.0" +"@graphql-codegen/typescript@^2.0.0": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript/-/typescript-2.3.1.tgz#ad557cc28f20aa8a9ad9f153c3c8ac8b6e09075a" + integrity sha512-5wfuJhXnDVdufznLZG2/YlPMy5qGVYAEodBACVT8Dfgnt7T8eQOdaTfEPh04hqf/WR6DDoiLrJDcdyqWUO305w== + dependencies: + "@graphql-codegen/plugin-helpers" "^2.3.0" + "@graphql-codegen/schema-ast" "^2.4.0" + "@graphql-codegen/visitor-plugin-common" "2.5.0" + auto-bind "~4.0.0" + tslib "~2.3.0" + "@graphql-codegen/visitor-plugin-common@1.22.0", "@graphql-codegen/visitor-plugin-common@^1.21.0": version "1.22.0" resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.22.0.tgz#75fc8b580143bccbec411eb92d5fef715ed22e42" @@ -660,6 +680,22 @@ parse-filepath "^1.0.2" tslib "~2.3.0" +"@graphql-codegen/visitor-plugin-common@2.5.0": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-2.5.0.tgz#e412fade4ca3178a19e7ea122a4cb3463f2bf585" + integrity sha512-a1kJ/5YBivCj9X20YuhNU2mPY9xjUVmJO0VjHBu06PyvC27GsR1PmvgRALIXrb6QwV+9DDUda3ewKzgne2Qc+A== + dependencies: + "@graphql-codegen/plugin-helpers" "^2.3.0" + "@graphql-tools/optimize" "^1.0.1" + "@graphql-tools/relay-operation-optimizer" "^6.3.7" + "@graphql-tools/utils" "^8.3.0" + auto-bind "~4.0.0" + change-case-all "1.0.14" + dependency-graph "^0.11.0" + graphql-tag "^2.11.0" + parse-filepath "^1.0.2" + tslib "~2.3.0" + "@graphql-tools/optimize@^1.0.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@graphql-tools/optimize/-/optimize-1.1.1.tgz#dcd59ba1ee34431e5e9b086b57fe0bdb1a176669" @@ -667,7 +703,7 @@ dependencies: tslib "~2.3.0" -"@graphql-tools/relay-operation-optimizer@^6.3.0": +"@graphql-tools/relay-operation-optimizer@^6.3.0", "@graphql-tools/relay-operation-optimizer@^6.3.7": version "6.4.1" resolved "https://registry.yarnpkg.com/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-6.4.1.tgz#28572444e2c00850c889a84472f3cc7405dc1ad8" integrity sha512-2b9D5L+31sIBnvmcmIW5tfvNUV+nJFtbHpUyarTRDmFT6EZ2cXo4WZMm9XJcHQD/Z5qvMXfPHxzQ3/JUs4xI+w== @@ -694,7 +730,7 @@ camel-case "4.1.2" tslib "~2.2.0" -"@graphql-tools/utils@^8.5.1", "@graphql-tools/utils@^8.5.2": +"@graphql-tools/utils@^8.1.1", "@graphql-tools/utils@^8.3.0", "@graphql-tools/utils@^8.5.1", "@graphql-tools/utils@^8.5.2": version "8.5.3" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.5.3.tgz#404062e62cae9453501197039687749c4885356e" integrity sha512-HDNGWFVa8QQkoQB0H1lftvaO1X5xUaUDk1zr1qDe0xN1NL0E/CrQdJ5UKLqOvH4hkqVUPxQsyOoAZFkaH6rLHg==