I've been holding off on yarn since npm v5 has some big performance increases, but there's (as of npm 5.3) still an issue where npm v5 deletes all `private: true` packages - we've had to revert to 4.6 - and I'm a little worried a data-loss issue isn't being treated as severe.
Deletes them in what situation? Can you provide a link?
Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
11–20 of 48 posts
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#12Shared modularized code without creating private npm packages or doing some "linking" magic has been wonderful for productivity. It's as simple as creating another local package and symatically everything else has remained the same as a regular npm package, plus the benefits of having immediately updating code. For anyone with a large modular codebase wanting to forray into a monorepo approach I highly recommend checking it out. They also released a blog post here detailing the feature: https://yarnpkg.com/blog/2017/08/02/introducing-workspaces/
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#13This is fantastic! The biggest standout feature in my opinion is workspaces. I've been using workspaces on a client project with many sub-projects and it has been a pleasure. Shared modularized code without creating private npm packages or doing some "linking" magic has been wonderful for productivity. It's as simple as creating another local package and symatically everything else has remained the same as a regular…
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#14How soon will it be available via brew update?
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#15Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#16A big congrats are in order. Yarn came out just as I started working in the node ecosystem, and it fixed nearly all my dependency manager problems. Since then it's evolved and it's really helped provide a counter to npm offering different design choices but working together where it counts. It's the 4th most popular brew dependency and ~25% of npm downloads. People love it. Congrats Yarn team - you've been doing a gr…
I jumped on node around the same time and I've come to an opposite conclusion. The things I liked was the offline cache and the yarn integrity. However there was just too many issues regarding its dependency on npm and not playing nice with other tools such as brew. I dove into the code to try and fix these issues but both the quality of the code base and the politics going on in the issue tracker turned me off very…
The biggest reason by far why Yarn got so popular so quickly was because it didn't come and try to split the existing ecosystem but chose build on top of npm's foundation with ways that npm didn't (at that point) offer instead.
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#17Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#18Earlier quoted context omitted.
I jumped on node around the same time and I've come to an opposite conclusion. The things I liked was the offline cache and the yarn integrity. However there was just too many issues regarding its dependency on npm and not playing nice with other tools such as brew. I dove into the code to try and fix these issues but both the quality of the code base and the politics going on in the issue tracker turned me off very…
> If yarn had been approached with more senior developers I think it could have replaced npm entirely. The biggest reason by far why Yarn got so popular so quickly was because it didn't come and try to split the existing ecosystem but chose build on top of npm's foundation with ways that npm didn't (at that point) offer instead.
I feel that if yarn kept its strategy but had more senior developers writing the core software I think it could have been able to outpace npm in terms of features and speed.
If this had have been the case then it wouldn't make sense to use npm at all. Yarn would be faster and have more features.
From my experience I feel that yarn isn't offering much value now and the codebase quality means that future features will take too long to build.
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#19Seems like they could given everyone a lot of improvements and instead they fractured the market a bit.