29

一行命令更新所有 npm 依赖包

 5 years ago
source link: https://juejin.im/post/5cbbf7c2f265da03ac0d08bd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
npm 包的更新速度很快,为了将项目或者全局依赖更新到最新版本。传统的做法是一个一个更新,比如更新 react 到最新版本,命令如下: # npm npm i --save react@latest # yarn yarn add react@latest 复

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK