54c66efe9b
- Changed CLI usage instructions from `dart run cursor_gen` to `cursor_gen` for global activation. - Updated project-brief.yaml example and README to reflect new command usage. - Added app_context section in project-brief.yaml for theme variants and RBAC roles. - Fixed bundled template resolution for local and global installs to prevent 'Template not found' errors. - Version bump to 1.0.1 with corresponding updates in CHANGELOG and pubspec.yaml.
20 lines
458 B
Cheetah
20 lines
458 B
Cheetah
{
|
|
"hooks": [
|
|
{
|
|
"name": "pre-commit: flutter analyze",
|
|
"command": "npx ts-node .cursor/hooks/flutter-analyze.ts",
|
|
"events": ["pre-commit"]
|
|
},
|
|
{
|
|
"name": "pre-commit: arch guard",
|
|
"command": "npx ts-node .cursor/hooks/arch-guard.ts",
|
|
"events": ["pre-commit"]
|
|
},
|
|
{
|
|
"name": "pre-push: run tests",
|
|
"command": "npx ts-node .cursor/hooks/grind-tests.ts",
|
|
"events": ["pre-push"]
|
|
}
|
|
]
|
|
}
|