From 16dae7dda3eba50b3dd24d612b07226acaf48f32 Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Mon, 16 Nov 2026 12:17:56 -0300 Subject: [PATCH 1/2] chore(git): update `.gitattributes` for improved text and binary file handling. --- .gitattributes | 24 ++++++++++++------------ CHANGELOG.md | 1 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitattributes b/.gitattributes index 7275ab2..45cf3b7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,34 +4,34 @@ # ...Unless the name matches the following overriding patterns # Definitively text files -*.php text +*.bat text *.css text *.js text -*.txt text -*.md text -*.xml text *.json text *.json5 text +*.md text *.neon text -*.bat text +*.php text *.sql text -*.yml text -*.yaml text *.svg text +*.txt text +*.xml text +*.yaml text +*.yml text # Ensure those won't be messed up with -*.png binary -*.jpg binary *.gif binary +*.jpg binary +*.png binary *.ttf binary *.woff2 binary # Exclude files from the archive -.env export-ignore -.env.* export-ignore -.env.example -export-ignore .agents export-ignore .claude export-ignore +.env export-ignore +.env.* export-ignore +.env.example export-ignore /.coderabbit.yaml export-ignore /.codex export-ignore /.config/gh export-ignore diff --git a/CHANGELOG.md b/CHANGELOG.md index 2588aa0..f07720d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - docs(skills): add the package skill and AI guide; add `README.md` Security and Built with AI sections and Scorecard badge. - chore(git): ignore local agent state and environment secrets and exclude them and development artifacts from archives. +- chore(git): update `.gitattributes` for improved text and binary file handling. ## 0.1.2 November 6, 2026 From 90c1a4b5abd3d541570ca7b956c80816c915e42f Mon Sep 17 00:00:00 2001 From: Wilmer Arambula Date: Mon, 16 Nov 2026 12:27:39 -0300 Subject: [PATCH 2/2] chore(git): refine `.gitattributes` and `.gitignore` for better file handling and exclusions. --- .gitattributes | 24 ++++++++---------------- .gitignore | 26 +++++++++++++------------- 2 files changed, 21 insertions(+), 29 deletions(-) diff --git a/.gitattributes b/.gitattributes index 45cf3b7..65346ef 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,27 +4,22 @@ # ...Unless the name matches the following overriding patterns # Definitively text files -*.bat text +*.php text *.css text *.js text -*.json text -*.json5 text -*.md text -*.neon text -*.php text -*.sql text -*.svg text *.txt text +*.md text *.xml text -*.yaml text +*.json text +*.bat text +*.sql text *.yml text # Ensure those won't be messed up with -*.gif binary -*.jpg binary *.png binary +*.jpg binary +*.gif binary *.ttf binary -*.woff2 binary # Exclude files from the archive .agents export-ignore @@ -32,14 +27,12 @@ .env export-ignore .env.* export-ignore .env.example export-ignore -/.coderabbit.yaml export-ignore /.codex export-ignore -/.config/gh export-ignore +/.config export-ignore /.editorconfig export-ignore /.gitattributes export-ignore /.github export-ignore /.gitignore export-ignore -/.idea export-ignore /.nvmrc export-ignore /.phpunit.cache export-ignore /.prettierignore export-ignore @@ -47,7 +40,6 @@ /.stryker-tmp export-ignore /.styleci.yml export-ignore /.vscode export-ignore -/AGENTS.md export-ignore /artifacts export-ignore /code_coverage export-ignore /codeception.yml export-ignore diff --git a/.gitignore b/.gitignore index 938418b..8e270f3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,16 +4,6 @@ # artifacts (if present) artifacts -# Local AI agent, editor, and GitHub CLI config (if present) -.claude -.codex -.config/gh - -# Local environment files (if present) -.env -.env.* -!.env.example - # codecoverage (if present) code_coverage @@ -31,6 +21,16 @@ composer.lock .github/prompts/** .github/skills/** +# Local AI agent, editor, and GitHub CLI config (if present) +.claude +.codex +.config/gh + +# Local environment files +.env +.env.* +!.env.example + # mac ds_store (if present) .DS_Store @@ -50,13 +50,13 @@ node_modules .phpunit.cache .phpunit.result.cache -# Private maintainer files (if present) +# private maintainer files (if present) /internal/ -# Report (if present) +# report (if present) reports -# Stryker (if present) +# stryker (if present) .stryker-tmp # vagrant (if present)