-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved default gitignore regarding .env rules. (#2083)
* Improved default gitignore regarding .env rules. * Update web/docs/project/env-vars.md Co-authored-by: Mihovil Ilakovac <[email protected]> * Uncommented dotenv info in docs. * Updated gitignores of example apps. * Added to ChangeLog. --------- Co-authored-by: Mihovil Ilakovac <[email protected]>
- Loading branch information
Showing
16 changed files
with
126 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
/.wasp/ | ||
/.env.server | ||
/.env.client | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example | ||
|
||
# Local Netlify folder | ||
.netlify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
/.wasp/ | ||
/.env.server | ||
/.env.client | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
/.wasp/ | ||
/.env.server | ||
/.env.client | ||
.DS_Store | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
/.wasp/ | ||
/.env.server | ||
/.env.client | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
/.wasp/ | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
.wasp/ | ||
node_modules/ | ||
**/.DS_Store | ||
|
||
# We ignore env files recognized and used by Wasp. | ||
.env.server | ||
.env.client | ||
|
||
# To be extra safe, we by default ignore any files with `.env` extension in them. | ||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
*.env | ||
*.env.* | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
/.wasp/ | ||
/.env.server | ||
/.env.client | ||
/node_modules | ||
.wasp/ | ||
node_modules/ | ||
|
||
# We by default ignore any dotenv files to avoid committing any secrets by accident. | ||
# If this is too agressive for you, consider allowing specific files with `!` operator, | ||
# or modify/delete these two lines. | ||
.env | ||
.env.* | ||
# Don't ignore .env.client as it can't contain any secrets. | ||
!.env.client | ||
# Don't ignore example env files. | ||
!.env.example | ||
!.env.*.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters