npm-version-cli
v2.5.0
Published
better npm version with identifier
Downloads
167
Readme
npm-version-cli
better npm version with identifier
install
yarn global add npm-version-cli
features
- npm version: package.json
- adobe plugin version: CSXS/manifest.xml
- changgelog generation
- yarn workspaces
usage
run npm-version-cli
options
key | description --- | --- -h,--help | Print this message. -v,--version | Print the version --changelog | Generate CHANGELOG.md --append-changelog | Append CHANGELOG.md --only-changed-packages | Only changed packages will bump. --effected-packages | The packages will be considered as effected packages.
API
import { askVersion } from 'npm-version-cli'
await askVersion()
changelogs
// v2
const { version } = await askVersion()
// v1
const version = await askVersion()