-
Notifications
You must be signed in to change notification settings - Fork 3
fix(deps): move zod from dev to prod catalog #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
zod was incorrectly placed in the dev catalog while being used as a production dependency. This change: - Moves zod definition from catalogs.dev to catalogs.prod in pnpm-workspace.yaml - Updates package.json to reference catalog:prod instead of catalog:dev This ensures the catalog classification accurately reflects the dependency's actual usage in production code.
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR corrects the catalog classification of the zod dependency by moving it from the development catalog to the production catalog, where it belongs based on its usage in the source code.
Key changes:
- Moves
zod: ^4.1.13fromcatalogs.devtocatalogs.prodin pnpm-workspace.yaml - Updates the package.json dependency reference from
catalog:devtocatalog:prod - Updates pnpm-lock.yaml to reflect the catalog change
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Moves zod from dev catalog to prod catalog |
| pnpm-lock.yaml | Updates lockfile to reflect the catalog change and new specifier reference |
| package.json | Changes zod dependency reference from catalog:dev to catalog:prod |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 3 files
glebedel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Summary
zodfromcatalogs.devtocatalogs.prodin pnpm-workspace.yamlcatalog:prodinstead ofcatalog:devTest plan
pnpm installruns successfullySummary by cubic
Moved zod from the dev catalog to the prod catalog to match its runtime use. This ensures zod is installed in production builds.
Written for commit 839f58b. Summary will update automatically on new commits.