registries.test.ts — ui Source File
Architecture documentation for registries.test.ts, a typescript file in the ui codebase. 10 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 53b3a078_76ff_e9b8_1c06_58b2c68c2132["registries.test.ts"] d74412ab_0ee4_22df_d4c9_26e6c03c4a41["helpers.ts"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> d74412ab_0ee4_22df_d4c9_26e6c03c4a41 7cd02b67_26ab_6129_7de6_8ec39df1ad51["createFixtureTestDirectory"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> 7cd02b67_26ab_6129_7de6_8ec39df1ad51 e064366d_d787_111b_590e_d9ec019cc193["cssHasProperties"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> e064366d_d787_111b_590e_d9ec019cc193 26ee316c_482d_d5d0_7c05_26095f85f089["npxShadcn"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> 26ee316c_482d_d5d0_7c05_26095f85f089 36b31cf1_05ba_97d7_e250_f336253a3080["registry.ts"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> 36b31cf1_05ba_97d7_e250_f336253a3080 c3b306fd_b8f5_6d85_f831_2817ec0ad4a1["configureRegistries"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> c3b306fd_b8f5_6d85_f831_2817ec0ad4a1 a0458d14_2934_bf61_05f7_fa8e1ffcf6c9["createRegistryServer"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> a0458d14_2934_bf61_05f7_fa8e1ffcf6c9 d05ec4ea_7a68_3a36_bfa4_9ba7f8409ee5["path"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> d05ec4ea_7a68_3a36_bfa4_9ba7f8409ee5 f9f5e551_eb59_1a6b_8bf2_b97e73eb13de["fs-extra"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> f9f5e551_eb59_1a6b_8bf2_b97e73eb13de c8d55bee_7008_1e1f_317b_8dc47b31b6a8["vitest"] 53b3a078_76ff_e9b8_1c06_58b2c68c2132 --> c8d55bee_7008_1e1f_317b_8dc47b31b6a8 style 53b3a078_76ff_e9b8_1c06_58b2c68c2132 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/* eslint-disable turbo/no-undeclared-env-vars */
import path from "path"
import fs from "fs-extra"
import { afterAll, beforeAll, describe, expect, it } from "vitest"
import {
createFixtureTestDirectory,
cssHasProperties,
npxShadcn,
} from "../utils/helpers"
import { configureRegistries, createRegistryServer } from "../utils/registry"
const registryShadcn = await createRegistryServer(
[
{
name: "utils",
type: "registry:component",
files: [
{
path: "registry/new-york-v4/lib/utils.ts",
content:
'import { clsx, type ClassValue } from "clsx"\nimport { twMerge } from "tailwind-merge"\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs))\n}\n',
type: "registry:lib",
},
],
},
{
name: "alert-dialog",
type: "registry:ui",
files: [
{
path: "components/ui/alert-dialog.tsx",
content:
"export function AlertDialog() {\n return <div>AlertDialog Component from Registry Shadcn</div>\n}",
type: "registry:ui",
},
{
path: "components/ui/button.tsx",
content:
"export function Button() {\n return <div>Button Component from Registry Shadcn</div>\n}",
type: "registry:ui",
},
],
},
{
name: "button",
type: "registry:ui",
files: [
{
path: "components/ui/button.tsx",
content:
"export function Button() {\n return <div>Button Component from Registry Shadcn</div>\n}",
type: "registry:ui",
},
],
},
{
name: "example-button",
type: "registry:component",
registryDependencies: ["@shadcn/button"],
// ... (1273 more lines)
Domain
Dependencies
Source
Frequently Asked Questions
What does registries.test.ts do?
registries.test.ts is a source file in the ui codebase, written in typescript. It belongs to the ComponentRegistry domain.
What does registries.test.ts depend on?
registries.test.ts imports 10 module(s): configureRegistries, createFixtureTestDirectory, createRegistryServer, cssHasProperties, fs-extra, helpers.ts, npxShadcn, path, and 2 more.
Where is registries.test.ts in the architecture?
registries.test.ts is located at packages/tests/src/tests/registries.test.ts (domain: ComponentRegistry, directory: packages/tests/src/tests).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free