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

Make optional dependency optional #1

Merged
merged 1 commit into from
Mar 23, 2017
Merged

Conversation

bcomnes
Copy link

@bcomnes bcomnes commented Mar 22, 2017

I was trying to use this module with yarn, but it fails to install this module on OS X because of the hard dependency on node-windows2. This uses the optional dependency field instead which seems the correct way to solve this given https://docs.npmjs.com/files/package.json#optionaldependencies

@alykoshin
Copy link
Owner

I have winston-winlog3 as optional dependency.
As I don't think it has sense to install it under OS different from Win.
But it's ok to make node-windows2 optional too

@alykoshin alykoshin merged commit ece7ba7 into alykoshin:master Mar 23, 2017
@alykoshin
Copy link
Owner

Updated in npm. Please, confirm.

@bcomnes
Copy link
Author

bcomnes commented Mar 23, 2017

Yeah, its kind of a weird scenario that yarn is complicating, or possibly has a bug even. Thanks for understanding though! Will test today.

@bcomnes
Copy link
Author

bcomnes commented Mar 24, 2017

New version solves my problems. Thanks for the speedy merge and release. Yay open source 🌈

@alykoshin
Copy link
Owner

Glad to help ;)

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