116 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			116 lines
		
	
	
		
			2.9 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # ------------------------------------------------------------------------------
 | |
| # 🧠 Core Drupal / Composer structure
 | |
| # ------------------------------------------------------------------------------
 | |
| 
 | |
| # Ignore vendor libraries; they're recreated by composer install.
 | |
| vendor/
 | |
| 
 | |
| # Ignore composer local cache or artifacts
 | |
| composer.phar
 | |
| composer.lock.bak
 | |
| auth.json
 | |
| 
 | |
| # ------------------------------------------------------------------------------
 | |
| # 🌐 Webroot (generated by composer)
 | |
| # ------------------------------------------------------------------------------
 | |
| 
 | |
| # Ignore transient Drupal files
 | |
| /web/sites/default/files/
 | |
| /web/sites/default/private/
 | |
| /web/sites/simpletest/
 | |
| /web/sites/*/settings.local.php
 | |
| /web/sites/*/services.local.yml
 | |
| /web/sites/*/settings.ddev.php
 | |
| /web/sites/*/settings.docker.php
 | |
| /web/sites/*/settings.travis.php
 | |
| 
 | |
| # Keep example templates
 | |
| !web/sites/example.settings.local.php
 | |
| 
 | |
| # Ignore core and contrib build artifacts
 | |
| /web/core/
 | |
| /web/modules/contrib/
 | |
| /web/profiles/contrib/
 | |
| /web/themes/contrib/
 | |
| /web/libraries/
 | |
| 
 | |
| # But keep anything custom you create
 | |
| !web/modules/custom/
 | |
| /web/modules/custom/*/node_modules/
 | |
| /web/themes/custom/
 | |
| /web/themes/custom/*/node_modules/
 | |
| 
 | |
| # ------------------------------------------------------------------------------
 | |
| # ⚙️ Configuration exports
 | |
| # ------------------------------------------------------------------------------
 | |
| 
 | |
| # Keep the exported config directory if it exists
 | |
| !/config/
 | |
| # But ignore temporary config sync staging dirs
 | |
| /config/sync/.htaccess
 | |
| /config/sync/.DS_Store
 | |
| 
 | |
| # ------------------------------------------------------------------------------
 | |
| # 🧰 DDEV & environment
 | |
| # ------------------------------------------------------------------------------
 | |
| 
 | |
| # DDEV-generated caches, logs, or imports
 | |
| .ddev/.downloads/
 | |
| .ddev/.import-db/
 | |
| .ddev/.upload-db/
 | |
| .ddev/.upload-files/
 | |
| .ddev/commands/host/db-restore
 | |
| .ddev/.ddev-databases/
 | |
| .ddev/.logs/
 | |
| 
 | |
| # Keep ddev config files themselves
 | |
| !.ddev/config.yaml
 | |
| !.ddev/docker-compose.*
 | |
| !.ddev/providers.yaml
 | |
| !.ddev/global_config.yaml
 | |
| 
 | |
| # ------------------------------------------------------------------------------
 | |
| # 💻 OS & IDE
 | |
| # ------------------------------------------------------------------------------
 | |
| 
 | |
| # macOS metadata
 | |
| .DS_Store
 | |
| .AppleDouble
 | |
| .LSOverride
 | |
| 
 | |
| # VS Code
 | |
| .vscode/*
 | |
| !.vscode/settings.json
 | |
| !.vscode/extensions.json
 | |
| 
 | |
| # PhpStorm / IntelliJ
 | |
| .idea/
 | |
| *.iml
 | |
| 
 | |
| # Logs & backups
 | |
| *.log
 | |
| *.sql
 | |
| *.sqlite
 | |
| *.tar.gz
 | |
| *.zip
 | |
| *.bak
 | |
| *.tmp
 | |
| 
 | |
| # ------------------------------------------------------------------------------
 | |
| # ✅ Misc
 | |
| # ------------------------------------------------------------------------------
 | |
| 
 | |
| # Node, NPM, and front-end assets
 | |
| node_modules/
 | |
| npm-debug.log
 | |
| yarn-error.log
 | |
| 
 | |
| # ------------------------------------------------------------------------------
 | |
| # END
 | |
| # ------------------------------------------------------------------------------
 | |
| 
 | |
| 
 | |
| # Local development-only directories
 | |
| /packages/
 | |
| /recipes/
 | 
