diff --git a/index.js b/index.js index 764602aad..dbc946299 100644 --- a/index.js +++ b/index.js @@ -197,6 +197,10 @@ const pkg = getPackageJson(); return; } + // disable npm fund message, because that would break the output + // -ws/iwr needed for workspaces https://github.com/npm/cli/issues/6099#issuecomment-1961995288 + await runInWorkspace('npm', ['config', 'set', 'fund', 'false', '-ws=false', '-iwr']); + // do it in the current checked out github branch (DETACHED HEAD) // important for further usage of the package.json version await runInWorkspace('npm', ['version', '--allow-same-version=true', '--git-tag-version=false', current]);