# Ignore everything by default
*
!.gitignore
!.gitattributes

# Development Environment - whitelist approach
!/wordpress-dev/
/wordpress-dev/*
!/wordpress-dev/tests/
/wordpress-dev/tests/*
!/wordpress-dev/tests/e2e/
/wordpress-dev/tests/e2e/*
!/wordpress-dev/tests/e2e/*.spec.ts
!/wordpress-dev/tests/e2e/*.test.ts
!/wordpress-dev/tests/e2e/pages/
!/wordpress-dev/tests/e2e/pages/*.ts
!/wordpress-dev/tests/e2e/utils/
!/wordpress-dev/tests/e2e/utils/*.ts
!/wordpress-dev/tests/e2e/data/
!/wordpress-dev/tests/e2e/data/*.ts
!/wordpress-dev/tests/e2e/global-setup.ts
!/wordpress-dev/tests/e2e/global-teardown.ts
!/wordpress-dev/includes/
!/wordpress-dev/bin/
/wordpress-dev/bin/*
!/wordpress-dev/bin/*.sh
!/wordpress-dev/bin/*.php
!/wordpress-dev/bin/*.json
!/wordpress-dev/bin/wp-tests-config-staging.php
/wordpress-dev/bin/backups/  # Explicitly ignore all backup directories
!/wordpress-dev/composer.json
!/wordpress-dev/composer.lock
!/wordpress-dev/package.json
!/wordpress-dev/package-lock.json
!/wordpress-dev/phpunit.xml.dist
!/wordpress-dev/playwright.config.ts
!/wordpress-dev/tsconfig.json
!/wordpress-dev/README.md
!/wordpress-dev/MIGRATION_GUIDE.md
!/wordpress-dev/ZOHO-INTEGRATION-SUMMARY.md
!/wordpress-dev/ZOHO-STAGING-TEST-RESULTS.md
!/wordpress-dev/ZOHO-OAUTH-SETUP.md
!/wordpress-dev/WORDPRESS-ADMIN-ACCESS.md

# HVAC Community Events Plugin
!/wordpress-dev/wordpress/
/wordpress-dev/wordpress/*
!/wordpress-dev/wordpress/wp-content/
/wordpress-dev/wordpress/wp-content/*
!/wordpress-dev/wordpress/wp-content/plugins/
/wordpress-dev/wordpress/wp-content/plugins/*
!/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/
!/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/**

# Test files
**/test-results/
**/playwright-report/
**/.phpunit.result.cache
**/node_modules/
**/vendor/
**/screenshots/
**/videos/
**/traces/

# Documentation
!/docs/
/docs/*
!/docs/*.md
!/docs/00_*.md
/docs/scraped/
/docs/archive/

# WordPress
!/wp-content/
/wp-content/*
!/wp-content/plugins/

# Security - Sensitive Files
.env
.env.*
*.env
**/.env
**/.env.*
.auth/
**/.auth/
**/zoho-config.php
**/wp-config.php
**/wp-tests-config*.php
memory-bank/mcpServers.md
**/*config*.php
**/*secret*
**/*password*
**/*credential*
**/*.key
**/*.pem
**/*.p12
**/*.pfx

# Common ignores
.DS_Store
Thumbs.db
*.log
*.zip
*.tar
*.tar.gz
node_modules/
vendor/
.idea/
.vscode/
*.swp
*.swo