Upgrade astro to v6#261
Open
alcuadrado wants to merge 5 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
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
astroto^6.2.2and bumped related first-party integrations (Starlight, Vercel adapter, check, etc.). - Migrated schema imports from
astro:schema/astro:content-exportedztoastro/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 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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.