isTypeScriptProject() — ui Function Reference
Architecture documentation for the isTypeScriptProject() function in get-project-info.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 9d3f8fb7_b46a_9870_5308_60df44a8f011["isTypeScriptProject()"] 6a5c3afa_2e3e_bbfc_2351_1976d5a184fe["get-project-info.ts"] 9d3f8fb7_b46a_9870_5308_60df44a8f011 -->|defined in| 6a5c3afa_2e3e_bbfc_2351_1976d5a184fe 90d4c1a4_553f_c7f8_7665_87d6136bf243["getProjectInfo()"] 90d4c1a4_553f_c7f8_7665_87d6136bf243 -->|calls| 9d3f8fb7_b46a_9870_5308_60df44a8f011 style 9d3f8fb7_b46a_9870_5308_60df44a8f011 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/src/utils/get-project-info.ts lines 313–321
export async function isTypeScriptProject(cwd: string) {
const files = await fg.glob("tsconfig.*", {
cwd,
deep: 1,
ignore: PROJECT_SHARED_IGNORE,
})
return files.length > 0
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does isTypeScriptProject() do?
isTypeScriptProject() is a function in the ui codebase, defined in packages/shadcn/src/utils/get-project-info.ts.
Where is isTypeScriptProject() defined?
isTypeScriptProject() is defined in packages/shadcn/src/utils/get-project-info.ts at line 313.
What calls isTypeScriptProject()?
isTypeScriptProject() is called by 1 function(s): getProjectInfo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free