easy-soft-develop 2.0.182 → 2.0.184
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
|
@@ -256,13 +256,17 @@ function createLernaProject(name) {
|
|
|
256
256
|
cd(`./${lernaName}`);
|
|
257
257
|
|
|
258
258
|
if (!existDirectorySync(`./.git`)) {
|
|
259
|
+
promptInfo(`step *: init git success`);
|
|
260
|
+
|
|
259
261
|
exec('git init -b main');
|
|
260
262
|
|
|
261
263
|
writeFileSync('./README.md', '', { coverFile: false });
|
|
262
264
|
|
|
263
265
|
exec('git add -A');
|
|
264
266
|
|
|
265
|
-
exec(
|
|
267
|
+
exec('git commit -m "first commit"');
|
|
268
|
+
|
|
269
|
+
promptEmptyLine();
|
|
266
270
|
}
|
|
267
271
|
|
|
268
272
|
createLernaPackageJsonFile(lernaName);
|