Skip to content

Hard dependency on yarn. #452

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

Closed
gdborton opened this issue May 31, 2017 · 4 comments
Closed

Hard dependency on yarn. #452

gdborton opened this issue May 31, 2017 · 4 comments

Comments

@gdborton
Copy link

Our build machines are locked down pretty tightly and we aren't able to globally install packages. Would it be possible to use (or fallback to?) npm which is standard and ships w/ node.

If not, would you be open to expanding webpacker to enable usage of a locally installed copy of yarn? ./node_modules/.bin/yarn

@ljharb
Copy link

ljharb commented Jun 1, 2017

It would be great if this was configurable; npm 5's release drastically alters the landscape for yarn, and it would be a mistake for rails to cement itself nonconfigurably onto a tool that may or may not be the best choice in years to come.

@gauravtiwari
Copy link
Member

gauravtiwari commented Jun 2, 2017

@gdborton Feel free to make a PR please 👍 May be @ljharb have some ideas around how to make it configurable?

@ljharb Makes sense but I guess at this point we have pick one since both are very similar tools. It would be nice to move away though and leave this option to user 😄

@ljharb
Copy link

ljharb commented Jun 2, 2017

If you only have to pick one, pick the standard one that ships with node. That said, making it configurable with either default seems like the proper path :-)

@dhh
Copy link
Member

dhh commented Aug 28, 2017

Webpacker is going to follow what we're doing in Rails. If Rails moves to provide an alternative to Yarn, we'll piggyback off that. But we're not going to chart a separate path in Webpacker.

@dhh dhh closed this as completed Aug 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants