refactor: split website and reusable UI package #32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/turbo-component-library"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Migrates the project into a Turbo/Bun workspace with the website under
apps/weband reusable React dashboard components underpackages/ui.Why
The dashboard components need to be reusable outside the website while keeping Dimension Lab-specific model data, persistence, server routes, and deployment concerns in the web app.
Changes
@dimensionlab/ui.apps/web.Testing
bun run test:qapodman build -f apps/web/Containerfile -t localhost/dimensionlab-website:codex-turbo ./api/dashboardreturnedstate=ready,schemaVersion=dashboard.v1,title=System Overview.Notes
The UI package is still private, but now has package exports for JS, types, CSS, and Storybook for review. The web app aliases workspace UI imports to source for local builds while the package still emits compiled
distartifacts.