Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Optional Dependencies Configuration #23

Closed
wants to merge 1 commit into from

Conversation

spencer516
Copy link
Contributor

This PR adds support to define an only configuration which would make the consuming app only need to import only the required dependencies, rather than every d3 dependency.

I've also added a small handful of tests for the index.js file (npm run node-test). Test coverage isn't great for everything going on in there — but this is at least a start.

@ivanvanderbyl
Copy link
Owner

@spencer516 thanks a lot for this one mate, looks great. We're actually merging this into ember-d3, so I might rebase your changes over my branch on there, or you could open a PR there against this one ivanvanderbyl/ember-d3#8

@spencer516
Copy link
Contributor Author

Oh deluxe. I'm happy to do whatever is easiest. Should I open a PR against your fork of ember-d3? Or — does it make more sense for you to rebase against this? (Weird situation, this one is — wish I'd seen that PR before I tackled this! :-P )

@ivanvanderbyl
Copy link
Owner

I'll try to tackle this one this weekend. Leave as is and I'll pull them together.

@spencer516
Copy link
Contributor Author

👍

@ivanvanderbyl
Copy link
Owner

Closing, all changes are now part of https://github.com/brzpegasus/ember-d3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants