From 14e7beceddd64505f7d362095d569061e34c7f4e Mon Sep 17 00:00:00 2001 From: KillianHmyd Date: Fri, 13 May 2022 15:11:18 +0200 Subject: [PATCH] fix: do not update workspaces when applying new version --- lib/prepare.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/prepare.js b/lib/prepare.js index d232eb21..6fb1f1a1 100644 --- a/lib/prepare.js +++ b/lib/prepare.js @@ -9,7 +9,15 @@ module.exports = async (npmrc, {tarballDir, pkgRoot}, {cwd, env, stdout, stderr, const versionResult = execa( 'npm', - ['version', version, '--userconfig', npmrc, '--no-git-tag-version', '--allow-same-version'], + [ + 'version', + version, + '--userconfig', + npmrc, + '--no-git-tag-version', + '--allow-same-version', + '--no-workspaces-update', + ], { cwd: basePath, env,