build: upgrade astro 5→6 and starlight 0.37→0.38 in docs#391
Conversation
Signed-off-by: StreamKit Devin <devin@streamkit.dev> Co-Authored-By: Claudio Costa <cstcld91@gmail.com>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
| "@astrojs/starlight": "^0.38.4", | ||
| "astro": "^6.2.1", |
There was a problem hiding this comment.
📝 Info: Major version bump (Astro 5→6) with no code changes needed
This PR bumps Astro from v5 to v6, which is a major version. However, the @astrojs/starlight@0.38.4 explicitly declares peerDependencies: { "astro": "^6.0.0" } in the lockfile, confirming this combination is designed to work together. The existing astro.config.mjs, content.config.ts, and custom components (ThemeProvider.astro, ThemeSelect.astro) all use standard Starlight/Astro APIs that appear stable across this upgrade. The astro-expressive-code@0.41.7 transitive dependency also supports astro 6 via its peer dep "astro": "^4.0.0-beta || ^5.0.0-beta || ^3.3.0 || ^6.0.0-beta". No code changes were required, which is a good sign that the upgrade path is clean for this docs site.
Was this helpful? React with 👍 or 👎 to provide feedback.
Debug
Manual Testing ResultsRan local docs dev server ( Core Rendering Tests
Content Pages
No issues found. All pages render correctly under Astro 6.2.1 + Starlight 0.38.4. |
Summary
Upgrades the
docs/site dependencies:astrofrom^5.18.1→^6.2.1(Astro 6, bundling Vite 7 and Zod 4)@astrojs/starlightfrom^0.37.7→^0.38.4No code changes were needed — the existing content config, custom Starlight components (
ThemeProvider.astro,ThemeSelect.astro,Mermaid.astro), and the rehype plugin all work without modification.Verified locally:
bun run buildcompletes successfully (all pages generated)bun run devstarts the dev server without errorsReview & Testing Checklist for Human
Notes
docs/package.jsonanddocs/bun.lockwere modified — no changes outsidedocs/bunwas used exclusively as the package manager (no npm/pnpm)Link to Devin session: https://staging.itsdev.in/sessions/179c6ca37aae48b487485c7fce260e9e
Requested by: @streamer45
Devin Review
d10c19e