formatVersion() — astro Function Reference
Architecture documentation for the formatVersion() function in format-version.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD aa1b7a93_66f5_16b2_d195_ee8044163bc3["formatVersion()"] 08bf28d8_4aee_3584_835f_39a0aee5eec5["format-version.ts"] aa1b7a93_66f5_16b2_d195_ee8044163bc3 -->|defined in| 08bf28d8_4aee_3584_835f_39a0aee5eec5 style aa1b7a93_66f5_16b2_d195_ee8044163bc3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/cli/utils/format-version.ts lines 9–13
export function formatVersion({ name, textStyler, astroVersionProvider }: Options) {
return ` ${textStyler.bgGreen(textStyler.black(` ${name} `))} ${textStyler.green(
`v${astroVersionProvider.version}`,
)}`;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does formatVersion() do?
formatVersion() is a function in the astro codebase, defined in packages/astro/src/cli/utils/format-version.ts.
Where is formatVersion() defined?
formatVersion() is defined in packages/astro/src/cli/utils/format-version.ts at line 9.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free