create-zen 1.6.2 → 1.6.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/index.js +4 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -33,7 +33,7 @@ const displayHeader = () => {
|
|
|
33
33
|
console.clear();
|
|
34
34
|
console.log();
|
|
35
35
|
console.log(` ${zen('ZEN')} - ${title('The Professional Web Development Starter')}`);
|
|
36
|
-
console.log(` ${subtitle('v1.6.
|
|
36
|
+
console.log(` ${subtitle('v1.6.2')}`);
|
|
37
37
|
console.log();
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -51,11 +51,13 @@ const getProjectName = async () => {
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
+
console.log();
|
|
54
55
|
return projectName;
|
|
55
56
|
};
|
|
56
57
|
|
|
57
58
|
// Get project version with beautiful selection
|
|
58
59
|
const getProjectVersion = async () => {
|
|
60
|
+
console.log();
|
|
59
61
|
const { version } = await prompts({
|
|
60
62
|
type: 'select',
|
|
61
63
|
name: 'version',
|
|
@@ -73,6 +75,7 @@ const getProjectVersion = async () => {
|
|
|
73
75
|
initial: 0
|
|
74
76
|
});
|
|
75
77
|
|
|
78
|
+
console.log();
|
|
76
79
|
return version === 'lite';
|
|
77
80
|
};
|
|
78
81
|
|