# bumplebee

> Bump your package.json, npm-shrinkwrap, sonar-project.properties versions in the terminal.

Latest version **1.1.3** (published 2017-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install bumplebee
pnpm add bumplebee
yarn add bumplebee
bun add bumplebee
```

Provides the command `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.1.3 |
| Published | 2017-12-15 |
| First published | 2017-12-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Dara Hayes |
| Maintainers | darahayes |

## Links

- npm: https://www.npmjs.com/package/bumplebee
- Repository: https://github.com/darahayes/bumplebee
- Homepage: https://github.com/darahayes/bumplebee#readme
- Issues: https://github.com/darahayes/bumplebee/issues
- npm.io page: https://npm.io/package/bumplebee

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [minimist](https://npm.io/package/minimist.md) ^1.2.0

## Recent versions

- 1.1.3 (latest) — 2017-12-15
- 1.0.2 — 2017-12-15
- 1.0.1 — 2017-12-15
- 1.0.0 — 2017-12-14

## README

# Bumplebee

[![CircleCI](https://circleci.com/gh/darahayes/bumplebee.svg?style=svg)](https://circleci.com/gh/darahayes/bumplebee)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

This is a small CLI designed to make it easy to bump versions in `package.json`, `npm-shrinkwrap.json` and `sonar-project.properties`.

## Install

```
npm i -g bumplebee
```

## Usage

```bash
bump <major|minor|patch>
bump # defaults to patch
```

From within your repo simply run the `bump` command.

```
$ bump major
Bumping from version 1.0.5 to version 2.0.5
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
```

```
$ bump minor
Bumping from version 2.0.5 to version 2.1.5
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
```

```
$ bump patch
Bumping from version 2.1.5 to version 2.1.6
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
```

`bump` defaults to `patch` if no argument is passed:

```
$ bump
Bumping from version 2.1.5 to version 2.1.6
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
```

`bump` also supports the `x.y.z-BUILD-NUMBER` syntax.

```
$ bump
Bumping from version 0.2.0-BUILD-NUMBER to version 0.2.1-BUILD-NUMBER
done: package.json
done: sonar-project.properties
done: npm-shrinkwrap.json
```

`bump` still works if `npm-shrinkwrap.json` or `sonar-project.properties` are not present

```
$ bump
Bumping from version 2.1.6 to version 2.1.7
done: package.json
skipped: sonar-project.properties
skipped: npm-shrinkwrap.json
```

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