From e7ac46a0980e7da8f5effad7a3944cc615bca153 Mon Sep 17 00:00:00 2001 From: Philip Harrison Date: Wed, 19 Apr 2023 15:46:20 +0100 Subject: [PATCH 1/2] Update description for publish --provenance flag Update docs: https://docs.npmjs.com/cli/v9/commands/npm-publish?v=true#provenance --- lib/utils/config/definitions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js index 4b9eb1f64cbbd..c20a8cac77a86 100644 --- a/lib/utils/config/definitions.js +++ b/lib/utils/config/definitions.js @@ -1624,7 +1624,7 @@ define('provenance', { default: false, type: Boolean, description: ` - Indicates that a provenance statement should be generated. + When you publish from a supported cloud CI/CD system, this will publicly establish where the package was built and published from. `, flatten, }) From f425aba776892400463c02942476cc7e7ae62704 Mon Sep 17 00:00:00 2001 From: Philip Harrison Date: Wed, 19 Apr 2023 16:00:02 +0100 Subject: [PATCH 2/2] Update docs and snapshot Signed-off-by: Philip Harrison --- lib/utils/config/definitions.js | 3 ++- tap-snapshots/test/lib/docs.js.test.cjs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js index c20a8cac77a86..373989dbea0d5 100644 --- a/lib/utils/config/definitions.js +++ b/lib/utils/config/definitions.js @@ -1624,7 +1624,8 @@ define('provenance', { default: false, type: Boolean, description: ` - When you publish from a supported cloud CI/CD system, this will publicly establish where the package was built and published from. + When publishing from a supported cloud CI/CD system, the package will be + publicly linked to where it was built and published from. `, flatten, }) diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index c55de507787d0..a6dc3d3189ac8 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -1053,7 +1053,8 @@ Set to \`false\` to suppress the progress bar. * Default: false * Type: Boolean -Indicates that a provenance statement should be generated. +When publishing from a supported cloud CI/CD system, the package will be +publicly linked to where it was built and published from. #### \`proxy\`