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:
@@ -1,5 +1,19 @@
|
||||
# Changelog
|
||||
|
||||
## 1.0.4
|
||||
|
||||
- Fix package-root detection for template resolution: walk up from the resolved `package:cursor_gen/...` file until `pubspec.yaml` is found (global installs were incorrectly using `lib/templates`).
|
||||
|
||||
## 1.0.3
|
||||
|
||||
- Resolve template bundle by sentinel file (`rules/universal/flutter-core.mdc.tmpl`); prefer package `templates/` first for global installs; exit with a clear error instead of writing placeholder-only output.
|
||||
- Generate repo-root `AGENTS.md` and `lefthook.yaml` from `templates/root/`.
|
||||
- Golden tests now `await` async golden comparison so repo-root goldens are written reliably.
|
||||
|
||||
## 1.0.2
|
||||
|
||||
- Wizard aligns with full brief schema; shared `kCursorTemplatesVersion` for lock file and generated brief.
|
||||
|
||||
## 1.0.1
|
||||
|
||||
- Fix default template resolution so generated projects use bundled templates instead of writing `Template not found` placeholders.
|
||||
|
||||
Reference in New Issue
Block a user