Skip to content

Commit

Permalink
minor #2243 [UX] Clean .gitignore / .gitattributes (rebase + merge #1969
Browse files Browse the repository at this point in the history
) (Kocal, smnandre)

This PR was merged into the 2.x branch.

Discussion
----------

[UX] Clean .gitignore / .gitattributes (rebase + merge #1969)

Finalize #1969 (thak you `@Kocal` !! 💐 )

Commits
-------

ec11e49 Add `/doc` to .gitattributes export-ignore
d9e9caa Clean and homogenize `src/*/.gitignore`
  • Loading branch information
Kocal committed Oct 6, 2024
2 parents c9ab97f + ec11e49 commit 33d5cbd
Show file tree
Hide file tree
Showing 39 changed files with 106 additions and 54 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ yarn-error.log

.doctor-rst.cache
.php-cs-fixer.cache
.phpunit.result.cache

/composer.lock
/vendor
1 change: 1 addition & 0 deletions src/Autocomplete/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
6 changes: 4 additions & 2 deletions src/Autocomplete/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/vendor/
/var/
/.phpunit.result.cache

/var
1 change: 1 addition & 0 deletions src/Chartjs/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
/assets/src export-ignore
/assets/test export-ignore
/assets/vitest.config.js export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
7 changes: 4 additions & 3 deletions src/Chartjs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/assets/node_modules/
/vendor/
.phpunit.result.cache
.php_cs.cache
composer.lock
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/Cropperjs/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
9 changes: 5 additions & 4 deletions src/Cropperjs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor
composer.lock
.php_cs.cache
.phpunit.result.cache
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/Dropzone/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
6 changes: 4 additions & 2 deletions src/Dropzone/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/assets/node_modules/
/vendor/
.phpunit.result.cache
composer.lock
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/Icons/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.symfony.bundle.yaml export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
7 changes: 5 additions & 2 deletions src/Icons/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/vendor
/assets/node_modules/
/vendor/
/composer.lock
/var
/phpunit.xml
/.phpunit.result.cache

/var
1 change: 1 addition & 0 deletions src/LazyImage/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
9 changes: 5 additions & 4 deletions src/LazyImage/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor
composer.lock
.php_cs.cache
.phpunit.result.cache
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/LiveComponent/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
6 changes: 4 additions & 2 deletions src/LiveComponent/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/vendor/
/var/
/.phpunit.result.cache

/var
1 change: 1 addition & 0 deletions src/Map/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
/assets/src export-ignore
/assets/test export-ignore
/assets/vitest.config.js export-ignore
/doc export-ignore
/tests export-ignore
1 change: 1 addition & 0 deletions src/Notify/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
7 changes: 4 additions & 3 deletions src/Notify/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/assets/node_modules/
/vendor/
.phpunit.result.cache
.php_cs.cache
composer.lock
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/React/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
/assets/src export-ignore
/assets/test export-ignore
/assets/vitest.config.js export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
9 changes: 5 additions & 4 deletions src/React/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor
composer.lock
.php_cs.cache
.phpunit.result.cache
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/StimulusBundle/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
12 changes: 7 additions & 5 deletions src/StimulusBundle/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.php-cs-fixer.cache
.phpunit.result.cache
composer.lock
vendor/
tests/fixtures/var
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache

/tests/fixtures/var
1 change: 1 addition & 0 deletions src/Svelte/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
/assets/src export-ignore
/assets/test export-ignore
/assets/vitest.config.js export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
4 changes: 2 additions & 2 deletions src/Svelte/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/assets/node_modules
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/vendor/
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/Swup/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
8 changes: 5 additions & 3 deletions src/Swup/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vendor
composer.lock
.php_cs.cache
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/TogglePassword/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/phpunit.xml.dist export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/tests export-ignore
8 changes: 5 additions & 3 deletions src/TogglePassword/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vendor/
composer.lock
.phpunit.result.cache
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/Translator/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
/phpunit.xml.dist export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
/tests export-ignore
9 changes: 5 additions & 4 deletions src/Translator/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor
composer.lock
.php_cs.cache
.phpunit.result.cache
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
3 changes: 3 additions & 0 deletions src/Turbo/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@
/assets/src export-ignore
/assets/test export-ignore
/assets/vitest.config.js export-ignore
/CONTRIBUTING.md export-ignore
/docker-compose.yml
/doc export-ignore
/tests export-ignore
7 changes: 3 additions & 4 deletions src/Turbo/.gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
/.php_cs.cache
/.php_cs
/.phpunit.result.cache
/composer.phar
/assets/node_modules/
/vendor/
/composer.lock
/drivers/
/phpunit.xml
/.phpunit.result.cache
/tests/app/assets/vendor/
/tests/app/public/assets/
/tests/app/public/build/
Expand Down
2 changes: 2 additions & 0 deletions src/Turbo/tests/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/var/
/public/build/
2 changes: 2 additions & 0 deletions src/TwigComponent/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.symfony.bundle.yaml export-ignore
/alert-example.png export-ignore
/phpunit.xml.dist export-ignore
/doc export-ignore
/tests export-ignore
6 changes: 4 additions & 2 deletions src/TwigComponent/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/vendor/
/var/
/.phpunit.result.cache

/var
1 change: 1 addition & 0 deletions src/Typed/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/.symfony.bundle.yaml export-ignore
/assets/src export-ignore
/assets/test export-ignore
/doc export-ignore
5 changes: 4 additions & 1 deletion src/Typed/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
/vendor
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache
1 change: 1 addition & 0 deletions src/Vue/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
/assets/src export-ignore
/assets/test export-ignore
/assets/vitest.config.js export-ignore
/doc export-ignore
/phpunit.xml.dist export-ignore
/tests export-ignore
9 changes: 5 additions & 4 deletions src/Vue/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
vendor
composer.lock
.php_cs.cache
.phpunit.result.cache
/assets/node_modules/
/vendor/
/composer.lock
/phpunit.xml
/.phpunit.result.cache

0 comments on commit 33d5cbd

Please sign in to comment.