diff --git a/.gitattributes b/.gitattributes index 61170e8..e9798e8 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,9 +11,13 @@ *.md text *.xml text *.json text +*.json5 text +*.neon text *.bat text *.sql text *.yml text +*.yaml text +*.svg text # Ensure those won't be messed up with *.png binary @@ -23,56 +27,38 @@ *.woff2 binary # Exclude files from the archive +/.agents export-ignore +/.claude export-ignore +/.coderabbit.yaml export-ignore +/.codex export-ignore +/.config/gh export-ignore /.editorconfig export-ignore /.gitattributes export-ignore /.github export-ignore /.gitignore export-ignore +/.idea export-ignore /.nvmrc export-ignore /.prettierignore export-ignore /.prettierrc.json export-ignore /.styleci.yml export-ignore -/.stylelintignore export-ignore +/.vscode export-ignore +/AGENTS.md export-ignore +/code_coverage export-ignore +/codeception.yml export-ignore /composer-require-checker.json export-ignore +/composer.lock export-ignore /docs export-ignore /ecs.php export-ignore /infection.json* export-ignore -/package-lock.json export-ignore -/package.json export-ignore +/internal export-ignore +/node_modules export-ignore /phpstan*.neon* export-ignore /phpunit.xml.dist export-ignore /rector.php export-ignore -/resources/tests export-ignore /runtime export-ignore -/scaffold-lock.json export-ignore -/stryker.config.mjs export-ignore /tests export-ignore -/vite.config.js export-ignore -/vitest.config.js export-ignore +/vendor export-ignore # Avoid merge conflicts in CHANGELOG # https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/ /CHANGELOG.md merge=union - -/.agents export-ignore - -/.claude export-ignore - -/internal export-ignore -/vendor export-ignore -/node_modules export-ignore -/.env export-ignore -/.env.* export-ignore - -/.phpunit.cache export-ignore - -/.phpunit.result.cache export-ignore - -/.stryker-tmp export-ignore - -/.codex export-ignore - -/.config export-ignore - -/reports/mutation export-ignore - -/artifacts export-ignore diff --git a/.gitignore b/.gitignore index 73a398c..d0477ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,16 @@ +# artifacts (if present) +artifacts + # Local AI agent, editor, and GitHub CLI config (if present) -.claude .codex .config/gh +# codecoverage (if present) +code_coverage + +# codeception (if present) +c3.php + # composer composer.lock @@ -14,12 +22,12 @@ composer.lock .github/prompts/** .github/skills/** -# Internal docs -internal - # mac ds_store (if present) .DS_Store +# netbeans project (if present) +nbproject + # node_modules (if present) node_modules @@ -33,12 +41,17 @@ node_modules .phpunit.cache .phpunit.result.cache -# mutation testing +# Private maintainer files (if present) +/internal/ + +# Report (if present) +reports + +# Stryker (if present) .stryker-tmp -reports/mutation -# local browser quality artifacts -artifacts +# vagrant (if present) +.vagrant # vendor vendor @@ -49,15 +62,7 @@ vendor # windows thumbnail cache (if present) Thumbs.db -# Package skill discovery; keep other local client state private. -!/.agents/ -/.agents/* -!/.agents/skills/ -/.agents/skills/* -!/.agents/skills/php-forge-debug-core -!/.claude/ -/.claude/* -!/.claude/skills/ -/.claude/skills/* -!/.claude/skills/php-forge-debug-core -/internal/ +# zend studio for eclipse project (if present) +.buildpath +.project +.settings diff --git a/CHANGELOG.md b/CHANGELOG.md index 530a94a..9bc4f20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## 0.1.3 Under development - docs(skills): add the package skill and AI guide; add `README.md` Security and Built with AI sections and Scorecard badge. +- chore(git): update `.gitattributes` and `.gitignore` for improved file handling and exclusions. ## 0.1.2 November 6, 2026