Skip to content

#47 - Add a .gitattributes to exclude the development files from the Composer archive - #48

Merged
njoubert-cleverage merged 1 commit into
mainfrom
47
Oct 14, 2026
Merged

njoubert-cleverage merged 1 commit into
mainfrom
47

Conversation

@njoubert-cleverage

Copy link
Copy Markdown
Member

Description

Fixes #47: same change as cleverage/process-bundle#270 (PR cleverage/process-bundle#285).

Changes

  • .gitattributes with export-ignore for .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: 17 → 8 (src/, config/, docs/, composer.json, README.md, LICENSE, CHANGELOG.md, CONTRIBUTING.md); tests/ alone was 11 entries. docs/ is kept, as in process-bundle, so that the documentation stays readable from vendor/.
  • CHANGELOG (Latest).

Requirements

  • Documentation updates
    • Reference
    • Changelog
  • Unit tests

Breaking changes

None: no runtime file removed. A --prefer-dist install no longer contains the tests and the development configuration files (--prefer-source still does).

🤖 Generated with Claude Code

…iles from the Composer archive

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>
@njoubert-cleverage
njoubert-cleverage merged commit 6fc9178 into main Oct 14, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a .gitattributes to exclude the development files from the Composer archive

1 participant