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

Option to ignore dev deps #12

Open
stevemessick opened this issue May 16, 2016 · 0 comments
Open

Option to ignore dev deps #12

stevemessick opened this issue May 16, 2016 · 0 comments

Comments

@stevemessick
Copy link

stevemessick commented May 16, 2016

Awesome tool, thanks!

I'd like to eliminate all dev dependencies in one swell foop. Rather than listing deps in --ignore-packages, how about an option to --ignore-dev-deps?

Update:
Here's the command to ignore all packages pulled in by a single dev dependency, package:test:
pubviz open --ignore-packages test,shelf_static,shelf_web_socket,http_multi_server,matcher,source_map_stack_trace,web_socket_channel,boolean_selector,pub_semver

It took several iterations to derive that. It is probably only valid for package:test version 0.12.6, and even for that version other packages could be eliminated (barback, glob, yaml are required by other packages as well as test). Letting the tool find all non-root packages with no incoming deps, eliminating them, and iterating would be faster. I dunno know how hard that is in practice for the general case with many dev deps. I only had one.

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

No branches or pull requests

2 participants