getProjectInfo() — astro Function Reference
Architecture documentation for the getProjectInfo() function in project-info.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 5215b308_4057_c2f7_cf00_2ed6f4cca06d["getProjectInfo()"] 5cf28cbb_df91_06e4_faa2_0ea2eb5a9a37["project-info.ts"] 5215b308_4057_c2f7_cf00_2ed6f4cca06d -->|defined in| 5cf28cbb_df91_06e4_faa2_0ea2eb5a9a37 e0969f5b_2c7e_7882_c1aa_903356b2865a["getProjectId()"] 5215b308_4057_c2f7_cf00_2ed6f4cca06d -->|calls| e0969f5b_2c7e_7882_c1aa_903356b2865a style 5215b308_4057_c2f7_cf00_2ed6f4cca06d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/telemetry/src/project-info.ts lines 107–115
export function getProjectInfo(isCI: boolean): ProjectInfo {
const projectId = getProjectId(isCI);
const packageManager = detectPackageManager();
return {
...projectId,
packageManager: packageManager?.name,
packageManagerVersion: packageManager?.version,
};
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does getProjectInfo() do?
getProjectInfo() is a function in the astro codebase, defined in packages/telemetry/src/project-info.ts.
Where is getProjectInfo() defined?
getProjectInfo() is defined in packages/telemetry/src/project-info.ts at line 107.
What does getProjectInfo() call?
getProjectInfo() calls 1 function(s): getProjectId.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free