This is a Yarn 2 (berry) plugin that will update all dependencies of a project with one simple command.
Creates a minified version of the yarn-up-all plugin and places it in the ./build folder.
Make sure that you have Yarn 2 installed before using this plugin. You can install Yarn 2 by running the following command in your terminal:
yarn set version berryIn order to install the plugin, you can run the following command in your terminal:
yarn plugin import https://github.com/e5mode/yarn-up-all/releases/download/1.1.0/index.jsTo update all dependencies (including devDependencies), run:
yarn up-allTo exclude a single dependency, run:
yarn up-all --exclude packageAlternatively, you can use the shorter command:
yarn up-all -e packageTo exclude multiple dependencies:
yarn up-all --exclude "package1 package2"| Option | Description |
|---|---|
--exclude |
Exclude one or more packages from being upgraded |
-e |
Shorthand version of --exclude |