Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Dec 14, 2025

Summary

  • Moves zod from catalogs.dev to catalogs.prod in pnpm-workspace.yaml
  • Updates package.json to reference catalog:prod instead of catalog:dev
  • zod is used as a production dependency, so it should be in the prod catalog

Test plan

  • pnpm install runs successfully
  • Knip passes (no unused dependencies detected)

Summary 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.

  • Dependencies
    • Moved zod from catalogs.dev to catalogs.prod in pnpm-workspace.yaml.
    • Updated package.json to reference catalog:prod for zod.

Written for commit 839f58b. Summary will update automatically on new commits.

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.
@ryoppippi ryoppippi requested a review from a team as a code owner December 14, 2025 13:06
Copilot AI review requested due to automatic review settings December 14, 2025 13:06
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 14, 2025

Open in StackBlitz

npm i https://pkg.pr.new/StackOneHQ/stackone-ai-node/@stackone/ai@230

commit: 905e535

Copy link

Copilot AI left a 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.13 from catalogs.dev to catalogs.prod in pnpm-workspace.yaml
  • Updates the package.json dependency reference from catalog:dev to catalog: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.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a 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

@ryoppippi ryoppippi enabled auto-merge (squash) December 15, 2025 12:49
@ryoppippi ryoppippi disabled auto-merge December 15, 2025 12:49
@ryoppippi ryoppippi enabled auto-merge (squash) December 15, 2025 12:49
Copy link
Contributor

@glebedel glebedel left a comment

Choose a reason for hiding this comment

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

LGTM

@ryoppippi ryoppippi merged commit 176c53f into main Dec 15, 2025
6 checks passed
@ryoppippi ryoppippi deleted the fix/zod-catalog-prod branch December 15, 2025 12:49
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.

3 participants