Fixed CI/CD pipeline failure by removing package-lock.json from .gitignore and adding it to version control. ## Problem CI/CD pipeline was failing with: ``` ::error::Dependencies lock file is not found in /workspace/Weyoun/chess. Supported file patterns: package-lock.json,npm-shrinkwrap.json,yarn.lock ``` The pipeline uses `npm ci` which requires package-lock.json for: - Reproducible builds across environments - Exact dependency version matching - Faster, more reliable installations - Security auditing consistency ## Root Cause package-lock.json was incorrectly listed in .gitignore, preventing it from being committed to the repository. This is a common mistake - while node_modules/ should be ignored, package-lock.json MUST be versioned. ## Solution 1. Removed package-lock.json from .gitignore 2. Added explanatory comment about why it should be committed 3. Added package-lock.json to repository (287KB, 553 packages) ## Impact ✅ CI/CD pipeline can now run `npm ci` successfully ✅ Reproducible builds across all environments ✅ Consistent dependency versions for all developers ✅ Faster CI/CD runs (npm ci vs npm install) ✅ Better security auditing ## Best Practice package-lock.json should ALWAYS be committed for: - Applications (like this chess game) - CI/CD reproducibility - Team collaboration It should only be excluded for: - Libraries published to npm (so consumers control versions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
77 lines
991 B
Plaintext
77 lines
991 B
Plaintext
|
|
# Claude Flow & Swarm Coordination
|
|
.claude/settings.local.json
|
|
.mcp.json
|
|
claude-flow.config.json
|
|
.swarm/
|
|
.hive-mind/
|
|
.claude-flow/
|
|
memory/
|
|
coordination/
|
|
memory/claude-flow-data.json
|
|
memory/sessions/*
|
|
!memory/sessions/README.md
|
|
memory/agents/*
|
|
!memory/agents/README.md
|
|
coordination/memory_bank/*
|
|
coordination/subtasks/*
|
|
coordination/orchestration/*
|
|
*.db
|
|
*.db-journal
|
|
*.db-wal
|
|
*.sqlite
|
|
*.sqlite-journal
|
|
*.sqlite-wal
|
|
claude-flow
|
|
hive-mind-prompt-*.txt
|
|
|
|
# Project specific
|
|
# Dependencies
|
|
node_modules/
|
|
# Note: package-lock.json SHOULD be committed for reproducible builds
|
|
|
|
# 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/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# Temporary files
|
|
*.tmp
|
|
*.temp
|
|
|
|
# CI/CD artifacts
|
|
quality-report.md
|
|
release/
|
|
|
|
# Runtime & Cache
|
|
.npm/
|
|
.eslintcache
|
|
*.tsbuildinfo
|