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

Remove support for (old-style) non-module visualizations and clean up dependencies #58

Merged
merged 12 commits into from
Dec 6, 2015

Conversation

mathisonian
Copy link
Member

This PR significantly simplifies the logic involved in importing custom visualization by enforcing the rule that every custom viz must take the form of an node module, whether it be local or on npm/github (instead of the old style where visualizations could just conform to a standard folder structure).

Besides simplifying the code, this has the following benefits:

The removal of this feature has been planned and previously discussed (see #31 and in gitter).

Slightly tangential but this pull request also removes build (gulp) dependencies from dependencies to devDependencies. They were previously listed directly in dependencies due to an issue with heroku builds, but recent updates to the heroku buildpack make this unnecessary.

/cc @freeman-lab

@mathisonian mathisonian changed the title Remove support for (old-style) non-module visualizations, clean up devDependencies Remove support for (old-style) non-module visualizations and clean up dependencies Dec 6, 2015
@mathisonian
Copy link
Member Author

Last commits fix the build for node v4.0

@freeman-lab
Copy link
Member

This is huge! Especially being able to specify paths directly to visualizations, and the node-sass stuff for Electron. 👍 Wonder if that will help with the Linux builds?

mathisonian added a commit that referenced this pull request Dec 6, 2015
Remove support for (old-style) non-module visualizations and clean up dependencies
@mathisonian mathisonian merged commit c75c256 into master Dec 6, 2015
@mathisonian
Copy link
Member Author

Yes, we now only need to worry about compiling sqlite3 for electron so it should make linux builds more straightforward

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