npm-version-bump-checker

    1.0.5 • Public • Published

    npm-version-bump-checker

    Checks if version in local package.json is higher than in npm

    Description

    This utility will throw an error when local version <= remote version

    You can pair this tool with CI/CD tools to ensure your package.json version is properly increased before being merged to master.

    Installation

    npm install npm-version-bump-checker --save-dev

    Usage

    Add the proper npm script for your NodeJS platform to the scripts key in package.json:

    "can-publish-nix": "npm info $npm_package_name version | npm-version-bump-checker"
    "can-publish-win": "npm info %npm_package_name% version | npm-version-bump-checker"

    Keywords

    none

    Install

    npm i npm-version-bump-checker

    DownloadsWeekly Downloads

    3

    Version

    1.0.5

    License

    ISC

    Unpacked Size

    4.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • zatziky