1.0.2 • Published 1 year ago

npm-publish-version-control v1.0.2

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
1 year ago

npm-publish-version-control

This is a simple script that will help you to update or sync the version of your package.json file before publishing it to npm.

Installation

npm install -g npm-publish-version-control
# or
yarn global add npm-publish-version-control

Usage

You should be in the root directory when using these scripts.

node sync.js  # sync package.json version with current npm version
node publish.js        # patch update (1.0.0 -> 1.0.1)
node publish.js minor  # minor update (1.0.0 -> 1.1.0)
node publish.js major  # major update (1.0.0 -> 2.0.0)

or

node publish.js    # patch update (1.0.0 -> 1.0.1)
node publish.js 2  # minor update (1.0.0 -> 1.1.0)
node publish.js 3  # major update (1.0.0 -> 2.0.0)

License

GNU General Public License v3.0

Author

Christopher James

1.0.2

1 year ago

1.0.1

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

1.0.0

1 year ago