@aslomon/effectum 0.3.1 → 0.3.2
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/bin/lib/ui.js +2 -6
- package/package.json +1 -1
package/bin/lib/ui.js
CHANGED
|
@@ -155,15 +155,11 @@ async function askAppType() {
|
|
|
155
155
|
*/
|
|
156
156
|
async function askDescription() {
|
|
157
157
|
const value = await p.text({
|
|
158
|
-
message: "Describe what you want to build (
|
|
158
|
+
message: "Describe what you want to build (optional, press Enter to skip)",
|
|
159
159
|
placeholder: "e.g. An internal CRM dashboard with auth and analytics",
|
|
160
|
-
validate: (v) => {
|
|
161
|
-
if (!v.trim())
|
|
162
|
-
return "A short description helps generate better recommendations";
|
|
163
|
-
},
|
|
164
160
|
});
|
|
165
161
|
handleCancel(value);
|
|
166
|
-
return value;
|
|
162
|
+
return value || "";
|
|
167
163
|
}
|
|
168
164
|
|
|
169
165
|
// ─── Step 5: Language ───────────────────────────────────────────────────────
|
package/package.json
CHANGED