chore: Improve .gitignore - remove tracked runtime files
Enhanced .gitignore to properly exclude all runtime and temporary files from version control. ## Changes Made ### Files Removed from Tracking - .claude-flow/metrics/*.json (runtime metrics) - .swarm/memory.db (swarm state database) These files were previously tracked but should never be versioned as they contain runtime state that changes frequently. ### .gitignore Improvements **Removed Duplicate:** - .swarm/ was listed twice (lines 6 and 64) **Added Patterns:** - npm-debug.log*, yarn-debug.log*, yarn-error.log* (npm/yarn logs) - test-results/ (Playwright test outputs) - playwright-report/ (Playwright HTML reports) - playwright/.cache/ (Playwright browser cache) - *.spec.js.snap (Jest snapshots for E2E tests) - .npm/ (npm cache directory) - .eslintcache (ESLint cache file) - *.tsbuildinfo (TypeScript build info) **Reorganized Sections:** - Clearer section headers - Removed redundant .swarm/ entry - Better categorization of patterns ## Benefits ✅ No more runtime files cluttering git status ✅ Cleaner git history (no metric/state changes) ✅ Better Playwright test support ✅ Comprehensive npm/yarn log exclusion ✅ Organized and maintainable .gitignore ## Verification After this commit: - git status should be clean - Runtime files (.db, metrics) no longer tracked - All test artifacts properly excluded 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude
parent
5ad0700b41
commit
2dd2439662
+14
-4
@@ -1,5 +1,5 @@
|
||||
|
||||
# Claude Flow generated files
|
||||
# Claude Flow & Swarm Coordination
|
||||
.claude/settings.local.json
|
||||
.mcp.json
|
||||
claude-flow.config.json
|
||||
@@ -23,10 +23,9 @@ coordination/orchestration/*
|
||||
*.sqlite-journal
|
||||
*.sqlite-wal
|
||||
claude-flow
|
||||
# Removed Windows wrapper files per user request
|
||||
hive-mind-prompt-*.txt
|
||||
|
||||
# Chess game specific ignores
|
||||
# Project specific
|
||||
# Dependencies
|
||||
node_modules/
|
||||
package-lock.json
|
||||
@@ -34,11 +33,18 @@ package-lock.json
|
||||
# Testing
|
||||
coverage/
|
||||
.nyc_output/
|
||||
test-results/
|
||||
playwright-report/
|
||||
playwright/.cache/
|
||||
*.spec.js.snap
|
||||
|
||||
# Build outputs
|
||||
dist/
|
||||
build/
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# IDE
|
||||
.vscode/
|
||||
@@ -61,6 +67,10 @@ Thumbs.db
|
||||
*.temp
|
||||
|
||||
# CI/CD artifacts
|
||||
.swarm/
|
||||
quality-report.md
|
||||
release/
|
||||
|
||||
# Runtime & Cache
|
||||
.npm/
|
||||
.eslintcache
|
||||
*.tsbuildinfo
|
||||
|
||||
Reference in New Issue
Block a user