easy-soft-develop 2.0.185 → 2.0.187
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/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
const { promptEmptyLine } = require('../tools/meta');
|
|
1
2
|
const {
|
|
2
3
|
createDevelopFiles,
|
|
3
4
|
createCommitlintConfigFile,
|
|
@@ -12,6 +13,8 @@ exports.run = function () {
|
|
|
12
13
|
'develop files update finish',
|
|
13
14
|
);
|
|
14
15
|
|
|
16
|
+
promptEmptyLine();
|
|
17
|
+
|
|
15
18
|
createCommitlintConfigFile();
|
|
16
19
|
createBabelConfigFile();
|
|
17
20
|
createNcuConfigFile();
|
|
@@ -562,9 +562,12 @@ initialEnvironment({
|
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
-
function createDevelopFiles(
|
|
565
|
+
function createDevelopFiles(
|
|
566
|
+
waitMessage = 'will create develop assist file, please wait a moment',
|
|
567
|
+
successMessage = '',
|
|
568
|
+
) {
|
|
566
569
|
if (!checkStringIsEmpty(waitMessage)) {
|
|
567
|
-
|
|
570
|
+
promptInfo(waitMessage);
|
|
568
571
|
}
|
|
569
572
|
|
|
570
573
|
mkdirSync(`./develop`);
|
|
@@ -684,8 +687,7 @@ function createDevelopFiles(waitMessage = '', successMessage = '') {
|
|
|
684
687
|
//#endregion
|
|
685
688
|
|
|
686
689
|
if (!checkStringIsEmpty(successMessage)) {
|
|
687
|
-
|
|
688
|
-
promptEmptyLine();
|
|
690
|
+
promptSuccess(successMessage);
|
|
689
691
|
}
|
|
690
692
|
}
|
|
691
693
|
|