@base44-preview/cli 0.0.19-pr.122.3a5a833 → 0.0.19-pr.122.7d06354
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 +8 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38083,16 +38083,14 @@ async function createInteractive(options) {
|
|
|
38083
38083
|
message: "Pick a template",
|
|
38084
38084
|
options: templateOptions
|
|
38085
38085
|
}),
|
|
38086
|
-
name: () => {
|
|
38087
|
-
|
|
38088
|
-
|
|
38089
|
-
|
|
38090
|
-
|
|
38091
|
-
|
|
38092
|
-
|
|
38093
|
-
|
|
38094
|
-
});
|
|
38095
|
-
},
|
|
38086
|
+
name: () => he({
|
|
38087
|
+
message: "What is the name of your project?",
|
|
38088
|
+
placeholder: basename(process.cwd()),
|
|
38089
|
+
initialValue: basename(process.cwd()),
|
|
38090
|
+
validate: (value) => {
|
|
38091
|
+
if (!value || value.trim().length === 0) return "Every project deserves a name";
|
|
38092
|
+
}
|
|
38093
|
+
}),
|
|
38096
38094
|
projectPath: async ({ results }) => {
|
|
38097
38095
|
const suggestedPath = await isDirEmpty() ? `./` : `./${(0, import_lodash.default)(results.name)}`;
|
|
38098
38096
|
return he({
|