Bump version (like npm-version) and also create tags like x.x.x
npm i [-g] bumpx
bumpx major|minor|patch [--dry]
const bumpX = require('bumpx')
const { version, operations } = bumpX({
packageJson: 'package.json',
// or
version: '1.0.0',
range: 'major' || 'minor' || 'patch',
})
operations.run({ dry: true }) // modify package.json, execute git tag ... etc