easy-soft-develop 2.0.181 → 2.0.183

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,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-develop",
3
- "version": "2.0.181",
3
+ "version": "2.0.183",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kityandhero/easy-soft-develop#readme",
6
6
  "bugs": {
@@ -255,14 +255,14 @@ function createLernaProject(name) {
255
255
 
256
256
  cd(`./${lernaName}`);
257
257
 
258
- if (!existDirectorySync(`./${lernaName}/.git`)) {
258
+ if (!existDirectorySync(`./.git`)) {
259
259
  exec('git init -b main');
260
260
 
261
- exec(`touch ./${lernaName}/README.md`);
261
+ writeFileSync('./README.md', '', { coverFile: false });
262
262
 
263
- exec('git add .');
263
+ exec('git add -A');
264
264
 
265
- exec("git commit -m 'Initial commit'");
265
+ exec('git commit -m "first commit"');
266
266
  }
267
267
 
268
268
  createLernaPackageJsonFile(lernaName);