-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Option to select package manager #1746
Comments
I think it is unlikely. Webpacker was conceived during the npm@5->6 debacle. I am sure that those conceptions are still fresh in the minds of the webpacker maintainers (rightly so). But, it is mostly all better now. |
It's not too bad to flip webpacker over to npm. (#1603 (comment)) That being said, an option to use npm out of the box would be very nice. Especially given some of the improvements npm is offering over and above yarn lately. |
master now explicitly requires for yarn: webpacker/lib/webpacker/runner.rb Line 13 in bb132d5
|
Any update on this? We don't like to be forced to use one tool or another, also npm picked up their game. I looked through the source and it doesn't seem that hard to make it configurable or at least allow people to pick between yarn and npm. Willing to put some time on this if its going to be accepted |
Same here. It honestly makes no sense to vendor-lock yourself in an ecosystem that doesn't even belong to you, and make your users implicitly do the same choice on top of that. We're willing to help implement this too if you guys are on board. |
Yeah, but you can declare that ENV (this can be a relative path and I will just work) As for deployment Overall it's doable - personally I'm using webpacker without yarn for over half a year now (dev & prod) - I was against adding yet another dependency on top of the project when npm was already there. |
Context behind the yarn decision: #475 (comment) (I don't think it has been linked here)
|
I don't agree. It really isn't trivially easy to switch package managers. Even if it was made trivially easy, that would work for me as well. |
Thanks for the lively discussion. It doesn't look like there any plans to support alternative package managers for the time being. |
Hi guys,
Is there any intention to implement an option to select the package manager? We prefer to use NPM instead Yarn
The text was updated successfully, but these errors were encountered: