From d9e9caab615d4ab55aa4e6085cdebbff42343074 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Sun, 7 Jul 2024 12:44:42 +0200 Subject: [PATCH 1/2] Clean and homogenize `src/*/.gitignore` --- src/Autocomplete/.gitignore | 6 ++++-- src/Chartjs/.gitignore | 7 ++++--- src/Cropperjs/.gitignore | 9 +++++---- src/Dropzone/.gitignore | 6 ++++-- src/Icons/.gitignore | 7 +++++-- src/LazyImage/.gitignore | 9 +++++---- src/LiveComponent/.gitignore | 6 ++++-- src/Notify/.gitignore | 7 ++++--- src/React/.gitignore | 9 +++++---- src/StimulusBundle/.gitignore | 12 +++++++----- src/Svelte/.gitignore | 4 ++-- src/Swup/.gitignore | 8 +++++--- src/TogglePassword/.gitignore | 8 +++++--- src/Translator/.gitignore | 9 +++++---- src/Turbo/.gitignore | 7 +++---- src/Turbo/tests/app/.gitignore | 2 ++ src/TwigComponent/.gitignore | 6 ++++-- src/Typed/.gitignore | 5 ++++- src/Vue/.gitignore | 9 +++++---- 19 files changed, 82 insertions(+), 54 deletions(-) create mode 100644 src/Turbo/tests/app/.gitignore diff --git a/src/Autocomplete/.gitignore b/src/Autocomplete/.gitignore index 854217846fe..1784dd6561c 100644 --- a/src/Autocomplete/.gitignore +++ b/src/Autocomplete/.gitignore @@ -1,5 +1,7 @@ +/assets/node_modules/ +/vendor/ /composer.lock /phpunit.xml -/vendor/ -/var/ /.phpunit.result.cache + +/var diff --git a/src/Chartjs/.gitignore b/src/Chartjs/.gitignore index bb17c3e124c..2cc9f0231c3 100644 --- a/src/Chartjs/.gitignore +++ b/src/Chartjs/.gitignore @@ -1,4 +1,5 @@ +/assets/node_modules/ /vendor/ -.phpunit.result.cache -.php_cs.cache -composer.lock +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/Cropperjs/.gitignore b/src/Cropperjs/.gitignore index 30282084317..2cc9f0231c3 100644 --- a/src/Cropperjs/.gitignore +++ b/src/Cropperjs/.gitignore @@ -1,4 +1,5 @@ -vendor -composer.lock -.php_cs.cache -.phpunit.result.cache +/assets/node_modules/ +/vendor/ +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/Dropzone/.gitignore b/src/Dropzone/.gitignore index 3ffdd8aef65..2cc9f0231c3 100644 --- a/src/Dropzone/.gitignore +++ b/src/Dropzone/.gitignore @@ -1,3 +1,5 @@ +/assets/node_modules/ /vendor/ -.phpunit.result.cache -composer.lock +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/Icons/.gitignore b/src/Icons/.gitignore index 6b4669489f4..1784dd6561c 100644 --- a/src/Icons/.gitignore +++ b/src/Icons/.gitignore @@ -1,4 +1,7 @@ -/vendor +/assets/node_modules/ +/vendor/ /composer.lock -/var +/phpunit.xml /.phpunit.result.cache + +/var diff --git a/src/LazyImage/.gitignore b/src/LazyImage/.gitignore index 30282084317..2cc9f0231c3 100644 --- a/src/LazyImage/.gitignore +++ b/src/LazyImage/.gitignore @@ -1,4 +1,5 @@ -vendor -composer.lock -.php_cs.cache -.phpunit.result.cache +/assets/node_modules/ +/vendor/ +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/LiveComponent/.gitignore b/src/LiveComponent/.gitignore index 854217846fe..1784dd6561c 100644 --- a/src/LiveComponent/.gitignore +++ b/src/LiveComponent/.gitignore @@ -1,5 +1,7 @@ +/assets/node_modules/ +/vendor/ /composer.lock /phpunit.xml -/vendor/ -/var/ /.phpunit.result.cache + +/var diff --git a/src/Notify/.gitignore b/src/Notify/.gitignore index bb17c3e124c..2cc9f0231c3 100644 --- a/src/Notify/.gitignore +++ b/src/Notify/.gitignore @@ -1,4 +1,5 @@ +/assets/node_modules/ /vendor/ -.phpunit.result.cache -.php_cs.cache -composer.lock +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/React/.gitignore b/src/React/.gitignore index 30282084317..2cc9f0231c3 100644 --- a/src/React/.gitignore +++ b/src/React/.gitignore @@ -1,4 +1,5 @@ -vendor -composer.lock -.php_cs.cache -.phpunit.result.cache +/assets/node_modules/ +/vendor/ +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/StimulusBundle/.gitignore b/src/StimulusBundle/.gitignore index d776edf227a..6e705b91ed7 100644 --- a/src/StimulusBundle/.gitignore +++ b/src/StimulusBundle/.gitignore @@ -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 diff --git a/src/Svelte/.gitignore b/src/Svelte/.gitignore index bf4b985d010..2cc9f0231c3 100644 --- a/src/Svelte/.gitignore +++ b/src/Svelte/.gitignore @@ -1,5 +1,5 @@ -/assets/node_modules +/assets/node_modules/ +/vendor/ /composer.lock /phpunit.xml -/vendor/ /.phpunit.result.cache diff --git a/src/Swup/.gitignore b/src/Swup/.gitignore index 4a45ef5f7ae..2cc9f0231c3 100644 --- a/src/Swup/.gitignore +++ b/src/Swup/.gitignore @@ -1,3 +1,5 @@ -vendor -composer.lock -.php_cs.cache +/assets/node_modules/ +/vendor/ +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/TogglePassword/.gitignore b/src/TogglePassword/.gitignore index 3d7e132f307..2cc9f0231c3 100644 --- a/src/TogglePassword/.gitignore +++ b/src/TogglePassword/.gitignore @@ -1,3 +1,5 @@ -vendor/ -composer.lock -.phpunit.result.cache +/assets/node_modules/ +/vendor/ +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/Translator/.gitignore b/src/Translator/.gitignore index 30282084317..2cc9f0231c3 100644 --- a/src/Translator/.gitignore +++ b/src/Translator/.gitignore @@ -1,4 +1,5 @@ -vendor -composer.lock -.php_cs.cache -.phpunit.result.cache +/assets/node_modules/ +/vendor/ +/composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/Turbo/.gitignore b/src/Turbo/.gitignore index 9bd0c178ff6..d365c4b922b 100644 --- a/src/Turbo/.gitignore +++ b/src/Turbo/.gitignore @@ -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/ diff --git a/src/Turbo/tests/app/.gitignore b/src/Turbo/tests/app/.gitignore new file mode 100644 index 00000000000..86806e8a4ab --- /dev/null +++ b/src/Turbo/tests/app/.gitignore @@ -0,0 +1,2 @@ +/var/ +/public/build/ diff --git a/src/TwigComponent/.gitignore b/src/TwigComponent/.gitignore index 854217846fe..1784dd6561c 100644 --- a/src/TwigComponent/.gitignore +++ b/src/TwigComponent/.gitignore @@ -1,5 +1,7 @@ +/assets/node_modules/ +/vendor/ /composer.lock /phpunit.xml -/vendor/ -/var/ /.phpunit.result.cache + +/var diff --git a/src/Typed/.gitignore b/src/Typed/.gitignore index de4a392c331..2cc9f0231c3 100644 --- a/src/Typed/.gitignore +++ b/src/Typed/.gitignore @@ -1,2 +1,5 @@ -/vendor +/assets/node_modules/ +/vendor/ /composer.lock +/phpunit.xml +/.phpunit.result.cache diff --git a/src/Vue/.gitignore b/src/Vue/.gitignore index 30282084317..2cc9f0231c3 100644 --- a/src/Vue/.gitignore +++ b/src/Vue/.gitignore @@ -1,4 +1,5 @@ -vendor -composer.lock -.php_cs.cache -.phpunit.result.cache +/assets/node_modules/ +/vendor/ +/composer.lock +/phpunit.xml +/.phpunit.result.cache From ec11e492d3f47f7b893e43a955ec156353135730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Sun, 6 Oct 2024 00:11:16 +0200 Subject: [PATCH 2/2] Add `/doc` to .gitattributes export-ignore --- .gitignore | 2 ++ src/Autocomplete/.gitattributes | 1 + src/Chartjs/.gitattributes | 1 + src/Cropperjs/.gitattributes | 1 + src/Dropzone/.gitattributes | 1 + src/Icons/.gitattributes | 1 + src/LazyImage/.gitattributes | 1 + src/LiveComponent/.gitattributes | 1 + src/Map/.gitattributes | 1 + src/Notify/.gitattributes | 1 + src/React/.gitattributes | 1 + src/StimulusBundle/.gitattributes | 1 + src/Svelte/.gitattributes | 1 + src/Swup/.gitattributes | 1 + src/TogglePassword/.gitattributes | 1 + src/Translator/.gitattributes | 1 + src/Turbo/.gitattributes | 3 +++ src/TwigComponent/.gitattributes | 2 ++ src/Typed/.gitattributes | 1 + src/Vue/.gitattributes | 1 + 20 files changed, 24 insertions(+) diff --git a/.gitignore b/.gitignore index 328530a6762..509b663c317 100644 --- a/.gitignore +++ b/.gitignore @@ -12,5 +12,7 @@ yarn-error.log .doctor-rst.cache .php-cs-fixer.cache +.phpunit.result.cache + /composer.lock /vendor diff --git a/src/Autocomplete/.gitattributes b/src/Autocomplete/.gitattributes index 2b1d42ea804..61e8a87a6ac 100644 --- a/src/Autocomplete/.gitattributes +++ b/src/Autocomplete/.gitattributes @@ -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 diff --git a/src/Chartjs/.gitattributes b/src/Chartjs/.gitattributes index 1ba1a889ab8..d49b3ecd1dd 100644 --- a/src/Chartjs/.gitattributes +++ b/src/Chartjs/.gitattributes @@ -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 diff --git a/src/Cropperjs/.gitattributes b/src/Cropperjs/.gitattributes index 2b1d42ea804..61e8a87a6ac 100644 --- a/src/Cropperjs/.gitattributes +++ b/src/Cropperjs/.gitattributes @@ -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 diff --git a/src/Dropzone/.gitattributes b/src/Dropzone/.gitattributes index 2b1d42ea804..61e8a87a6ac 100644 --- a/src/Dropzone/.gitattributes +++ b/src/Dropzone/.gitattributes @@ -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 diff --git a/src/Icons/.gitattributes b/src/Icons/.gitattributes index 596519e1403..0d2dd572d46 100644 --- a/src/Icons/.gitattributes +++ b/src/Icons/.gitattributes @@ -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 diff --git a/src/LazyImage/.gitattributes b/src/LazyImage/.gitattributes index 2b1d42ea804..61e8a87a6ac 100644 --- a/src/LazyImage/.gitattributes +++ b/src/LazyImage/.gitattributes @@ -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 diff --git a/src/LiveComponent/.gitattributes b/src/LiveComponent/.gitattributes index 2b1d42ea804..61e8a87a6ac 100644 --- a/src/LiveComponent/.gitattributes +++ b/src/LiveComponent/.gitattributes @@ -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 diff --git a/src/Map/.gitattributes b/src/Map/.gitattributes index 35c1f46ae5d..a2d6db26532 100644 --- a/src/Map/.gitattributes +++ b/src/Map/.gitattributes @@ -5,4 +5,5 @@ /assets/src export-ignore /assets/test export-ignore /assets/vitest.config.js export-ignore +/doc export-ignore /tests export-ignore diff --git a/src/Notify/.gitattributes b/src/Notify/.gitattributes index 2b1d42ea804..61e8a87a6ac 100644 --- a/src/Notify/.gitattributes +++ b/src/Notify/.gitattributes @@ -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 diff --git a/src/React/.gitattributes b/src/React/.gitattributes index 1ba1a889ab8..d49b3ecd1dd 100644 --- a/src/React/.gitattributes +++ b/src/React/.gitattributes @@ -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 diff --git a/src/StimulusBundle/.gitattributes b/src/StimulusBundle/.gitattributes index 2b1d42ea804..61e8a87a6ac 100644 --- a/src/StimulusBundle/.gitattributes +++ b/src/StimulusBundle/.gitattributes @@ -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 diff --git a/src/Svelte/.gitattributes b/src/Svelte/.gitattributes index 1ba1a889ab8..d49b3ecd1dd 100644 --- a/src/Svelte/.gitattributes +++ b/src/Svelte/.gitattributes @@ -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 diff --git a/src/Swup/.gitattributes b/src/Swup/.gitattributes index fe55079a9ec..254b1adb60c 100644 --- a/src/Swup/.gitattributes +++ b/src/Swup/.gitattributes @@ -3,3 +3,4 @@ /.symfony.bundle.yaml export-ignore /assets/src export-ignore /assets/test export-ignore +/doc export-ignore diff --git a/src/TogglePassword/.gitattributes b/src/TogglePassword/.gitattributes index 97734d35229..73107b138e0 100644 --- a/src/TogglePassword/.gitattributes +++ b/src/TogglePassword/.gitattributes @@ -4,4 +4,5 @@ /phpunit.xml.dist export-ignore /assets/src export-ignore /assets/test export-ignore +/doc export-ignore /tests export-ignore diff --git a/src/Translator/.gitattributes b/src/Translator/.gitattributes index 97734d35229..73107b138e0 100644 --- a/src/Translator/.gitattributes +++ b/src/Translator/.gitattributes @@ -4,4 +4,5 @@ /phpunit.xml.dist export-ignore /assets/src export-ignore /assets/test export-ignore +/doc export-ignore /tests export-ignore diff --git a/src/Turbo/.gitattributes b/src/Turbo/.gitattributes index b6c0beab639..91c1f350993 100644 --- a/src/Turbo/.gitattributes +++ b/src/Turbo/.gitattributes @@ -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 diff --git a/src/TwigComponent/.gitattributes b/src/TwigComponent/.gitattributes index 596519e1403..80dad561fcb 100644 --- a/src/TwigComponent/.gitattributes +++ b/src/TwigComponent/.gitattributes @@ -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 diff --git a/src/Typed/.gitattributes b/src/Typed/.gitattributes index fe55079a9ec..254b1adb60c 100644 --- a/src/Typed/.gitattributes +++ b/src/Typed/.gitattributes @@ -3,3 +3,4 @@ /.symfony.bundle.yaml export-ignore /assets/src export-ignore /assets/test export-ignore +/doc export-ignore diff --git a/src/Vue/.gitattributes b/src/Vue/.gitattributes index 1ba1a889ab8..d49b3ecd1dd 100644 --- a/src/Vue/.gitattributes +++ b/src/Vue/.gitattributes @@ -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