Registry 構造

source ownership、生成 endpoint、依存関係、インストール境界を説明します。

Source ownership

PathOwns
registry/src/components/uiInstallable UI primitives
registry/src/components/blocksTemplates, workspaces and chart recipes
registry/src/libShared utilities and analytics model
registry/src/theme.tsPreset data and token calculation
registry/catalog.jsonItem metadata and dependency declarations

Generated output

  • registry/registry.json and registry/public/r are built from source.
  • docs/public/r mirrors the same install endpoints for documentation.
  • docs/src/registry is a synchronized ignored build input, not a second source of truth.
  • Generated CSS and theme bootstrap come from the same theme engine.

インストールの流れ

@neumorphism-ui resolves through one URL template, and shadcn follows each item's declared registry dependencies.

Registry URL templatehttps://neumorphism-ui.dev/r/{name}.json
インストール: buttonnpx shadcn@latest add @neumorphism-ui/button

Independent-install CI creates fresh projects per file-bearing item. Template items build in Next.js; other items build in both Next.js and Vite.

Directory metadata

registry/directory-entry.json stores the current namespace, homepage, endpoint template, description and inline logo. Its presence does not imply directory submission or approval.

境界

  • The registry does not own application authentication, authorization, persistence, routing or business data.
  • Component installation must not overwrite application-owned CSS, customized source, aliases or routes.
  • Obsolete paths are removed instead of kept behind compatibility aliases.

コンポーネントを見る →