Skip to content

fix: declare zod peer dependency#537

Open
lyzno1 wants to merge 1 commit into
code-hike:nextfrom
lyzno1:codex/add-zod-peer-dependency
Open

fix: declare zod peer dependency#537
lyzno1 wants to merge 1 commit into
code-hike:nextfrom
lyzno1:codex/add-zod-peer-dependency

Conversation

@lyzno1
Copy link
Copy Markdown

@lyzno1 lyzno1 commented May 21, 2026

Summary

codehike/blocks imports zod at runtime and exposes zod v3 schema types in its declarations, but the package currently only lists zod in devDependencies. Package managers therefore may not install a compatible zod copy for consumers, and projects that already resolve zod@4 can end up type-checking codehike/blocks against the wrong major version.

This adds zod as a peer dependency with the existing v3-compatible range and includes a patch changeset. The dev dependency remains so this package can still build and test itself.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

@lyzno1 is attempting to deploy a commit to the codehike Team on Vercel.

A member of the Team first needs to authorize it.

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