Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/solidzoro/updd

🚀 Update package.json dependencies & devDependencies to latest version
https://github.com/solidzoro/updd

cli interactive npm update upgrade upgrade-interactive yarn

Last synced: 30 days ago
JSON representation

🚀 Update package.json dependencies & devDependencies to latest version

Awesome Lists containing this project

README

        

# updd

[![VERSION][version-badge-svg]][version-badge-url] [![LICENSE][license-badge-svg]](./LICENSE)

Update package.json dependencies & devDependencies to latest version.

![updd-demo](./__tset__/updd-demo.png)

## Installation

```bash
yarn add -D updd
```

or Global

```bash
npm i -g updd
```

## Usage

in the `package.json` file directory.

```bash
updd
```

## Config

in `package.json`, `updd` key:

client: `yarn` | `npm`, (defalut: `yarn`)

ignore: `['any', 'package-name']`, (defalut: `[]`)

e.g.:

```json
{
"name": "updd",
"updd": {
"client": "yarn",
"ignore": [
"https://github.com/SolidZORO/updd",
"react"
],
"lockDeps": {
"chalk": "4.1.2"
},
"lockDevDeps": {
}
},
"dependencies": {
},
"devDependencies": {
}
}
```

## Principle

Collect all `dependencies` and `devDependencies`, install, it will automatically update to the latest version.

Can be used instead of `yarn upgrade-interactive` to solve the non-update problem.

## License

MIT © 2021

[license-badge-svg]: https://img.shields.io/badge/License-MIT-green.svg

[version-badge-svg]: https://badge.fury.io/js/updd.svg

[version-badge-url]: https://badge.fury.io/js/updd