feat(editor): scaffold editor package
UI-only feature package for the ADR-029 editor rebuild: tsconfig rootDir '.', vitest jsdom base with '@' alias and honest L0 baseline thresholds, conformance ESLint active, React 19, @xyflow/react + zustand wired against the pre-approved 2026-07-12 library traces. Minimal feature.manifest.ts (empty useCases — no binders; declares requiredCores runner-protocol + baseline coverage band) so the editor participates in pnpm conformance without weakening any lint rule. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK
This commit is contained in:
@@ -45,6 +45,7 @@ See `docs/guides/runbook.md` for the full workflow.
|
||||
| `@repo/core-cms` | core-composition | Payload config aggregator — imports `@repo/<feature>/cms` only |
|
||||
| `@repo/core-trpc` | core-composition | Frontend tRPC client + Next.js provider |
|
||||
| `@repo/auth` | feature | Users collection + sign-in/up/out + sessions — control-plane identity (ADR-027: email/password accounts; repo access is a per-workspace credential, not a user identity) |
|
||||
| `@repo/editor` | feature | Rebuilt editor UI (ADR-029): React Flow board, iframe frame node, canvas-protocol client, selection overlay, zustand store (registry + selection) |
|
||||
| `@repo/core-eslint` | tooling | Shared ESLint 9 flat configs (base, next, react-internal, boundaries) + the 16 conformance rules |
|
||||
| `@repo/core-typescript` | tooling | Shared TypeScript base configs + Vitest base |
|
||||
| `@repo/core-testing` | tooling | Shared test utilities (defineFactory, defineContractSuite, renderWithProviders, payload mocks, `Recording*` doubles) |
|
||||
@@ -57,7 +58,7 @@ Apps:
|
||||
| `apps/cms` | 3001 | Payload admin |
|
||||
| `apps/storybook` | 6006 | Storybook — component workshop for `core-ui` + feature UI |
|
||||
|
||||
`auth` is the only feature package today. The Veect control-plane features (workspaces, projects, discovery, design-doc, editor, …) land as sibling packages under `packages/` following the same shape. Per ADR-029, `packages/editor` starts empty — the prototype codebase under `docs/product/reference/` is reference material, never vendored.
|
||||
`auth` and `editor` are the feature packages today (`editor` is UI-only — empty `useCases`, no binders). The remaining Veect control-plane features (workspaces, projects, discovery, design-doc, …) land as sibling packages under `packages/` following the same shape. Per ADR-029, `packages/editor` is rebuilt under template conventions — the prototype codebase under `docs/product/reference/` is reference material, never vendored.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user