Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
/ yarn-up-all Public archive

Yarn 2 (Berry) plugin to upgrade all dependencies using one simple command

License

Notifications You must be signed in to change notification settings

e5mode/yarn-up-all

Repository files navigation

yarn-up-all

GitHub package.json version GitHub GitHub Releases

Description

This is a Yarn 2 (berry) plugin that will update all dependencies of a project with one simple command.

Scripts

yarn build

Creates a minified version of the yarn-up-all plugin and places it in the ./build folder.

Installation

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 berry

In 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.js

Usage

To update all dependencies (including devDependencies), run:

yarn up-all

To exclude a single dependency, run:

yarn up-all --exclude package

Alternatively, you can use the shorter command:

yarn up-all -e package

To exclude multiple dependencies:

yarn up-all --exclude "package1 package2"

Options

Option Description
--exclude Exclude one or more packages from being upgraded
-e Shorthand version of --exclude