Closed aarthificial closed 11 months ago
Dependabot can't update peerDependencies
(which was my motivation for removing them in e38f09d), but most of the time a minor / major bump in Motion Canvas means that there are changes I should review, anyways.
I've noticed that the installation guide requires people to configure vite as follows:
This is only necessary if the version of Motion Canvas people have installed is older than the one required by this package. In that case, npm will create a nested
node_modules
directory insidenode_modules/my-motion-canvas-library
containing the newer Motion Canvas packages.Specifying
peerDependencies
as follows:...will prompt npm to update the Motion Canvas version people have installed (as long as it's compatible with their
package.json
requirements of course). This should solve this problem for like 99% of cases.Not sure if you've already considered this so just wanted to put it out there. I'm also not sure if dependabot can update
peerDependencies
?