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 an option to ignore dev dependencies #8

Open
clue opened this issue Mar 21, 2014 · 0 comments · May be fixed by #9
Open

Add an option to ignore dev dependencies #8

clue opened this issue Mar 21, 2014 · 0 comments · May be fixed by #9

Comments

@clue
Copy link
Contributor

clue commented Mar 21, 2014

Currently, we analyze every single package and add all of them to a single graph, no matter if it's a dev and non-dev dependency.

Instead, I'd like to propose we add an option to explicitly ignore dev dependencies, that works pretty much like a composer install --no-dev.

After a quick look it appears like it mostly comes down to ignoring require-dev in composer.json and packages-dev in composer.lock. Special care has to be taken to not separate the resulting graph into two disconnected components, but some basic unit tests should be able to cover this case fairly well.

Refs clue/graph-composer#2

@clue clue linked a pull request Mar 27, 2014 that will close this issue
2 tasks
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 a pull request may close this issue.

1 participant