diff --git a/.gitignore b/.gitignore index 0ef4054..e83119c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,49 +1,93 @@ -# ---> WordPress -# Wordpress - ignore core, configuration, examples, uploads and logs. -# https://github.com/github/gitignore/blob/main/WordPress.gitignore +# ESI CRVI Agenda Plugin - .gitignore -# Core -# -# Note: if you want to stage/commit WP core files -# you can delete this whole section/until Configuration. -/wp-admin/ -/wp-content/index.php -/wp-content/languages -/wp-content/plugins/index.php -/wp-content/themes/index.php -/wp-includes/ -/index.php -/license.txt -/readme.html -/wp-*.php -/xmlrpc.php +# =========================== +# Dependencies +# =========================== +node_modules/ +vendor/ -# Configuration +# =========================== +# Build files et distribution +# =========================== +assets/js/dist/ +assets/js/dist_bis/ +assets/js/new/dist/ + +# =========================== +# Logs +# =========================== +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +error_log +debug.log + +# =========================== +# OS files +# =========================== +.DS_Store +Thumbs.db +desktop.ini + +# =========================== +# IDE et éditeurs +# =========================== +.vscode/ +.idea/ +*.sublime-project +*.sublime-workspace + +# =========================== +# Backups et fichiers temporaires +# =========================== +backup/ +*.bak +*.tmp +*.swp +*.swo +*~ +.*.swp + +# =========================== +# Fichiers compressés +# =========================== +*.zip +*.tar +*.tar.gz +*.rar + +# =========================== +# Fichiers de test temporaires +# =========================== +test_*.html +debug_*.php + +# =========================== +# Données de test CSV +# =========================== +*_test.csv +beneficiaires_test.csv +intervenants_test.csv +locaux_test.csv +departements_interventions.csv + +# =========================== +# SQL dumps (sauf seeds) +# =========================== +*.sql +!seed_*.sql + +# =========================== +# Environment et configuration sensible +# =========================== +.env +.env.local +.env.*.local wp-config.php -# Example themes -/wp-content/themes/twenty*/ - -# Example plugin -/wp-content/plugins/hello.php - -# Uploads -/wp-content/uploads/ - -# Log files -*.log - -# htaccess -/.htaccess - -# All plugins -# -# Note: If you wish to whitelist plugins, -# uncomment the next line -#/wp-content/plugins - -# All themes -# -# Note: If you wish to whitelist themes, -# uncomment the next line -#/wp-content/themes +# =========================== +# Cache et fichiers générés +# =========================== +.cache/ +*.cache