Skip to content

Upgrade astro to v6#261

Open
alcuadrado wants to merge 5 commits into
mainfrom
upgrade-astro
Open

Upgrade astro to v6#261
alcuadrado wants to merge 5 commits into
mainfrom
upgrade-astro

Conversation

@alcuadrado
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 5, 2026 18:44
@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hardhat-website Ready Ready Preview, Comment May 5, 2026 6:45pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Hardhat website’s Astro/Starlight stack to the Astro v6 ecosystem, aligning content-schema imports and a few type references with the newer APIs.

Changes:

  • Upgraded astro to ^6.2.2 and bumped related first-party integrations (Starlight, Vercel adapter, check, etc.).
  • Migrated schema imports from astro:schema / astro:content-exported z to astro/zod.
  • Updated Starlight-related typing and version references in sidebar-related code.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/pages/llms.txt.ts Adjusts sidebar item typing to use Starlight’s user config types.
src/content/officialPlugins.ts Switches schema import to astro/zod.
src/content/githubReleases.ts Switches schema import to astro/zod.
src/content/community-plugins.ts Switches schema import to astro/zod.
src/content/blogposts.ts Switches schema import to astro/zod.
src/content.config.ts Splits defineCollection and z imports to match Astro 6 conventions (astro:content + astro/zod).
src/components/starlight-overrides/Sidebar.astro Updates the referenced Starlight version for the override source comment.
package.json Bumps Astro/Starlight/Vercel adapter and related dependency versions.
pnpm-lock.yaml Lockfile updates reflecting the dependency upgrades (Astro 6 + transitive changes).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -9,7 +9,7 @@ import TopicsDropdown from "./TopicsDropdown.astro";
<Default><slot /></Default>

{/* Make the the nested group labels have the same size as links */}
Comment on lines 4 to 5
const githubRelaseApiSchema = z.object({
id: z.number(),
Comment thread package.json
Comment on lines +22 to 31
"@astrojs/check": "^0.9.9",
"@astrojs/partytown": "^2.1.7",
"@astrojs/starlight": "^0.38.4",
"@astrojs/vercel": "^10.0.6",
"@expressive-code/plugin-collapsible-sections": "^0.41.3",
"@expressive-code/plugin-line-numbers": "^0.41.3",
"@nomicfoundation/hardhat-errors": "^3.0.10",
"@types/tar-stream": "^3.1.4",
"astro": "^5.6.1",
"astro": "^6.2.2",
"cspell": "^9.2.2",
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.

2 participants