Repository navigation
components(fix): accept motion 14 in the five motion components - #618
Merged
Merged
Conversation
#611 merged as motion 14.0.0. Dependabot updated the PR from 13.5 after #617 was written, so the site now runs motion 14 while the five motion components still declared `^12.0.0 || ^13.0.0`. Widen them to `^12.0.0 || ^13.0.0 || ^14.0.0` so `payload-components add` installs what the site renders and tests. Motion 14.0.0's only breaking change removes internal APIs that 13.5.1 had restored for framer-motion compatibility. The public motion/react APIs these components use are unchanged in 14.0 and 14.1. #611's CI passed on 14.0.0, and the full int suite here compiles the shipped source against it. Manifest-only, so no version bump, as with #601 and #617. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 26 minutes. View limit details
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 |
Merged
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The five motion components (
hero-aurora,hero-kinetic,hero-video,integration-marqueeandlogo-cloud-marquee) now declaremotion: "^12.0.0 || ^13.0.0 || ^14.0.0". Only the five manifests change.Why
#617 widened them to
^12 || ^13to match Dependabot's #611 as it read at the time, which was motion 13.5. Dependabot then updated #611 to motion 14.0.0, and it merged in that form. The site now runs motion 14, sopayload-components addwould install 13 while the site renders and tests 14. This lines them up again.Is motion 14 safe here?
framer-motion13.0–13.4. 14.1.0 adds features and fixes only.motion,animate,useInView,useMotionValue,useReducedMotion,useSpring,useTransformanduseScrollfrommotion/react. None of them changed in 14.0 or 14.1.Verification
pnpm test:registryexits 0.pnpm run test:intpasses 835 with 1 skipped.npm viewandpnpm viewboth resolve the range, to 14.1.0.Note
motion 13.5.1 is still in the lockfile as a transitive dependency of
framer-motion13.5.1, alongside the site's 14.0.0. That's a bundle-size cost to look at separately, not a correctness issue.No issue closed.
🤖 Generated with Claude Code