From 35832abfc3bc6653d5a1f47e490840a10897244c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Andr=C3=A9?= Date: Mon, 30 Oct 2023 19:36:16 +0100 Subject: [PATCH] [DX] Update .gitattributes & .gitignores files --- src/Autocomplete/.gitattributes | 5 ++--- src/Autocomplete/assets/.gitignore | 1 - src/Chartjs/.gitattributes | 4 ++-- src/Cropperjs/.gitattributes | 4 ++-- src/Dropzone/.gitattributes | 4 ++-- src/LazyImage/.gitattributes | 4 ++-- src/LiveComponent/.gitattributes | 4 +--- src/LiveComponent/assets/.gitignore | 1 - src/Notify/.gitattributes | 4 ++-- src/React/.gitattributes | 4 ++-- src/StimulusBundle/.gitattributes | 7 +++++++ src/Svelte/.gitattributes | 6 +++--- src/Svelte/.gitignore | 3 ++- src/Svelte/assets/.gitignore | 1 - src/Swup/.gitattributes | 2 +- src/Turbo/.gitattributes | 2 +- src/Typed/.gitattributes | 2 +- src/Vue/.gitattributes | 4 ++-- 18 files changed, 32 insertions(+), 30 deletions(-) delete mode 100644 src/Autocomplete/assets/.gitignore delete mode 100644 src/LiveComponent/assets/.gitignore create mode 100644 src/StimulusBundle/.gitattributes delete mode 100644 src/Svelte/assets/.gitignore diff --git a/src/Autocomplete/.gitattributes b/src/Autocomplete/.gitattributes index 8ee0d03bf09..2b1d42ea804 100644 --- a/src/Autocomplete/.gitattributes +++ b/src/Autocomplete/.gitattributes @@ -1,8 +1,7 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/.gitignore export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/Autocomplete/assets/.gitignore b/src/Autocomplete/assets/.gitignore deleted file mode 100644 index 2ccbe4656c6..00000000000 --- a/src/Autocomplete/assets/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/node_modules/ diff --git a/src/Chartjs/.gitattributes b/src/Chartjs/.gitattributes index 6d6840b254e..1ba1a889ab8 100644 --- a/src/Chartjs/.gitattributes +++ b/src/Chartjs/.gitattributes @@ -1,8 +1,8 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore /assets/vitest.config.js export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/Cropperjs/.gitattributes b/src/Cropperjs/.gitattributes index 4de9d34236a..2b1d42ea804 100644 --- a/src/Cropperjs/.gitattributes +++ b/src/Cropperjs/.gitattributes @@ -1,7 +1,7 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/Dropzone/.gitattributes b/src/Dropzone/.gitattributes index 4de9d34236a..2b1d42ea804 100644 --- a/src/Dropzone/.gitattributes +++ b/src/Dropzone/.gitattributes @@ -1,7 +1,7 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/LazyImage/.gitattributes b/src/LazyImage/.gitattributes index 4de9d34236a..2b1d42ea804 100644 --- a/src/LazyImage/.gitattributes +++ b/src/LazyImage/.gitattributes @@ -1,7 +1,7 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/LiveComponent/.gitattributes b/src/LiveComponent/.gitattributes index 36881e1cb29..2b1d42ea804 100644 --- a/src/LiveComponent/.gitattributes +++ b/src/LiveComponent/.gitattributes @@ -1,9 +1,7 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/.gitignore export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore /phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/LiveComponent/assets/.gitignore b/src/LiveComponent/assets/.gitignore deleted file mode 100644 index 2ccbe4656c6..00000000000 --- a/src/LiveComponent/assets/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/node_modules/ diff --git a/src/Notify/.gitattributes b/src/Notify/.gitattributes index 4de9d34236a..2b1d42ea804 100644 --- a/src/Notify/.gitattributes +++ b/src/Notify/.gitattributes @@ -1,7 +1,7 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/React/.gitattributes b/src/React/.gitattributes index 6d6840b254e..1ba1a889ab8 100644 --- a/src/React/.gitattributes +++ b/src/React/.gitattributes @@ -1,8 +1,8 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore /assets/vitest.config.js export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore diff --git a/src/StimulusBundle/.gitattributes b/src/StimulusBundle/.gitattributes new file mode 100644 index 00000000000..2b1d42ea804 --- /dev/null +++ b/src/StimulusBundle/.gitattributes @@ -0,0 +1,7 @@ +/.gitattributes export-ignore +/.gitignore export-ignore +/.symfony.bundle.yaml export-ignore +/assets/src export-ignore +/assets/test export-ignore +/phpunit.xml.dist export-ignore +/tests export-ignore diff --git a/src/Svelte/.gitattributes b/src/Svelte/.gitattributes index ab5611aa83a..1ba1a889ab8 100644 --- a/src/Svelte/.gitattributes +++ b/src/Svelte/.gitattributes @@ -1,8 +1,8 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/assets/.gitignore export-ignore -/assets/vitest.config.js export-ignore +/assets/src export-ignore /assets/test export-ignore +/assets/vitest.config.js export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore -/assets/src/*.ts export-ignore diff --git a/src/Svelte/.gitignore b/src/Svelte/.gitignore index 1fb4eccb7e2..bf4b985d010 100644 --- a/src/Svelte/.gitignore +++ b/src/Svelte/.gitignore @@ -1,4 +1,5 @@ +/assets/node_modules /composer.lock /phpunit.xml /vendor/ -/.phpunit.result.cache \ No newline at end of file +/.phpunit.result.cache diff --git a/src/Svelte/assets/.gitignore b/src/Svelte/assets/.gitignore deleted file mode 100644 index 2ccbe4656c6..00000000000 --- a/src/Svelte/assets/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/node_modules/ diff --git a/src/Swup/.gitattributes b/src/Swup/.gitattributes index 70ce3e96ce2..fe55079a9ec 100644 --- a/src/Swup/.gitattributes +++ b/src/Swup/.gitattributes @@ -1,5 +1,5 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore diff --git a/src/Turbo/.gitattributes b/src/Turbo/.gitattributes index 9b2c3470115..b6c0beab639 100644 --- a/src/Turbo/.gitattributes +++ b/src/Turbo/.gitattributes @@ -3,7 +3,7 @@ /.symfony.bundle.yaml export-ignore /phpunit.xml.dist export-ignore /phpstan.neon.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore /assets/vitest.config.js export-ignore /tests export-ignore diff --git a/src/Typed/.gitattributes b/src/Typed/.gitattributes index 70ce3e96ce2..fe55079a9ec 100644 --- a/src/Typed/.gitattributes +++ b/src/Typed/.gitattributes @@ -1,5 +1,5 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore diff --git a/src/Vue/.gitattributes b/src/Vue/.gitattributes index 6d6840b254e..1ba1a889ab8 100644 --- a/src/Vue/.gitattributes +++ b/src/Vue/.gitattributes @@ -1,8 +1,8 @@ /.gitattributes export-ignore /.gitignore export-ignore /.symfony.bundle.yaml export-ignore -/phpunit.xml.dist export-ignore -/assets/src/**/*.ts export-ignore +/assets/src export-ignore /assets/test export-ignore /assets/vitest.config.js export-ignore +/phpunit.xml.dist export-ignore /tests export-ignore