Skip to content

Add .gitattributes to exclude dev files from dist#91

Open
endelwar wants to merge 1 commit intoMacPaw:developfrom
endelwar:feat/add-gitattributes
Open

Add .gitattributes to exclude dev files from dist#91
endelwar wants to merge 1 commit intoMacPaw:developfrom
endelwar:feat/add-gitattributes

Conversation

@endelwar
Copy link

This PR adds a .gitattributes file to reduce the package size when installed via Composer with --prefer-dist.

The following files and directories are now excluded from the distribution archive:

  • .github/ - CI workflows and templates
  • tests/ - test suite
  • .gitattributes, .gitignore - git configuration
  • phpcs.xml.dist, phpstan.neon, phpunit.xml.dist - QA tools configuration

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.

1 participant