Skip to content

Commit d8d5c4e

Browse files
committed
refactor: reorganize .gitignore for clarity and consistency
1 parent 36aec43 commit d8d5c4e

File tree

1 file changed

+18
-67
lines changed

1 file changed

+18
-67
lines changed

.gitignore

Lines changed: 18 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -5,88 +5,39 @@
55
*.swo
66
*~
77

8-
# OS generated files
8+
# OS files
99
.DS_Store
1010
.DS_Store?
1111
._*
1212
.Spotlight-V100
1313
.Trashes
14-
ehthumbs.db
1514
Thumbs.db
15+
ehthumbs.db
16+
Desktop.ini
1617

17-
# Node modules and build artifacts
18-
node_modules/
19-
npm-debug.log*
20-
yarn-debug.log*
21-
yarn-error.log*
22-
.npm
23-
.yarn-integrity
24-
25-
# Build outputs (but keep plugin assets)
26-
build/
27-
*.min.js
28-
*.min.css
29-
30-
# Exclude dist/ except for plugin assets
31-
dist/
32-
!src/web/assets/*/dist/
18+
# Dependencies
19+
/node_modules/
20+
/vendor/
3321

34-
# Logs
35-
/logs/
22+
# Build artifacts
3623
npm-debug.log*
3724
yarn-debug.log*
3825
yarn-error.log*
39-
lerna-debug.log*
40-
41-
# Runtime data
42-
pids
43-
*.pid
44-
*.seed
45-
*.pid.lock
46-
47-
# Coverage directory used by tools like istanbul
48-
coverage/
49-
*.lcov
50-
51-
# nyc test coverage
52-
.nyc_output
5326

54-
# Dependency directories
55-
jspm_packages/
56-
57-
# Optional npm cache directory
58-
.npm
59-
60-
# Optional eslint cache
61-
.eslintcache
62-
63-
# Optional REPL history
64-
.node_repl_history
65-
66-
# Output of 'npm pack'
67-
*.tgz
68-
69-
# Yarn Integrity file
70-
.yarn-integrity
71-
72-
# dotenv environment variables file
27+
# Environment files
7328
.env
74-
.env.test
75-
.env.local
76-
.env.production
29+
.env.*
30+
!.env.example
7731

78-
# Temporary folders
79-
tmp/
80-
temp/
32+
# Temporary files
33+
/tmp/
34+
/temp/
8135

82-
# Craft CMS specific
83-
storage/
84-
web/uploads/
85-
web/cpresources/
36+
# Development files
37+
TODO.md
38+
FREEMIUM_PLAN.md
8639

87-
# Plugin specific
40+
# Plugin releases
8841
*.zip
89-
releases/
90-
TODO.md
42+
/releases/
9143
/backups/
92-
FREEMIUM_PLAN.md

0 commit comments

Comments
 (0)