-
Notifications
You must be signed in to change notification settings - Fork 101
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
Detect if Yarn is in use #17
Comments
Hey! I think "in use" is a a bit ambiguous, as simply having something installed on a system doesn't mean it's actually being used or preferred. I stopped the generator before installation so that users can use whatever they want for the actual expensive task. I think the best I can do here is adding a |
Hmm, that makes sense. I wonder what create-react-app does. |
TBH I could have sworn that they printed |
I ran
|
@lukeed Looks like |
Okay, but that still doesn't make sense for this use case. The |
"pwa init" outputs the following:
However, If I'm using Yarn, it should suggest Yarn rather than npm. A system that has Yarn might not even have npm installed.
create-react-app
is an example of an app that detects if Yarn is being used.The text was updated successfully, but these errors were encountered: