Skip to content

Commit

Permalink
Add graphql peer dependency to server integrations
Browse files Browse the repository at this point in the history
  • Loading branch information
olistic committed Jun 22, 2018
1 parent 6918508 commit b50d9e5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/apollo-server-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"dependencies": {
"apollo-server-core": "^2.0.0-rc.2"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
Expand Down
3 changes: 3 additions & 0 deletions packages/apollo-server-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
"node-fetch": "^2.1.2",
"qs-middleware": "^1.0.3"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
Expand Down
3 changes: 3 additions & 0 deletions packages/apollo-server-hapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"apollo-server-integration-testsuite": "^2.0.0-rc.2",
"hapi": "17.4.0"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0"
},
"typings": "dist/index.d.ts",
"typescript": {
"definition": "dist/index.d.ts"
Expand Down
3 changes: 3 additions & 0 deletions packages/apollo-server-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
"devDependencies": {
"@types/aws-lambda": "^8.10.6",
"apollo-server-integration-testsuite": "^2.0.0-rc.2"
},
"peerDependencies": {
"graphql": "^0.12.0 || ^0.13.0 || ^14.0.0"
}
}

0 comments on commit b50d9e5

Please sign in to comment.