Skip to content

Commit

Permalink
fix(graphql-skip-limit): declare graphql peer dependency (gatsbyjs#…
Browse files Browse the repository at this point in the history
…10305)

Currently `graphql-skip-limit` relies on transitive dependency. We need to declare dependencies for PnP to work correctly
  • Loading branch information
Ikana authored and pieh committed Dec 7, 2018
1 parent 19e9f3e commit b62159a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/graphql-skip-limit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"dependencies": {
"@babel/runtime": "^7.0.0"
},
"peerDependencies" : {
"graphql": "^0.13.2"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9122,7 +9122,7 @@ graphql-type-json@^0.2.1:
resolved "https://registry.yarnpkg.com/graphql-type-json/-/graphql-type-json-0.2.1.tgz#d2c177e2f1b17d87f81072cd05311c0754baa420"
integrity sha1-0sF34vGxfYf4EHLNBTEcB1S6pCA=

graphql@^0.13.0, graphql@^0.13.2:
graphql@0.13.2, graphql@^0.13.0, graphql@^0.13.2:
version "0.13.2"
resolved "http://registry.npmjs.org/graphql/-/graphql-0.13.2.tgz#4c740ae3c222823e7004096f832e7b93b2108270"
integrity sha512-QZ5BL8ZO/B20VA8APauGBg3GyEgZ19eduvpLWoq5x7gMmWnHoy8rlQWPLmWgFvo1yNgjSEFMesmS4R6pPr7xog==
Expand Down

0 comments on commit b62159a

Please sign in to comment.