| 4 | export const COMPONENTS_DIRECTORY = "/src/content/docs/components/" |
| 5 | |
| 6 | export interface Component { |
| 7 | name: string |
| 8 | category: string |
| 9 | thumbnail: { |
| 10 | url: string |
| 11 | } |
| 12 | demo: { |
| 13 | url: string |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | export function getAllComponentNames(): string[] { |
| 18 | const componentsPath = path.join(process.cwd(), COMPONENTS_DIRECTORY) |
nothing calls this directly
no outgoing calls
no test coverage detected