Skip to content

Commit 4db688e

Browse files
committed
Expand local secret and log ignores
Cover credential files, cloud state, local databases, caches, logs, and release scratch artifacts at the repository root.
1 parent 5a47d94 commit 4db688e

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

.gitignore

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ test-results/
1414
playwright-report/
1515
__pycache__/
1616
*.py[cod]
17+
.pytest_cache/
18+
.nyc_output/
19+
.vitest/
1720

1821
# Turborepo
1922
.turbo/
@@ -22,6 +25,8 @@ out/
2225

2326
# Logs
2427
*.log
28+
*.log.*
29+
logs/
2530
npm-debug.log*
2631
pnpm-debug.log*
2732
yarn-debug.log*
@@ -30,11 +35,37 @@ yarn-error.log*
3035
# Env files (never commit secrets). Sanitized example templates are allowed.
3136
.env
3237
.env.*
38+
.envrc
3339
!.env.example
3440
!.env*.example
3541
# Smoke-test scratch env created by packages/core/scripts/docker-smoke-test.sh.
3642
.env.docker-smoke-test
3743

44+
# Credentials / private keys
45+
.npmrc
46+
.yarnrc.yml
47+
*.pem
48+
*.key
49+
*.p8
50+
*.p12
51+
*.pfx
52+
id_rsa*
53+
id_ed25519*
54+
credentials.json
55+
service-account*.json
56+
57+
# Cloud / deployment local state
58+
.aws/
59+
.azure/
60+
.gcp/
61+
.kube/
62+
*.tfstate
63+
*.tfstate.*
64+
*.tfvars
65+
*.tfvars.json
66+
terraform.tfvars
67+
docker-compose.override.yml
68+
3869
# OS / editor
3970
.DS_Store
4071
Thumbs.db
@@ -46,7 +77,24 @@ Thumbs.db
4677
# Local-only scratch
4778
.tmp/
4879
tmp/
80+
temp/
81+
*.tmp
82+
*.temp
4983
*.local
84+
commit-message.txt
85+
pr-description.md
86+
87+
# Local databases / dumps
88+
*.db
89+
*.sqlite
90+
*.sqlite3
91+
*.dump
92+
*.backup
93+
94+
# Local caches / package artifacts
95+
.cache/
96+
.tsup/
97+
*.tgz
5098

5199
# Local raw-storage filesystem data (RAW_STORAGE_LOCAL_FS_ROOT defaults).
52100
data/raw-storage/

0 commit comments

Comments
 (0)