Home / Function/ isAstroPackage() — astro Function Reference

isAstroPackage() — astro Function Reference

Architecture documentation for the isAstroPackage() function in verify.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  d58624ac_eae9_9856_a435_ff8747adad54["isAstroPackage()"]
  bf354028_170b_aac5_1cb8_bcd8677afe9a["verify.ts"]
  d58624ac_eae9_9856_a435_ff8747adad54 -->|defined in| bf354028_170b_aac5_1cb8_bcd8677afe9a
  style d58624ac_eae9_9856_a435_ff8747adad54 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/upgrade/src/actions/verify.ts lines 74–76

function isAstroPackage(name: string, _version: string) {
	return name === 'astro' || name.startsWith('@astrojs/');
}

Domain

Subdomains

Frequently Asked Questions

What does isAstroPackage() do?
isAstroPackage() is a function in the astro codebase, defined in packages/upgrade/src/actions/verify.ts.
Where is isAstroPackage() defined?
isAstroPackage() is defined in packages/upgrade/src/actions/verify.ts at line 74.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free