create-claude-kanban 3.2.0 → 3.2.1
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 +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -666,13 +666,13 @@ async function promptProjectInfo() {
|
|
|
666
666
|
const name = await p.text({
|
|
667
667
|
message: t("projectInfo.nameMsg"),
|
|
668
668
|
placeholder: "MyProject",
|
|
669
|
-
validate: (v) => v.trim() ? void 0 : t("projectInfo.nameValidation")
|
|
669
|
+
validate: (v) => (v ?? "").trim() ? void 0 : t("projectInfo.nameValidation")
|
|
670
670
|
});
|
|
671
671
|
if (p.isCancel(name)) return null;
|
|
672
672
|
const description = await p.text({
|
|
673
673
|
message: t("projectInfo.descMsg"),
|
|
674
674
|
placeholder: t("projectInfo.descPlaceholder"),
|
|
675
|
-
validate: (v) => v.trim() ? void 0 : t("projectInfo.descValidation")
|
|
675
|
+
validate: (v) => (v ?? "").trim() ? void 0 : t("projectInfo.descValidation")
|
|
676
676
|
});
|
|
677
677
|
if (p.isCancel(description)) return null;
|
|
678
678
|
const types = await p.multiselect({
|
|
@@ -1123,7 +1123,7 @@ async function promptContextFiles(targetDir) {
|
|
|
1123
1123
|
const docPath = await p3.text({
|
|
1124
1124
|
message: t("contextFiles.docPathMsg", { type: docType }),
|
|
1125
1125
|
placeholder: `./docs/${docType}`,
|
|
1126
|
-
validate: (v) => v.trim() ? void 0 : t("contextFiles.docPathValidation")
|
|
1126
|
+
validate: (v) => (v ?? "").trim() ? void 0 : t("contextFiles.docPathValidation")
|
|
1127
1127
|
});
|
|
1128
1128
|
if (p3.isCancel(docPath)) return null;
|
|
1129
1129
|
referenceDocs.push({ type: docType, path: docPath.trim() });
|
|
@@ -1255,7 +1255,7 @@ async function promptOrchestrator(projectName) {
|
|
|
1255
1255
|
const goals = await p5.text({
|
|
1256
1256
|
message: t("orchestrator.goalsMsg", { name: projectName }),
|
|
1257
1257
|
placeholder: t("orchestrator.goalsPlaceholder"),
|
|
1258
|
-
validate: (v) => v.trim() ? void 0 : t("orchestrator.goalsValidation")
|
|
1258
|
+
validate: (v) => (v ?? "").trim() ? void 0 : t("orchestrator.goalsValidation")
|
|
1259
1259
|
});
|
|
1260
1260
|
if (p5.isCancel(goals)) return null;
|
|
1261
1261
|
const stage = await p5.select({
|
|
@@ -1305,7 +1305,7 @@ async function promptMultiProject() {
|
|
|
1305
1305
|
const name = await p6.text({
|
|
1306
1306
|
message: t("multiProject.nameMsg"),
|
|
1307
1307
|
placeholder: t("multiProject.namePlaceholder"),
|
|
1308
|
-
validate: (v) => v.trim() ? void 0 : t("multiProject.nameValidation")
|
|
1308
|
+
validate: (v) => (v ?? "").trim() ? void 0 : t("multiProject.nameValidation")
|
|
1309
1309
|
});
|
|
1310
1310
|
if (p6.isCancel(name)) return null;
|
|
1311
1311
|
const desc = await p6.text({
|