Open d4rekanguok opened 5 years ago
The graphql peer dependencies warning is back (#33) and is worse than ever...
warning " > @graphql-toolkit/code-file-loader@0.9.7" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "@graphql-toolkit/code-file-loader > @graphql-toolkit/common@0.9.7" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "@graphql-toolkit/code-file-loader > @graphql-toolkit/graphql-tag-pluck@0.9.7" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "@graphql-toolkit/code-file-loader > @graphql-toolkit/common > @ardatan/graphql-tools@4.1.0" has unmet peer dependency "graphql@^0.13.0 || ^14.0.0".
warning "@graphql-toolkit/code-file-loader > @graphql-toolkit/common > @ardatan/graphql-tools > apollo-link@1.2.13" has unmet peer dependency "graphql@^0.11.3 || ^0.12.3 || ^0.13.0 || ^14.0.0".
warning "@graphql-toolkit/code-file-loader > @graphql-toolkit/common > @ardatan/graphql-tools > apollo-utilities@1.3.3" has unmet peer dependency "graphql@^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-typescript > @babel/plugin-proposal-nullish-coalescing-operator@7.7.4" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "gatsby-plugin-typescript > @babel/plugin-proposal-optional-chaining@7.7.5" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "gatsby-plugin-graphql-codegen > @graphql-toolkit/core@0.9.7" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/typescript@1.12.1" has unmet peer dependency "graphql@^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/core@1.12.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/typescript-operations@1.12.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-toolkit/core > @graphql-toolkit/schema-merging@0.9.7" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/typescript > @graphql-codegen/plugin-helpers@1.12.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common@1.12.1" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > graphql-tag@2.10.1" has unmet peer dependency "graphql@^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-toolkit/relay-operation-optimizer@0.9.7" has unmet peer dependency "graphql@^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0".
warning "gatsby-plugin-graphql-codegen > @graphql-codegen/typescript > @graphql-codegen/visitor-plugin-common > @graphql-toolkit/relay-operation-optimizer > relay-compiler@8.0.0" has unmet peer dependency "graphql@^14.2.0".
perhaps advice users to install graphql
directly. Otherwise there seems to be no way to supress this warning.
Maybe this could be also done via a postinstall script? That should make it very obvious.
When users install the plugin to their site, they'll met with 10s of dependencies warnings for graphql. We have to use Gatsby's own graphql (gatsby/graphql). I'm not sure how to fix this?
Here's the messages: