Skip to content

Commit

Permalink
Move graphql to peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
News Mob committed Oct 29, 2019
1 parent a262f04 commit 975c83a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0 - 2019-10-29

Made "graphql" a peer dependency

### 1.1.0 - 2019-08-28

Transpiling code to ES5 for easy use in browsers
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "graphql-defragmentizer",
"version": "1.1.0",
"version": "2.0.0",
"description": "Library for building GraphQL queries from fragments. Goes nicely with React.",
"main": "./distribution/index.js",
"scripts": {
"test": "jest test.js",
"build": "babel index.js --presets babel-preset-env --out-dir distribution",
"prepare": "npm run build"
"prepare": "yarn build"
},
"keywords": [
"graphql",
Expand All @@ -19,12 +19,13 @@
},
"author": "Sveriges Television AB (https://www.svt.se/opensource/)",
"license": "MIT",
"dependencies": {
"graphql": "^14.4.2"
"peerDependencies": {
"graphql": "14.x"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"graphql": "14.x",
"jest": "^24.9.0"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1955,10 +1955,10 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.4
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02"
integrity sha512-IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==

graphql@^14.4.2:
version "14.5.3"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.5.3.tgz#e025851cc413e153220f4edbbb25d49f55104fa0"
integrity sha512-W8A8nt9BsMg0ZK2qA3DJIVU6muWhxZRYLTmc+5XGwzWzVdUdPVlAAg5hTBjiTISEnzsKL/onasu6vl3kgGTbYg==
graphql@14.x:
version "14.5.8"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.5.8.tgz#504f3d3114cb9a0a3f359bbbcf38d9e5bf6a6b3c"
integrity sha512-MMwmi0zlVLQKLdGiMfWkgQD7dY/TUKt4L+zgJ/aR0Howebod3aNgP5JkgvAULiR2HPVZaP2VEElqtdidHweLkg==
dependencies:
iterall "^1.2.2"

Expand Down

0 comments on commit 975c83a

Please sign in to comment.