Skip to content

Commit

Permalink
Update .gitignore files in create-svelte package to ignore all dotfil…
Browse files Browse the repository at this point in the history
…es with a prefix of .env (#2905)

* Update .gitignore files in create-svelte package to ignore all dotfiles with a prefix of .env

* Git ignore .env and .env.* files in create-svelte templates rather than all files beginning with .env

* Add changeset

* Git ignore .env and .env.* files in create-svelte skeleton project template rather than all files beginning with .env
  • Loading branch information
kellenmace authored Nov 24, 2021
1 parent 9208ba3 commit c6b9ee4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/pretty-snakes-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

Git ignore files with a .env. prefix
1 change: 1 addition & 0 deletions packages/create-svelte/templates/default/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ node_modules
/.svelte-kit
/package
.env
.env.*
.vercel
.output
1 change: 1 addition & 0 deletions packages/create-svelte/templates/skeleton/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
/.svelte-kit
/package
.env
.env.*

0 comments on commit c6b9ee4

Please sign in to comment.