* Build the current registry. * Export the blocks as JSON and import them into registry.json. * Move the registry.json into public/r. * Fix a prettier error. * Clean up extra files in vue blocks. * Bump shadcn. * Readd shadcn to vue blocks. * Fix the shadcn types. * Remove extra package exclusions.
24 lines
654 B
TypeScript
24 lines
654 B
TypeScript
import { type Registry, type RegistryItem } from 'shadcn/schema'
|
|
|
|
import { examples } from '@/registry/examples'
|
|
import { blocks as vueBlocks } from '@supabase/vue-blocks'
|
|
import { blocks } from './blocks'
|
|
import { clients } from './clients'
|
|
import aiEditorRules from './default/ai-editor-rules/registry-item.json' with { type: 'json' }
|
|
import { platform } from './platform'
|
|
|
|
export const registry = {
|
|
name: 'Supabase UI Library',
|
|
homepage: 'https://supabase.com/ui',
|
|
items: [
|
|
...blocks,
|
|
...clients,
|
|
...platform,
|
|
...vueBlocks,
|
|
aiEditorRules as RegistryItem,
|
|
|
|
// Internal use only.
|
|
...examples,
|
|
],
|
|
} satisfies Registry
|