Node.js Dependency Updater is a command-line tool written in Go for updating dependencies in Node.js projects based on the package.json file.
- Update dependencies listed in the
dependencies
anddevDependencies
sections of the package.json file. - Option to ignore updating dependencies or devDependencies.
- Automatic detection of package.json file in the project directory.
- Color-coded output for easy readability.
To use the Node.js Dependency Updater, you need to have Go installed on your system.
Clone the repository:
git clone https://github.com/yourusername/dependency-updater.git
Navigate to the project directory:
cd dependency-updater
Build the executable:
go build
Usage: ./dependency-updater [options]
Options:
--ignore-dependencies Ignore updating dependencies
--ignore-devDependencies Ignore updating devDependencies
--path Path of the Node.js project (default: current directory)
--help Display this help message
Update dependencies in the current directory:
./dependency-updater
Update dependencies in a specific directory:
./dependency-updater --path /path/to/project
Update dependencies while ignoring devDependencies:
./dependency-updater --ignore-devDependencies
This project is licensed under the Apache 2.0 License.
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests.