endo
endo copied to clipboard
Compartment mapper support for peerDependencies
Compartment mapper does not yet provide any behavior for peerDependencies. If I understand the purpose of that feature correctly, the compartment mapper should treat these the same way as dependencies and that the distinction between the two kinds of dependencies is otherwise only meaningful to the package manager.
If you can understand https://nodejs.org/es/blog/npm/peer-dependencies/, you’re smarter than me.
I'm not sure what level of support you need to provide support for peerDependencies.
These dependencies should be part of the devDependencies or dependencies for packages that use the package defining a peer dependency.
[email protected] only declares react-dom under peerDependenciesMeta and devDependencies :angry-fox: