Negligent Pachinko Machine
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    npm-mkreleasepublic

    npm-mkrelease

    Node module release tool inspired by jarn.mkrelease.

    Installation

    npm install -g npm-mkrelease
    

    Usage

    Run npm-mkrelease in a Node module directory where the package.json file is.

    It does following:

    1. Displays the current npm release and package.json version
    2. Prompts for new version number
    3. Writes it to package.json
    4. Pushes package to npm
    5. Commits new version number to Git
    6. Tags the commit with the version number
    7. Pushes everything to Git origin

    Example

    Version in package.json: 0.1.3
    Current npm release: 0.1.3
    New version> 0.2.0
    npm http PUT https://registry.npmjs.org/npm-mkrelease
    npm http 409 https://registry.npmjs.org/npm-mkrelease
    npm http GET https://registry.npmjs.org/npm-mkrelease
    npm http 200 https://registry.npmjs.org/npm-mkrelease
    npm http PUT https://registry.npmjs.org/npm-mkrelease/-/npm-mkrelease-0.2.0.tgz/-rev/7-83abaf627ee5a620a7338bcfab0e80c7
    npm http 201 https://registry.npmjs.org/npm-mkrelease/-/npm-mkrelease-0.2.0.tgz/-rev/7-83abaf627ee5a620a7338bcfab0e80c7
    npm http PUT https://registry.npmjs.org/npm-mkrelease/0.2.0/-tag/latest
    npm http 201 https://registry.npmjs.org/npm-mkrelease/0.2.0/-tag/latest
    + npm-mkrelease@0.2.0
    [master 2b8ec74] Release 0.2.0
     1 file changed, 2 insertions(+), 2 deletions(-)
    To git@github.com:epeli/npm-mkrelease.git
     * [new tag]         0.2.0 -> 0.2.0
    To git@github.com:epeli/npm-mkrelease.git
       4e43cb1..2b8ec74  master -> master
    DONE
    

    Warning!

    This tool is bit opinionated and does things you might not be able to revert. Do not use it if you are not sure that it does what you want.

    Keywords

    none

    install

    npm i npm-mkrelease

    Downloadsweekly downloads

    23

    version

    0.2.7

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar