* 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.
93 lines
2.0 KiB
TypeScript
93 lines
2.0 KiB
TypeScript
import type { RegistryItem } from 'shadcn/schema'
|
|
|
|
export const examples: RegistryItem[] = [
|
|
{
|
|
name: 'dropzone-demo',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/dropzone-demo.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'realtime-cursor-demo',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/realtime-cursor-demo.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'password-based-auth-demo',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/password-based-auth.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'current-user-avatar-demo',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/current-user-avatar-demo.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'current-user-avatar-preview',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/current-user-avatar-preview.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'realtime-avatar-stack-demo',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/realtime-avatar-stack-demo.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'realtime-avatar-stack-preview',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/realtime-avatar-stack-preview.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: 'infinite-query-hook-demo',
|
|
type: 'registry:example',
|
|
registryDependencies: [],
|
|
files: [
|
|
{
|
|
path: 'registry/default/examples/infinite-query-hook-demo.tsx',
|
|
type: 'registry:example',
|
|
},
|
|
],
|
|
},
|
|
]
|