Skip to content

Commit 3f4bd09

Browse files
authored
Merge pull request #11 from imagewize/gitattributes
Gitattributes
2 parents 49bb10e + e214933 commit 3f4bd09

3 files changed

Lines changed: 38 additions & 1 deletion

File tree

.gitattributes

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Exclude development files from Composer installs and git archives
2+
.git export-ignore
3+
.github export-ignore
4+
.gitattributes export-ignore
5+
.gitignore export-ignore
6+
.distignore export-ignore
7+
.claude export-ignore
8+
.DS_Store export-ignore
9+
.vscode export-ignore
10+
.idea export-ignore
11+
12+
phpunit.xml export-ignore
13+
composer.json export-ignore
14+
composer.lock export-ignore
15+
16+
tests export-ignore
17+
vendor export-ignore
18+
docs export-ignore
19+
scripts export-ignore
20+
.vibe export-ignore
21+
22+
AGENTS.md export-ignore
23+
CLAUDE.md export-ignore
24+
README.md export-ignore
25+
CHANGELOG.md export-ignore
26+
27+
*.sh export-ignore
28+
*.log export-ignore
29+
*.swp export-ignore
30+
*.swo export-ignore
31+
*~ export-ignore

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.4.1] - 2026-05-26
8+
9+
### Added
10+
11+
- **`.gitattributes`** — controls which files are excluded from Composer installs and `git archive` exports: development directories (`tests/`, `docs/`, `scripts/`, `vendor/`), editor config (`.vscode/`, `.idea/`, `.vibe/`), AI tooling (`.claude/`), build artefacts (`*.sh`, `*.log`, `*.swp`), and CI/CD config (`.github/`, `phpunit.xml`, `composer.lock`). Runtime directories (`src/`, `config/`, `templates/`, `layouts/`, `css/`, `snippets/`) are kept so the tool works after `composer install`.
12+
713
## [2.4.0] - 2026-05-15
814

915
### Added

bin/pt-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use Imagewize\PtCli\Commands\Scaffold\StyleCreateCommand;
2222
use Imagewize\PtCli\Commands\TemplateCheckCommand;
2323
use Symfony\Component\Console\Application;
2424

25-
$application = new Application('pt-cli', '2.4.0');
25+
$application = new Application('pt-cli', '2.4.1');
2626
$application->add(new CheckCommand());
2727
$application->add(new TemplateCheckCommand());
2828
$application->add(new PatternCreateCommand());

0 commit comments

Comments
 (0)