Suppose packages B, C, and D depend on package A, but only packages B and D are installed in an app. How can we in package A determine that the current dependents of package A are B and D?
I can imagine walking up until I find
.meteor, looking in there at the
packages file, then based on the names in there go look at each package either in the app’s
packages folder, or in
~/.meteor/package to see which ones call
api.use on package A. That’s a bad idea though since there could be tons of packages to look through.
Is there an official way?