yarn info <package> [<field>] 指定版本的信息 选择特定字段 获取 readme 字段 显示一个包的信息。 yarn info <package> [<field>] 这个命令会拉取包的信息并返回为树格式,包不必安装到本地。 yarn info react yarn info vx . x ....
yarn import 动机 依据原npm安装后的node_modules 目录生成一份yarn.lock 文件 yarn import This command assists the migration of projects currently relying on npm-shrinkwrap.json , minimizing the ...