@chappibunny/repolens 1.9.10 โ 1.9.12
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 +12 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/cli.js +8 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to RepoLens will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 1.9.12
|
|
6
|
+
|
|
7
|
+
### ๐ Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **PR comment failure no longer crashes publish**: 403 errors from `upsertPrComment` are now caught and logged as warnings instead of crashing the entire workflow
|
|
10
|
+
|
|
11
|
+
## 1.9.11
|
|
12
|
+
|
|
13
|
+
### ๐ Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **Fixed uninstall hang**: Refactored to use `promptYesNo` helper instead of raw readline (stdin was not properly closing)
|
|
16
|
+
|
|
5
17
|
## 1.9.10
|
|
6
18
|
|
|
7
19
|
### ๐น Documentation
|
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
RepoLens scans your repository, generates living architecture documentation, and publishes it to Notion, Confluence, GitHub Wiki, or Markdown โ automatically on every push. Engineers get technical docs. Stakeholders get readable system overviews. Nobody writes a word.
|
|
19
19
|
|
|
20
|
-
> Stable as of v1.0 โ [API guarantees](docs/STABILITY.md) ยท [Security hardened](SECURITY.md) ยท v1.9.
|
|
20
|
+
> Stable as of v1.0 โ [API guarantees](docs/STABILITY.md) ยท [Security hardened](SECURITY.md) ยท v1.9.12
|
|
21
21
|
|
|
22
22
|
---
|
|
23
23
|
|
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -487,7 +487,12 @@ async function main() {
|
|
|
487
487
|
await publishDocs(cfg, renderedPages, scan, pluginManager);
|
|
488
488
|
stopTimer(publishTimer);
|
|
489
489
|
|
|
490
|
-
|
|
490
|
+
// PR comment is best-effort - don't fail the whole run if it errors
|
|
491
|
+
try {
|
|
492
|
+
await upsertPrComment(diffData);
|
|
493
|
+
} catch (prCommentErr) {
|
|
494
|
+
warn(`PR comment failed (non-blocking): ${prCommentErr.message}`);
|
|
495
|
+
}
|
|
491
496
|
info("โ Documentation published successfully");
|
|
492
497
|
|
|
493
498
|
const totalDuration = stopTimer(commandTimer);
|
|
@@ -672,13 +677,9 @@ async function main() {
|
|
|
672
677
|
if (isCI || isTest) {
|
|
673
678
|
info("\nCI/test environment detected โ skipping confirmation (use --force to suppress this message).");
|
|
674
679
|
} else {
|
|
675
|
-
const
|
|
676
|
-
const answer = await new Promise((resolve) => {
|
|
677
|
-
rl.question(`\nRemove ${found.length} item${found.length === 1 ? "" : "s"}? This cannot be undone. (y/N): `, resolve);
|
|
678
|
-
});
|
|
679
|
-
rl.close();
|
|
680
|
+
const confirmed = await promptYesNo(`\nRemove ${found.length} item${found.length === 1 ? "" : "s"}? This cannot be undone.`, false);
|
|
680
681
|
|
|
681
|
-
if (!
|
|
682
|
+
if (!confirmed) {
|
|
682
683
|
info("Uninstall cancelled.");
|
|
683
684
|
await closeTelemetry();
|
|
684
685
|
return;
|