Security News
UK Officials Consider Banning Ransomware Payments from Public Entities
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
version-bump-prompt
Advanced tools
Automatically (or with prompts) bump your version number, commit changes, tag, and push to Git
package.json
bower.json
component.json
preversion
, version
, and postversion
scriptsYou can install version-bump-prompt
via npm.
npm install -g version-bump-prompt
Usage: bump [options]
Options:
-h, --help output usage information
-V, --version output the version number
--major Increase major version
--minor Increase minor version
--patch Increase patch version
--premajor Increase major version, pre-release
--preminor Increase preminor version, pre-release
--prepatch Increase prepatch version, pre-release
--prerelease Increase prerelease version
--prompt Prompt for type of bump (patch, minor, major, premajor, prerelase, etc.)
--preid <name> The identifier for prerelease versions (default is "beta")
--commit [message] Commit changed files to Git (default message is "release vX.X.X")
--tag Tag the commit in Git
--push Push the Git commit
--all Commit/tag/push ALL pending files, not just the ones changed by bump
--grep <filespec...> Files and/or globs to do a text-replace of the old version number with the new one
Examples:
$ bump --patch
$ bump --major --tag
$ bump --patch --tag --all --grep README.md LICENSE
$ bump --prompt --tag --push --all
version-bump-prompt
will execute your preversion
, version
, and postversion
scripts, just like the npm version
command does. If your package.json
file contains any or all of these scripts, then they will be executed in the following order:
preversion
script runs before the version is updated (and before the version prompt is shown)version
script runs after the version is updated, but before git commit
and git tag
postversion
script runs after git commit
and git tag
, but before git push
I welcome any contributions, enhancements, and bug-fixes. File an issue on GitHub and submit a pull request.
To build the project locally on your computer:
Clone this repo
git clone https://github.com/bigstickcarpet/version-bump-prompt.git
Install dependencies
npm install
Run the tests
npm test
Version-Bump-Prompt is a fork of Version-Bump by Alexey Raspopov (c). Both the original project and this fork are licensed under the MIT License
FAQs
Automatically (or with prompts) bump your version number, commit changes, tag, and push to Git
The npm package version-bump-prompt receives a total of 4,187 weekly downloads. As such, version-bump-prompt popularity was classified as popular.
We found that version-bump-prompt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.