Before using version, ensure you have the following prerequisites met:
- yarn installed on your system
Install package:
pnpm add @fethcat/version
Use cli:
# Bump patch version
pnpm version patch
# Bump minor version
pnpm version minor
# Bump major version
pnpm version major
# Bump version + in another directory
pnpm version patch ../dir
# Release prod version
pnpm version release prod