Skip to content

Commit 184979b

Browse files
committed
feat: add a package-lock update step
1 parent f8ff157 commit 184979b

File tree

1 file changed

+7
-0
lines changed
  • packages/build/src/npm-packages

1 file changed

+7
-0
lines changed

packages/build/src/npm-packages/bump.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,13 @@ export async function bumpMongoshReleasePackages(
6666
}
6767

6868
await updateShellApiMongoshVersionFn(version);
69+
70+
// Update package-lock.json
71+
spawnSync('npm', ['install', '--package-lock-only'], {
72+
stdio: 'inherit',
73+
cwd: monorepoRootPath,
74+
encoding: 'utf8',
75+
});
6976
}
7077

7178
/** Updates the shell-api constant to match the mongosh version. */

0 commit comments

Comments
 (0)