Skip to main content
Glama
reuvenaor

Shadcn Registry manager

by reuvenaor
resolve-import.ts376 B
import { createMatchPath, type ConfigLoaderSuccessResult } from "tsconfig-paths" export async function resolveImport( importPath: string, config: Pick<ConfigLoaderSuccessResult, "absoluteBaseUrl" | "paths"> ) { return createMatchPath(config.absoluteBaseUrl, config.paths)( importPath, undefined, () => true, [".ts", ".tsx", ".jsx", ".js", ".css"] ) }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/reuvenaor/shadcn-registry-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server