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

Support optional dependencies #6

Open
NiklasRosenstein opened this issue Nov 28, 2017 · 0 comments

Comments

1 participant
@NiklasRosenstein
Copy link
Contributor

commented Nov 28, 2017

Carried over from nodepy/nodepy#30

Optional dependencies would not cause the installation to fail if they could not be installed (eg. if their "engines" field does not match), or the installation fails.


This is already supported partially with the --optional flag that can be specified before a requirement, but not supported in the installation log yet. Example:

"dependencies": {
    "some-module": "--optional git+https://github.com/me/some-module.git@v1.5.3"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.