diff options
-rw-r--r-- | docs/content/commands/npm-version.md | 3 | ||||
-rw-r--r-- | docs/content/using-npm/config.md | 3 | ||||
-rw-r--r-- | lib/utils/config/definitions.js | 3 | ||||
-rw-r--r-- | tap-snapshots/test/lib/utils/config/definitions.js.test.cjs | 3 | ||||
-rw-r--r-- | tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/docs/content/commands/npm-version.md b/docs/content/commands/npm-version.md index b53dd64ae..86e2ce90e 100644 --- a/docs/content/commands/npm-version.md +++ b/docs/content/commands/npm-version.md @@ -52,7 +52,8 @@ Run git commit hooks when using the `npm version` command. * Default: true * Type: Boolean -Tag the commit when using the `npm version` command. +Tag the commit when using the `npm version` command. Setting this to false +results in no commit being made at all. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md index 9fbb61456..b2e60a742 100644 --- a/docs/content/using-npm/config.md +++ b/docs/content/using-npm/config.md @@ -677,7 +677,8 @@ but is not in the `PATH`, then set this to the full path to the git binary. * Default: true * Type: Boolean -Tag the commit when using the `npm version` command. +Tag the commit when using the `npm version` command. Setting this to false +results in no commit being made at all. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js index c5c129eb3..42795f1b6 100644 --- a/lib/utils/config/definitions.js +++ b/lib/utils/config/definitions.js @@ -798,7 +798,8 @@ define('git-tag-version', { default: true, type: Boolean, description: ` - Tag the commit when using the \`npm version\` command. + Tag the commit when using the \`npm version\` command. Setting this to + false results in no commit being made at all. `, flatten, }) diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs index d75d32d9b..6bb988d60 100644 --- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs @@ -715,7 +715,8 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for git-t * Default: true * Type: Boolean -Tag the commit when using the \`npm version\` command. +Tag the commit when using the \`npm version\` command. Setting this to false +results in no commit being made at all. ` exports[`test/lib/utils/config/definitions.js TAP > config description for global 1`] = ` diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs index 27b8278fd..e4357158d 100644 --- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs +++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs @@ -551,7 +551,8 @@ but is not in the \`PATH\`, then set this to the full path to the git binary. * Default: true * Type: Boolean -Tag the commit when using the \`npm version\` command. +Tag the commit when using the \`npm version\` command. Setting this to false +results in no commit being made at all. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> |