Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAaron Tribou <tribou@users.noreply.github.com>2018-07-11 02:05:05 +0300
committerKat Marchán <kzm@zkat.tech>2018-07-11 02:05:05 +0300
commit7984206e2f41b8d8361229cde88d68f0c96ed0b8 (patch)
treefea8b2a9b385d798f0b30067e83dc85d91c3cfd5 /doc
parent244b18380ee55950b13c293722771130dbad70de (diff)
version: Add new sign-git-commit config (#12697)
PR-URL: https://github.com/npm/npm/pull/12697 Credit: @tribou Reviewed-By: @zkat
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/npm-config.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md
index 8d4393318..45aaf9be9 100644
--- a/doc/misc/npm-config.md
+++ b/doc/misc/npm-config.md
@@ -1034,6 +1034,17 @@ will also prevent _writing_ `npm-shrinkwrap.json` if `save` is true.
This option is an alias for `--package-lock`.
+### sign-git-commit
+
+* Default: false
+* Type: Boolean
+
+If set to true, then the `npm version` command will commit the new package
+version using `-S` to add a signature.
+
+Note that git requires you to have set up GPG keys in your git configs
+for this to work properly.
+
### sign-git-tag
* Default: false