Skip to content

Commit 1c4d70a

Browse files
committed
graphql removed from deps - moved to peer deps
1 parent 8329692 commit 1c4d70a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graphql-js-tree",
3-
"version": "2.0.2",
3+
"version": "3.0.0",
44
"private": false,
55
"license": "MIT",
66
"description": "GraphQL Parser providing simplier structure",
@@ -29,6 +29,7 @@
2929
"eslint": "^8.56.0",
3030
"eslint-config-prettier": "^9.1.0",
3131
"eslint-plugin-prettier": "^5.1.2",
32+
"graphql": "^16.8.1",
3233
"husky": "^8.0.3",
3334
"jest": "^29.7.0",
3435
"prettier": "^3.1.1",
@@ -38,7 +39,7 @@
3839
"typescript": "^5.3.3",
3940
"typescript-transform-paths": "^3.4.6"
4041
},
41-
"dependencies": {
42-
"graphql": "^16.8.1"
42+
"peerDependencies": {
43+
"graphql": "^16.0.0 || ^17.0.0"
4344
}
4445
}

0 commit comments

Comments
 (0)