pruny 1.44.9 → 1.45.0
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/dist/index.js +9 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17953,6 +17953,7 @@ Analyzing cascading impact...`));
|
|
|
17953
17953
|
const title = count > 0 ? `\uD83D\uDD17 Broken Internal Links (${count})` : `✅ Internal Links (0) - All good!`;
|
|
17954
17954
|
choices.push({ title, value: "broken-links" });
|
|
17955
17955
|
}
|
|
17956
|
+
choices.push({ title: source_default.blue("\uD83D\uDD04 Rescan"), value: "rescan" });
|
|
17956
17957
|
if (showBack) {
|
|
17957
17958
|
choices.push({ title: source_default.cyan("← Back"), value: "back" });
|
|
17958
17959
|
}
|
|
@@ -17986,6 +17987,14 @@ Analyzing cascading impact...`));
|
|
|
17986
17987
|
if (selected === "back") {
|
|
17987
17988
|
return "back";
|
|
17988
17989
|
}
|
|
17990
|
+
if (selected === "rescan") {
|
|
17991
|
+
console.log(source_default.blue(`
|
|
17992
|
+
\uD83D\uDD04 Rescanning...
|
|
17993
|
+
`));
|
|
17994
|
+
const fresh = await scan(config);
|
|
17995
|
+
Object.assign(result, fresh);
|
|
17996
|
+
continue;
|
|
17997
|
+
}
|
|
17989
17998
|
let action = "delete";
|
|
17990
17999
|
if (!options.cleanup && !process.env.AUTO_FIX_EXPORTS) {
|
|
17991
18000
|
const actionResponse = await import_prompts.default({
|