From 5fce5cf0ef48fd4a95104e9ac4b9841ba0b5c655 Mon Sep 17 00:00:00 2001 From: Alexander Dmitryuk Date: Mon, 29 Sep 2025 10:32:45 +0000 Subject: [PATCH 1/2] chore: remove the tracked .idea folder --- .idea/.gitignore | 8 -------- .idea/modules.xml | 8 -------- .idea/php.xml | 26 -------------------------- .idea/roadrunner-api.iml | 13 ------------- .idea/vcs.xml | 8 -------- 5 files changed, 63 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/modules.xml delete mode 100644 .idea/php.xml delete mode 100644 .idea/roadrunner-api.iml delete mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b81..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 9e6fee39..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml deleted file mode 100644 index c923ef61..00000000 --- a/.idea/php.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/roadrunner-api.iml b/.idea/roadrunner-api.iml deleted file mode 100644 index 1f9e735b..00000000 --- a/.idea/roadrunner-api.iml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index a0cca338..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file From eeda9eda15c84add0defd8ebc570ee672957d5b1 Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Sat, 12 Sep 2026 12:18:19 +0400 Subject: [PATCH 2/2] build: ship only generated DTOs in the composer archive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flip .gitattributes to a whitelist: export-ignore everything, then re-include only what a consumer needs — the manifest, the top-level docs, and the generated PHP classes. The proto sources, submodules and tooling no longer end up in `composer archive` / dist tarballs. Assisted-By: Claude Opus 4.8 (1M context) --- .gitattributes | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/.gitattributes b/.gitattributes index 8f992822..8c58a027 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,23 @@ -/.github export-ignore -/api export-ignore -.gitattributes export-ignore -.gitignore export-ignore -generate.sh export-ignore -.gitmodules export-ignore \ No newline at end of file +# Line-ending normalization for text files. +* text=auto + +# PHP-aware hunk headers in `git diff`. +*.php diff=php + +# Manifest: each bump touches its own line — take both sides on overlap +# instead of raising a conflict. +/composer.json merge=union + +# Default: nothing is included in the `composer archive` of the package. +# Re-include only the files consumers actually need below. +* export-ignore + +# Package manifest and top-level documentation. +/composer.json -export-ignore +/LICENSE -export-ignore +/README.md -export-ignore +/CHANGELOG.md -export-ignore + +# Generated PHP DTOs, autoloaded through composer.json PSR-4. +/generated -export-ignore +/generated/** -export-ignore