Skip to content

Commit 591f884

Browse files
committed
scripts: run 'npm install' after updating versions
1 parent 9d9f3b1 commit 591f884

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/src/release.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ function updateVersionFiles(version: string): void {
217217

218218
writeFileSync(versionsPath, `${JSON.stringify(sortedVersions, null, 2)}\n`);
219219
logCompleted("Updated version files");
220+
221+
logStarted("Running npm install to update package-lock.json...");
222+
exec("npm install", { cwd: REPO_ROOT });
223+
logCompleted("Updated package-lock.json");
220224
}
221225

222226
function createAndPushPR(version: string): string {

0 commit comments

Comments
 (0)