diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-29 17:43:36 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-03-29 20:52:19 +0300 |
commit | a28f89572a708cced69cc938f877eaa969dbad9e (patch) | |
tree | f0116bd40f5a7376091e49c9104ec1178a3b5d2b /node_modules/libnpmversion | |
parent | a0d3d2b023d81df788462f3e51281d2db5086a76 (diff) |
libnpmversion@1.1.0
Diffstat (limited to 'node_modules/libnpmversion')
-rw-r--r-- | node_modules/libnpmversion/README.md | 5 | ||||
-rw-r--r-- | node_modules/libnpmversion/lib/index.js | 2 | ||||
-rw-r--r-- | node_modules/libnpmversion/package.json | 2 |
3 files changed, 8 insertions, 1 deletions
diff --git a/node_modules/libnpmversion/README.md b/node_modules/libnpmversion/README.md index daa0b8815..e82e7cd6f 100644 --- a/node_modules/libnpmversion/README.md +++ b/node_modules/libnpmversion/README.md @@ -25,6 +25,7 @@ npmVersion(arg, { signGitTag: false, // default false, gpg sign the git tag force: false, // push forward recklessly if any problems happen ignoreScripts: false, // do not run pre/post/version lifecycle scripts + scriptShell: '/bin/bash', // shell to run lifecycle scripts in message: 'v%s', // message for tag and commit, replace %s with the version }).then(newVersion => { console.error('version updated!', newVersion) @@ -149,6 +150,10 @@ Push forward recklessly if any problems happen. Default `false`. Do not run pre/post/version lifecycle scripts. Default `false`. +#### `scriptShell` String + +Path to the shell, which should execute the lifecycle scripts. Defaults to `/bin/sh` on unix, or `cmd.exe` on windows. + #### `message` String The message for the git commit and annotated git tag that are created. diff --git a/node_modules/libnpmversion/lib/index.js b/node_modules/libnpmversion/lib/index.js index c3f554834..683941cde 100644 --- a/node_modules/libnpmversion/lib/index.js +++ b/node_modules/libnpmversion/lib/index.js @@ -13,6 +13,7 @@ module.exports = async (newversion, opts = {}) => { signGitTag = false, force = false, ignoreScripts = false, + scriptShell = undefined, preid = null, log = proclog, message = 'v%s', @@ -31,6 +32,7 @@ module.exports = async (newversion, opts = {}) => { signGitTag, force, ignoreScripts, + scriptShell, preid, pkg, log, diff --git a/node_modules/libnpmversion/package.json b/node_modules/libnpmversion/package.json index 0135c21e7..30d94c7a1 100644 --- a/node_modules/libnpmversion/package.json +++ b/node_modules/libnpmversion/package.json @@ -1,6 +1,6 @@ { "name": "libnpmversion", - "version": "1.0.12", + "version": "1.1.0", "main": "lib/index.js", "files": [ "lib/*.js" |