Skip to content

Commit 9f6e53f

Browse files
authored
fix: move graphql to peer dependencies (#4)
There can be only one instance of `graphql` dependency, so we needed to move it to the `peerDependencies` section.
1 parent 98e1961 commit 9f6e53f

File tree

2 files changed

+232
-5
lines changed

2 files changed

+232
-5
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323
],
2424
"dependencies": {
2525
"@graphql-codegen/plugin-helpers": "^1.8.1",
26-
"casual": "^1.6.2",
27-
"graphql": "^14.5.8"
26+
"casual": "^1.6.2"
27+
},
28+
"peerDependencies": {
29+
"graphql": "^14.0.0"
2830
},
2931
"devDependencies": {
3032
"@auto-it/conventional-commits": "^7.12.3",
@@ -40,6 +42,7 @@
4042
"eslint-plugin-import": "^2.17.2",
4143
"eslint-plugin-jest": "^22.20.0",
4244
"eslint-plugin-prettier": "^3.0.1",
45+
"graphql": "^14.5.8",
4346
"graphql-toolkit": "^0.5.19-beta.0",
4447
"jest": "^24.9.0",
4548
"prettier": "^1.18.2",

0 commit comments

Comments
 (0)