refactor: strip Lazar references from top-level docs + guides
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Scaffolding a feature
|
||||
|
||||
`turbo gen feature` produces a Lazar-conformant feature package under
|
||||
`turbo gen feature` produces a feature package under
|
||||
`packages/<name>/` matching the shape of the reference `navigation` feature.
|
||||
|
||||
## Invoking the generator
|
||||
@@ -18,11 +18,11 @@ Non-interactive (positional bypass — order matches the prompts in
|
||||
pnpm turbo gen feature --args <name> <Entity> <entities-plural>
|
||||
```
|
||||
|
||||
| Position | Prompt | Example | Conventions |
|
||||
|---|---|---|---|
|
||||
| `<name>` | Feature package name | `widgets` | `kebab-case`, becomes `@repo/<name>` and `packages/<name>/` |
|
||||
| `<Entity>` | Entity name | `Widget` | `PascalCase` singular, drives class/symbol/use-case names |
|
||||
| `<entities-plural>` | Entity plural slug | `widgets` | `kebab-case`, used for the future Payload collection slug |
|
||||
| Position | Prompt | Example | Conventions |
|
||||
| ------------------- | -------------------- | --------- | ----------------------------------------------------------- |
|
||||
| `<name>` | Feature package name | `widgets` | `kebab-case`, becomes `@repo/<name>` and `packages/<name>/` |
|
||||
| `<Entity>` | Entity name | `Widget` | `PascalCase` singular, drives class/symbol/use-case names |
|
||||
| `<entities-plural>` | Entity plural slug | `widgets` | `kebab-case`, used for the future Payload collection slug |
|
||||
|
||||
Example end-to-end:
|
||||
|
||||
@@ -60,7 +60,7 @@ See `docs/guides/conformance-quickref.md` for the manifest field reference.
|
||||
- DI: `symbols.ts`, `module.ts`, `container.ts`, plus
|
||||
`bind-production.ts` and `bind-dev-seed.ts` that compose
|
||||
`withSpan(tracer, opts, withCapture(logger, tags, factory(deps)))` at
|
||||
bind time (post-R44 sandwich pattern)
|
||||
bind time (span + capture sandwich pattern)
|
||||
- tRPC integration: `procedures.ts` (feature-scoped error middleware) and
|
||||
`router.ts` exposing `get<Entity>` with full router tests including
|
||||
`BAD_REQUEST` / `NOT_FOUND` mapping
|
||||
@@ -123,8 +123,8 @@ The realtime generators insert at three additional fixed `// <gen:realtime-*>` a
|
||||
schemas-in-use-case, three binding modes per feature, span + capture sandwich)
|
||||
- `packages/navigation/AGENTS.md` — canonical reference shape the templates mirror
|
||||
- `docs/architecture/vertical-feature-spec.md` — design rationale for the layout
|
||||
- `docs/decisions/adr-012-lazar-conformance.md` — file naming + factory pattern
|
||||
- `docs/decisions/adr-012-feature-conventions.md` — file naming + factory pattern
|
||||
- `docs/decisions/adr-013-input-output-unification.md` — schemas-in-use-case + presenter
|
||||
- `docs/decisions/adr-014-instrumentation-sentry.md` — span + capture wiring (R41–R44)
|
||||
- `docs/decisions/adr-014-instrumentation-sentry.md` — span + capture wiring
|
||||
- `docs/decisions/adr-015-events-and-jobs.md` — cross-feature events + background jobs
|
||||
- `docs/decisions/adr-016-realtime-layer.md` — Socket.IO realtime channels + handlers
|
||||
|
||||
Reference in New Issue
Block a user