diff --git a/index.js b/index.js index dd1899a..fdf727f 100755 --- a/index.js +++ b/index.js @@ -140,7 +140,21 @@ function sleep(num = 1) { console.log('[ooc-------]', '30%') fs.cp(join(root, './lib/common'), targetDir) - fs.cp(join(root, './lib/common/.gitignore'), targetDir) + fs.echo( + ` +dist +node_modules + +._* + +.Spotlight-V100 +.Trashes +.DS_Store +.AppleDouble +.LSOverride +`, + join(targetDir, '.gitignore') + ) console.log('[oooooc----]', '60%') { diff --git a/lib/common/.gitignore b/lib/common/.gitignore deleted file mode 100644 index d9dbfc1..0000000 --- a/lib/common/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ - -dist -node_modules - -._* - -.Spotlight-V100 -.Trashes -.DS_Store -.AppleDouble -.LSOverride - diff --git a/package.json b/package.json index 8352ec1..b16402a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "create-fite-app", "type": "module", - "version": "1.1.1", + "version": "1.1.2", "bin": { "create-fite-app": "index.js" },