Package bump-regex Description bump regex with semver Node Version >= 4.0.0bump regex with semver
$ npm install --save bump-regex
var bump = require('bump-regex'); bump('version: "0.1.2"', function(err, out) { // => 'version: "0.1.3"' });
Semver version type to bump
Type: `String`
Default: `patch`
Valid values: `major|minor|patch|prerelease|premajor|preminor|prepatch`
Set the versioning key
Type: `String`
Default: `version`
Sets multiple versioning keys.
Type: `Array` of `String`s
Default: null
Set case insensitive matching
This option enables matching a specific Case Sensitive selector
<xml> <version>nope</version> <Version>1.2.3</Version> </xml>
Type: `Boolean`
Default: `false`
Set a specific version to bump to.
Type: `String`
Default: `null`
Set the prerelase tag to use
Type: `String`
Default: `null`
Set the version selector regex
Keep the metadata of the old version after bumping (exception: you are using options.version)
Type: `Boolean`
Default: `false`
Example:
type: 'prerelease', preid : 'alphaWhateverTheYWant' // => '0.0.2-alphaWhateverTheYWant.0'
major: 1.0.0
minor: 0.1.0
patch: 0.0.2
prerelease: 0.0.1-2
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4