endo icon indicating copy to clipboard operation
endo copied to clipboard

Compartment mapper support for peerDependencies

Open kriskowal opened this issue 3 years ago • 1 comments

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.

kriskowal avatar Apr 29 '22 01:04 kriskowal

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.

mhofman avatar Apr 29 '22 02:04 mhofman

[email protected] only declares react-dom under peerDependenciesMeta and devDependencies :angry-fox:

kumavis avatar Nov 09 '22 03:11 kumavis