Skip to content

Commit 8e3c70c

Browse files
committed
feature #601 Add assets/src-directories to .gitattributes-files for each component (daFish)
This PR was merged into the 2.x branch. Discussion ---------- Add assets/src-directories to .gitattributes-files for each component | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes/no <!-- please update src/**/CHANGELOG.md files --> | Tickets | Fix #597 (mentioned) | License | MIT This change prevents the export of the source files from `assets` when installing a component. Commits ------- 807e0ea build: add assets/src-directory to .gitattributes
2 parents f0967e4 + 807e0ea commit 8e3c70c

25 files changed

+64
-0
lines changed

src/Autocomplete/.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/.gitattributes export-ignore
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
4+
/phpunit.xml.dist export-ignore
45
/assets/.gitignore export-ignore
6+
/assets/src export-ignore
57
/assets/jest.config.js export-ignore
68
/assets/test export-ignore
79
/tests export-ignore

src/Autocomplete/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK]: The path to `routes.php` changed and you should update your

src/Chartjs/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
5+
/assets/src export-ignore
56
/assets/test export-ignore
67
/assets/jest.config.js export-ignore
78
/tests export-ignore

src/Chartjs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/Cropperjs/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
5+
/assets/src export-ignore
56
/assets/test export-ignore
67
/assets/jest.config.js export-ignore
78
/tests export-ignore

src/Cropperjs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/Dropzone/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
5+
/assets/src export-ignore
56
/assets/test export-ignore
67
/assets/jest.config.js export-ignore
78
/tests export-ignore

src/Dropzone/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/LazyImage/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
5+
/assets/src export-ignore
56
/assets/test export-ignore
67
/assets/jest.config.js export-ignore
78
/tests export-ignore

src/LazyImage/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/LiveComponent/.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
/.gitattributes export-ignore
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
4+
/phpunit.xml.dist export-ignore
45
/assets/.gitignore export-ignore
56
/assets/jest.config.js export-ignore
7+
/assets/src export-ignore
68
/assets/test export-ignore
79
/phpunit.xml.dist export-ignore
810
/tests export-ignore

src/LiveComponent/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- Added a new `route` parameter to `AsLiveComponent`, which allows to choose
66
another route for Ajax calls.
77

8+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
9+
810
## 2.6.0
911

1012
- [BC BREAK]: The path to `live_component.xml` changed _and_ the import now

src/Notify/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
5+
/assets/src export-ignore
56
/assets/test export-ignore
67
/assets/jest.config.js export-ignore
78
/tests export-ignore

src/Notify/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/React/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
5+
/assets/src export-ignore
56
/assets/test export-ignore
67
/assets/jest.config.js export-ignore
78
/tests export-ignore

src/React/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/Swup/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/.gitattributes export-ignore
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
4+
/assets/src export-ignore
45
/assets/test export-ignore
56
/assets/jest.config.js export-ignore

src/Swup/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/Turbo/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
55
/phpstan.neon.dist export-ignore
6+
/assets/src export-ignore
67
/assets/test export-ignore
78
/assets/jest.config.js export-ignore
89
/tests export-ignore

src/Turbo/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.1
48

59
- The `symfony/ux-turbo-mercure` package was abandoned and moved into this package.

src/TwigComponent/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.5
48

59
- [BC BREAK] The `PreRenderEvent` namespace was changed from `Symfony\UX\TwigComponent\EventListener`

src/Typed/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/.gitattributes export-ignore
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
4+
/assets/src export-ignore
45
/assets/test export-ignore
56
/assets/jest.config.js export-ignore

src/Typed/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

src/Vue/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.gitignore export-ignore
33
/.symfony.bundle.yaml export-ignore
44
/phpunit.xml.dist export-ignore
5+
/assets/src export-ignore
56
/assets/test export-ignore
67
/assets/jest.config.js export-ignore
78
/tests export-ignore

src/Vue/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add `assets/src` to `.gitattributes` to exclude them from the installation
6+
37
## 2.6.0
48

59
- [BC BREAK] The `assets/` directory was moved from `Resources/assets/` to `assets/`. Make

0 commit comments

Comments
 (0)