Skip to content

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.

License

Notifications You must be signed in to change notification settings

MegalithOfficial/Simple-Dependencies-Updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Dependency Updater

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.

Features

  • Update dependencies listed in the dependencies and devDependencies 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.

Usage

Installation

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

Command-line options

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

Examples

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

License

This project is licensed under the Apache 2.0 License.

Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages