In our project we have a node app (=A
) that integrates a library (=B
) that we use. Both in the host (A
) and in the lib (B
) we use a library from third parties (lets say super-lib@1.0.0 =C
), so also in the same version.
So A's package.json
looks like this:
dependencies: {
"B": "2.0.0",
"C": "1.0.0"
}
The question now is whether you should/can do without C
in A
, since it is imported as a peer-dep via B
anyway. Is there anything against it?
Looking forward to your answers :-)