npm-push

Push and Publish changes with bumped version to both Git and NPM.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
npm-push
0.4.85 years ago6 years agoMinified + gzip package size for npm-push in KB

Readme

npm-push
NPM Push and Publish changes with bumped version to both Git and NPM.
NOTE: npm-push is now updated to @extra-npm/push.
```bash
npm-push flags
NPMPUSHPUBLISH: publish to npm (0/1)
NPMPUSHVERSION: update which version (check/patch/minor/major)
NPMPUSHREPOSITORY: update repository url from git config (0/1)
NPMPUSHPREFIX: commit message prefix
NPMPUSHMESSAGE: commit message
``` ```bash
example package: pg
current version: 7.0.0
commit "v7.0.1"
npm-push
commit "v7.0.1", publish 7.0.1
npm-push --publish
commit "check update"
npm-push "check update" --check
commit "patch update", publish 7.0.1
npm-push -p "patch update"
commit "minor update", publish 7.1.0
NPMPUSHPUBLISH=1 npm-push "minor update" --minor
commit ":+1: major update", update repository, publish 8.0.0
NPMPUSHPUBLISH=1 NPMPUSHPREFIX=:+1: npm-push "major update" -3 --repository ```