Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Last updated : Oct 28, 2020
Not on the current edition
This blip is not on the current edition of the Radar. If it was on one of the last few editions it is likely that it is still relevant. If the blip is older it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar Understand more
Oct 2020
试验 ? 值得一试。了解为何要构建这一能力是很重要的。企业应当在风险可控的前提下在项目中尝试应用此项技术。

Yarn 仍然是许多团队在包管理器上的默认选择。我们对 Yarn 2的面世感到兴奋,它是一次全新的发布,包括大量的更新和改进。除了可用性优化和工作区的改进外,Yarn 2还引入了 zero-installs 的概念,它可以让开发者在克隆项目后直接运行项目。但是,Yarn 2也带来一些破坏性的变化,这让升级过程并不简单直白。而且它默认是即插即用(PnP)环境,同时不支持 React Native PnP 环境。当然,团队可以选择退出 PnP 环境,或者停留在 Yarn 1。但他们应该意识到,Yarn 1目前已经处于维护模式。

May 2018
试验 ? 值得一试。了解为何要构建这一能力是很重要的。企业应当在风险可控的前提下在项目中尝试应用此项技术。

Yarn is a fast, reliable and secured package manager for JavaScript. Using a lock file and a deterministic algorithm, Yarn is able to guarantee that an installation that worked on one system will work exactly the same way on any other system. By efficiently queuing up requests, Yarn maximizes network utilization and as a result we’ve seen faster package downloads. Yarn continues to be our tool of choice for JavaScript package management in spite of the latest improvements in npm (version 5).

Nov 2017
评估 ? 在了解它将对你的企业产生什么影响的前提下值得探索

Yarn is a new package manager that replaces the existing workflow for the npm client while remaining compatible with the npm registry. With the npm client, we may end up with a different tree structure under node_modules based on the order that dependencies are installed. This nondeterministic nature can cause "works on my machine" problems. By breaking the installation steps into resolution, fetching and linking, Yarn avoids these issues using deterministic algorithms and lockfiles and thus guarantees repeatable installations. We've also seen significantly faster builds in our continuous integration (CI) environment because of Yarn caching all the packages it downloads.

Mar 2017
评估 ? 在了解它将对你的企业产生什么影响的前提下值得探索
已发布 : Mar 29, 2017


English | Español | Português | 中文