Skip to content

Commit

Permalink
Use GraphQL v15 (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela committed Apr 2, 2020
1 parent 7472269 commit 8f243fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -4,9 +4,8 @@ node_js:
- "10"

env:
- GRAPHQL_VERSION='0.13'
- GRAPHQL_VERSION='legacy'
- GRAPHQL_VERSION='latest'
- GRAPHQL_VERSION='rc'

install:
- npm config set spin=false
Expand All @@ -20,7 +19,9 @@ script:
npm run format:check;
fi
- npm run compile
- npm install graphql@$GRAPHQL_VERSION
- if [[ $GRAPHQL_VERSION == "legacy" ]]; then
npm install graphql@0.13;
fi
- npm run test

# Allow Travis tests to run in containers.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -55,7 +55,7 @@
"uuid": "^7.0.2"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0-rc"
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "7.1.1",
Expand All @@ -79,7 +79,7 @@
"eslint-watch": "6.0.1",
"express": "4.17.1",
"express-graphql": "0.9.0",
"graphql": "14.6.0",
"graphql": "15.0.0",
"graphql-subscriptions": "1.1.0",
"graphql-type-json": "0.3.1",
"graphql-upload": "10.0.0",
Expand Down

0 comments on commit 8f243fe

Please sign in to comment.