Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chinmaymahajan/upgrade-dependencies
A command line utility for easily upgrading the outdated npm dependencies in your Node.js project.
https://github.com/chinmaymahajan/upgrade-dependencies
nodejs npm npm-install outdated-dependencies outdated-libraries outdated-packages yarn yarn-outdated-formatter yarn-outdated-notifier yarn-package yarn-packages
Last synced: 10 days ago
JSON representation
A command line utility for easily upgrading the outdated npm dependencies in your Node.js project.
- Host: GitHub
- URL: https://github.com/chinmaymahajan/upgrade-dependencies
- Owner: chinmaymahajan
- License: gpl-3.0
- Created: 2018-07-20T19:33:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-29T17:01:28.000Z (over 5 years ago)
- Last Synced: 2024-10-11T20:41:11.902Z (about 1 month ago)
- Topics: nodejs, npm, npm-install, outdated-dependencies, outdated-libraries, outdated-packages, yarn, yarn-outdated-formatter, yarn-outdated-notifier, yarn-package, yarn-packages
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Upgrade-dependencies
> A command line utility for easily upgrading the outdated npm dependencies in your [Node.js](https://nodejs.org/en/) project.**Get it from npm registry [upgrade-dependencies](https://www.npmjs.com/package/upgrade-dependencies)**
#### Supported yarn and npm node package manager
## Features
- The utility supports by default Yarn and for NPM --npm='true' flag has to be specified.The utility supports number of different ways to upgrade packages, you can specify the flag to determine what packages needs to be upgraded
Following are the number of ways packages can be upgraded
- Upgrade all packages
- `node node_modules/upgrade-dependencies/index.js`
- List of packages
- `node node_modules/upgrade-dependencies/index.js --package="package1_name, package2_name"`
- List of packages with version
- `node node_modules/upgrade-dependencies/index.js --package="[email protected], [email protected]"`
- Type of dependency
- `node node_modules/upgrade-dependencies/index.js --type="devDependencies"`
- Exclude list of packages
- `node node_modules/upgrade-dependencies/index.js --exclude="package1_name, package2_name"`
- Specific flag (major, minor and patch)
- `node node_modules/upgrade-dependencies/index.js --category="major"`
- Type of dependency and exclude list
- `node node_modules/upgrade-dependencies/index.js --type="dependencies" --exclude="package1_name"`
- Supports npm with any other flag
- `node node_modules/upgrade-dependencies/index.js --package="package1_name" --npm=true`
The report will be generated after upgrading the packages specifying what packages were upgraded to what version in upgradeReport.txt file.