From 7984206e2f41b8d8361229cde88d68f0c96ed0b8 Mon Sep 17 00:00:00 2001 From: Aaron Tribou Date: Tue, 10 Jul 2018 18:05:05 -0500 Subject: version: Add new sign-git-commit config (#12697) PR-URL: https://github.com/npm/npm/pull/12697 Credit: @tribou Reviewed-By: @zkat --- doc/misc/npm-config.md | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3