From 083491fb42031fb95e6b5bb60ceeb11accbcd830 Mon Sep 17 00:00:00 2001 From: gtmnayan <50981692+gtm-nayan@users.noreply.github.com> Date: Sat, 4 Dec 2021 14:41:19 +0545 Subject: [PATCH] fix(create-svelte): do not gitignore .env.example (#2926) Co-authored-by: Nayan Gautam <50981692+698969@users.noreply.github.com> --- .changeset/perfect-experts-hammer.md | 5 +++++ packages/create-svelte/templates/default/.gitignore | 1 + packages/create-svelte/templates/skeleton/.gitignore | 1 + 3 files changed, 7 insertions(+) create mode 100644 .changeset/perfect-experts-hammer.md diff --git a/.changeset/perfect-experts-hammer.md b/.changeset/perfect-experts-hammer.md new file mode 100644 index 000000000000..1c535ae85f91 --- /dev/null +++ b/.changeset/perfect-experts-hammer.md @@ -0,0 +1,5 @@ +--- +'create-svelte': patch +--- + +Do not gitignore `.env.example` diff --git a/packages/create-svelte/templates/default/.gitignore b/packages/create-svelte/templates/default/.gitignore index 3e210b6e27f8..64007bdd2864 100644 --- a/packages/create-svelte/templates/default/.gitignore +++ b/packages/create-svelte/templates/default/.gitignore @@ -5,5 +5,6 @@ node_modules /package .env .env.* +!.env.example .vercel .output diff --git a/packages/create-svelte/templates/skeleton/.gitignore b/packages/create-svelte/templates/skeleton/.gitignore index bbde1f5040c3..f4401a32d242 100644 --- a/packages/create-svelte/templates/skeleton/.gitignore +++ b/packages/create-svelte/templates/skeleton/.gitignore @@ -5,3 +5,4 @@ node_modules /package .env .env.* +!.env.example