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