Skip to content

Commit

Permalink
feat(graphql): use peer dependencies for core and boot
Browse files Browse the repository at this point in the history
Signed-off-by: Raymond Feng <[email protected]>
  • Loading branch information
raymondfeng authored and bajtos committed Sep 4, 2020
1 parent d8f72e4 commit a5ecfad
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 48 deletions.
78 changes: 34 additions & 44 deletions extensions/graphql/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions extensions/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,23 @@
"copyright.owner": "IBM Corp.",
"license": "MIT",
"dependencies": {
"@loopback/boot": "^2.5.1",
"@loopback/core": "^2.9.5",
"@loopback/http-server": "^2.2.0",
"@loopback/metadata": "^2.2.6",
"@types/graphql": "^14.5.0",
"apollo-server-express": "^2.17.0",
"debug": "^4.1.1",
"express": "^4.17.1",
"graphql": "^15.3.0",
"type-graphql": "^1.0.0-rc.3"
},
"peerDependencies": {
"@loopback/boot": "^2.5.1",
"@loopback/core": "^2.9.5"
},
"devDependencies": {
"@loopback/build": "^6.2.2",
"@loopback/eslint-config": "^9.0.2",
"@loopback/boot": "^2.5.1",
"@loopback/core": "^2.9.5",
"@loopback/repository": "^2.11.2",
"@loopback/rest": "^6.2.0",
"@loopback/testlab": "^3.2.4",
Expand Down
2 changes: 1 addition & 1 deletion extensions/graphql/src/decorators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// License text available at https://opensource.org/licenses/MIT

// Force require('reflect-metadata');
import '@loopback/metadata';
import '@loopback/core';
import {
Arg,
Args,
Expand Down

0 comments on commit a5ecfad

Please sign in to comment.