diff --git a/readme.md b/readme.md index 0cb0d4d2..632c669f 100644 --- a/readme.md +++ b/readme.md @@ -170,6 +170,8 @@ Or set the [`version-sign-git-tag`](https://yarnpkg.com/lang/en/docs/cli/version $ yarn config set version-sign-git-tag true ``` +`np` supports all kinds of GPG password prompts (console or GUI prompt). + ### Private packages diff --git a/source/index.js b/source/index.js index 3d5be812..ed51e802 100644 --- a/source/index.js +++ b/source/index.js @@ -172,7 +172,10 @@ module.exports = async (input = 'patch', options) => { return `[Preview] Command not executed: yarn version --new-version ${input}.`; } }, - task: () => exec('yarn', ['version', '--new-version', input]) + task: () => exec('yarn', ['version', '--new-version', input]), + options: { + suspendUpdateRenderer: true + } }, { title: 'Bumping version using npm', @@ -182,7 +185,10 @@ module.exports = async (input = 'patch', options) => { return `[Preview] Command not executed: npm version ${input}.`; } }, - task: () => exec('npm', ['version', input]) + task: () => exec('npm', ['version', input]), + options: { + suspendUpdateRenderer: true + } } ]);