I have an npm module I develop. I want to know which version of this module is being used across the different projects in my company's organization repository. Is there a way to run a search for a specific versions of a module?
For example my latest version of the module is "5.x.x"
. I want to find all usages that are not "^5.x.x"
.
I tried searching for filename:package.json my-module
but this gives me too many results, which most of them is the latest version ("^5.x.x"
).
Maybe there is some other way to achieve it which is not the Github search?
Edit:
- The organization repository is huge and it is impossible to have it all cloned on the disk.
- In our organization we have a solution that solves this problem using coding (a service that manages all dependencies across the organization which exposes REST). I am looking for something that can be achieved easily without coding (too much).