Skip to content

feat(validation): export Zod as validation package#6

Merged
LuanRoger merged 2 commits intomainfrom
feat/validation
Sep 2, 2025
Merged

feat(validation): export Zod as validation package#6
LuanRoger merged 2 commits intomainfrom
feat/validation

Conversation

@LuanRoger
Copy link
Owner

This pull request adds support for validation utilities to both the server and client sides of the project. It introduces new entry points for validation, integrates the @hono/zod-validator and zod libraries, and updates configuration and dependency files to ensure proper type definitions and module resolutions.

Validation support integration:

  • Added new entry points src/server/validation/index.ts and src/validation/index.ts to export and re-export validation utilities from @hono/zod-validator and zod, respectively. [1] [2]
  • Updated tsdown.config.ts to include the new validation entry points for both server and client builds.

Dependency and configuration updates:

  • Added @hono/zod-validator as a peer dependency and updated pnpm-lock.yaml to include its resolution and snapshot, ensuring compatibility with hono and zod. [1] [2] [3] [4]
  • Updated package.json to add type definitions and module exports for the new validation entry points. [1] [2] [3]
  • Minor reordering of the nodemon dependency in package.json for consistency.

@LuanRoger LuanRoger merged commit 07f2489 into main Sep 2, 2025
@LuanRoger LuanRoger deleted the feat/validation branch September 2, 2025 11:39
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