From 57de1eb9d3fb16b27dd85c16da3d063194d0b6de Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sun, 4 Apr 2021 15:41:08 +0800 Subject: [PATCH] fix(create-vant-cli-app): missing .gitignore --- .gitignore | 11 ++++++++--- .../generators/vue2/{.gitignore => .gitignore.tpl} | 0 .../generators/vue3/{.gitignore => .gitignore.tpl} | 14 ++++++++++---- .../generators/vue3/.husky/.gitignore | 1 - 4 files changed, 18 insertions(+), 8 deletions(-) rename packages/create-vant-cli-app/generators/vue2/{.gitignore => .gitignore.tpl} (100%) rename packages/create-vant-cli-app/generators/vue3/{.gitignore => .gitignore.tpl} (69%) delete mode 100644 packages/create-vant-cli-app/generators/vue3/.husky/.gitignore diff --git a/.gitignore b/.gitignore index 3aaecddc0..b9584dfaa 100644 --- a/.gitignore +++ b/.gitignore @@ -8,11 +8,16 @@ node_modules package-lock.json +# husky +**/.husky/_ + +# test +test/coverage + # dist file es lib dist -/site -changelog.generated.md -test/coverage vetur +site +changelog.generated.md diff --git a/packages/create-vant-cli-app/generators/vue2/.gitignore b/packages/create-vant-cli-app/generators/vue2/.gitignore.tpl similarity index 100% rename from packages/create-vant-cli-app/generators/vue2/.gitignore rename to packages/create-vant-cli-app/generators/vue2/.gitignore.tpl diff --git a/packages/create-vant-cli-app/generators/vue3/.gitignore b/packages/create-vant-cli-app/generators/vue3/.gitignore.tpl similarity index 69% rename from packages/create-vant-cli-app/generators/vue3/.gitignore rename to packages/create-vant-cli-app/generators/vue3/.gitignore.tpl index 8159d27da..b9584dfaa 100644 --- a/packages/create-vant-cli-app/generators/vue3/.gitignore +++ b/packages/create-vant-cli-app/generators/vue3/.gitignore.tpl @@ -8,10 +8,16 @@ node_modules package-lock.json -# dist file -es -lib -site +# husky +**/.husky/_ # test test/coverage + +# dist file +es +lib +dist +vetur +site +changelog.generated.md diff --git a/packages/create-vant-cli-app/generators/vue3/.husky/.gitignore b/packages/create-vant-cli-app/generators/vue3/.husky/.gitignore deleted file mode 100644 index 31354ec13..000000000 --- a/packages/create-vant-cli-app/generators/vue3/.husky/.gitignore +++ /dev/null @@ -1 +0,0 @@ -_