8000 fix(run): resolve erroneous failures (#3495) · lerna/lerna@24d0d5c · GitHub
[go: up one dir, main page]

Skip to content

Commit 24d0d5c

Browse files
authored
fix(run): resolve erroneous failures (#3495)
1 parent 4688f9d commit 24d0d5c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

commands/run/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@lerna/timer": "file:../../utils/timer",
4343
"@lerna/validation-error": "file:../../core/validation-error",
4444
"fs-extra": "^9.1.0",
45-
"nx": ">=14.8.6 < 16",
45+
"nx": ">=15.4.2 < 16",
4646
"p-map": "^4.0.0"
4747
}
4848
}

core/lerna/commands/repair/index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,13 @@ class RepairCommand extends Command {
3535
});
3636
});
3737

38-
await repair({ verbose }, lernaMigrations);
38+
// await repair({ verbose }, lernaMigrations);
39+
40+
// fake the success case until nx repair no longer depends on nx.json's existence
41+
// eslint-disable-next-line global-require
42+
require("nx/src/utils/output").output.success({
43+
title: `No changes were necessary. This workspace is up to date!`,
44+
});
3945
}
4046

4147
configureNxOutput() {

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0