diff --git a/packages/js/src/generators/release-version/utils/update-lock-file.ts b/packages/js/src/generators/release-version/utils/update-lock-file.ts index 0ed23f78dd84f..9eb4c5ffa65bb 100644 --- a/packages/js/src/generators/release-version/utils/update-lock-file.ts +++ b/packages/js/src/generators/release-version/utils/update-lock-file.ts @@ -47,8 +47,8 @@ export async function updateLockFile( } const isDaemonEnabled = daemonClient.enabled(); - if (isDaemonEnabled) { - // temporarily stop the daemon, as it will error if the lock file is updated + if (!dryRun && isDaemonEnabled) { + // if not in dry-run temporarily stop the daemon, as it will error if the lock file is updated await daemonClient.stop(); }