fix(payload-helper): Lexical Dependency#419
Conversation
@payloadcms/richtext-lexical@3.74.0 pins lexical@0.35.0. Updated @lexical/headless, @lexical/html and lexical in payload-helper from 0.39.0 to 0.35.0, and synced the root pnpm override to match. https://claude.ai/code/session_01Enp5FVijpX51P4hxTpzpQw
Moves lexical, @lexical/headless and @lexical/html from dependencies to peerDependencies with a >=0.35.0 floor. This lets consuming projects inherit whichever lexical version their Payload install resolves, eliminating version conflicts when upgrading Payload across repos. Keeps concrete 0.35.0 pins in devDependencies for local builds. https://claude.ai/code/session_01Enp5FVijpX51P4hxTpzpQw
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #419 +/- ##
==========================================
+ Coverage 64.59% 70.26% +5.67%
==========================================
Files 154 187 +33
Lines 6064 7439 +1375
==========================================
+ Hits 3917 5227 +1310
+ Misses 2064 2012 -52
- Partials 83 200 +117 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…enciesMeta Prevents install warnings for consumers who don't explicitly list the lexical packages, as they are satisfied transitively by Payload. https://claude.ai/code/session_01Enp5FVijpX51P4hxTpzpQw
Review summary
This PR correctly moves lexical and its Critical issues 🔴None. Warnings 🟡1. Version downgrade from 0.39.0 → 0.35.0 may silently drop functionality The package previously locked 2. The declared peer range Suggestions 🟢1. Add rationale to the changeset entry The changeset message mentions that 0.35.0 aligns with 2. Mark peers as
Scoring guide (1-10):
|
No description provided.