diff --git a/package.json b/package.json index db76d3e673..58941c7d79 100644 --- a/package.json +++ b/package.json @@ -113,7 +113,8 @@ "wrap-ansi": "9.0.2", "cliui": { "wrap-ansi": "7.0.0" - } + }, + "ansi-regex": "6.2.2" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ diff --git a/scripts/version.js b/scripts/version.js index 24b687f446..3d3a5e29c9 100644 --- a/scripts/version.js +++ b/scripts/version.js @@ -76,6 +76,8 @@ if (cliPackageJson.config?.sandboxImageUri) { } // 6. Run `npm install` to update package-lock.json. -run('npm install'); +run( + 'npm install --workspace packages/cli --workspace packages/core --package-lock-only', +); console.log(`Successfully bumped versions to v${newVersion}.`);