chore: move all dependencies into pnpm catalog#9153
Conversation
Centralize every external dependency version in the pnpm catalog (pnpm-workspace.yaml) and reference them via `catalog:` across all apps and packages. Packages that previously used differing versions were unified to the highest (notably @react-pdf/renderer ^3.4.5 -> ^4.3.0 in apps/web).
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (16)
📝 WalkthroughWalkthroughThis PR centralizes dependency version management across the monorepo by defining a comprehensive ChangesDependency Catalog Migration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
Centralizes npm dependency version management for the monorepo by moving external dependency specifiers into the pnpm catalog in pnpm-workspace.yaml and switching workspace package.json files to reference those versions via the catalog: protocol. This is intended to make version bumps a single-file change and reduce version drift across workspaces.
Changes:
- Expanded
pnpm-workspace.yamlcatalog:to cover all external dependencies and unified previously divergent versions (including@react-pdf/rendererv3 → v4 forapps/web). - Converted dependencies/devDependencies across workspaces from pinned/ranged versions to
catalog:references. - Regenerated
pnpm-lock.yamlto reflect the new catalog-driven dependency graph.
Reviewed changes
Copilot reviewed 16 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pnpm-workspace.yaml | Adds a comprehensive catalog: mapping for external deps and keeps existing overrides. |
| pnpm-lock.yaml | Regenerated lockfile to align with catalog usage and updated resolved versions. |
| package.json | Switches root devDependencies to catalog: references. |
| apps/admin/package.json | Converts app dependency specs to catalog:. |
| apps/live/package.json | Converts server dependency specs to catalog: (including runtime deps like express/sharp/ws). |
| apps/space/package.json | Converts app dependency specs to catalog:. |
| apps/web/package.json | Converts app dependency specs to catalog: and bumps @react-pdf/renderer to v4 via catalog. |
| packages/codemods/package.json | Converts devDependencies to catalog:. |
| packages/decorators/package.json | Converts devDependencies to catalog:. |
| packages/editor/package.json | Converts dependencies/devDependencies (including postcss) to catalog:. |
| packages/logger/package.json | Converts dependencies and @types/express to catalog:. |
| packages/propel/package.json | Converts dependencies/devDependencies to catalog:. |
| packages/services/package.json | Converts file-type to catalog:. |
| packages/shared-state/package.json | Converts zod to catalog:. |
| packages/tailwind-config/package.json | Converts postcss/tailwind deps to catalog:. |
| packages/ui/package.json | Converts UI and Storybook dependencies to catalog:. |
| packages/utils/package.json | Converts utility/library dependencies and type deps to catalog:. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Description
Centralizes every external npm dependency version in the pnpm catalog (
pnpm-workspace.yaml) and references them via thecatalog:protocol across all apps and packages. This makes version bumps a single-file change and guarantees one version per dependency across the monorepo.package.jsonfiles converted tocatalog:(dependencies+devDependencies). Internalworkspace:*links were left untouched.@react-pdf/renderer^3.4.5 → ^4.3.0 in apps/web.pnpm-lock.yamlregenerated.Type of Change
Screenshots and Media (if applicable)
Test Scenarios
pnpm installresolves all 188 catalog references with no errors.pnpm build(turbo) passes across all 16 buildable workspaces.@react-pdf/rendererv3 → v4 major bump.References
N/A
🤖 Generated with Claude Code
Summary by CodeRabbit