From eb0e9c79a0e423a22f1f7a00a37f0c08161eb97c Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 14 Dec 2022 12:16:19 +0100 Subject: [PATCH] Upgrade sb dep as well in sb upgrade --- code/lib/cli/src/upgrade.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/lib/cli/src/upgrade.ts b/code/lib/cli/src/upgrade.ts index 7e88d22f5fab..957b986c3ac3 100644 --- a/code/lib/cli/src/upgrade.ts +++ b/code/lib/cli/src/upgrade.ts @@ -192,6 +192,12 @@ export const doUpgrade = async ({ }).output.toString(); logger.info(check); + const checkSb = spawnSync('npx', ['npm-check-updates@latest', 'sb', ...flags], { + stdio: 'pipe', + shell: true, + }).output.toString(); + logger.info(checkSb); + if (!dryRun) { commandLog(`Installing upgrades`); packageManager.installDependencies();