Dependency Design Problems #7368
bigtimebuddy
started this conversation in
RFC
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There's a design flaw in how we're doing dependencies in PixiJS. This has created some headaches for people who are trying to upgrade versions (#7209, #7294, etc). There's lots of having to tell people "nuke your node_modules and lock file". Anything that depends on core or its dependencies should probably define those relationships as a peerDependencies. Because we use strict versions, there's a tendency for npm/yarn to checkout multiple versions. This has created lots of headaches for users. I think moving to peerDependencies (and potentially fuzzy versioning) would alleviate a lot of this pain.
Beta Was this translation helpful? Give feedback.
All reactions