npm.io
12.1.0 • Published 2 months agoCLI

conventional-recommended-bump

Licence
MIT
Version
12.1.0
Deps
5
Size
42 kB
Vulns
0
Weekly
0
Stars
8.5K

ESM-only package NPM version Node version Dependencies status Install size Build status Coverage status

Get a recommended version bump based on conventional commits.

Install

# pnpm
pnpm add conventional-recommended-bump
# yarn
yarn add conventional-recommended-bump
# npm
npm i conventional-recommended-bump

Usage

import { Bumper } from 'conventional-recommended-bump'

const bumper = new Bumper().loadPreset('angular')
const recommendation = await bumper.bump()

console.log(recommendation.releaseType) // 'major'

CLI is also available:

conventional-recommended-bump --help

Documentation

For comprehensive guides, CLI options, and API reference, visit the documentation website.

License

MIT Steve Mao

Keywords