Registry
Understand the package-local manifest and React registry build flow.
The React registry is assembled from the package-local registry definitions in packages/react/src/registry/* and published under apps/react/public/r.
Projects that install Tile UI through the shadcn CLI should register the Tile UI namespace in components.json:
{
"registries": {
"@tile-ui": "https://react.tileui.zmorg.cn/r/{name}.json"
}
}Once configured, registry dependencies such as @tile-ui/core and @tile-ui/utils resolve without hardcoding the docs site domain into each item payload.
corepack pnpm registry:build:reactThe docs site reads the published registry metadata from apps/react/public/r/registry.json, so the site and the public registry stay aligned.