Skip to content

Commit 8174f43

Browse files
committed
fixes nx migrate skip install env name
1 parent 8d282a2 commit 8174f43

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -41800,7 +41800,7 @@ function migrate(keepMigrationsFile, legacyPeerDeps) {
4180041800
env: Object.assign(Object.assign({}, process.env), { npm_config_legacy_peer_deps: String(legacyPeerDeps) })
4180141801
});
4180241802
yield (0, exec_1.exec)('npx nx migrate --run-migrations=migrations.json --create-commits', [], {
41803-
env: Object.assign(Object.assign({}, process.env), { npm_config_yes: String(true), nx_migrate_skip_install: String(true) })
41803+
env: Object.assign(Object.assign({}, process.env), { npm_config_yes: String(true), NX_MIGRATE_SKIP_INSTALL: String(true) })
4180441804
});
4180541805
// sometimes migrations change packages without installing them, so naivly install dependencies here again
4180641806
yield (0, exec_1.exec)('npm i', [], {

dist/index.js.map

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

src/nx-migrate.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export async function migrate(
2424
env: {
2525
...process.env,
2626
npm_config_yes: String(true),
27-
nx_migrate_skip_install: String(true)
27+
NX_MIGRATE_SKIP_INSTALL: String(true)
2828
}
2929
}
3030
)

0 commit comments

Comments
 (0)