build-time-astro-version-provider.ts — astro Source File
Architecture documentation for build-time-astro-version-provider.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e9cde9a9_3b05_0e41_b57c_5d4b7c05ef41["build-time-astro-version-provider.ts"] 7db42c05_e873_0887_a39f_34451c181149["../definitions.js"] e9cde9a9_3b05_0e41_b57c_5d4b7c05ef41 --> 7db42c05_e873_0887_a39f_34451c181149 style e9cde9a9_3b05_0e41_b57c_5d4b7c05ef41 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { AstroVersionProvider } from '../definitions.js';
export class BuildTimeAstroVersionProvider implements AstroVersionProvider {
// Injected during the build through esbuild define
readonly version: string = process.env.PACKAGE_VERSION ?? '';
}
Domain
Classes
Dependencies
- ../definitions.js
Source
Frequently Asked Questions
What does build-time-astro-version-provider.ts do?
build-time-astro-version-provider.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain.
What does build-time-astro-version-provider.ts depend on?
build-time-astro-version-provider.ts imports 1 module(s): ../definitions.js.
Where is build-time-astro-version-provider.ts in the architecture?
build-time-astro-version-provider.ts is located at packages/astro/src/cli/infra/build-time-astro-version-provider.ts (domain: CoreAstro, directory: packages/astro/src/cli/infra).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free