Yarn set version from sources
该主要是用于从 master 构建最新版本包。
Yarn set version from sources 语法
$> yarn set version from sources [--path #0] [--repository #0] [--branch #0] [--plugin #0] [--no-minify] [-f,--force]
Yarn set version from sources 实例
从 Yarn 的 master 分支安装最新版本:
yarn set version from sources
使用细节
此命令会将Yarn存储库克隆到临时夹中,然后进行构建,然后将的包复制到本地项目中。