Earlier quoted context omitted.
> 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.
Yes I agree! I didn't really make myself clear. 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 c…
Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
41–48 of 48 posts
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#42Earlier quoted context omitted.
We have patched that issue and already tagged 1.0.1 ;)
See https://github.com/yarnpkg/yarn/issues/4320
https://github.com/heroku/heroku-buildpack-nodejs/issues/468
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#43Maybe Node should bundle Yarn instead of NPM? NPM is so buggy I can't stand it for a minute!
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#44Maybe Node should bundle Yarn instead of NPM? NPM is so buggy I can't stand it for a minute!
Not quite the same but ironically the standard "node" Docker image contains yarn: https://github.com/nodejs/docker-node/blob/b502aa016335c81a5...
[1] https://github.com/nodejs/docker-node/pull/337 [2] https://github.com/nodejs/docker-node/pull/403
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#45Meanwhile ... I do regret that this doesn't introduce alternative dependencies, like Debian packages have, where your package foo can have dependency on "either bar or baz". Oh well.
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#46What was the compelling reason to make Yarn instead of contributing to npm, perhaps ownership? Seems like they could given everyone a lot of improvements and instead they fractured the market a bit.
For example, the npm project was reluctant to make any changes that broke backwards compatibility, even when the existing feature was outright unusable (eg, shrinkwrap). By contrast, Yarn was free to break backwards compatibility since it was a new project, and it's popularity, in turn, allowed npm to finally feel free to start fixing things.
Yarn has helped npm hugely in my view, but it was only able to do so as an independent project. The current version of npm has working lockfiles because Yarn shipped working lockfiles, but every proposal to fix them pre-yarn was shot down out of hand for (in my view) nonsense reasons.
(This helps explain, incidentally, why yarn has had some much support from parts of the npm dev team. They knew, eg, lockfiles had to be fixed, and if it took yarn as a catalyst, so be it.)
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#47Just in case anyone else runs into this and doesn't know what's going on: we had a problem with Yarn 1.0, because it doesn't recognise repositories that don't end in a trailing slash -- for example, "@folio:registry= https://repository.folio.org/repository/npm-folio" is no good any more, but "@folio:registry= https://repository.folio.org/repository/npm-folio/" is. See https://github.com/folio-org/stripes-demo-platfor…
Re: Yarn 1.0: Workspaces, auto-merging lockfiles, selective versions resolutions
#48Earlier quoted context omitted.
RE the 2nd issue: Are you sure you even need `private: true`? Scoped modules are private by default right? I thought `private: true` was supposed to prevent publishing to npm altogether. It's odd they haven't at least triaged the issue (but you know humans/time). That said the fact it's a niche workflow (it's unclear why the user is using --no-save) and the steps to reproduce won't be doable by the team ... probably…
The packages aren't published on npm but deployed by other means (before npm is used to install additional public packages), hence 'private' is deliberate.