We can view all dependecy tree by running
npm list -a
or yarn list
Let's say we want a specific module to have a version that we want. How can I perform by using npm or yarn commands?
I looked at npm and yarn cli commands but couldn't find something helpful. For instance, I am exactly expecting that xyz dependency should have same version (2.4.3) for all of its instances in dependecy tree whatever depth to be