diff --git a/.gitignore b/.gitignore index 49fd8f9..b1c29b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,25 @@ +# ============================================================ +# Environment and secrets +# ============================================================ .env .env.local .env.*.local *.local.php *.secret.php +configuration.php +configuration.*.php +configuration.local.php +conf/conf.php +conf/conf*.php +secrets/ +*.secrets.* # ============================================================ -# Logs, dumps & databases +# Logs, dumps and databases # ============================================================ +*.db +*.db-journal +*.dump *.log *.pid *.seed @@ -14,8 +27,6 @@ *.sql.gz *.sqlite *.sqlite3 -*.db -*.db-journal # ============================================================ # OS / Editor / IDE cruft @@ -23,7 +34,6 @@ .DS_Store Thumbs.db desktop.ini -# Windows artifacts Thumbs.db:encryptable ehthumbs.db ehthumbs_vista.db @@ -32,37 +42,34 @@ System Volume Information/ *.lnk Icon? .idea/ -# .vscode/ - Allow specific VS Code config files +.settings/ .vscode/* !.vscode/tasks.json !.vscode/settings.json.example !.vscode/extensions.json *.code-workspace -*.sublime-project -*.sublime-workspace +*.sublime* .project -.settings/ .buildpath +.classpath *.bak +*.swp +*.swo +*.tmp +*.old +*.orig # ============================================================ -# Dev scripts & scratch +# Dev scripts and scratch # ============================================================ -todo -todo.md - -# ============================================================ -# Maps & compiled asset helpers -# ============================================================ -*.css.map -*.js.map +TODO.md +todo* +*ffs* # ============================================================ # SFTP / sync tools # ============================================================ sftp-config*.json -sync.ffs_db -*.ffs_gui # ============================================================ # Replit / cloud IDE @@ -70,10 +77,136 @@ sync.ffs_db .replit replit.md +# ============================================================ +# Archives / release artifacts +# ============================================================ +*.7z +*.rar +*.tar +*.tar.gz +*.tgz +*.zip +artifacts/ +release/ +releases/ + +# ============================================================ +# Build outputs and site generators +# ============================================================ +.mkdocs-build/ +.cache/ +.parcel-cache/ +build/ +dist/ +out/ +site/ +*.map +*.css.map +*.js.map +*.tsbuildinfo + +# ============================================================ +# CI / test artifacts +# ============================================================ +.coverage +.coverage.* +coverage/ +coverage.xml +htmlcov/ +junit.xml +reports/ +test-results/ +tests/_output/ +.github/local/ +.github/workflows/*.log + +# ============================================================ +# Node / JavaScript +# ============================================================ +node_modules/ +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +.pnpm-store/ +.yarn/ +.npmrc +.eslintcache +package-lock.json + +# ============================================================ +# PHP / Composer tooling +# ============================================================ +vendor/ +composer.lock +*.phar +codeception.phar +.phpunit.result.cache +.php_cs.cache +.php-cs-fixer.cache +.phpstan.cache +.phplint-cache +phpmd-cache/ +.psalm/ +.rector/ + +# ============================================================ +# Python +# ============================================================ +__pycache__/ +*.py[cod] +*.pyc +*$py.class +*.so +.Python +.eggs/ +*.egg +*.egg-info/ +.installed.cfg +MANIFEST +develop-eggs/ +downloads/ +eggs/ +parts/ +sdist/ +var/ +wheels/ +ENV/ +env/ +.venv/ +venv/ +.pytest_cache/ +.mypy_cache/ +.ruff_cache/ +.pyright/ +.tox/ +.nox/ +*.cover +*.coverage +hypothesis/ + +# ============================================================ +# Dolibarr (base + runtime) +# ============================================================ +documents/ +dolibarr_documents/ +custom/ +uploads/ +thumbs/ +data/ +cache/ +temp/ +tmp/ +logs/ +htdocs/documents/ +htdocs/custom/ +htdocs/cache/ +htdocs/tmp/ +htdocs/logs/ + # ============================================================ # Joomla Core # ============================================================ - /.htaccess /administrator/cache/* /administrator/components/com_actionlogs/* @@ -765,6 +898,7 @@ replit.md /plugins/user/profile/* /plugins/user/terms/* /plugins/user/index.html +/plugins/user/index.html /plugins/index.html /templates/beez3/* /templates/protostar/* @@ -780,57 +914,6 @@ replit.md /robots.txt.dist /web.config.txt - -# ============================================================ -# Testing & Build artifacts -# ============================================================ -/tests/_output/* -/dist/* -/vendor/* -/node_modules/* -composer.lock -package-lock.json -.phpunit.result.cache -codeception.phar - -# Development tool artifacts -.phpstan.cache -.psalm/ -.rector/ -phpmd-cache/ -.php-cs-fixer.cache -.phplint-cache - -# Python -__pycache__/ -*.py[cod] -*$py.class -*.so -.Python -build/ -develop-eggs/ -downloads/ -eggs/ -.eggs/ -/lib/ -/lib64/ -parts/ -sdist/ -var/ -wheels/ -*.egg-info/ -.installed.cfg -*.egg -MANIFEST -.pytest_cache/ -.coverage -.coverage.* -htmlcov/ -.tox/ -.nox/ -*.cover -.hypothesis/ - # ============================================================ # Keep-empty folders helper # ============================================================