easy-soft-develop 2.0.187 → 2.0.189
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
|
@@ -260,12 +260,18 @@ function createLernaProject(name) {
|
|
|
260
260
|
if (!existDirectorySync(`./.git`)) {
|
|
261
261
|
promptSuccess(`step *: init git(branch main) success`);
|
|
262
262
|
|
|
263
|
+
promptInfo('step 1: git init -b main');
|
|
263
264
|
exec('git init -b main');
|
|
264
265
|
|
|
266
|
+
promptEmptyLine();
|
|
267
|
+
|
|
268
|
+
promptInfo('step 2: create README.md');
|
|
265
269
|
writeFileSync('./README.md', '', { coverFile: false });
|
|
266
270
|
|
|
271
|
+
promptInfo('step 3: git add -A');
|
|
267
272
|
exec('git add -A');
|
|
268
273
|
|
|
274
|
+
promptInfo('step 4: git commit -m "first commit"');
|
|
269
275
|
exec('git commit -m "first commit"');
|
|
270
276
|
|
|
271
277
|
promptEmptyLine();
|