# update-by-scope

> CLI tool for updating multiple packages of the same scope simultaneously

Latest version **1.1.4** (published 2023-01-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install update-by-scope
pnpm add update-by-scope
yarn add update-by-scope
bun add update-by-scope
```

Provides the command `update-by-scope`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2023-01-10 |
| First published | 2019-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 37.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Maxim valenko |
| Maintainers | beshanoe |

## Links

- npm: https://www.npmjs.com/package/update-by-scope
- Repository: https://github.com/beshanoe/update-by-scope
- Homepage: https://github.com/beshanoe/update-by-scope#readme
- Issues: https://github.com/beshanoe/update-by-scope/issues
- npm.io page: https://npm.io/package/update-by-scope

## Recent versions

- 1.1.4 (latest) — 2023-01-10
- 1.1.3 — 2020-06-16
- 1.1.2 — 2020-05-28
- 1.1.1 — 2019-08-09
- 1.1.0 — 2019-08-09
- 1.0.4 — 2019-06-10
- 1.0.3 — 2019-06-03
- 1.0.2 — 2019-05-30
- 1.0.1 — 2019-05-30
- 1.0.0 — 2019-05-30

## README

# update-by-scope
CLI tool for updating multiple packages of the same scope simultaneously

## Usage

```
npx update-by-scope <scope>
```


Tool tries to detect which NPM client you use, for example if it's Yarn, it will find all the packages which name starts with provided `scope` value inside the `package.json` and will run `yarn upgrade @example/foo@latest @example/bar@latest ...`.

If you want to manually specify an NPM client and command it should use, you can write it after scope argument or with `-n` and `-c` flags. 

```
npx update-by-scope @example npm install
```

or

```
npx update-by-scope -n npm -c install @example
```

In this case it will run `npm install @example/foo@latest @example/bar@latest ...`

It's also possible to specify NPM tag with a flag `--tag` or `-t`:

```
npx update-by-scope -t next @example
```

*If you have any ideas on how to improve the tool, feel free to open an issue or a PR.*

---
_Source: https://npm.io/package/update-by-scope · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
