Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/solidzoro/updd
- Owner: SolidZORO
- License: mit
- Created: 2021-11-23T08:17:03.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-14T09:30:11.000Z (almost 3 years ago)
- Last Synced: 2024-09-28T19:47:57.818Z (about 2 months ago)
- Topics: cli, interactive, npm, update, upgrade, upgrade-interactive, yarn
- Language: JavaScript
- Homepage:
- Size: 219 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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