-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Feature: New installation method for Yarn #964
Comments
FWIW, you can use |
Yeah. I know 👌 But
My idea was to have a
Could be possible because of the compatibility between npm and Yarn. |
Okay. Might cause problems when passing yarn options that npm doesn’t have. And there a a few 😵 What about to provide an optional param for the new |
Just throwing in ideas. |
Maybe a more generic method |
There is already a method called
See: http://yeoman.io/generator/actions_install.html In addition one could use any CLI installer with Just realized that I’v mistaken
|
But maybe Simon is right that it might be a bit early to generally support Yarn. Cause Yarn will cause trouble for projects that are using bower in addition to npm. ➡️ It deletes the |
@mischah Bower support is now removed from Yarn (I believe it will land with the latest release) |
I think we should do the following:
This would be a breaking change, but for the better. |
I don't know if the deprecated bower install is a good option. I think that we can add a new method yarnInstall() and the user can chose between npm and yarn across the option parameter. if the user want use yarn in the option object set yarn: true, else set npm: true. |
First I thought think it’s to early to deprecate But Bower has no future and will day sooner than later. So yes. Im with that:
Authors of generators can still use Bower but with that breaking change it’s clear that have to switch. I could prepare a PR if the rest of @yeoman is okay with that breaking change. |
Oh, I just recognized that there is a PR in the making over here: #974 |
Travis also supports Yarn now 🙀 @Borjagodoy What’s the status with your PR over here: #974? |
The Yarn install method is in master with 4eccb2a Question: |
PR regarding the website over here yeoman/yeoman.io#699 |
Hej,
I would love to have a Yarn installation method in addition to
bowerInstall
andnpmInstall
💖Would you accept a pull request for that feature?
Yours, Michael
The text was updated successfully, but these errors were encountered: