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

0 commit comments

Comments
 (0)