https://github.com/magic/bumper
git tag, commit and push, npm test, update, and publish, all in one cli script.
https://github.com/magic/bumper
Last synced: over 1 year ago
JSON representation
git tag, commit and push, npm test, update, and publish, all in one cli script.
- Host: GitHub
- URL: https://github.com/magic/bumper
- Owner: magic
- License: agpl-3.0
- Created: 2020-01-16T08:18:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-03T22:29:45.000Z (about 6 years ago)
- Last Synced: 2025-01-23T05:27:07.497Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://magic.github.io/bumper/
- Size: 451 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @magic/bumper
bump package version, git tag, commit and push, npm test, update, and publish, all in one cli script.
[![NPM version][npm-image]][npm-url]
[![Linux Build Status][travis-image]][travis-url]
[![Windows Build Status][appveyor-image]][appveyor-url]
[![Coverage Status][coveralls-image]][coveralls-url]
[![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[npm-image]: https://img.shields.io/npm/v/@magic/bumper.svg
[npm-url]: https://www.npmjs.com/package/@magic/bumper
[travis-image]: https://img.shields.io/travis/com/magic/bumper/master
[travis-url]: https://travis-ci.com/magic/bumper
[appveyor-image]: https://img.shields.io/appveyor/ci/magic/bumper/master.svg
[appveyor-url]: https://ci.appveyor.com/project/magic/bumper/branch/master
[coveralls-image]: https://coveralls.io/repos/github/magic/bumper/badge.svg
[coveralls-url]: https://coveralls.io/github/magic/bumper
[greenkeeper-image]: https://badges.greenkeeper.io/magic/bumper.svg
[greenkeeper-url]: https://badges.greenkeeper.io/magic/bumper.svg
[snyk-image]: https://snyk.io/test/github/magic/bumper/badge.svg
[snyk-url]: https://snyk.io/test/github/magic/bumper
#### installation:
```javascript
npm install -g @magic/bumper
```
#### usage:
be in a node repository (package.json exists)
```bash
magic-bumper --help
# show a detailed help text
magic-bumper
# will only output the changes that would be done
magic-bumper --serious
# will actually bump the version number with the lowest priority (patch or alpha)
# then git commit and git tag it,
# then git push
# then npm publish
magic-bumper --(major|minor|patch)
# bump the version specified.
magic-bumper --install
# also delete package-lock.json and node_modules, then npm install to get the newest dependencies.
# it's slow, but faster then the alternatives that make sure all deps get updated.
```
##### changelog
##### 0.0.1 - unreleased
first commit
##### 0.0.2 - unreleased
...