Skip to content

feat(astro-builder): target Astro 7 - #52

Merged
pcamarajr merged 1 commit into
mainfrom
feat/astro-7-update
Jul 27, 2026
Merged

feat(astro-builder): target Astro 7#52
pcamarajr merged 1 commit into
mainfrom
feat/astro-7-update

Conversation

@pcamarajr

Copy link
Copy Markdown
Owner

Summary

Retargets astro-builder from Astro 6 to Astro 7.1.3 across docs, agents, skills, and init templates. All Astro 7 claims were verified against official sources (astro.build blog, v7 upgrade guide, withastro/astro CHANGELOG, npm registry) through three research/fix/validate rounds.

Astro 7 delta covered

  • Rust compiler (no more auto-repair of block-in-<p> nesting / unclosed tags) → html-conventions + audit rules
  • Sätteri default markdown processor (GFM, smart punctuation, heading IDs built in; remark/rehype plugins require explicit @astrojs/markdown-remark + processor: unified() opt-in)
  • compressHTML: 'jsx' default, experimental flags stabilized to top-level, @astrojs/db removed, reserved src/fetch.ts entrypoint, Vite 8/Rolldown, Node >= 22.12.0 (now scaffolded into engines)
  • Astro 7.1: detached astro dev (--background/status/logs/stop), glob({ deferRender: true })

Also in this PR

  • urls.ts template redesigned as a locale-bound createUrls(locale) factory mirroring createTranslator — components bind the locale once
  • Consistency fixes: init no longer fails its own audit (engines.node, experimental-key grep), audit severities defer to html-conventions rule IDs (new HTML-15), RSS/404/BaseLayout templates use @ aliases and proper fill-marker hygiene
  • marketplace.json / root README / CLAUDE.md description prose updated to Astro 7 (no version fields touched — release-please owns them)

🤖 Generated with Claude Code

Retarget the whole plugin from Astro 6 to Astro 7.1.3: docs, agents,
skills, and init templates. Every disputed Astro 7 fact was verified
against official sources (astro.build blog, v7 upgrade guide, CHANGELOG,
npm registry).

Highlights:
- docs/astro-patterns.md: Astro 7 migration-notes table, updated config
  example (compressHTML 'jsx', markdown processor opt-out), new
  anti-pattern rows (removed experimental.* keys, @astrojs/db,
  astro:transitions internals, reserved src/fetch.ts, Rust-compiler
  strictness)
- init: scaffolds engines.node >=22.12.0, Astro 7 config template,
  fixed self-failing verification greps
- audit: Astro 7 config-surface checks; severities now defer to
  html-conventions rule IDs (new HTML-15 for nested interactive elements)
- html/translate/seo skills aligned with the Rust compiler and Sätteri
  markdown processor behavior
- urls.ts template: locale-bound createUrls(locale) factory mirroring
  createTranslator; RSS/404/BaseLayout templates aligned (@ aliases,
  fill-marker hygiene)
- marketplace.json/README/CLAUDE.md description prose updated to Astro 7
  (no version fields touched — release-please owns them)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@pcamarajr
pcamarajr merged commit 7cb7b3b into main Jul 27, 2026
1 check passed
@github-actions github-actions Bot mentioned this pull request Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant