Skip to content

fix(docs): scope the Zod v3 alias for Astro 6#1094

Merged
seratch merged 1 commit intomainfrom
fix/docs-astro6-zod-alias
Mar 13, 2026
Merged

fix(docs): scope the Zod v3 alias for Astro 6#1094
seratch merged 1 commit intomainfrom
fix/docs-astro6-zod-alias

Conversation

@seratch
Copy link
Copy Markdown
Member

@seratch seratch commented Mar 13, 2026

This pull request fixes the docs site after the Astro 6 upgrade by narrowing the zod alias in docs/astro.config.mjs so Astro's internal zod/v4/core imports are no longer rewritten to the invalid zod/v3/v4/core path.

It also includes the associated docs dependency refresh in docs/package.json and lockfile/package metadata updates in pnpm-lock.yaml and package.json that came from the upgrade flow. The main behavior change is that Starlight can still resolve bare zod imports through the v3 compatibility entrypoint while Astro 6 keeps access to its native Zod v4 subpath imports.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 13, 2026

⚠️ No Changeset found

Latest commit: 045c777

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added documentation Improvements or additions to documentation project labels Mar 13, 2026
@github-actions github-actions bot added this to the 0.7.x milestone Mar 13, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 69a9eacccc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@seratch seratch force-pushed the fix/docs-astro6-zod-alias branch from d5d014f to 045c777 Compare March 13, 2026 07:26
@seratch seratch merged commit 9ab2b96 into main Mar 13, 2026
8 checks passed
@seratch seratch deleted the fix/docs-astro6-zod-alias branch March 13, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant