-
Notifications
You must be signed in to change notification settings - Fork 2
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
Should we use Yarn? #25
Comments
I'm looking into it more and it's definitely faster. Committing the Personally, I'm pro-version locking. I like the greater consistency between environments. I always lock regular (non-dev) deps. Semver is great in theory, but it's often used wrong even with good intentions. The interesting thing is I think we will have to regenerate the Fundamentally there doesn't seem to be anything preventing people from using Yarn now. What we're trying to figure out is if we should endorse Yarn and/or commit |
Yeah, pretty much- is there any reason we shouldn't commit |
Neither is an absolute deal breaker. If anything, I'd like to try Yarn on a project or two before we go all in on it. |
does it have an edit looks like the most recent version has a |
That does raise another thing to think about. Would we refactor our Also is there a |
Another question: Is there any benefit to using Yarn over npm aside from faster install speed? |
as task runners, I guess it doesn't matter. Everyone gets |
True. Sounds like we should just leave our scripts alone. |
Agreed, leave the scripts alone, and even if contributors continue to |
the only last tricky bit I think is if we're reaching into |
Do they organize differently or just resolve dependencies slightly differently (sub-dependencies in a different order?) ? |
looked into it a bit but it sounds like they use the same flie layout. |
Anyone have thoughts on Yarn? I've been using it here and there, and it's mighty fast. Lockfiles are also nice. From what I've researched, you don't want to use it for consumable packages, but for end products it works great.
All it takes is adding lockfiles that yarn generates to the commit, though the one thing I'm not entirely sure on is if there's a potential for issues when someone uses
npm i
instead. (It would probably be a minor issue, but something to be aware of nonetheless)@Pomax @gvn @mmmavis @simonwex @gideonthomas @cadecairos @ScottDowne @acabunoc
The text was updated successfully, but these errors were encountered: