banben
A better npm version
. This tool is exactly what I want in a version-bumping tool, nothing more and nothing less. You probably shouldn't use this! Check out fabiospampinato/bump for something more configurable.
[!TIP] The word "banben" comes from the Chinese word
版本
(bǎnběn), meaning "version"!
Installation
npm -g i banben
pnpm -g add banben
yarn -g add banben
bun -g add banben
Usage
banben [<version> | major | minor | patch | premajor | preminor | prepatch | prerelease]
Banben runs through three steps, and prompts you along the way to confirm each action:
- Write the version to the package.json.
- Make a commit for the version (message defaults to the
v${version}
). - Create a version tag.
- Push the version tag and commit.