feat(navigation): update feature generator templates to emit wireUseCase
Replace inline withSpan(withCapture(factory(deps))) form in the binder
templates with wireUseCase({...}) calls so newly scaffolded features are
consistent with the migrated production features.
Also add assertFeatureConformance to bind-dev-seed.ts.hbs (aligns with
the migrated auth/navigation pattern) and fix bind-dev-seed.test.ts.hbs
to call binders with the ctx object form (BindContext) instead of the old
two-argument (tracer, logger) form.
Verified by running turbo gen feature testfeature and confirming:
- Generated binders use wireUseCase for use cases
- All 5 conformance gates pass on the scaffold
- Scaffold cleaned up post-verification
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"generatedAt": "2026-05-13T18:08:34.469Z",
|
||||
"commit": "57e9d98",
|
||||
"generatedAt": "2026-05-13T18:36:10.133Z",
|
||||
"commit": "9800fed",
|
||||
"repo": {
|
||||
"statements": 95.86,
|
||||
"branches": 88.91,
|
||||
|
||||
Reference in New Issue
Block a user