Table of Contents
[] Checkmate is a CLI tool that helps the user to keep a track for various versions of a specific dependecy and verify if the version being used is the required one. Version if unsatisfied can be upgraded to a mentioned version by changing the same in package.json file. Checkmate therefore is helpful in large project where number of projects handled is huge. It eliminates the need to manually check versions in each project and automates the task, making it easieer and faster.
checkmate -u -i filename.csv dependency@version
checkmate
- main command that triggers the cli-u or -- update
- to update the version in package.json and create a pull request for update.-i or --inspect
- to check theversion
ofdependency
with the dependecies in each project mentioned infilename.csv
This is an example of how to list things you need to use the software and how to install them.
- npm
npm install npm@latest -g
- Any flavour of Linux (OS)
-
Clone the repo
git clone https://github.com/CyberneTech/Checkmate
-
Install NPM packages
npm install
-
Get a Github Access Token for authorization
-
Enter the following command in terminal
export AUTH_TOKEN="github_access_token"
-
place CSV file with project links in project root directory
-
Enter command to run cli
checkmate -i filename.csv dependency@version
- To keep a check of versions of various dependencies involved in a project, specially if the project has large number of dependencies involved
- Keep versions up to date (no downgrade possible)
- Passing multiple dependencies in single command
- Added customization to functions
- Check compatibity of the versions before update
- Aviod updating to deprecated versions or if code contains deprecated functions of older dependency versions See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Shruti Jain- [email protected]
Contact me at: Linkedin,