Repository navigation
#154 - Add a .gitattributes to exclude the development files from the Composer archive, remove the unused package.json - #155
Merged
Merged
Conversation
… Composer archive, remove the unused package.json Same change as cleverage/process-bundle#270: export-ignore .docker/, .github/, tests/, .gitattributes, .gitignore, .php-cs-fixer.dist.php, Makefile, phpstan.neon, phpunit.xml.dist and rector.php. docs/ is kept. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #154: same change as cleverage/process-bundle#270 (PR cleverage/process-bundle#285).
Changes
.gitattributeswithexport-ignorefor.docker/,.github/,tests/,.gitattributes,.gitignore,.php-cs-fixer.dist.php,Makefile,phpstan.neon,phpunit.xml.dist,rector.php.Archive installed by Composer (
git archive), root entries: 22 → 12 (src/,config/,templates/,translations/,public/,docs/,composer.json,README.md,UPGRADE.md,LICENSE,CHANGELOG.md,CONTRIBUTING.md);tests/alone was 103 entries.docs/is kept, as in process-bundle, so that the documentation stays readable fromvendor/.package.json: Webpack Encore / Stimulus / Bootstrap / Sass dependencies, leftover of the Symfony skeleton the bundle was created from. Nowebpack.config.js, noassets/directory, no template loads an Encore entry or an importmap, and nothing refers to it (CI, Dependabot, Makefile, docs).templates/components/BootstrapModal.html.twigsetsdata-controller="bootstrap-modal", a Stimulus controller the bundle does not ship. The modal works without it (opened withdata-bs-toggle="modal", Bootstrap JS loaded by EasyAdmin). Kept, as an application may provide such a controller (it is the example of the Symfony UX TwigComponent documentation); to remove in a separate change if we prefer.Requirements
Breaking changes
None: no runtime file removed. A
--prefer-distinstall no longer contains the tests and the development configuration files (--prefer-sourcestill does).🤖 Generated with Claude Code