Registry Package Entry Point (registry/index.ts)

ui · packages/registry/src/registry/index.ts · typescript · MIT
dev-tools, cli, ui, lang:typescript, tag:registry, tag:exports

Barrel file exporting registry API functions, item resolution, search, loading utilities, and typed error classes for managing shadcn-style component registries.

// Source: https://github.com/shadcn-ui/ui | License: MIT | Copyright 2023 shadcn
// Provided via justclaw.it.com; keep this notice with the code.
export {
  getRegistries,
  getRegistryItems,
  resolveRegistryItems,
  getRegistry,
  getRegistriesConfig,
  getRegistriesIndex,
} from "./api"

export { addRegistryItems } from "./add"

export { searchRegistries } from "./search"

export {
  loadRegistry,
  loadRegistryItem,
  type LoadRegistryOptions,
} from "./loader"

export {
  RegistryErrorCode,
  RegistryError,
  RegistryNotFoundError,
  RegistryUnauthorizedError,
  RegistryForbiddenError,
  RegistryFetchError,
  RegistryNotConfiguredError,
  RegistryLocalFileError,
  RegistryParseError,
  RegistryValidationError,
  RegistryItemNotFoundError,
  RegistriesIndexParseError,
  RegistryMissin

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key