chore: bump cursor_templates_version to 1.0.4 and update related files

- Updated cursor_templates_version in project-brief.yaml to 1.0.4 for reproducibility.
- Enhanced CHANGELOG with fixes and features for version 1.0.4, including improved template resolution for global installs.
- Updated pubspec.yaml and VERSION file to reflect the new version.
- Added new templates for AGENTS.md and lefthook.yaml to the generator.
- Adjusted tests to include new root-level files in the output.

This release addresses template resolution issues and introduces new repo-level configuration files.
This commit is contained in:
2026-05-14 12:25:13 +05:30
parent 3ee83389bd
commit 44b5d814d4
31 changed files with 956 additions and 172 deletions
+15
View File
@@ -1,5 +1,20 @@
# Changelog
## [1.0.4] - 2026-05-13
### Fixed
- Global `dart pub global` installs: locate `templates/` from the package root containing `pubspec.yaml` (not under `lib/`).
## [1.0.3] - 2026-05-13
### Fixed
- Template directory resolution for `dart pub global` snapshot installs; fail fast when the bundle is missing instead of emitting placeholders.
### Added
- Generated repo-root `AGENTS.md` and `lefthook.yaml` (from `templates/root/`).
## [1.0.2] - 2026-05-13
### Changed
- Interactive wizard collects the remaining `project-brief.yaml` fields (design, API docs, features, conditional E2E tool and locales) and pins `cursor_templates_version` from a single `kCursorTemplatesVersion` constant.
## [1.0.1] - 2026-05-13
### Fixed
- Resolve bundled templates for local, Git, and hosted/global installs so generated files contain real content instead of `Template not found` placeholders.