get-project-info.test.ts — ui Source File
Architecture documentation for get-project-info.test.ts, a typescript file in the ui codebase. 6 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855["get-project-info.test.ts"] 52d07798_7025_10f7_1b6b_affe8f32c5f4["frameworks.ts"] 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855 --> 52d07798_7025_10f7_1b6b_affe8f32c5f4 6a5c3afa_2e3e_bbfc_2351_1976d5a184fe["get-project-info.ts"] 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855 --> 6a5c3afa_2e3e_bbfc_2351_1976d5a184fe 786fdfd6_87d9_cbb9_0c29_34432bf5fc4f["getFrameworkVersion"] 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855 --> 786fdfd6_87d9_cbb9_0c29_34432bf5fc4f 90d4c1a4_553f_c7f8_7665_87d6136bf243["getProjectInfo"] 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855 --> 90d4c1a4_553f_c7f8_7665_87d6136bf243 d05ec4ea_7a68_3a36_bfa4_9ba7f8409ee5["path"] 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855 --> d05ec4ea_7a68_3a36_bfa4_9ba7f8409ee5 c8d55bee_7008_1e1f_317b_8dc47b31b6a8["vitest"] 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855 --> c8d55bee_7008_1e1f_317b_8dc47b31b6a8 style 1eba8e46_a9d0_e6fe_8f31_fe55af5f1855 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import path from "path"
import { describe, expect, test } from "vitest"
import { FRAMEWORKS } from "../../src/utils/frameworks"
import {
getFrameworkVersion,
getProjectInfo,
} from "../../src/utils/get-project-info"
describe("get project info", async () => {
test.each([
{
name: "next-app",
type: {
framework: FRAMEWORKS["next-app"],
isSrcDir: false,
isRSC: true,
isTsx: true,
tailwindConfigFile: "tailwind.config.ts",
tailwindCssFile: "app/globals.css",
tailwindVersion: "v3",
frameworkVersion: null,
aliasPrefix: "@",
},
},
{
name: "next-app-src",
type: {
framework: FRAMEWORKS["next-app"],
isSrcDir: true,
isRSC: true,
isTsx: true,
tailwindConfigFile: "tailwind.config.ts",
tailwindCssFile: "src/app/styles.css",
tailwindVersion: "v3",
frameworkVersion: null,
aliasPrefix: "#",
},
},
{
name: "next-pages",
type: {
framework: FRAMEWORKS["next-pages"],
isSrcDir: false,
isRSC: false,
isTsx: true,
tailwindConfigFile: "tailwind.config.ts",
tailwindCssFile: "styles/globals.css",
tailwindVersion: "v4",
frameworkVersion: null,
aliasPrefix: "~",
},
},
{
name: "next-pages-src",
type: {
framework: FRAMEWORKS["next-pages"],
isSrcDir: true,
isRSC: false,
isTsx: true,
// ... (217 more lines)
Domain
Dependencies
Source
Frequently Asked Questions
What does get-project-info.test.ts do?
get-project-info.test.ts is a source file in the ui codebase, written in typescript. It belongs to the FrameworkTooling domain.
What does get-project-info.test.ts depend on?
get-project-info.test.ts imports 6 module(s): frameworks.ts, get-project-info.ts, getFrameworkVersion, getProjectInfo, path, vitest.
Where is get-project-info.test.ts in the architecture?
get-project-info.test.ts is located at packages/shadcn/test/utils/get-project-info.test.ts (domain: FrameworkTooling, directory: packages/shadcn/test/utils).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free