Moved 21 consistent direct deps into the default pnpm catalog#27876
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (20)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (17)
WalkthroughThis PR adds a pnpm workspace catalog in pnpm-workspace.yaml and updates many package.json files across apps and Ghost packages to use catalog: version specifiers instead of hardcoded semver strings. It also increments apps/activitypub version to 3.1.20. Root and e2e manifests are updated to reference catalog: for shared tooling (Playwright, TypeScript). Possibly related PRs
Suggested reviewers
🚥 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27876 +/- ##
=======================================
Coverage 73.81% 73.81%
=======================================
Files 1519 1519
Lines 128185 128185
Branches 15355 15352 -3
=======================================
+ Hits 94621 94624 +3
+ Misses 32610 32607 -3
Partials 954 954
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
1959a1c to
68de7eb
Compare
86279b0 to
37e7f1e
Compare
- 21 deps were declared at the exact same version across 4-13 workspaces (typescript, jsdom, @playwright/test, @types/react, @types/react-dom, @vitejs/plugin-react, @tanstack/react-query, @typescript-eslint/parser, @sentry/react, @tryghost/debug, c8, clsx, concurrently, eslint-plugin-react-refresh, postcss, sonner, validator, zod, vite, vitest, vite-plugin-svgr) — pure centralization candidates - centralizing in pnpm-workspace.yaml means Renovate (and humans) bump one entry per dep instead of N package.jsons, and prevents future accidental drift - no resolved version changes: every catalog entry matches the version every consuming workspace already had pinned; lockfile diff is only catalog metadata + a few unrelated transitive dedupes - excluded drifted deps (react, tailwindcss, @testing-library/*, @types/node, @vitest/coverage-v8, glob, sinon, etc.) which need version negotiation or model intentional splits like the existing eslint9 named catalog — those land separately
37e7f1e to
0f124f4
Compare
no ref Adds 29 dependencies to the default \`catalog:\` block in \`pnpm-workspace.yaml\`, following the precedent set by #27876. Selection criterion: deps that are either **base-level functionality** (test runners, routing, build/config helpers) or in the **@TryGhost first-party namespace** (alignment matters more for in-house packages).
Summary
Centralizes 21 direct dependencies that were already declared at the exact same version across 4–13 workspaces into the default `catalog:` block in `pnpm-workspace.yaml`. Every consuming `package.json` now references the dep as `"foo": "catalog:"` instead of repeating the version.
Why
No resolved versions change
Every catalog entry matches the version every consuming workspace already had pinned. Verified before applying that all 21 deps had exactly one distinct version string across all consumers. The `pnpm-lock.yaml` diff is catalog metadata plus a few unrelated transitive de-dupes from regeneration.
Out of scope