0.1.14 • Published 11 months ago
@that-one-tool/multi-version v0.1.14
Multi-Version

Usage
1. Versions validation
In terminal, run:
npx -y -p @that-one-tool/multi-version@latest multi-version validateIt will go through all packages in the repo, will compare the versions in the current branch with the versions in the base branch specified in the config.
Here are the options you can pass when executing the command (all are optional):
-b, --base-branch <branch name> # The base branch to compare with (default: main)
-s, --sync-mode # Enable synced mode versioning of the packages in the monorepo (default: false)
-q, --quiet # Disable all logs (default: false)
-d, --debug # Log debug level logs (default: false)
-v, --verbose # Log verbose level (all) logs (default: false)- If all versions are valid in regards to the release type from the conventional commit message, the program will exit successfully with code 0.
- If at least one version is not valid, the program will fail and exit with code 1.
Contribute
Please feel free to suggest improvements, features or bug fix through Git issues. Pull Requests for that are also more than welcome.
Keywords
version monorepo multipackage package versioning validation bump ci cd automation