Package dependencies upgrade#44
Merged
Merged
Conversation
Co-authored-by: me <me@kentcdodds.com>
Co-authored-by: me <me@kentcdodds.com>
|
Cursor Agent can help with this pull request. Just |
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.
Summary
Upgraded all
package.jsondependencies to their latest versions, including Zod v4, and removed unused packages likejsdom. This involved updating Conform/Zod integrations (e.g.,parseWithZodimport path) and adjusting validation schemas for new error parameter names (required_errortoerror). Also updated Faker usage for v10 compatibility in test fixtures.Test Plan
npm run typecheck: Passednpm run lint: Passednpm run test -- --run: Passednpm run test:e2e:run: Failed (timed out with production mocks server returning 500s due togroupRoutesByParentIderror).Checklist
Screenshots
Login form shows Zod validation on empty submit.
Note
Medium Risk
Broad dependency upgrades plus a major Zod version bump can subtly change validation behavior and form parsing across auth/settings flows, even though code changes are mostly mechanical API migrations.
Overview
Upgrades runtime/dev dependencies across the repo (notably Zod v4 and newer Sentry/TypeScript toolchain), removing several unused packages.
Migrates all Conform integrations to
@conform-to/zod/v4and updates validation schemas to Zod v4 conventions (e.g.,required_error→error,refine→superRefinewithctx.addIssue, and minor return semantics).Adjusts form defaults/serialization where needed (e.g., recipient editor
disabledcheckbox value mapping) and updates test fixtures for Faker v10 (faker.internet.username).Written by Cursor Bugbot for commit 29cba98. This will update automatically on new commits. Configure here.