Yarn 1.9.0 发布了,Yarn 是 Facebook 推出的 JavaScript 包管理器,旨在提供 npm 之外的另一种选择方案。Yarn 具有极佳的伸缩性,可以支持成千上万个直接或间接的包依赖。Yarn 的设计初衷是保证稳定性、弹性和高性能。其与 npm 最大的不同在于安装包的方式,Yarn 用到了 lockfiles 和确定性算法。Lockfile 会把安装的包版本进行锁定,保证了 node_modules 目录在不同设备上的安装结果是一致的,同时支持并行操作,大大加快安装进程。此外,Yarn 还声明同时兼容 npm 和 Bower,支持两个仓库混合使用,同时支持包的离线安装(只要你曾经安装过这个包)。
此次更新内容如下:
- fix(sshpk): Upgrade requests and sshpk to latest versions (#5934)Burak Yiğit Kaya – Thu, 19 Jul 2018 16:32:27 +0100
- fix(pack): higher priority to .npmignore over .gitignore on windows (#5979)Michal Piechowiak – Thu, 19 Jul 2018 16:31:15 +0100
- Correctly resolve scoped packages in
yarn create
. (#5983)Chris Krycho – Thu, 19 Jul 2018 16:19:17 +0100 - fix(deps): update dependency fs-extra to v7 (#6114)renovate[bot] – Thu, 19 Jul 2018 14:57:39 +0100
- update npm link (#6120)Kishan – Thu, 19 Jul 2018 14:53:25 +0100
- Clarified yarn link Warning (#6106)Matt Q – Thu, 19 Jul 2018 14:49:29 +0100
- [WIP] dedupe hoister levelQueue items for performance gains (#6083)Stephen John Sorensen – Thu, 19 Jul 2018 14:49:11 +0100
- chore(deps): update dependency eslint-plugin-relay to ^0.0.24 (#6020)renovate[bot] – Fri, 6 Jul 2018 10:55:27 +0100
- fix(resolutions): Warn instead of erroring if unmatched dependency matches resolutions with glob support (#6033)Ramiro Silveyra d’Avila – Fri, 6 Jul 2018 10:54:20 +0100
- Implements –no-default-rc and –use-rc (#6007)Maël Nison – Wed, 27 Jun 2018 10:45:55 +0100
- Handle invalid versions in satisfiesWithPrereleases (#6019)Grey Baker – Tue, 26 Jun 2018 18:08:05 +0100
- Simplify readFirstAvailableStream() (#6022)sth – Tue, 26 Jun 2018 18:05:49 +0100
- fix(util/fs): use file content instead of mtime to determine equality (#6010)Stephane Rufer – Thu, 21 Jun 2018 16:09:03 +0100
- fix(cli): force registryFolders to be unique (#5985)Steven Hargrove – Thu, 14 Jun 2018 07:29:07 -0400
- fix(install): Fix bin-links and related hung installs on Windows (#5975)Burak Yiğit Kaya – Tue, 12 Jun 2018 13:51:25 +0100
- Fixes relative cache paths (#5973)Maël Nison – Mon, 11 Jun 2018 21:44:54 +0100
- Manually bumps the lockfile versionMaël Nison – Mon, 11 Jun 2018 11:20:07 +0100
下载地址:
转自 https://www.oschina.net/news/98205/yarn-1-9-0-released