Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We recently had problems with bugs in Yarn 1 regarding package aliases. The developers of Yarn 1 will not accept bug fixes for Yarn 1 anymore as they want users to upgrade to Yarn 4. Since Yarn was created, the features that motivated its use have been added to npm. The only exception being parallel execution but npm has added other features that make it very fast anyway. Here's some perfomance testing results: https://p.datadoghq.eu/sb/d2wdprp9uki7gfks-c562c42f4dfd0ade4885690fa719c818 Yarn introduced lockfiles to ensure that every install results in the exact same file structure in node_modules across all machines. This approach was quickly adopted by npm in npm 5. https://engineering.fb.com/2016/10/11/web/yarn-a-new-package-manager-for-javascript/ https://blog.npmjs.org/post/161081169345/v500.html Yarn introduced Workspaces as an optimization for monorepositories. After a few years, npm adopted that in npm 7. https://classic.yarnpkg.com/blog/2017/08/02/introducing-workspaces/ https://docs.npmjs.com/cli/v7/using-npm/changelog I generated package-lock.json by just running npm install. That command supports and understands yarn.lock.
- Loading branch information