Skip to content

Commit e491a88

Browse files
author
Jenner Torrence
committed
Update .gitignore for comprehensive cleanup
1 parent 5dfd21b commit e491a88

File tree

1 file changed

+147
-88
lines changed

1 file changed

+147
-88
lines changed

.gitignore

Lines changed: 147 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,163 @@
1-
# Dart/Flutter
1+
# Flutter installations (NEVER commit these)
2+
flutter/
3+
.flutter-env/
4+
flutter.tar.xz
5+
6+
# Build artifacts
7+
build/
28
.dart_tool/
9+
*.dill
10+
*.dill.track.dill
11+
cache.dill.*
12+
13+
# Debug outputs (keep tools, remove outputs)
14+
debug_output*.txt
15+
analysis_output.txtdart
16+
test_results/
17+
!test_results/README.md
18+
logs/
19+
*.log
20+
21+
# Generated files
22+
*.g.dart
23+
*.freezed.dart
24+
25+
# Lock files (debatable - you might want to keep pubspec.lock)
26+
pubspec.lock
27+
.packages
328
.flutter-plugins
429
.flutter-plugins-dependencies
5-
.packages
6-
.pub-cache/
7-
.pub/
8-
build/
9-
pubspec.lock
10-
coverage/
11-
.test_coverage.dart
12-
*.freezed.dart
13-
*.g.dart
1430

15-
# IDE
16-
.idea/
17-
.vscode/
18-
.vs/
19-
.classpath
20-
.project
21-
.settings/
31+
# IDE files
2232
*.iml
2333
*.iws
2434
*.ipr
35+
.idea/
36+
.vscode/settings.json
37+
.vscode/launch.json
38+
39+
# Temporary files
40+
tmp/
41+
temp/
42+
*.tmp
43+
*.temp
44+
*.swn
2545
*.swp
2646
*.swo
47+
*~
48+
*.bak
49+
*.backup
50+
.#*
2751

28-
# macOS
29-
.DS_Store
30-
.AppleDouble
31-
.LSOverride
32-
Icon
33-
._*
52+
# Keep debug tools
53+
!bfg.jar
54+
55+
# Cache files
56+
.aider.tags.cache.v4/
57+
.pub-preload-cache/
58+
incremental_kernel.*
59+
60+
# Large archives
61+
*.tar.gz
62+
*.tar.xz
63+
*.zip
64+
!assets/**/*.tar.gz # Allow if needed in assets
3465

35-
# Windows
66+
# Binary files (except gradle wrapper which is needed)
67+
*.exe
68+
*.dll
69+
*.so
70+
*.dylib
71+
72+
# OS files
73+
.DS_Store
3674
Thumbs.db
3775
ehthumbs.db
3876
Desktop.ini
3977
$RECYCLE.BIN/
4078

41-
# Linux
42-
*~
43-
.directory
44-
45-
# Example application generated files
46-
/example/.dart_tool/
47-
/example/build/
48-
/example/.packages
49-
/example/pubspec.lock
50-
/example/.flutter-plugins
51-
/example/.flutter-plugins-dependencies
52-
53-
# Android
54-
/android/app/debug.keystore
55-
/android/app/key.properties
56-
**/android/**/gradle-wrapper.jar
57-
**/android/.gradle
58-
**/android/captures/
59-
**/android/gradlew
60-
**/android/gradlew.bat
61-
**/android/local.properties
62-
**/android/**/GeneratedPluginRegistrant.*
63-
64-
# iOS
65-
**/ios/**/*.mode1v3
66-
**/ios/**/*.mode2v3
67-
**/ios/**/*.moved-aside
68-
**/ios/**/*.pbxuser
69-
**/ios/**/*.perspectivev3
70-
**/ios/**/*sync/
71-
**/ios/**/.sconsign.dblite
72-
**/ios/**/.tags*
73-
**/ios/**/.vagrant/
74-
**/ios/**/DerivedData/
75-
**/ios/**/Icon?
76-
**/ios/**/Pods/
77-
**/ios/**/.symlinks/
78-
**/ios/**/profile
79-
**/ios/**/xcuserdata
80-
**/ios/.generated/
81-
**/ios/Flutter/App.framework
82-
**/ios/Flutter/Flutter.framework
83-
**/ios/Flutter/Flutter.podspec
84-
**/ios/Flutter/Generated.xcconfig
85-
**/ios/Flutter/app.flx
86-
**/ios/Flutter/app.zip
87-
**/ios/Flutter/flutter_assets/
88-
**/ios/ServiceDefinitions.json
89-
**/ios/Runner/GeneratedPluginRegistrant.*
90-
91-
# Web
92-
**/web/**/lib/generated_plugin_registrant.dart
93-
94-
# Exclude original Structurizr code (Java, UI, JSON schema, etc.)
95-
lite/
96-
ui/
97-
json/
98-
**/CLAUDE.local.md
99-
100-
**/.claude/settings.local.json
101-
flutter.tar.xz
102-
test_results/last_run.txt
103-
flutter.tar.xz
104-
test_results/last_run.txt
79+
# Gradle (keep wrapper jars as they're needed)
80+
.gradle/
81+
**/build/
82+
!gradle-wrapper.jar
83+
84+
# Test coverage
85+
coverage/
86+
.test_coverage.dart
87+
lcov.info
88+
89+
# Documentation build
90+
docs/api/
91+
generated_docs/
92+
93+
# Environment and Secret Files
94+
.env
95+
.env.*
96+
!.env.example
97+
*.env
98+
!*.env.example
99+
.env.local
100+
.env.production
101+
.env.development
102+
103+
# MCP (Model Context Protocol) files
104+
.mcp.json
105+
*.mcp.md
106+
!.mcp.example.json
107+
108+
# Personal/Local Configuration
109+
CLAUDE.local.md
110+
.claude/settings.local.json
111+
.cursor/settings.local.json
112+
113+
# Security
114+
api_keys.json
115+
secrets.json
116+
credentials.json
117+
*.pem
118+
*.key
119+
*.cert
120+
*.p12
121+
122+
# Python Virtual Environments
123+
venv/
124+
env/
125+
*.pyc
126+
__pycache__/
127+
.pytest_cache/
128+
129+
# Analytics and Tracking
130+
.analytics/
131+
.tracking/
132+
133+
# Keep These Files
134+
!.claude/
135+
!.claude/commands/
136+
!.cursor/
137+
!.cursor/rules/
138+
!README.md
139+
!CLAUDE.md
140+
!LICENSE
141+
!docs/
142+
!specs/
143+
!scripts/
144+
!test/
145+
!example/
146+
!demo_app/
147+
!test_app/
148+
!pubspec.yaml
149+
!analysis_options.yaml
150+
!.gitignore
151+
152+
# Large Files That Should Be Handled Separately
153+
# Add instructions in README for obtaining these
154+
analysis_output.txtdart
155+
replacements.txt
156+
157+
# OS-specific
158+
.Spotlight-V100
159+
.Trashes
160+
ehthumbs_vista.db
161+
Network Trash Folder
162+
Temporary Items
163+
.apdisk

0 commit comments

Comments
 (0)