- 更新依赖的版本 ncu —upgrade
- 升级 yarn upgrade —latest
- 安装依赖 yarn install
- 启动服务 yarn dev
- 打包 yarn build
yarn 安装包、升级包命令
$ npm install -g yarn
$ yarn install
$ yarn upgrade
$ yarn upgrade left-pad
$ yarn upgrade left-pad@^1.0.0
$ yarn upgrade left-pad grunt
$ yarn upgrade @angular