Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/e5mode/yarn-up-all
Yarn 2 (Berry) plugin to upgrade all dependencies using one simple command
https://github.com/e5mode/yarn-up-all
dependency javascript js module node nodejs npm up-all yarn yarn-2 yarn-berry yarn-plugin yarn-upgrade yarn2 yarnberry yarnpkg
Last synced: about 1 month ago
JSON representation
Yarn 2 (Berry) plugin to upgrade all dependencies using one simple command
- Host: GitHub
- URL: https://github.com/e5mode/yarn-up-all
- Owner: e5mode
- License: mit
- Archived: true
- Created: 2020-08-03T10:47:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-03T13:58:31.000Z (almost 3 years ago)
- Last Synced: 2024-09-22T21:02:06.325Z (about 2 months ago)
- Topics: dependency, javascript, js, module, node, nodejs, npm, up-all, yarn, yarn-2, yarn-berry, yarn-plugin, yarn-upgrade, yarn2, yarnberry, yarnpkg
- Language: JavaScript
- Homepage: https://e5.be
- Size: 4.93 MB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# yarn-up-all
![GitHub package.json version](https://img.shields.io/github/package-json/v/e5mode/yarn-up-all)
![GitHub](https://img.shields.io/github/license/e5mode/yarn-up-all)
![GitHub Releases](https://img.shields.io/github/downloads/e5mode/yarn-up-all/1.1.0/total)## 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:
```Bash
yarn set version berry
```In order to install the plugin, you can run the following command in your terminal:
```Bash
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:
```Bash
yarn up-all
```To exclude a single dependency, run:
```Bash
yarn up-all --exclude package
```Alternatively, you can use the shorter command:
```Bash
yarn up-all -e package
```To exclude multiple dependencies:
```Bash
yarn up-all --exclude "package1 package2"
```### Options
| Option | Description |
|-------------|--------------------------------------------------|
| `--exclude` | Exclude one or more packages from being upgraded |
| `-e` | Shorthand version of `--exclude` |