d3 / d3-plugins

[DEPRECATED] A repository for sharing D3.js V3 plugins.

Home Page:https://github.com/d3/d3/wiki/Plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

d3-plugins is not semver-compliant

cwarny opened this issue · comments

Not entirely sure about this, but I believe that for apps using some kind of dependency checker based on semver.js, errors are thrown when the dependencies include d3-plugins because the .bower.json file for d3-plugins does not specify a version. Manually adding a version to that file fixed it for me. My use case is an Ember app using ember-cli-dependency-checker, which itself uses semver.js. See this issue quaertym/ember-cli-dependency-checker#18

Correct. There is no versioning information associated with plugins. Nor is there any packaging information—I don’t think I registered the d3-plugins Bower package, and there’s no bower.json file in the repository. Regardless, it wouldn’t make sense to have a shared version for all plugins. Each plugin would presumably have a separate version and be installed separately.