Assume I have a microservice A and a microservice (implemented on node.js) B which both depends on package C.
When I release my application (which includes A,B and C) I want to make sure that the same version of C is used by both A and B. I want this to be the case whenever I release A or B during development.
In fact with Java and Maven there is the concept of a BOM (bill of materials) see for example, which solves this for Java.
Maven BOM [Bill Of Materials] Dependency
Is there a similar solution for node.js?