feat(ui): expose grouped component entrypoints #38

Merged
vince merged 1 commit from codex/turbo-ui-entrypoints into main 2026-06-20 07:34:37 +02:00
Owner

Summary

Adds grouped package entrypoints for the UI component library.

Why

The UI package has a clean four-domain component tree, but consumers only had the root barrel. Grouped subpath exports make the component library easier to reuse while preserving the existing @dimensionlab/ui import surface.

Changes

  • Adds foundation, frames, operations, and telemetry component barrel files.
  • Adds @dimensionlab/ui/foundation, @dimensionlab/ui/frames, @dimensionlab/ui/operations, and @dimensionlab/ui/telemetry package exports.
  • Keeps development exports pointed at source and default exports pointed at built dist files.
  • Re-exports grouped barrels from the root UI package entrypoint.
  • Extends UI inventory tests to ensure every component domain has a package entrypoint and barrel.

Testing

  • Red/green: bun run --cwd packages/ui test:unit src/storybook.test.ts
  • bun run --cwd packages/ui build
  • bun run --cwd packages/ui check
  • Bun resolver checks for grouped subpaths in development and default modes
  • bun run test:qa
  • bun run db:check
  • git diff --check
  • podman build -f apps/web/Containerfile -t localhost/dimensionlab-website:codex-ui-entrypoints .
  • Runtime smoke for the rebuilt image served / and /api/dashboard.

Notes

The existing root @dimensionlab/ui exports are preserved for current consumers.

## Summary Adds grouped package entrypoints for the UI component library. ## Why The UI package has a clean four-domain component tree, but consumers only had the root barrel. Grouped subpath exports make the component library easier to reuse while preserving the existing `@dimensionlab/ui` import surface. ## Changes - Adds `foundation`, `frames`, `operations`, and `telemetry` component barrel files. - Adds `@dimensionlab/ui/foundation`, `@dimensionlab/ui/frames`, `@dimensionlab/ui/operations`, and `@dimensionlab/ui/telemetry` package exports. - Keeps development exports pointed at source and default exports pointed at built `dist` files. - Re-exports grouped barrels from the root UI package entrypoint. - Extends UI inventory tests to ensure every component domain has a package entrypoint and barrel. ## Testing - Red/green: `bun run --cwd packages/ui test:unit src/storybook.test.ts` - `bun run --cwd packages/ui build` - `bun run --cwd packages/ui check` - Bun resolver checks for grouped subpaths in development and default modes - `bun run test:qa` - `bun run db:check` - `git diff --check` - `podman build -f apps/web/Containerfile -t localhost/dimensionlab-website:codex-ui-entrypoints .` - Runtime smoke for the rebuilt image served `/` and `/api/dashboard`. ## Notes The existing root `@dimensionlab/ui` exports are preserved for current consumers.
vince added 1 commit 2026-06-20 07:31:50 +02:00
vince merged commit 7b96a7cb76 into main 2026-06-20 07:34:37 +02:00
Sign in to join this conversation.
No description provided.