@rainy-updates/cli 0.5.1-rc.2 → 0.5.1-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/bin/cli.js +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.5.1-rc.3] - 2026-02-27
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Resolved false dirty-worktree failures in `--fix-pr` flows caused by early PR report file creation.
|
|
10
|
+
- `deps-report.md` generation now runs after fix-PR git automation checks/operations.
|
|
11
|
+
|
|
5
12
|
## [0.5.1-rc.2] - 2026-02-27
|
|
6
13
|
|
|
7
14
|
### Added
|
package/dist/bin/cli.js
CHANGED
|
@@ -67,10 +67,6 @@ async function main() {
|
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
69
|
const result = await runCommand(parsed);
|
|
70
|
-
if (parsed.options.prReportFile) {
|
|
71
|
-
const markdown = renderPrReport(result);
|
|
72
|
-
await writeFileAtomic(parsed.options.prReportFile, markdown + "\n");
|
|
73
|
-
}
|
|
74
70
|
if (parsed.options.fixPr && (parsed.command === "check" || parsed.command === "upgrade" || parsed.command === "ci")) {
|
|
75
71
|
result.summary.fixPrApplied = false;
|
|
76
72
|
result.summary.fixBranchName = parsed.options.fixBranch ?? "chore/rainy-updates";
|
|
@@ -87,13 +83,17 @@ async function main() {
|
|
|
87
83
|
}
|
|
88
84
|
}
|
|
89
85
|
else {
|
|
90
|
-
const fixResult = await applyFixPr(parsed.options, result,
|
|
86
|
+
const fixResult = await applyFixPr(parsed.options, result, []);
|
|
91
87
|
result.summary.fixPrApplied = fixResult.applied;
|
|
92
88
|
result.summary.fixBranchName = fixResult.branchName ?? "";
|
|
93
89
|
result.summary.fixCommitSha = fixResult.commitSha ?? "";
|
|
94
90
|
result.summary.fixPrBranchesCreated = fixResult.applied ? 1 : 0;
|
|
95
91
|
}
|
|
96
92
|
}
|
|
93
|
+
if (parsed.options.prReportFile) {
|
|
94
|
+
const markdown = renderPrReport(result);
|
|
95
|
+
await writeFileAtomic(parsed.options.prReportFile, markdown + "\n");
|
|
96
|
+
}
|
|
97
97
|
result.summary.failReason = resolveFailReason(result.updates, result.errors, parsed.options.failOn, parsed.options.maxUpdates, parsed.options.ci);
|
|
98
98
|
const renderStartedAt = Date.now();
|
|
99
99
|
let rendered = renderResult(result, parsed.options.format);
|