ccjk 3.0.2 → 3.0.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/dist/chunks/doctor.mjs
CHANGED
|
@@ -501,18 +501,8 @@ async function runWorkspaceWizard(targetDir) {
|
|
|
501
501
|
}
|
|
502
502
|
return;
|
|
503
503
|
}
|
|
504
|
-
const { shouldFix } = await inquirer.prompt([
|
|
505
|
-
{
|
|
506
|
-
type: "confirm",
|
|
507
|
-
name: "shouldFix",
|
|
508
|
-
message: t("workspace:wizard.askFix", { count: fixableChecks.length }),
|
|
509
|
-
default: true
|
|
510
|
-
}
|
|
511
|
-
]);
|
|
512
|
-
if (!shouldFix) {
|
|
513
|
-
return;
|
|
514
|
-
}
|
|
515
504
|
console.log("");
|
|
505
|
+
console.log(ansis.green(t("workspace:wizard.autoFixing", { count: fixableChecks.length })));
|
|
516
506
|
for (const check of fixableChecks) {
|
|
517
507
|
const spinner = ora(`${t("workspace:wizard.fixing")} ${check.name}...`).start();
|
|
518
508
|
try {
|
package/dist/chunks/package.mjs
CHANGED
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"wizard.allGood": "All checks passed, nothing to fix!",
|
|
82
82
|
"wizard.manualFix": "Some issues cannot be auto-fixed, please handle manually",
|
|
83
83
|
"wizard.askFix": "Found {{count}} fixable issue(s). Auto-fix them?",
|
|
84
|
+
"wizard.autoFixing": "Auto-fixing {{count}} issue(s)...",
|
|
84
85
|
"wizard.fixing": "Fixing",
|
|
85
86
|
"wizard.fixed": "fixed",
|
|
86
87
|
"wizard.fixFailed": "fix failed",
|
|
@@ -81,6 +81,7 @@
|
|
|
81
81
|
"wizard.allGood": "所有检查通过,无需修复!",
|
|
82
82
|
"wizard.manualFix": "存在无法自动修复的问题,请手动处理",
|
|
83
83
|
"wizard.askFix": "发现 {{count}} 个可修复的问题,是否自动修复?",
|
|
84
|
+
"wizard.autoFixing": "正在自动修复 {{count}} 个问题...",
|
|
84
85
|
"wizard.fixing": "正在修复",
|
|
85
86
|
"wizard.fixed": "已修复",
|
|
86
87
|
"wizard.fixFailed": "修复失败",
|
package/package.json
CHANGED