Skip to content

Commit

Permalink
Make d3-selection a peer dependency
Browse files Browse the repository at this point in the history
d3-graphviz extends the d3-selection prototype so d3-selection should
be a peer dependency. See
d3/d3-transition#92 for similar reasoneing
about d3-transition.
  • Loading branch information
magjac committed Apr 2, 2021
1 parent 60b3672 commit 3104d71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -67,9 +67,11 @@
"d3-format": "^2.0.0",
"d3-interpolate": "^2.0.1",
"d3-path": "^2.0.0",
"d3-selection": "^2.0.0",
"d3-timer": "^2.0.0",
"d3-transition": "^2.0.0",
"d3-zoom": "^2.0.0"
},
"peerDependencies": {
"d3-selection": "^2.0.0"
}
}

0 comments on commit 3104d71

Please sign in to comment.