Files
supabase/apps/ui-library/registry/index.ts
T
Ivan Vasilov 33127bb6ab feat: Library (#34294)
* Copy the design-system app into a new one for ui-library.

* Remove unneeded content.

* Add supabase config.

* Cleanup the css.

* Add bunch of packages.

* Cleanup the registry.

* Regenerate the registry.

* Add needed components for documenting components.

* Add the pages for the components.

* Fix the RegistryBlock.

* Various fixes.

* Add a turbo definition for ui-library.

* Rename Remix to React Router.

* Reorder the pages for all frameworks.

* Remove the bottom pager.

* Fix the pages and command menu.

* Various fixes.

* Minor fixes.

* Add ai editor rules.

* Various fixes.

* Add local supabase env vars.

* Try to fix a package error.

* Bunch of various fixes.

* Fix lint errors.
2025-03-20 22:11:07 +01:00

21 lines
559 B
TypeScript

import { type Registry } from 'shadcn/registry'
import { examples } from '@/registry/examples'
import type { RegistryItem } from 'shadcn/registry'
import { blocks } from './blocks'
import { clients } from './clients'
import aiEditorRules from './default/ai-editor-rules/registry-item.json' assert { type: 'json' }
export const registry = {
name: 'Supabase UI Library',
homepage: 'https://supabase.com/ui',
items: [
...blocks,
...clients,
aiEditorRules as RegistryItem,
// Internal use only.
...examples,
],
} satisfies Registry