https://github.com/mrodrig/updep
An automated dependency upgrade module for NodeJS.
https://github.com/mrodrig/updep
automated dependency dev developer-tools hacktoberfest maintenance techdebt tool update
Last synced: 6 months ago
JSON representation
An automated dependency upgrade module for NodeJS.
- Host: GitHub
- URL: https://github.com/mrodrig/updep
- Owner: mrodrig
- Created: 2015-11-16T14:51:31.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T15:59:56.000Z (over 1 year ago)
- Last Synced: 2024-04-14T12:08:42.783Z (about 1 year ago)
- Topics: automated, dependency, dev, developer-tools, hacktoberfest, maintenance, techdebt, tool, update
- Language: JavaScript
- Homepage:
- Size: 227 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# updep
[](https://www.npmjs.org/package/updep)
[](https://www.npmjs.org/package/updep)
[](https://www.npmjs.org/package/updep)
[](https://snyk.io/test/npm/updep)
[](https://travis-ci.org/mrodrig/updep)Automatically upgrade your NPM dependencies to the latest version!
This module provides the CLI functionality that you've been looking for to
tackle technical debt with NPM modules head-on. You'll be up-to-date in no time
with the functionality to specify the upgrade level to run or you can perform a
dry-run to see what upgrades would be made without actually changing anything.## Installation
```bash
$ npm install -g updep
```## Upgrading
```bash
$ npm update -g updep
```## Usage
```
Usage: updep [options]Options:
-v, --version output the version number
-p, --version-prefix Optional package version prefix to prepend (default: "^")
-s, --indent-spaces Number of spaces of indentation for package.json (default: 4)
-i, --version-increment [level] Package.json version increment level {major|minor|patch} (default: "patch")
-V, --verbose Verbose mode
-U, --upgrade-level [level] Dependency version upgrade level {major|minor|patch} (default: "major")
-D, --dry-run Show the upgrades that would be performed instead of upgrading
-h, --help output usage informationExamples:
$ updep --help
$ updep -h
$ updep package.json -p ^ -i major
$ updep package.json -p "~" -s 4 -i minor -U patch --dry-run
```## Tests
Coming soon...
```bash
npm run lint && npm test
```_Note_: This requires `mocha` and `should`.
## Features
- Upgrades your package.json to have the latest versions for dependencies and devDependencies.