Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andrewleedham/yarn-upgrade-fuzzy

Upgrade yarn dependencies to latest with fuzzy matching
https://github.com/andrewleedham/yarn-upgrade-fuzzy

cli fuzzy-matching minimatch upgrade yargs yarn

Last synced: 8 days ago
JSON representation

Upgrade yarn dependencies to latest with fuzzy matching

Awesome Lists containing this project

README

        

# yarn-upgrade-fuzzy

> Upgrade yarn dependencies to latest with fuzzy matching

[![npm package][npm-badge]][npm-link]
[![license MIT][license-badge]][license-link]

Look at your devDependencies and dependencies fields upgrading all that match the given [matcher][matcher-url] pattern.

## Usage
1. Install
```bash
yarn global add yarn-upgrade-fuzzy
```

2. Run in your project root:
```bash
yuf "jest*"
# Upgrading: jest, jest-circus to @latest
```

## Options
### `--tag `
The version tag to upgrade all the matching packages with. By default it will upgrade to latest, but you can specify one of the supported tags here: https://classic.yarnpkg.com/en/docs/cli/tag#what-are-tags-

#### Usage
```bash
yuf "@xerox/*" --tag next
```

---

[LICENSE][license-link] | [ISSUES][issues-link]

[issues-link]: https://github.com/AndrewLeedham/yarn-upgrade-fuzzy/issues

[npm-badge]: https://flat.badgen.net/npm/v/yarn-upgrade-fuzzy?color=cyan
[npm-link]: https://www.npmjs.com/package/yarn-upgrade-fuzzy

[license-link]: ./LICENSE
[license-badge]: https://flat.badgen.net/npm/license/yarn-upgrade-fuzzy

[matcher-url]: https://github.com/sindresorhus/matcher