SYMBOL INDEX (877 symbols across 171 files) FILE: apps/docs/middleware.ts function middleware (line 6) | function middleware(request: NextRequest) { FILE: apps/docs/next.config.mjs method rewrites (line 8) | async rewrites() { FILE: apps/docs/og-image.d.ts type HTMLAttributes (line 9) | interface HTMLAttributes { FILE: apps/docs/src/app/(home)/code-block.tsx function CodeBlock (line 7) | async function CodeBlock({ FILE: apps/docs/src/app/(home)/layout.tsx function Layout (line 4) | function Layout({ children }: LayoutProps<"/">) { FILE: apps/docs/src/app/(home)/page.tsx function HomePage (line 43) | function HomePage() { function HeroSection (line 121) | function HeroSection() { function PluginsSection (line 147) | function PluginsSection() { function RestEasySection (line 172) | function RestEasySection() { function LLMsSection (line 231) | function LLMsSection() { function ShadcnCompatibilitySection (line 272) | function ShadcnCompatibilitySection() { function FeatureAccordionSection (line 301) | function FeatureAccordionSection() { FILE: apps/docs/src/app/(home)/providers-section.tsx function Circle (line 9) | function Circle({ className, ...props }: React.ComponentProps<"div">) { function ProvidersSection (line 21) | function ProvidersSection() { FILE: apps/docs/src/app/app-client.tsx function App (line 8) | function App({ children }: { children: React.ReactNode }) { FILE: apps/docs/src/app/docs/[[...slug]]/page.tsx function Page (line 9) | async function Page(props: PageProps<"/docs/[[...slug]]">) { function generateStaticParams (line 45) | async function generateStaticParams() { function generateMetadata (line 49) | async function generateMetadata(props: PageProps<"/docs/[[...slug]]">): ... FILE: apps/docs/src/app/docs/layout.tsx function Layout (line 5) | function Layout({ children }: LayoutProps<'/docs'>) { FILE: apps/docs/src/app/layout.tsx function Layout (line 16) | function Layout({ children }: LayoutProps<"/">) { FILE: apps/docs/src/app/llms-full.txt/route.ts function GET (line 5) | async function GET() { FILE: apps/docs/src/app/llms.mdx/[[...slug]]/route.ts function GET (line 7) | async function GET(_req: Request, { params }: RouteContext<"/llms.mdx/[[... function generateStaticParams (line 19) | function generateStaticParams() { FILE: apps/docs/src/app/og/docs/[...slug]/route.tsx function GET (line 8) | async function GET(_req: Request, { params }: RouteContext<"/og/docs/[..... function generateStaticParams (line 42) | function generateStaticParams() { FILE: apps/docs/src/app/og/route.tsx function GET (line 6) | async function GET() { FILE: apps/docs/src/components/PrismaticBurst.tsx type Offset (line 6) | type Offset = { x?: number | string; y?: number | string }; type AnimationType (line 7) | type AnimationType = 'rotate' | 'rotate3d' | 'hover'; type PrismaticBurstProps (line 9) | type PrismaticBurstProps = { FILE: apps/docs/src/components/badges-table.tsx type Props (line 12) | type Props = { function buildBadgeUrl (line 17) | function buildBadgeUrl(template: string, registry: string) { type RegistryContextType (line 21) | type RegistryContextType = { function useRegistry (line 30) | function useRegistry() { function BadgesTable (line 36) | function BadgesTable({ badges, defaultRegistry }: Props) { function BadgeActions (line 70) | function BadgeActions({ badge }: { badge: { alt: string; hrefTemplate: s... FILE: apps/docs/src/components/feature-tabs.tsx type FeatureTabsContext (line 6) | type FeatureTabsContext = { function useFeatureTabs (line 22) | function useFeatureTabs() { function FeatureTabs (line 28) | function FeatureTabs({ function FeatureTabsList (line 87) | function FeatureTabsList({ className, children, ...props }: React.HTMLAt... function FeatureTabsTrigger (line 101) | function FeatureTabsTrigger({ function FeatureTabsContent (line 149) | function FeatureTabsContent({ FILE: apps/docs/src/components/files.tsx function Files (line 22) | function Files({ type FileProps (line 36) | interface FileProps extends HTMLAttributes { type FolderProps (line 41) | interface FolderProps extends HTMLAttributes { function File (line 54) | function File({ function FileIcon (line 67) | function FileIcon({ name }: { name: string }) { function Folder (line 83) | function Folder({ FILE: apps/docs/src/components/language-toggle.tsx type LanguageSelectProps (line 12) | type LanguageSelectProps = ButtonHTMLAttributes; function LanguageToggle (line 14) | function LanguageToggle(props: LanguageSelectProps): React.ReactElement { function LanguageToggleText (line 59) | function LanguageToggleText( FILE: apps/docs/src/components/layout/home/client.tsx function Navbar (line 38) | function Navbar(props: ComponentProps<'div'>) { function NavigationMenuLinkItem (line 69) | function NavigationMenuLinkItem({ function MobileNavigationMenuLinkItem (line 151) | function MobileNavigationMenuLinkItem({ function MobileNavigationMenuTrigger (line 216) | function MobileNavigationMenuTrigger({ function MobileNavigationMenuContent (line 235) | function MobileNavigationMenuContent( FILE: apps/docs/src/components/layout/home/index.tsx type HomeLayoutProps (line 32) | interface HomeLayoutProps extends BaseLayoutProps { function HomeLayout (line 43) | function HomeLayout( function Header (line 80) | function Header({ function isSecondary (line 202) | function isSecondary(item: LinkItemType): boolean { FILE: apps/docs/src/components/layout/shared/client.tsx function BaseLinkItem (line 8) | function BaseLinkItem({ FILE: apps/docs/src/components/layout/shared/index.tsx type NavOptions (line 5) | interface NavOptions extends NavProviderProps { type BaseLayoutProps (line 20) | interface BaseLayoutProps { type BaseItem (line 56) | interface BaseItem { type BaseLinkType (line 65) | interface BaseLinkType extends BaseItem { type MainItemType (line 76) | interface MainItemType extends BaseLinkType { type IconItemType (line 83) | interface IconItemType extends BaseLinkType { type ButtonItemType (line 97) | interface ButtonItemType extends BaseLinkType { type MenuItemType (line 107) | interface MenuItemType extends Partial { type CustomItemType (line 130) | interface CustomItemType extends BaseItem { type LinkItemType (line 139) | type LinkItemType = function getLinks (line 149) | function getLinks( FILE: apps/docs/src/components/logos/antigravity.tsx function Antigravity (line 3) | function Antigravity(props: SVGProps) { FILE: apps/docs/src/components/page-actions.tsx function LLMCopyButton (line 23) | function LLMCopyButton({ function ViewOptions (line 76) | function ViewOptions({ FILE: apps/docs/src/components/registry-index.tsx type RegistryIndexEntry (line 21) | type RegistryIndexEntry = z.infer; function RegistryDirectory (line 23) | function RegistryDirectory() { function Registry (line 80) | function Registry({ registry }: { registry: RegistryIndexEntry }) { FILE: apps/docs/src/components/registry-kit/demo-example.tsx function DemoExample (line 3) | function DemoExample() { FILE: apps/docs/src/components/registry-kit/demo.tsx function Demo (line 5) | function Demo({ className, ...props }: ComponentProps): Rea... function DemoPreview (line 19) | function DemoPreview({ className, ...props }: Omit) { function SidebarContentMobile (line 178) | function SidebarContentMobile({ function SidebarHeader (line 215) | function SidebarHeader(props: ComponentProps<'div'>) { function SidebarFooter (line 226) | function SidebarFooter(props: ComponentProps<'div'>) { function SidebarViewport (line 237) | function SidebarViewport(props: ScrollAreaProps) { function SidebarSeparator (line 256) | function SidebarSeparator(props: ComponentProps<'p'>) { function SidebarItem (line 270) | function SidebarItem({ function SidebarFolder (line 294) | function SidebarFolder({ function SidebarFolderTrigger (line 317) | function SidebarFolderTrigger({ function SidebarFolderLink (line 337) | function SidebarFolderLink(props: LinkProps) { function SidebarFolderContent (line 372) | function SidebarFolderContent(props: CollapsibleContentProps) { function SidebarTrigger (line 408) | function SidebarTrigger({ function SidebarCollapseTrigger (line 425) | function SidebarCollapseTrigger(props: ComponentProps<'button'>) { function useFolderContext (line 443) | function useFolderContext() { function useInternalContext (line 450) | function useInternalContext() { type SidebarComponents (line 457) | interface SidebarComponents { function SidebarPageTree (line 466) | function SidebarPageTree(props: { function PageTreeFolder (line 525) | function PageTreeFolder({ FILE: apps/docs/src/components/theme-toggle.tsx function ThemeToggle (line 26) | function ThemeToggle({ FILE: apps/docs/src/components/ui/accordion.tsx function Accordion (line 9) | function Accordion({ function AccordionItem (line 16) | function AccordionItem({ function AccordionTrigger (line 29) | function AccordionTrigger({ function AccordionContent (line 51) | function AccordionContent({ FILE: apps/docs/src/components/ui/animated-beam.tsx type AnimatedBeamProps (line 8) | interface AnimatedBeamProps { FILE: apps/docs/src/components/ui/badge.tsx function Badge (line 30) | function Badge({ function SourceBadge (line 41) | function SourceBadge({ function OfficialBadge (line 64) | function OfficialBadge({ className, ...props }: Omit) { FILE: apps/docs/src/components/ui/button.tsx type ButtonProps (line 37) | type ButtonProps = React.ComponentProps<"button"> & function Button (line 42) | function Button({ className, variant, size, asChild = false, ...props }:... FILE: apps/docs/src/components/ui/field.tsx function FieldSet (line 10) | function FieldSet({ className, ...props }: React.ComponentProps<"fieldse... function FieldLegend (line 24) | function FieldLegend({ function FieldGroup (line 44) | function FieldGroup({ className, ...props }: React.ComponentProps<"div">) { function Field (line 81) | function Field({ function FieldContent (line 97) | function FieldContent({ className, ...props }: React.ComponentProps<"div... function FieldLabel (line 110) | function FieldLabel({ function FieldTitle (line 128) | function FieldTitle({ className, ...props }: React.ComponentProps<"div">) { function FieldDescription (line 141) | function FieldDescription({ className, ...props }: React.ComponentProps<... function FieldSeparator (line 156) | function FieldSeparator({ function FieldError (line 186) | function FieldError({ FILE: apps/docs/src/components/ui/github-button.tsx type GithubButtonProps (line 8) | type GithubButtonProps = { type UnGhStarResponse (line 13) | type UnGhStarResponse = { function GitHubButton (line 17) | function GitHubButton({ repo, fallback }: GithubButtonProps) { FILE: apps/docs/src/components/ui/input-group.tsx function InputGroup (line 11) | function InputGroup({ className, ...props }: React.ComponentProps<"div">) { function InputGroupAddon (line 60) | function InputGroupAddon({ function InputGroupButton (line 100) | function InputGroupButton({ function InputGroupText (line 119) | function InputGroupText({ className, ...props }: React.ComponentProps<"s... function InputGroupInput (line 131) | function InputGroupInput({ function InputGroupTextarea (line 147) | function InputGroupTextarea({ FILE: apps/docs/src/components/ui/input.tsx function Input (line 5) | function Input({ className, type, ...props }: React.ComponentProps<"inpu... FILE: apps/docs/src/components/ui/item.tsx function ItemGroup (line 8) | function ItemGroup({ className, ...props }: React.ComponentProps<"div">) { function ItemSeparator (line 19) | function ItemSeparator({ function Item (line 54) | function Item({ function ItemMedia (line 91) | function ItemMedia({ function ItemContent (line 106) | function ItemContent({ className, ...props }: React.ComponentProps<"div"... function ItemTitle (line 119) | function ItemTitle({ className, ...props }: React.ComponentProps<"div">) { function ItemDescription (line 132) | function ItemDescription({ className, ...props }: React.ComponentProps<"... function ItemActions (line 146) | function ItemActions({ className, ...props }: React.ComponentProps<"div"... function ItemHeader (line 156) | function ItemHeader({ className, ...props }: React.ComponentProps<"div">) { function ItemFooter (line 169) | function ItemFooter({ className, ...props }: React.ComponentProps<"div">) { FILE: apps/docs/src/components/ui/label.tsx function Label (line 8) | function Label({ FILE: apps/docs/src/components/ui/popover.tsx function Popover (line 8) | function Popover({ function PopoverTrigger (line 14) | function PopoverTrigger({ function PopoverContent (line 20) | function PopoverContent({ function PopoverAnchor (line 42) | function PopoverAnchor({ FILE: apps/docs/src/components/ui/separator.tsx function Separator (line 8) | function Separator({ FILE: apps/docs/src/components/ui/table.tsx function Table (line 7) | function Table({ className, ...props }: React.ComponentProps<"table">) { function TableHeader (line 22) | function TableHeader({ className, ...props }: React.ComponentProps<"thea... function TableBody (line 32) | function TableBody({ className, ...props }: React.ComponentProps<"tbody"... function TableFooter (line 42) | function TableFooter({ className, ...props }: React.ComponentProps<"tfoo... function TableRow (line 55) | function TableRow({ className, ...props }: React.ComponentProps<"tr">) { function TableHead (line 68) | function TableHead({ className, ...props }: React.ComponentProps<"th">) { function TableCell (line 81) | function TableCell({ className, ...props }: React.ComponentProps<"td">) { function TableCaption (line 94) | function TableCaption({ FILE: apps/docs/src/components/ui/tabs.tsx function Tabs (line 8) | function Tabs({ function TabsList (line 21) | function TabsList({ function TabsTrigger (line 37) | function TabsTrigger({ function TabsContent (line 53) | function TabsContent({ FILE: apps/docs/src/components/ui/terminal.tsx type SequenceContextValue (line 16) | interface SequenceContextValue { type AnimatedSpanProps (line 29) | interface AnimatedSpanProps extends MotionProps { type TypingAnimationProps (line 82) | interface TypingAnimationProps extends MotionProps { type TerminalProps (line 184) | interface TerminalProps { FILE: apps/docs/src/components/ui/textarea.tsx function Textarea (line 5) | function Textarea({ className, ...props }: React.ComponentProps<"textare... FILE: apps/docs/src/components/ui/tooltip.tsx function TooltipProvider (line 8) | function TooltipProvider({ function Tooltip (line 21) | function Tooltip({ function TooltipTrigger (line 31) | function TooltipTrigger({ function TooltipContent (line 37) | function TooltipContent({ FILE: apps/docs/src/components/ui/underline-tabs.tsx function UnderlineTabs (line 8) | function UnderlineTabs({ className, ...props }: React.ComponentProps Promise function useCopyToClipboard (line 7) | function useCopyToClipboard(delay = 2000): [CopyFn, boolean] { FILE: apps/docs/src/hooks/use-scroll-to-top.tsx function useScrollToTop (line 6) | function useScrollToTop() { FILE: apps/docs/src/lib/is-active.ts function normalize (line 3) | function normalize(url: string) { function isActive (line 8) | function isActive( function isTabActive (line 19) | function isTabActive(tab: SidebarTab, pathname: string) { FILE: apps/docs/src/lib/layout.shared.tsx function baseOptions (line 12) | function baseOptions(): BaseLayoutProps { FILE: apps/docs/src/lib/og.ts function loadGoogleFont (line 1) | async function loadGoogleFont(font: string, text: string) { FILE: apps/docs/src/lib/source.ts function getPageImage (line 12) | function getPageImage(page: InferPageType) { function getLLMText (line 21) | async function getLLMText(page: InferPageType) { FILE: apps/docs/src/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: apps/docs/src/mdx-components.tsx function getMDXComponents (line 18) | function getMDXComponents(components?: MDXComponents): MDXComponents { FILE: examples/react/src/app/demos/button-demo/page.tsx function ButtonDemoPage (line 3) | function ButtonDemoPage() { FILE: examples/react/src/app/layout.tsx function RootLayout (line 20) | function RootLayout({ FILE: examples/react/src/app/page.tsx function Home (line 3) | function Home() { FILE: examples/react/src/registry/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: examples/react/src/registry/ui/button.tsx type Variant (line 20) | type Variant = VariantProps['variant']; type Size (line 21) | type Size = VariantProps['size']; function Button (line 23) | function Button({ FILE: examples/svelte/src/lib/registry/lib/utils.ts function cn (line 4) | function cn(...inputs: ClassValue[]) { FILE: packages/bun/src/index.ts function bun (line 28) | function bun(): RemoteDependencyResolver { type BunWorkspaceState (line 55) | type BunWorkspaceState = { function getOrParseState (line 61) | function getOrParseState(cwd: string): BunWorkspaceState { function resolveWorkspaceVersion (line 78) | function resolveWorkspaceVersion(versionSpec: string, workspaceVersion: ... function parseWorkspaceVersion (line 95) | function parseWorkspaceVersion(version: string): string | null { FILE: packages/bun/src/workspace.ts type WorkspacePackage (line 6) | type WorkspacePackage = { type PackageJsonWithWorkspaces (line 11) | type PackageJsonWithWorkspaces = function findBunWorkspaceRoot (line 18) | function findBunWorkspaceRoot(cwd: string): string | null { function getWorkspacePatterns (line 47) | function getWorkspacePatterns(workspaceRoot: string): string[] { function expandWorkspacePackages (line 69) | function expandWorkspacePackages(workspaceRoot: string, packages: string... function readPackageInfo (line 85) | function readPackageInfo(dir: string): WorkspacePackage | null { function buildWorkspacePackageMap (line 103) | function buildWorkspacePackageMap( FILE: packages/jsrepo/src/commands/add.ts type AddOptions (line 63) | type AddOptions = z.infer; type AddCommandResult (line 123) | type AddCommandResult = { function runAdd (line 134) | async function runAdd( function formatResult (line 343) | function formatResult(result: AddCommandResult): string { FILE: packages/jsrepo/src/commands/auth.ts type AuthOptions (line 39) | type AuthOptions = z.infer; type AuthCommandResult (line 81) | type AuthCommandResult = { function runAuth (line 87) | async function runAuth( function logout (line 139) | async function logout( function login (line 176) | async function login( function formatResult (line 322) | function formatResult({ type, provider, registry }: AuthCommandResult): ... FILE: packages/jsrepo/src/commands/build.ts type BuildOptions (line 38) | type BuildOptions = z.infer; type RegistryBuildResult (line 91) | type RegistryBuildResult = { type BuildCommandResult (line 99) | type BuildCommandResult = { function runBuild (line 104) | async function runBuild( function runWatch (line 158) | async function runWatch( function createWatcher (line 277) | function createWatcher( function formatResult (line 288) | function formatResult( function formatRegistryResult (line 296) | function formatRegistryResult(result: Result; type ConfigAddLanguageCommandResult (line 68) | type ConfigAddLanguageCommandResult = { function runLanguage (line 73) | async function runLanguage( function formatResult (line 115) | function formatResult({ duration, languages }: ConfigAddLanguageCommandR... FILE: packages/jsrepo/src/commands/config/mcp.ts type ConfigMcpOptions (line 31) | type ConfigMcpOptions = z.infer; type McpClient (line 33) | type McpClient = (typeof supportedClients)[number]; type ClientConfigResult (line 65) | type ClientConfigResult = { type ClientResult (line 70) | type ClientResult = { type ConfigMcpCommandResult (line 75) | type ConfigMcpCommandResult = { function runMcp (line 80) | async function runMcp( function formatResult (line 129) | function formatResult({ function formatClientResult (line 139) | function formatClientResult({ name, result }: ClientResult, cwd: string)... type ClientConfig (line 147) | interface ClientConfig { function writeConfig (line 153) | function writeConfig(filePath: AbsolutePath, content: string): Result; type McpServerConfig (line 210) | type McpServerConfig = z.infer; type VSCodeServerConfig (line 211) | type VSCodeServerConfig = z.infer; function updateJsonConfig (line 213) | function updateJsonConfig({ function updateVSCodeJsonConfig (line 253) | function updateVSCodeJsonConfig({ function updateJsonFile (line 293) | function updateJsonFile( constant CLIENTS (line 315) | const CLIENTS: Record = { FILE: packages/jsrepo/src/commands/config/provider.ts type ConfigAddProviderOptions (line 26) | type ConfigAddProviderOptions = z.infer; type ConfigAddProviderCommandResult (line 69) | type ConfigAddProviderCommandResult = { function runProvider (line 74) | async function runProvider( function formatResult (line 117) | function formatResult({ duration, providers }: ConfigAddProviderCommandR... FILE: packages/jsrepo/src/commands/config/transform.ts type ConfigAddTransformOptions (line 26) | type ConfigAddTransformOptions = z.infer; type ConfigAddTransformCommandResult (line 68) | type ConfigAddTransformCommandResult = { function runTransform (line 73) | async function runTransform( function formatResult (line 116) | function formatResult({ FILE: packages/jsrepo/src/commands/init.ts type InitOptions (line 67) | type InitOptions = z.infer; type InitCommandResult (line 69) | type InitCommandResult = { function runInit (line 127) | async function runInit( function initRegistry (line 417) | async function initRegistry( function initPlugins (line 456) | async function initPlugins( function initDefaultPaths (line 495) | async function initDefaultPaths( function getWantedPlugins (line 571) | async function getWantedPlugins( function initBlankConfig (line 630) | function initBlankConfig() { FILE: packages/jsrepo/src/commands/publish.ts type PublishOptions (line 49) | type PublishOptions = z.infer; type PublishCommandResult (line 106) | type PublishCommandResult = { type JsrepoProvider (line 123) | type JsrepoProvider = ReturnType; function runPublish (line 125) | async function runPublish( function validateRegistryPrepublish (line 250) | function validateRegistryPrepublish( function publishRegistry (line 296) | async function publishRegistry( function collectRegistryFiles (line 357) | function collectRegistryFiles( function formatResult (line 444) | function formatResult(result: PublishCommandResult): string { function formatRegistryResult (line 449) | function formatRegistryResult( FILE: packages/jsrepo/src/commands/update.ts type UpdateOptions (line 61) | type UpdateOptions = z.infer; type UpdateCommandResult (line 119) | type UpdateCommandResult = { function runUpdate (line 130) | async function runUpdate( function formatResult (line 358) | function formatResult(result: UpdateCommandResult): string { FILE: packages/jsrepo/src/commands/utils.ts constant TRACE_ENV_VAR (line 12) | const TRACE_ENV_VAR = 'JSREPO_TRACE'; function parseOptions (line 35) | function parseOptions( function tryCommand (line 50) | async function tryCommand( function error (line 71) | function error(err: Error): never { function handleError (line 75) | function handleError(err: Error): never { function forEachRegistry (line 93) | async function forEachRegistry( function hasRegistries (line 109) | function hasRegistries(config: Config): boolean { FILE: packages/jsrepo/src/langs/css.ts type CssOptions (line 5) | type CssOptions = { function css (line 28) | function css({ allowTailwindDirectives = true }: Partial = {... FILE: packages/jsrepo/src/langs/html.ts type HtmlOptions (line 6) | type HtmlOptions = { type HtmlAttribute (line 27) | interface HtmlAttribute { type HtmlNode (line 32) | interface HtmlNode { function html (line 53) | function html({ FILE: packages/jsrepo/src/langs/index.ts function isModuleAvailable (line 11) | function isModuleAvailable(moduleName: string): boolean { function createDefaultLangs (line 20) | function createDefaultLangs(): Language[] { constant DEFAULT_LANGS (line 34) | const DEFAULT_LANGS = createDefaultLangs(); FILE: packages/jsrepo/src/langs/js.ts constant SUPPORTED_EXTENSIONS (line 29) | const SUPPORTED_EXTENSIONS = ['.js', '.ts', '.jsx', '.tsx', '.mjs', '.mt... constant SUPPORTED_PACKAGE_IMPORT_CONDITIONS (line 30) | const SUPPORTED_PACKAGE_IMPORT_CONDITIONS = new Set(['default', 'import'... type JsOptions (line 33) | type JsOptions = {}; function js (line 38) | function js(_options: JsOptions = {}): Language { function resolveImports (line 56) | async function resolveImports( function getImports (line 137) | async function getImports( function searchForModule (line 194) | function searchForModule( type AliasResolution (line 275) | type AliasResolution = function tryResolveAliasImport (line 286) | function tryResolveAliasImport( function tryResolveTsconfigAlias (line 304) | function tryResolveTsconfigAlias( function tryResolvePackageImportsAlias (line 348) | function tryResolvePackageImportsAlias( function getMatchingPackageImport (line 392) | function getMatchingPackageImport( function resolvePackageImportTargets (line 441) | function resolvePackageImportTargets(target: unknown, wildcardMatch?: st... function isRecord (line 465) | function isRecord(value: unknown): value is Record { function isPotentiallyRemotePackageSpecifier (line 469) | function isPotentiallyRemotePackageSpecifier(specifier: string): boolean { function hasMatchingTsconfigPathAlias (line 480) | function hasMatchingTsconfigPathAlias( function resolveRemoteDeps (line 509) | function resolveRemoteDeps( function transformImports (line 557) | async function transformImports( function createImportPattern (line 667) | function createImportPattern(literal: string): RegExp { function createReplacement (line 672) | function createReplacement(replacement: string): string { function installDependencies (line 676) | async function installDependencies( FILE: packages/jsrepo/src/langs/svelte.ts type SvelteOptions (line 7) | type SvelteOptions = {}; function loadSvelteCompiler (line 11) | async function loadSvelteCompiler() { function svelte (line 30) | function svelte(_options: SvelteOptions = {}): Language { FILE: packages/jsrepo/src/langs/types.ts type ResolveDependenciesOptions (line 6) | type ResolveDependenciesOptions = { type InstallDependenciesOptions (line 13) | type InstallDependenciesOptions = { type TransformImportsOptions (line 17) | type TransformImportsOptions = { type ImportTransform (line 31) | type ImportTransform = { type ResolveDependenciesResult (line 38) | type ResolveDependenciesResult = { type Language (line 44) | interface Language { FILE: packages/jsrepo/src/langs/vue.ts type VueOptions (line 7) | type VueOptions = {}; function loadVueCompiler (line 11) | async function loadVueCompiler() { function vue (line 30) | function vue(_options: VueOptions = {}): Language { FILE: packages/jsrepo/src/outputs/distributed.ts type DistributedOutputOptions (line 11) | type DistributedOutputOptions = { function distributed (line 40) | function distributed({ dir, format }: DistributedOutputOptions): Output { type DistributedOutputManifestFile (line 154) | type DistributedOutputManifestFile = z.infer; type DistributedOutputItem (line 216) | type DistributedOutputItem = z.infer; FILE: packages/jsrepo/src/outputs/index.ts type Manifest (line 22) | type Manifest = z.infer; FILE: packages/jsrepo/src/outputs/repository.ts type RepositoryOutputOptions (line 10) | type RepositoryOutputOptions = { function repository (line 35) | function repository({ format }: RepositoryOutputOptions = {}): Output { type RepositoryOutputFile (line 100) | type RepositoryOutputFile = z.infer; type RepositoryOutputManifestItem (line 120) | type RepositoryOutputManifestItem = z.infer { method create (line 74) | static async create( FILE: packages/jsrepo/src/providers/github.ts constant BASE_URL (line 4) | const BASE_URL = 'https://github.com'; constant DEFAULT_BRANCH (line 5) | const DEFAULT_BRANCH = 'main'; type GitHubOptions (line 7) | type GitHubOptions = { function github (line 34) | function github(options: GitHubOptions = {}): ProviderFactory { type GitHubState (line 49) | type GitHubState = { class GitHub (line 57) | class GitHub implements Provider { method constructor (line 58) | constructor( method create (line 63) | static async create( method fetch (line 72) | async fetch(resourcePath: string, { token, fetch: f = fetch }: FetchOp... method getState (line 108) | private static async getState( method parseUrl (line 148) | private static parseUrl( method resolveRaw (line 191) | private resolveRaw(resourcePath: string): URL { method getApiUrl (line 200) | private static getApiUrl(baseUrl: string): string { method authHeader (line 205) | private static authHeader(token: string | undefined) { FILE: packages/jsrepo/src/providers/gitlab.ts constant BASE_URL (line 4) | const BASE_URL = 'https://gitlab.com'; constant DEFAULT_BRANCH (line 5) | const DEFAULT_BRANCH = 'main'; type GitLabOptions (line 7) | type GitLabOptions = { function gitlab (line 35) | function gitlab(options: GitLabOptions = {}): ProviderFactory { type GitLabState (line 50) | type GitLabState = { class GitLab (line 58) | class GitLab implements Provider { method constructor (line 59) | constructor( method create (line 64) | static async create( method fetch (line 73) | async fetch(resourcePath: string, { token, fetch: f = fetch }: FetchOp... method getState (line 108) | private static async getState( method parseUrl (line 147) | private static parseUrl(url: string, opts: GitLabOptions): GitLabState { method getApiUrl (line 180) | private static getApiUrl(baseUrl: string): string { method resolveRaw (line 185) | private resolveRaw(resourcePath: string): URL { method authHeader (line 196) | private static authHeader(token: string | undefined) { FILE: packages/jsrepo/src/providers/http.ts type HttpOptions (line 5) | type HttpOptions = ( function http (line 71) | function http(options: HttpOptions = {}): ProviderFactory { type HttpState (line 88) | type HttpState = { class Http (line 92) | class Http implements Provider { method constructor (line 93) | constructor( method fetch (line 98) | async fetch(resourcePath: string, { token, fetch: f = fetch }: FetchOp... method resolveRaw (line 134) | private resolveRaw(resourcePath: string): URL { method authHeader (line 138) | private authHeader(token: string | undefined): Record ... method create (line 145) | static async create(url: string, opts: HttpOptions): Promise { FILE: packages/jsrepo/src/providers/index.ts constant DEFAULT_PROVIDERS (line 15) | const DEFAULT_PROVIDERS = [jsrepo(), github(), gitlab(), bitbucket(), az... function fetchManifest (line 35) | async function fetchManifest( FILE: packages/jsrepo/src/providers/jsrepo.ts constant NAME_REGEX (line 32) | const NAME_REGEX = /^(?![-0-9])(?!.*--)[a-z0-9]*(?:-[a-z0-9]+)*$/i; constant BASE_URL (line 34) | const BASE_URL = 'https://www.jsrepo.com'; type JsrepoOptions (line 36) | type JsrepoOptions = { function jsrepo (line 62) | function jsrepo(options: JsrepoOptions = {}): ProviderFactory & { baseUr... type JsrepoState (line 77) | type JsrepoState = { class Jsrepo (line 86) | class Jsrepo implements Provider { method constructor (line 87) | constructor( method create (line 92) | static async create( method fetch (line 101) | async fetch(resourcePath: string, { token, fetch: f = fetch }: FetchOp... method getState (line 136) | private static async getState(url: string, opts: JsrepoOptions): Promi... method parseUrl (line 145) | private static parseUrl(url: string): { method resolveRaw (line 181) | private resolveRaw(resourcePath: string): URL { method authHeader (line 189) | private static authHeader(token: string | undefined): Record = T extends Result ? V : ne... function fetchAllResolvedItems (line 386) | async function fetchAllResolvedItems( function getItemLocation (line 422) | async function getItemLocation( type FetchedItem (line 489) | type FetchedItem = ExtractResultValue< type FileWithContents (line 493) | type FileWithContents = ExtractResultValue< function transformRemoteContent (line 497) | async function transformRemoteContent( function getTargetPath (line 528) | function getTargetPath( type RegistryItemWithContent (line 545) | type RegistryItemWithContent = ItemRepository | ItemDistributed; function resolveAndFetchAllItems (line 547) | async function resolveAndFetchAllItems( function resolveTree (line 582) | function resolveTree( function getPathsForItems (line 658) | async function getPathsForItems({ function getItemPaths (line 732) | function getItemPaths( type UpdatedFile (line 805) | type UpdatedFile = { function prepareUpdates (line 830) | async function prepareUpdates({ function updateFiles (line 1052) | async function updateFiles({ function normalizeItemTypeForPath (line 1124) | function normalizeItemTypeForPath(type: RegistryItemType) { FILE: packages/jsrepo/src/utils/build.ts constant DO_NOT_RESOLVE_EXTENSIONS (line 48) | const DO_NOT_RESOLVE_EXTENSIONS = [ constant MANIFEST_FILE (line 90) | const MANIFEST_FILE = 'registry.json'; type BuildResult (line 92) | type BuildResult = RegistryMeta & { type Ecosystem (line 102) | type Ecosystem = LooseAutocomplete<'js'>; type ResolvedItem (line 104) | type ResolvedItem = { type RegistryFile (line 121) | type RegistryFile = { type UnresolvedImport (line 148) | type UnresolvedImport = { type RemoteDependency (line 157) | type RemoteDependency = { type LocalDependency (line 164) | type LocalDependency = { type Dependency (line 175) | type Dependency = RemoteDependency | LocalDependency; function isLocalDependency (line 177) | function isLocalDependency(dependency: Dependency): dependency is LocalD... function isRemoteDependency (line 181) | function isRemoteDependency(dependency: Dependency): dependency is Remot... type ParentItem (line 185) | type ParentItem = { name: string; type: RegistryItemType; registryName: ... type UnresolvedFile (line 190) | type UnresolvedFile = { type ResolvedFile (line 209) | type ResolvedFile = { type ResolvedFiles (line 234) | type ResolvedFiles = Map; function validateRegistryConfig (line 240) | async function validateRegistryConfig( type ExpandedRegistryItem (line 286) | type ExpandedRegistryItem = Omit & { function expandRegistryItems (line 296) | async function expandRegistryItems( function expandItemFiles (line 323) | async function expandItemFiles( function expandItemFolderFiles (line 493) | async function expandItemFolderFiles( function buildRegistry (line 656) | async function buildRegistry( function resolveFiles (line 700) | async function resolveFiles( function resolveFile (line 747) | async function resolveFile( function resolveRegistryItems (line 845) | async function resolveRegistryItems( type DependencyKey (line 875) | type DependencyKey = `${Ecosystem}:${string}@${string}`; function toDependencyKey (line 877) | function toDependencyKey(dep: RemoteDependency): DependencyKey { function resolveRemoteDependencies (line 881) | async function resolveRemoteDependencies( function resolveRegistryItem (line 913) | async function resolveRegistryItem( function resolveFileDependencies (line 1018) | async function resolveFileDependencies( function toRemoteDependencies (line 1186) | function toRemoteDependencies( function stringToRemoteDependency (line 1212) | function stringToRemoteDependency( FILE: packages/jsrepo/src/utils/casing.ts function kebabToCamel (line 12) | function kebabToCamel(str: string): string { FILE: packages/jsrepo/src/utils/compat/shadcn.ts constant SUPPORTED_EXTENSIONS (line 5) | const SUPPORTED_EXTENSIONS = ['.tsx', '.ts', '.jsx', '.js']; type Config (line 11) | type Config = { function transformShadcnImports (line 21) | async function transformShadcnImports({ function updateImportAliases (line 52) | function updateImportAliases(moduleSpecifier: string, config: Config) { function endsWithOneOf (line 82) | function endsWithOneOf(fileName: string, extensions: string[]): boolean { FILE: packages/jsrepo/src/utils/config/index.ts type RegistryConfigArgs (line 17) | type RegistryConfigArgs = [{ cwd: string }]; type RemoteDependencyResolverOptions (line 19) | type RemoteDependencyResolverOptions = { type RemoteDependencyResolver (line 23) | type RemoteDependencyResolver = ( type BuildTransform (line 28) | type BuildTransform = { type Config (line 35) | type Config = { type RegistryMeta (line 162) | type RegistryMeta = { type RegistryConfig (line 189) | type RegistryConfig = RegistryMeta & { type RegistryPlugin (line 207) | type RegistryPlugin = { type RegistryItemType (line 216) | type RegistryItemType = LooseAutocomplete< type RegistryItemAdd (line 227) | type RegistryItemAdd = (typeof RegistryItemAddOptions)[number]; type RegistryItem (line 229) | type RegistryItem = { type BuiltinRegistryFileRole (line 288) | type BuiltinRegistryFileRole = (typeof RegistryFileRoles)[number]; type RegistryFileRoles (line 289) | type RegistryFileRoles = LooseAutocomplete; type RegistryItemFile (line 291) | type RegistryItemFile = { type RegistryItemFolderFile (line 354) | type RegistryItemFolderFile = Prettify< type TransformOptions (line 363) | type TransformOptions = { type Transform (line 372) | type Transform = { function defineConfig (line 380) | function defineConfig(config: Partial | (() => Partial))... FILE: packages/jsrepo/src/utils/config/mods/add-plugins.ts class VisitorState (line 25) | class VisitorState { type Plugin (line 42) | type Plugin = { function addPluginsToConfig (line 48) | async function addPluginsToConfig({ function neededPlugins (line 303) | async function neededPlugins({ constant OFFICIAL_PLUGINS (line 320) | const OFFICIAL_PLUGINS = [ function parsePlugins (line 343) | function parsePlugins( function parsePluginName (line 356) | function parsePluginName( FILE: packages/jsrepo/src/utils/config/mods/add-registries.ts class VisitorState (line 13) | class VisitorState { function addRegistriesToConfig (line 26) | async function addRegistriesToConfig( FILE: packages/jsrepo/src/utils/config/mods/update-paths.ts class VisitorState (line 15) | class VisitorState { function updateConfigPaths (line 28) | async function updateConfigPaths( FILE: packages/jsrepo/src/utils/config/utils.ts constant VALID_VARIABLE_NAME_REGEX (line 13) | const VALID_VARIABLE_NAME_REGEX = /^[a-zA-Z_$][a-zA-Z0-9_$]*$/; function _createConfigLoader (line 15) | function _createConfigLoader({ cwd }: { cwd: string }) { function loadConfig (line 32) | function loadConfig({ function loadConfigOptional (line 47) | function loadConfigOptional({ function loadConfigSearch (line 70) | async function loadConfigSearch({ function getPathsMatcher (line 108) | function getPathsMatcher({ cwd }: { cwd: AbsolutePath }): PathsMatcher { function resolvePaths (line 114) | function resolvePaths( function resolvePath (line 128) | function resolvePath( FILE: packages/jsrepo/src/utils/diff.ts type Options (line 6) | type Options = { function isWhitespace (line 36) | function isWhitespace(str: string) { function trimSingleNewLine (line 46) | function trimSingleNewLine(str: string): string { type DiffResult (line 64) | type DiffResult = function formatDiff (line 73) | function formatDiff({ FILE: packages/jsrepo/src/utils/env.ts constant ENV_FILE_NAMES (line 5) | const ENV_FILE_NAMES = [ function searchForEnvFile (line 12) | function searchForEnvFile( function parseEnvVariables (line 31) | function parseEnvVariables(contents: string): Record { function updateEnvFile (line 117) | function updateEnvFile(contents: string, envVars: Record... FILE: packages/jsrepo/src/utils/errors.ts type CLIError (line 6) | type CLIError = class JsrepoError (line 45) | class JsrepoError extends Error { method constructor (line 48) | constructor( method toString (line 61) | toString() { class NoPackageJsonFoundError (line 66) | class NoPackageJsonFoundError extends JsrepoError { method constructor (line 67) | constructor() { class InvalidRegistryError (line 75) | class InvalidRegistryError extends JsrepoError { method constructor (line 76) | constructor(registry: string) { class RegistryItemNotFoundError (line 87) | class RegistryItemNotFoundError extends JsrepoError { method constructor (line 88) | constructor(itemName: string, registry?: string) { class ProviderFetchError (line 100) | class ProviderFetchError extends JsrepoError { method constructor (line 103) | constructor(message: string, resourcePath: string) { class ManifestFetchError (line 112) | class ManifestFetchError extends JsrepoError { method constructor (line 113) | constructor(error: unknown) { class RegistryItemFetchError (line 127) | class RegistryItemFetchError extends JsrepoError { method constructor (line 128) | constructor(error: unknown, options: { registry: string; item: string ... class RegistryFileFetchError (line 144) | class RegistryFileFetchError extends JsrepoError { method constructor (line 145) | constructor( class RegistryNotProvidedError (line 160) | class RegistryNotProvidedError extends JsrepoError { method constructor (line 161) | constructor() { class MultipleRegistriesError (line 169) | class MultipleRegistriesError extends JsrepoError { method constructor (line 170) | constructor(itemName: string, registries: string[]) { class AlreadyInitializedError (line 184) | class AlreadyInitializedError extends JsrepoError { method constructor (line 185) | constructor() { class FailedToLoadConfigError (line 192) | class FailedToLoadConfigError extends JsrepoError { method constructor (line 193) | constructor(cause: unknown) { class ConfigNotFoundError (line 200) | class ConfigNotFoundError extends JsrepoError { method constructor (line 201) | constructor(path: string) { class InvalidOptionsError (line 209) | class InvalidOptionsError extends JsrepoError { method constructor (line 210) | constructor(error: z.ZodError) { class NoRegistriesError (line 220) | class NoRegistriesError extends JsrepoError { method constructor (line 221) | constructor() { class NoPathProvidedError (line 228) | class NoPathProvidedError extends JsrepoError { method constructor (line 229) | constructor({ item, type }: { item: string; type: string }) { class BuildError (line 237) | class BuildError extends JsrepoError { method constructor (line 239) | constructor( class ModuleNotFoundError (line 251) | class ModuleNotFoundError extends JsrepoError { method constructor (line 252) | constructor(mod: string, { fileName }: { fileName: string }) { class NoOutputsError (line 259) | class NoOutputsError extends BuildError { method constructor (line 260) | constructor({ registryName }: { registryName: string }) { class NoListedItemsError (line 269) | class NoListedItemsError extends BuildError { method constructor (line 270) | constructor({ registryName }: { registryName: string }) { class DuplicateItemNameError (line 278) | class DuplicateItemNameError extends BuildError { method constructor (line 279) | constructor({ name, registryName }: { name: string; registryName: stri... class SelfReferenceError (line 287) | class SelfReferenceError extends BuildError { method constructor (line 288) | constructor({ name, registryName }: { name: string; registryName: stri... class NoFilesError (line 296) | class NoFilesError extends BuildError { method constructor (line 297) | constructor({ name, registryName }: { name: string; registryName: stri... class IllegalItemNameError (line 305) | class IllegalItemNameError extends BuildError { method constructor (line 306) | constructor({ name, registryName }: { name: string; registryName: stri... class InvalidRegistryDependencyError (line 314) | class InvalidRegistryDependencyError extends BuildError { method constructor (line 315) | constructor({ class InvalidDependencyError (line 327) | class InvalidDependencyError extends BuildError { method constructor (line 328) | constructor({ class DuplicateFileReferenceError (line 344) | class DuplicateFileReferenceError extends BuildError { method constructor (line 345) | constructor({ class FileNotFoundError (line 368) | class FileNotFoundError extends BuildError { method constructor (line 369) | constructor({ class ImportedFileNotResolvedError (line 388) | class ImportedFileNotResolvedError extends BuildError { method constructor (line 389) | constructor({ class InvalidPluginError (line 410) | class InvalidPluginError extends JsrepoError { method constructor (line 411) | constructor(plugin: string) { class InvalidKeyTypeError (line 418) | class InvalidKeyTypeError extends JsrepoError { method constructor (line 419) | constructor({ key, type }: { key: string; type: 'object' | 'array' }) { class ConfigObjectNotFoundError (line 426) | class ConfigObjectNotFoundError extends JsrepoError { method constructor (line 427) | constructor() { class CouldNotFindJsrepoImportError (line 434) | class CouldNotFindJsrepoImportError extends JsrepoError { method constructor (line 435) | constructor() { class ZodError (line 442) | class ZodError extends JsrepoError { method constructor (line 444) | constructor(error: z.ZodError) { class InvalidJSONError (line 452) | class InvalidJSONError extends JsrepoError { method constructor (line 453) | constructor(error: unknown) { class GlobError (line 463) | class GlobError extends BuildError { method constructor (line 464) | constructor(error: unknown, pattern: Pattern, registryName: string) { class NoProviderFoundError (line 475) | class NoProviderFoundError extends JsrepoError { method constructor (line 476) | constructor(provider: string) { class NoItemsToUpdateError (line 486) | class NoItemsToUpdateError extends JsrepoError { method constructor (line 487) | constructor() { class MissingPeerDependencyError (line 495) | class MissingPeerDependencyError extends JsrepoError { method constructor (line 496) | constructor(packageName: string, feature: string) { class InvalidRegistryNameError (line 503) | class InvalidRegistryNameError extends JsrepoError { method constructor (line 504) | constructor(registryName: string) { class InvalidRegistryVersionError (line 516) | class InvalidRegistryVersionError extends JsrepoError { method constructor (line 517) | constructor(registryVersion: string | undefined, registryName: string) { class Unreachable (line 540) | class Unreachable extends JsrepoError { method constructor (line 541) | constructor() { FILE: packages/jsrepo/src/utils/fs.ts function readFileSync (line 7) | function readFileSync(p: AbsolutePath): Result { function writeFileSync (line 29) | function writeFileSync(p: AbsolutePath, data: string): Result { function mkdirSync (line 62) | function mkdirSync(p: AbsolutePath): Result { function rmSync (line 84) | function rmSync(p: AbsolutePath): Result { function existsSync (line 101) | function existsSync(p: AbsolutePath): boolean { function statSync (line 105) | function statSync(p: AbsolutePath): Result { FILE: packages/jsrepo/src/utils/glob.ts function glob (line 12) | async function glob( function getGlobBaseDirectory (line 31) | function getGlobBaseDirectory(pattern: Pattern, options?: fg.Options): s... FILE: packages/jsrepo/src/utils/hooks.ts type BeforeArgs (line 25) | type BeforeArgs = type AfterArgs (line 37) | type AfterArgs = type HookFn (line 61) | type HookFn = (args: Args) => Promise; type Hook (line 62) | type Hook = HookFn | string; type InferHookArgs (line 64) | type InferHookArgs = type BeforeHook (line 67) | type BeforeHook = Hook; type AfterHook (line 68) | type AfterHook = Hook; function runCommand (line 70) | async function runCommand( function runHooks (line 93) | async function runHooks,... function getPackage (line 33) | function getPackage(path: AbsolutePath): Partial { type PackageJson (line 37) | type PackageJson = { function cleanVersion (line 49) | function cleanVersion(version: string) { function shouldInstall (line 58) | function shouldInstall>( FILE: packages/jsrepo/src/utils/pad.ts function leftPad (line 17) | function leftPad(str: string, space: number, padWith = ' '): string { function leftPadMin (line 34) | function leftPadMin(str: string, length: number, padWith = ' '): string { function rightPad (line 57) | function rightPad(str: string, space: number, padWith = ' '): string { function rightPadMin (line 74) | function rightPadMin(str: string, length: number, padWith = ' '): string { function centerPad (line 99) | function centerPad(str: string, length: number, padWith = ' '): string { FILE: packages/jsrepo/src/utils/parse-package-name.ts constant RE_SCOPED (line 9) | const RE_SCOPED = /^(@[^/]+\/[^@/]+)(?:@([^/]+))?(\/.*)?$/; constant RE_NON_SCOPED (line 11) | const RE_NON_SCOPED = /^([^@/]+)(?:@([^/]+))?(\/.*)?$/; type Package (line 13) | type Package = { function parsePackageName (line 21) | function parsePackageName(input: string) { FILE: packages/jsrepo/src/utils/path.ts function joinAbsolute (line 11) | function joinAbsolute(p: AbsolutePath, ...paths: string[]): AbsolutePath { type NormalizedAbsolutePath (line 15) | type NormalizedAbsolutePath = Branded; function relativeToCwd (line 38) | function relativeToCwd(cwd: AbsolutePath, p: AbsolutePath): RelativeToCw... FILE: packages/jsrepo/src/utils/persisted.ts function get (line 3) | function get() { FILE: packages/jsrepo/src/utils/prompts.ts function intro (line 35) | function intro() { function createVerboseLogger (line 41) | function createVerboseLogger({ type Spinner (line 52) | type Spinner = ReturnType; function initLogging (line 60) | function initLogging({ options }: { options: { verbose: boolean } }) { function spinner (line 73) | function spinner({ function promptInstallDependencies (line 119) | async function promptInstallDependencies( function promptAddEnvVars (line 160) | async function promptAddEnvVars( function promptInstallDependenciesByEcosystem (line 211) | async function promptInstallDependenciesByEcosystem( function runCommands (line 297) | async function runCommands({ function detectPackageManager (line 338) | async function detectPackageManager(cwd: AbsolutePath): Promise { constant VERTICAL_LINE (line 348) | const VERTICAL_LINE = pc.gray(s('│', '|')); FILE: packages/jsrepo/src/utils/roles.ts function resolveWithRoles (line 1) | function resolveWithRoles(options: { function shouldIncludeRole (line 17) | function shouldIncludeRole(role: string | undefined, withRoles: Set(str: string, strings: readonly ... FILE: packages/jsrepo/src/utils/token-manager.ts class TokenManager (line 6) | class TokenManager { method constructor (line 9) | constructor(storage?: Conf) { method get (line 13) | get(provider: ProviderFactory, registry: string | undefined): string |... method set (line 37) | set(provider: ProviderFactory, registry: string | undefined, secret: s... method delete (line 52) | delete(provider: ProviderFactory, registry: string | undefined) { method getProviderRegistryTokens (line 68) | getProviderRegistryTokens(provider: ProviderFactory): Record string[]) | null; function _createPathsMatcher (line 40) | function _createPathsMatcher( FILE: packages/jsrepo/src/utils/types.ts type LooseAutocomplete (line 1) | type LooseAutocomplete = T | (string & {}); type Prettify (line 3) | type Prettify = { type Brand (line 9) | type Brand = { [brand]: B }; type Branded (line 18) | type Branded = T & Brand; type AbsolutePath (line 23) | type AbsolutePath = Branded; type ItemRelativePath (line 28) | type ItemRelativePath = Branded; type MaybePromise (line 30) | type MaybePromise = T | Promise | PromiseLike; FILE: packages/jsrepo/src/utils/url.ts function join (line 13) | function join(...segments: string[]): string { function removeLeadingAndTrailingSlash (line 32) | function removeLeadingAndTrailingSlash(segment: string): string { function addLeadingAndTrailingSlash (line 49) | function addLeadingAndTrailingSlash(segment: string): string { function removeLeadingSlash (line 69) | function removeLeadingSlash(segment: string): string { function addLeadingSlash (line 90) | function addLeadingSlash(segment: string): string { function removeTrailingSlash (line 111) | function removeTrailingSlash(segment: string): string { function addTrailingSlash (line 132) | function addTrailingSlash(segment: string): string { FILE: packages/jsrepo/src/utils/utils.ts type MaybeGetter (line 1) | type MaybeGetter = T | ((...args:... function extract (line 3) | function extract( type MaybeGetterAsync (line 11) | type MaybeGetterAsync = function extractAsync (line 15) | async function extractAsync( function isFunction (line 23) | function isFunction( function isFunctionAsync (line 29) | function isFunctionAsync( function debounced (line 35) | function debounced( function sleep (line 60) | function sleep(durationMs: number): Promise { function noop (line 64) | function noop() { FILE: packages/jsrepo/src/utils/validate-npm-package-name.ts type ValidationResult (line 3) | interface ValidationResult { function validateNpmPackageName (line 13) | function validateNpmPackageName(name: string | null | undefined): Valida... FILE: packages/jsrepo/src/utils/warnings.ts class Warning (line 8) | class Warning { method constructor (line 9) | constructor(public readonly message: string) {} type WarningHandler (line 15) | type WarningHandler = (warning: Warning) => void; class LanguageNotFoundWarning (line 20) | class LanguageNotFoundWarning extends Warning { method constructor (line 22) | constructor(options: { path: string }) { class InvalidImportWarning (line 31) | class InvalidImportWarning extends Warning { method constructor (line 34) | constructor(options: { specifier: string; fileName: string }) { class UnresolvableDynamicImportWarning (line 46) | class UnresolvableDynamicImportWarning extends Warning { method constructor (line 49) | constructor(options: { specifier: string; fileName: string }) { class GlobPatternNoMatchWarning (line 61) | class GlobPatternNoMatchWarning extends Warning { method constructor (line 64) | constructor(options: { itemName: string; pattern: string }) { function createWarningHandler (line 76) | function createWarningHandler(onwarn?: Config['build']['onwarn']): Warni... FILE: packages/jsrepo/src/utils/zod.ts function safeValidate (line 5) | function safeValidate(schema: z.ZodSchema, data: unknown): Result<... function safeParseFromJSON (line 13) | function safeParseFromJSON( FILE: packages/jsrepo/tests/build.test.ts function buildWithResolver (line 444) | async function buildWithResolver( FILE: packages/jsrepo/tests/fixtures/build/src/components/ui/button.tsx function Button (line 3) | function Button(props: React.ComponentProps<'button'>) { FILE: packages/jsrepo/tests/fixtures/build/src/utils.ts constant STDOUT_PREFIX (line 1) | const STDOUT_PREFIX = 'stdout: '; FILE: packages/jsrepo/tests/fixtures/build/src/utils/math/add.ts function add (line 1) | function add(a: number, b: number) { FILE: packages/jsrepo/tests/fixtures/build/src/utils/math/answer-format.ts function answerFormat (line 4) | function answerFormat(answer: number) { FILE: packages/jsrepo/tests/fixtures/build/src/utils/stdout.ts function print (line 3) | function print(msg: string) { FILE: packages/jsrepo/tests/fixtures/langs/js-baseurl-bare-imports/types.ts type BunRouteHandler (line 3) | type BunRouteHandler = (req: BunRequest) => Response | Promise; FILE: packages/jsrepo/tests/fixtures/langs/js-subpath-imports/src/utils/print.ts function print (line 1) | function print(..._args: unknown[]) {} FILE: packages/jsrepo/tests/fixtures/langs/js/logger.ts class Logger (line 4) | class Logger { method warn (line 5) | warn(msg: string) { method error (line 9) | error(msg: string) { FILE: packages/jsrepo/tests/fixtures/langs/js/math/add.ts function add (line 1) | function add(a: number, b: number) { FILE: packages/jsrepo/tests/fixtures/langs/js/math/subtract.ts function subtract (line 1) | function subtract(a: number, b: number) { FILE: packages/jsrepo/tests/fixtures/langs/js/print-answer.ts function printAnswer (line 5) | function printAnswer(fn: typeof add | typeof subtract) { FILE: packages/jsrepo/tests/fixtures/langs/js/stdout.ts function print (line 1) | function print(msg: string) { FILE: packages/jsrepo/tests/langs/js.test.ts constant CWD (line 8) | const CWD = path.join(__dirname, '../fixtures/langs/js') as AbsolutePath; constant SUBPATH_IMPORTS_CWD (line 9) | const SUBPATH_IMPORTS_CWD = path.join( constant BASE_URL_BARE_IMPORTS_CWD (line 13) | const BASE_URL_BARE_IMPORTS_CWD = path.join( constant ARBITRARY_EXTENSIONS_CWD (line 17) | const ARBITRARY_EXTENSIONS_CWD = path.join( FILE: packages/jsrepo/tests/langs/svelte.test.ts constant CWD (line 8) | const CWD = path.join(__dirname, '../fixtures/langs/svelte') as Absolute... FILE: packages/jsrepo/tests/utils/add.test.ts constant RESOLVED_REGISTRY (line 138) | const RESOLVED_REGISTRY = { FILE: packages/mcp/src/server.ts function displayItem (line 357) | function displayItem(item: (typeof candidateItems)[number]) { function displayItemDetails (line 384) | function displayItemDetails(item: RegistryItemWithContent): string { FILE: packages/migrate/src/commands/utils.ts constant TRACE_ENV_VAR (line 10) | const TRACE_ENV_VAR = 'JSREPO_TRACE'; function parseOptions (line 21) | function parseOptions( function tryCommand (line 36) | async function tryCommand( function error (line 57) | function error(err: Error): never { function handleError (line 61) | function handleError(err: Error): never { FILE: packages/migrate/src/commands/v3.ts type V3Options (line 49) | type V3Options = z.infer; type V3CommandResult (line 81) | type V3CommandResult = { function runV3 (line 92) | async function runV3(options: V3Options): Promise { function writeFileSync (line 29) | function writeFileSync(p: AbsolutePath, data: string): Result { function rmSync (line 69) | function rmSync(p: AbsolutePath): Result { function existsSync (line 86) | function existsSync(p: AbsolutePath): boolean { FILE: packages/migrate/src/utils/json.ts function stringify (line 1) | function stringify(data: unknown, options: { format?: boolean } = {}): s... FILE: packages/migrate/src/utils/package.ts function findNearestPackageJson (line 10) | function findNearestPackageJson( function tryGetPackage (line 25) | function tryGetPackage(path: AbsolutePath): Result,... function getPackage (line 33) | function getPackage(path: AbsolutePath): Partial { type PackageJson (line 37) | type PackageJson = { function cleanVersion (line 49) | function cleanVersion(version: string) { function shouldInstall (line 58) | function shouldInstall( FILE: packages/migrate/src/utils/parse-package-name.ts constant RE_SCOPED (line 9) | const RE_SCOPED = /^(@[^/]+\/[^@/]+)(?:@([^/]+))?(\/.*)?$/; constant RE_NON_SCOPED (line 11) | const RE_NON_SCOPED = /^([^@/]+)(?:@([^/]+))?(\/.*)?$/; type Package (line 13) | type Package = { function parsePackageName (line 21) | function parsePackageName(input: string) { FILE: packages/migrate/src/utils/path.ts function joinAbsolute (line 11) | function joinAbsolute(p: AbsolutePath, ...paths: string[]): AbsolutePath { function dirname (line 22) | function dirname(p: AbsolutePath): AbsolutePath { FILE: packages/migrate/src/utils/prompts.ts function intro (line 10) | function intro() { function runCommands (line 18) | async function runCommands({ function installDependencies (line 59) | async function installDependencies( FILE: packages/migrate/src/utils/strings.ts function endsWithOneOf (line 13) | function endsWithOneOf(str: string, strings: readonly ... FILE: packages/migrate/src/utils/v2/config.ts constant REGISTRY_CONFIG_FILE_V2 (line 4) | const REGISTRY_CONFIG_FILE_V2 = 'jsrepo-build-config.json'; constant MANIFEST_FILE_V2 (line 5) | const MANIFEST_FILE_V2 = 'jsrepo-manifest.json'; constant PROJECT_CONFIG_FILE_V2 (line 6) | const PROJECT_CONFIG_FILE_V2 = 'jsrepo.json'; type RegistryConfigV2 (line 71) | type RegistryConfigV2 = z.infer; type ProjectConfigV2 (line 122) | type ProjectConfigV2 = z.infer; constant TEST_SUFFIXES (line 124) | const TEST_SUFFIXES = [ constant DOCS_SUFFIXES (line 139) | const DOCS_SUFFIXES = ['.mdx', '.md'] as const; function isTestFile (line 141) | function isTestFile(file: string): boolean { function isDocsFile (line 145) | function isDocsFile(file: string): boolean { FILE: packages/migrate/src/utils/zod.ts function safeValidate (line 5) | function safeValidate(schema: z.ZodSchema, data: unknown): Result<... function safeParseFromJSON (line 13) | function safeParseFromJSON( FILE: packages/pnpm/src/catalog.ts type PnpmWorkspaceConfig (line 6) | type PnpmWorkspaceConfig = { type ParsedState (line 12) | type ParsedState = { function parsePnpmWorkspaceYaml (line 22) | function parsePnpmWorkspaceYaml(workspaceRoot: string): PnpmWorkspaceCon... function buildCatalogMaps (line 35) | function buildCatalogMaps(config: PnpmWorkspaceConfig): { function parsePnpmState (line 70) | function parsePnpmState(cwd: string): ParsedState { FILE: packages/pnpm/src/index.ts function pnpm (line 26) | function pnpm(): RemoteDependencyResolver { function getOrParseState (line 112) | function getOrParseState(cwd: string): ParsedState { function resolveWorkspaceVersion (line 121) | function resolveWorkspaceVersion(versionSpec: string, workspaceVersion: ... function parseWorkspaceVersion (line 138) | function parseWorkspaceVersion(version: string): function parseCatalogVersion (line 173) | function parseCatalogVersion(version: string): { catalogName: string } |... function resolveWorkspacePath (line 180) | function resolveWorkspacePath(state: ParsedState, pathSpec: string): str... FILE: packages/pnpm/src/workspace.ts type WorkspacePackage (line 6) | type WorkspacePackage = { function findPnpmWorkspaceRoot (line 14) | function findPnpmWorkspaceRoot(cwd: string): string | null { function expandWorkspacePackages (line 32) | function expandWorkspacePackages(workspaceRoot: string, packages: string... function readPackageInfo (line 48) | function readPackageInfo(dir: string): WorkspacePackage | null { function buildWorkspacePackageMap (line 66) | function buildWorkspacePackageMap( FILE: packages/shadcn/src/index.ts type ShadcnRegistryItemType (line 15) | type ShadcnRegistryItemType = (typeof registryItemTypeSchema.options)[nu... type ShadcnRegistry (line 17) | type ShadcnRegistry = { type ShadcnRegistryItem (line 25) | type ShadcnRegistryItem = { function defineShadcnRegistry (line 67) | function defineShadcnRegistry(registry: ShadcnRegistry): RegistryConfig { FILE: packages/shadcn/src/output.ts type OutputOptions (line 13) | type OutputOptions = { function output (line 18) | function output(options: OutputOptions): Output { function getType (line 170) | function getType(type?: string) { function stringify (line 176) | function stringify(data: unknown, options: { format?: boolean } = {}): s... FILE: packages/shadcn/src/provider.ts type ShadcnOptions (line 4) | type ShadcnOptions = { function provider (line 33) | function provider(options: ShadcnOptions = {}): ProviderFactory { type ShadcnState (line 41) | type ShadcnState = { class Shadcn (line 45) | class Shadcn implements Provider { method constructor (line 46) | constructor( method fetch (line 51) | async fetch(resourcePath: string, { fetch: f = fetch }: FetchOptions):... method create (line 82) | static async create( FILE: packages/shadcn/src/utils.ts constant RE_SCOPED (line 7) | const RE_SCOPED = /^(@[^/]+\/[^@/]+)(?:@([^/]+))?(\/.*)?$/; constant RE_NON_SCOPED (line 9) | const RE_NON_SCOPED = /^([^@/]+)(?:@([^/]+))?(\/.*)?$/; type Package (line 11) | type Package = { function parsePackageName (line 19) | function parsePackageName( FILE: packages/transform-biome/src/index.ts function tryFormat (line 29) | async function tryFormat(code: string, { fileName, cwd }: { fileName: st... FILE: packages/transform-filecasing/src/index.ts type CaseType (line 5) | type CaseType = 'kebab' | 'camel' | 'snake' | 'pascal'; type Options (line 7) | type Options = { FILE: packages/transform-javascript/src/index.ts type FileExtension (line 7) | type FileExtension = { type Options (line 14) | type Options = { constant SUPPORTED_EXTENSIONS (line 18) | const SUPPORTED_EXTENSIONS: FileExtension[] = [ function endsWithOneOf (line 72) | function endsWithOneOf(fileName: string, extensions: string[]): boolean { function updateFileExtension (line 76) | function updateFileExtension( FILE: packages/transform-oxfmt/src/index.ts function tryFormat (line 27) | async function tryFormat( FILE: packages/transform-prettier/src/index.ts type Options (line 5) | type Options = { function tryFormat (line 39) | function tryFormat(