# =============================================================================
# MainWP Google Search Console Extension - Git Ignore Configuration
# =============================================================================

# IMPORTANT: This plugin uses scoped dependencies for production
# - COMMIT: build/ directory (scoped dependencies for distribution)
# - IGNORE: vendor/ directory (original dependencies for development only)

# =============================================================================
# Dependencies (DON'T COMMIT)
# =============================================================================

# Original Composer dependencies (development only)
/vendor/

# Node.js dependencies
/node_modules/

# =============================================================================
# Build Output (COMMIT FOR PRODUCTION)
# =============================================================================

# Scoped dependencies - COMMIT THIS for plugin distribution
# /build/  <- COMMENTED OUT - we want to commit build/ for production
!libs/build/
!libs/build/**
!libs/build/vendor/
!libs/build/vendor/**

# =============================================================================
# Composer Files
# =============================================================================

# Composer executable
composer.phar

# Lock file (don't commit for WordPress plugins to avoid version conflicts)
composer.lock

# =============================================================================
# Development Tools
# =============================================================================

# IDE files
.vscode/
.idea/
*.swp
*.swo
*~

# Editor backups
*.bak
*.orig

# =============================================================================
# Operating System Files
# =============================================================================

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon?
._*

# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/

# Linux
*~
.directory

# =============================================================================
# Logs and Runtime Data
# =============================================================================

# Log files
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# =============================================================================
# Testing and Coverage
# =============================================================================

# Coverage directory used by tools like istanbul
coverage/
*.lcov

# nyc test coverage
.nyc_output

# =============================================================================
# Temporary and Cache Files
# =============================================================================

# Temporary folders
tmp/
temp/
.tmp/

# Cache directories
.cache/
.parcel-cache/

# =============================================================================
# Build Tools
# =============================================================================

# Webpack
dist/
build-temp/

# Rollup
rollup-cache/

# =============================================================================
# Environment and Configuration
# =============================================================================

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# Local configuration
config.local.json
settings.local.json
