Commit 487dd3d
authored
feat(ui): publish @decocms/ui as an open-source design system with Storybook and Claude Code skill (#5867)
* feat(ui): make @decocms/ui a publishable open-source package
- Rename @deco/ui -> @decocms/ui (npm scope owned by decocms)
- Move Studio-domain code out of the design system: github url helpers
and the sound engine now live in apps/web; delete dead
llm-model-selector and models-binding-provider (no consumers)
- Rewrite internal self-package imports to relative paths
- Publishing metadata: MIT license, repository, files, publishConfig,
sideEffects; react/react-dom/react-hook-form/sonner become
peerDependencies; drop unused date-fns
- Add tsc dist build (ESM + d.ts). Dual exports: extension-suffixed
subpaths resolve to TS source (monorepo DX), extensionless subpaths
resolve to compiled dist (external consumers)
- components.json: rsc false (SPA library)
* feat(ui): add Storybook 10 with stories for every component
- Storybook 10 (react-vite) in packages/ui: docs, a11y, and theme addons;
light/dark toggle via the design system's .dark class; Tailwind v4
through @tailwindcss/vite
- Stories for all 67 components, co-located as src/components/*.stories.tsx
(excluded from the npm tarball and the dist build)
- Design System foundation pages: Welcome (install + principles), Colors
(semantic token reference), Typography (families, weights, scale)
- bun run --cwd=packages/ui storybook to develop, build-storybook for the
static site
* feat(ui): npm publish workflow, Storybook Pages deploy, and Claude Code skill
- publish-ui-npm.yaml: auto-publish @decocms/ui on version change
(mirrors the bindings publish flow, OIDC provenance)
- deploy-storybook.yml: build and deploy the Storybook to GitHub Pages
on pushes to main touching packages/ui
- Claude Code plugin marketplace at the repo root with a decocms-ui
plugin; its skill teaches agents to install and use the design system
(tokens, imports, component inventory, conventions)
* fix(ui): deploy Storybook to Cloudflare Pages instead of GitHub Pages
decocms-ui.pages.dev reads as the design system's own home; the GitHub
Pages URL would be pinned under the studio repo path. Reuses the CF
credentials already used by deploy-docs.
* feat(ui): attach designsystem.decocms.com to the Storybook Pages project
Adds an idempotent workflow step that attaches the custom domain via the
Cloudflare API (wrangler has no pages-domain command) and makes it the
canonical docs URL in the skill, plugin metadata, and release notes.
* refactor(ui): deploy Storybook as Cloudflare Worker static assets
Replaces the Pages project + curl domain step with a declarative
wrangler.jsonc: assets-only Worker with designsystem.decocms.com as a
custom_domain route. Validated with wrangler deploy --dry-run.
* fix(ui): delete dead code surfaced by knip after the sound/github move
Inside packages/ui these files had no knip entry config, so their
reachability was never analyzed; moving them into apps/web exposed them.
Removes the three unreferenced sound assets and the uncalled
fetchGitHubReadme, and narrows sound-engine helpers to module-private.1 parent e6b756a commit 487dd3d
586 files changed
Lines changed: 8323 additions & 1745 deletions
File tree
- .claude-plugin
- .github/workflows
- apps/web
- ct/playwright
- src
- components
- automations
- chat
- highlight
- common
- message
- parts
- tool-call-part
- pills
- select-model
- tiptap
- file
- mention
- collections
- connections
- connect
- deck
- details
- connection
- settings-tab
- prompt
- dev-agent
- file-picker
- header
- home
- tile-board
- markdown-editor
- monitoring
- page
- release-channel
- sandbox
- content
- blog
- blocks
- variant-calendar
- preview
- drawer
- file-explorer
- runtime-card
- sections-editor
- fields
- location
- settings
- sidebar
- task-groups
- task-board
- thread
- github
- tools
- user
- desktop
- hooks
- layouts
- agent-shell-layout
- library
- main-panel-tabs
- org-shell-layout
- task-board
- tasks-panel
- lib/sounds
- mcp-apps
- routes
- admin
- commerce-onboarding
- companion-forms
- orgs
- monitoring
- settings
- reports
- templates
- sdk/hooks
- utils
- views
- automations
- registry
- settings
- ai-providers
- virtual-mcp
- packages/ui
- .claude-plugin
- .storybook
- skills/decocms-ui
- src
- components
- foundations
- hooks
- lib
- providers
- styles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments