This package has been deprecated

Author message:

publish-new-version is no longer maintained

publish-new-version

1.0.2 • Public • Published

publish-package-version

A utility to publishing new version for your package, includes creating tag & release on Github and publish package to NPM

Usage

/**
 * @param {Function} callback Will be called after update new version 
 * into "package.json" and before commit+push to Github and publish to NPM
 */
publishNewVersion(callback);

Example

const publishNewVersion = require('publish-new-version');
publishNewVersion(async (logger) => {
    logger.info('Doing some thing...');
    doSomeThing();
    
    logger.info('Doing other thing...')
    await doOtherThing();
});

License

Please read at here

Package Sidebar

Install

npm i publish-new-version

Weekly Downloads

6

Version

1.0.2

License

MIT

Unpacked Size

4.87 kB

Total Files

5

Last publish

Collaborators

  • ducdhm