withastro/astro
Packages
Every npm-publishable artifact in withastro/astro is a workspace package. They split into five rough groups.
Core framework
| Package | Path | Wiki page |
|---|---|---|
astro |
packages/astro/ |
astro |
create-astro |
packages/create-astro/ |
create-astro |
@astrojs/db |
packages/db/ |
db |
@astrojs/rss |
packages/astro-rss/ |
astro-rss |
@astrojs/upgrade |
packages/upgrade/ |
upgrade |
@astrojs/telemetry |
packages/telemetry/ |
telemetry |
@astrojs/markdown-remark |
packages/markdown/remark/ |
markdown-remark |
@astrojs/internal-helpers |
packages/internal-helpers/ |
internal-helpers |
@astrojs/underscore-redirects |
packages/underscore-redirects/ |
underscore-redirects |
@astrojs/prism |
packages/astro-prism/ |
internal-helpers |
Framework integrations
UI framework adapters live in packages/integrations/. They follow a common shape: a client and server entry exported via the AstroIntegration.renderers() hook, plus optional dev hooks.
- React, Preact, Vue, Svelte, Solid.js, Alpine.js — see integrations / frameworks.
Server adapters
Adapters wrap the production runtime for a specific deployment target. They live in packages/integrations/:
- Node, Vercel, Netlify, Cloudflare — see integrations / adapters.
@astrojs/denois a stub README; the actively-maintained Deno adapter is hosted out of this repo.
Content & build integrations
- MDX, Markdoc, Sitemap, Partytown, Web Vitals, Tailwind (deprecated stub) — see integrations / content & build.
Language tooling
The packages under packages/language-tools/ ship the editor experience.
@astrojs/check,@astrojs/language-server,@astrojs/ts-plugin,astro-vscode,yaml2ts— see language-tools.
Read me first
AGENTS.md (root) and CONTRIBUTING.md (root) document monorepo conventions that apply uniformly across all of the packages above. The most important:
- All packages are TypeScript (
packages/markdown/is the only mixed-language directory thanks to its remark/rehype plugins). - Every public API change requires a changeset (
pnpm exec changeset). - Tests use
mocha(older code) ornode:testviaastro-scripts test(newer).
Related pages
- overview / architecture for how
astrowires the others together. - systems / Vite plugins for the per-feature Vite plugin layering inside
packages/astro/src/.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.