Skip to content

Commit

Permalink
Bump graphql version to 14.0.0
Browse files Browse the repository at this point in the history
So graphql are transitioning to real semver finally. This should fix apollographql#3562

I've set the devDependency to graphql@14.0.0-rc.2 to be able to be able
to run the tests on the new version and make sure everything's fine. But
I'm not sure if you think its ok to merge with that release candidate.

Also I think the semver in peerDependencies is more verbose than it
should be:

```js
"peerDependencies": {
    "graphql": "^0.11.0 || ^14.0.0"
}
```
This should cover all of the graphql versions from 0.11 and up, since
["^" includes minor and patch
versions](https://bytearcher.com/articles/semver-explained-why-theres-a-caret-in-my-package-json/)
  • Loading branch information
ivank committed Jun 19, 2018
1 parent f23e61f commit aeeb6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/apollo-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"zen-observable": "^0.8.0"
},
"peerDependencies": {
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0"
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"
},
"devDependencies": {
"@types/benchmark": "1.0.31",
Expand All @@ -71,7 +71,7 @@
"danger": "1.1.0",
"flow-bin": "0.73.0",
"github": "12.1.0",
"graphql": "0.13.2",
"graphql": "14.0.0-rc.2",
"graphql-tag": "2.9.2",
"isomorphic-fetch": "2.2.1",
"jest": "23.0.0",
Expand Down

0 comments on commit aeeb6d3

Please sign in to comment.