From 08964863dd3409c31d035dacfc8196676ea68ee9 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Thu, 25 Sep 2025 22:22:57 -0700 Subject: [PATCH] feat: Add ansi-regex override and refine npm install in version script --- package.json | 3 ++- scripts/version.js | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) 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}.`);