Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lropero/upgradeps
Audit and upgrade all dependencies in package.json.
https://github.com/lropero/upgradeps
Last synced: 12 days ago
JSON representation
Audit and upgrade all dependencies in package.json.
- Host: GitHub
- URL: https://github.com/lropero/upgradeps
- Owner: lropero
- Created: 2019-05-07T18:26:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-03T12:03:23.000Z (over 1 year ago)
- Last Synced: 2024-10-01T08:49:34.214Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 139 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-blazingly-fast - upgradeps - Blazingly fast command-line utility to upgrade all dependencies in package.json to latest version, potentially updating packages across major versions. (JavaScript)
README
# upgradeps · [![npm version](https://badge.fury.io/js/upgradeps.svg)](https://www.npmjs.com/package/upgradeps) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
Audit and **upgra**de all **dep**endencie**s** in `package.json`.
![upgradeps](https://user-images.githubusercontent.com/4450399/184115801-ca0fa405-32f3-49b3-9db3-bfb86a804845.png)
### Installation
Installation not required, run `npx upgradeps` in project's root anytime you'd like to audit `package.json` (dry run).
### Options
##### `-v` / `--verbose`
Print information for latest dependencies too
```sh
npx upgradeps -v
```##### `-g` / `--groups `
Specify groups to process (defaults to all, available options are `bundledDependencies`, `dependencies`, `devDependencies`, `optionalDependencies` and `peerDependencies`)
```sh
npx upgradeps -g dependencies,devDependecies
```##### `-m` / `--minor`
Process only `minor` and `patch` updates when available
```sh
npx upgradeps -m
```##### `-r` / `--registry `
Set registry to use
```sh
npx upgradeps -r https://registry.npmjs.org
```##### `-u` / `--upgrade`
Upgrade `package.json`
```sh
npx upgradeps -u
```##### `-f` / `--fixed`
Remove `^`carets (use with -u)
```sh
npx upgradeps -u -f
```##### `-s` / `--skip `
Skip packages (use with -u)
```sh
npx upgradeps -u -s react,react-dom
```##### `-y` / `--yarn`
Use `yarn` instead of `npm` (use with -u)
```sh
npx upgradeps -u -y
```