Locking framer-motion dependencies #3333
TheCodeDestroyer
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Doesn’t this fuck things up when publishing on npm? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Today, I encountered a weird bug, and I had no clue what was wrong with my component library HeroUI, which uses framer-motion for animations, where all modals stopped working.
After some research, the only thing I noticed was that there was a bump in framer-motion. My Renovate configuration waits for 5 days of stability before merging the PR, and here is where the trick lies.
After researching, I found out that it created a PR with a bump from v12.23.6 to v12.23.7, and while doing that, it also installed the latest motion-dom v12.23.9, which was installed due to the package.json specification in framer-motion:
Since you guys use Turborepo and the libraries are tightly coupled together, is there a specific reason why you are not using version locking with
workspace:*?Example:
Beta Was this translation helpful? Give feedback.
All reactions