Skip to content

chore(site): upgrade to Astro 7#2119

Merged
chaliy merged 1 commit into
mainfrom
claude/serene-archimedes-5ot03h
Jun 22, 2026
Merged

chore(site): upgrade to Astro 7#2119
chaliy merged 1 commit into
mainfrom
claude/serene-archimedes-5ot03h

Conversation

@chaliy

@chaliy chaliy commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

What

Upgrades the bashkit.sh site (site/) to Astro 7.

  • astro ^6.4.8^7.0.0
  • @astrojs/sitemap ^3.7.2^3.7.3
  • Adds @astrojs/markdown-remark ^7.2.0 as an explicit dependency

Why

Astro 7 is the current major. It deprecates markdown.remarkPlugins /
markdown.rehypePlugins / markdown.remarkRehype and no longer
auto-installs @astrojs/markdown-remark.

How

  • Migrated the site's custom remark/rehype pipeline
    (normalizeGuideMarkdown, rewriteRenderedLinks) into
    markdown.processor: unified({ ... }) from @astrojs/markdown-remark,
    the Astro 7 replacement for the deprecated options.
  • shikiConfig stays at markdown top-level since it's a
    processor-agnostic, cross-cutting option (not part of the deprecation).
  • Added @astrojs/markdown-remark as a direct dependency since the
    config now imports unified from it.

Verified

  • pnpm run build — clean, no deprecation warnings, 31 pages built
  • All 9 postbuild verify-* scripts pass (doc routes, sitemap, robots,
    link headers, llms, agent skills, etc.)
  • pnpm run check (astro check) — 0 errors / 0 warnings / 0 hints
  • pnpm install --frozen-lockfile — passes (matches site.yml CI)

https://claude.ai/code/session_019SqDkxvouysztz8RV7vCVK


Generated by Claude Code

Bump astro 6.4.8 -> 7.0.0 and @astrojs/sitemap 3.7.2 -> 3.7.3.

Astro 7 deprecates markdown.remarkPlugins/rehypePlugins/remarkRehype in
favor of markdown.processor: unified({...}) from @astrojs/markdown-remark
(now an explicit dependency; shikiConfig stays top-level as a
processor-agnostic option).

Build, astro check, and all postbuild verify-* scripts pass.

Claude-Session: https://claude.ai/code/session_019SqDkxvouysztz8RV7vCVK
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit e8e1a7f Commit Preview URL

Branch Preview URL
Jun 22 2026, 09:01 PM

@chaliy chaliy merged commit 53fddb7 into main Jun 22, 2026
19 checks passed
@chaliy chaliy deleted the claude/serene-archimedes-5ot03h branch June 22, 2026 22:35
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