Yarn参考手册
CLI
yarn remove
yarn remove <package...>
正在运行yarn remove foo
将删除您的直接依赖项中指定的程序包foo
,用于更新过程中的文件package.json
和yarn.lock
文件。
其他开发该项目的开发人员可以运行yarn install
同步他们自己的node_modules
目录和更新后的一组依赖项。
当你删除一个包时,它是从所有类型的依赖关系删除dependencies
,devDependencies
等。
Note:
yarn remove
will always update yourpackage.json
andyarn.lock
. This ensures that different developers on the same project get the same set of dependencies. It is not possible to disable this behavior. Note:yarn remove <package> --<flag>
uses the sameflag
s asyarn install
command.
CLI相关

Apache Hadoop YARN (Yet Another Resource Negotiator,另一种资源协调者)是一种新的 Hadoop 资源管理器,它是一个通用资源管理系统,可为上层应用提供统一的资源管理和调度,它的引入为集群在利用率、资源统一管理和数据共享等方面带来了巨大好处。
主页 | https://yarnpkg.com/ |
源码 | https://github.com/yarnpkg/yarn |
发布版本 | 1.3.2 |