Skip to content

Commit 5ecb076

Browse files
committed
run npm install with package lock only flag to sync deps
1 parent 50191cc commit 5ecb076

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dist/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -41797,12 +41797,12 @@ function migrate(keepMigrationsFile) {
4179741797
yield (0, exec_1.exec)('npx nx migrate latest', [], {
4179841798
env: Object.assign(Object.assign({}, process.env), { npm_config_yes: String(true) })
4179941799
});
41800-
yield (0, exec_1.exec)('npm i');
41800+
yield (0, exec_1.exec)('npm install');
4180141801
yield (0, exec_1.exec)('npx nx migrate --run-migrations=migrations.json --create-commits', [], {
4180241802
env: Object.assign(Object.assign({}, process.env), { npm_config_yes: String(true), NX_MIGRATE_SKIP_INSTALL: String(true) })
4180341803
});
4180441804
// sometimes migrations change packages without installing them, so naivly install dependencies here again
41805-
yield (0, exec_1.exec)('npm i');
41805+
yield (0, exec_1.exec)('npm install --package-lock-only');
4180641806
if (!keepMigrationsFile) {
4180741807
fs_1.default.unlinkSync('./migrations.json');
4180841808
}

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)