Skip to content

Commit

Permalink
fix: optional deps should be optional peer deps
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb authored and zaiste committed May 24, 2023
1 parent 3342161 commit c49783e
Show file tree
Hide file tree
Showing 2 changed files with 4,315 additions and 2,822 deletions.
16 changes: 15 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,26 @@
"graphql": "^16.6.0",
"graphql-tag": "^2.12.6"
},
"optionalDependencies": {
"peerDependencies": {
"@apollo/client": "^3.7.14",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"urql": "^4.0.2"
},
"peerDependenciesMeta": {
"@apollo/client": {
"optional": true
},
"react": {
"optional": true
},
"react-dom": {
"optional": true
},
"urql": {
"optional": true
}
},
"devDependencies": {
"@apollo/client": "^3.7.14",
"@types/debug": "^4.1.8",
Expand Down
Loading

0 comments on commit c49783e

Please sign in to comment.