Skip to content

chore(deps): update zod to v4#429

Merged
DarianM merged 17 commits intomainfrom
deps/zod-4
Nov 24, 2025
Merged

chore(deps): update zod to v4#429
DarianM merged 17 commits intomainfrom
deps/zod-4

Conversation

@DarianM
Copy link
Member

@DarianM DarianM commented Oct 21, 2025

@github-actions
Copy link

github-actions bot commented Oct 21, 2025

Deployment results

Worker Alias URL Outcome
API - 365b2b23 success
CDN - 859e48b5 success
App - 43fa7f50 success

Logs #19632903256

@DarianM
Copy link
Member Author

DarianM commented Oct 21, 2025

something errors. looking 👀

@DarianM DarianM requested a review from sidvishnoi October 24, 2025 12:47
Comment on lines +7 to +8
import { zValidator } from '@hono/zod-validator'
import z from 'zod'
Copy link
Member

Choose a reason for hiding this comment

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

Nit: any reason we are moving these imports?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just for aesthetic reasons. To keep all the Zod imports at the end

Copy link
Member

Choose a reason for hiding this comment

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

Ok with me, but two points to consider:

  • Consider not adding unnecessary changes to PRs. Send them separately if you'd like them.
  • I personally prefer imports in this order:
    npm packages (sorted either alphabetically; or in a manner of importance - boilerplate vs special imports for current file)
    local named packages (like `@shared/*`)
    local files
    

Copy link
Member Author

Choose a reason for hiding this comment

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

ok with using this pattern for imports moving forward, in a separate pr.
We can use the external package eslint-plugin-import for this, as the vscode organizeImports setting is limited for grouping imports.
cc @kjmitchelljr

@DarianM DarianM requested a review from sidvishnoi November 24, 2025 11:47
@DarianM DarianM merged commit 867aa8e into main Nov 24, 2025
5 checks passed
@DarianM DarianM deleted the deps/zod-4 branch November 24, 2025 12:11
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.

4 participants