# conventional-bump

> bump package.json version according to conventional-changelog

Latest version **1.0.6** (published 2018-11-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install conventional-bump
pnpm add conventional-bump
yarn add conventional-bump
bun add conventional-bump
```

Provides the command `conventional-bump`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2018-11-03 |
| First published | 2018-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.9.0 |
| Dependencies | 4 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Guillaume ARM |
| Maintainers | trapcodien |
| Keywords | npm, conventional-changelog, version-bump |

## Links

- npm: https://www.npmjs.com/package/conventional-bump
- Repository: https://github.com/guillaumearm/conventional-bump
- Homepage: https://github.com/guillaumearm/conventional-bump#readme
- Issues: https://github.com/guillaumearm/conventional-bump/issues
- npm.io page: https://npm.io/package/conventional-bump

## Dependencies (4)

- [path](https://npm.io/package/path.md) ^0.12.7
- [yargs](https://npm.io/package/yargs.md) ^12.0.2
- [conventional-recommended-bump](https://npm.io/package/conventional-recommended-bump.md) ^4.0.4
- [conventional-changelog-angular](https://npm.io/package/conventional-changelog-angular.md) ^5.0.2

## Alternatives

- [cli-color](https://npm.io/package/cli-color.md) — 3.4M weekly downloads
- [log](https://npm.io/package/log.md) — 1.3M weekly downloads
- [@luma.gl/experimental](https://npm.io/package/@luma.gl/experimental.md) — 77.1K weekly downloads
- [logstash-client](https://npm.io/package/logstash-client.md) — 4.5K weekly downloads
- [@nocobase/plugin-logger](https://npm.io/package/@nocobase/plugin-logger.md) — 2.0K weekly downloads

## Recent versions

- 1.0.6 (latest) — 2018-11-03
- 1.0.5 — 2018-11-03
- 1.0.4 — 2018-03-11
- 1.0.3 — 2018-01-27
- 1.0.2 — 2018-01-27
- 1.0.1 — 2018-01-24
- 1.0.0 — 2018-01-22

## README

conventional-bump
====================

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

bump `package.json` version according to [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog).


`conventional-bump` is built on [conventional-recommended-bump](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-recommended-bump).


Purpose of this library is to automatically bump the package.json version number.

## Installation
```bash
$ npm install --save-dev conventional-bump
```

## Usage
```bash
$ conventional-bump --help

Usage: index.js [-p preset]

Options:
  --version     Print current version                                  [boolean]
  -h, --help    Show help                                              [boolean]
  -p, --preset  conventional-changelog preset to use        [default: "angular"]
```

## Configuration
in your package.json :
```json
{
  "scripts": {
    "bump": "conventional-bump -p angular",
    "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
  }
}
```

## Publish a npm module
```bash
$ npm run bump && npm publish
```

---
_Source: https://npm.io/package/conventional-bump · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
