-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get list of packages including dependencies? #2853
Comments
"How can I do this?" questions are best posed on StackOverflow or the meteor-talk mailing list, not our bug tracker. Good luck! (You can look in the .meteor/versions file.) |
For people landing here, this has been asked on StackOverflow six months ago but not answered: |
This is more of a feature request. |
I'm working on a package that will have such a function to get the dependencies of a given package. When done, I'll split this function (and other useful functions) out into a separate utility package. |
@trusktr Did you eventually succeeded in creating such a utility? I've looked into the problem and from my perspective the biggest blocker is that |
Aside from the dependency tree listing, which would be very interesting to have as part of the meteor list tool, I'm missing a license tag on the command. With this I mean it would be very nice to do something like: and get:
There is a npm module that does something similar for node dependencies (nlf). |
From the SO question:
|
While helpful, that command is painfully slow, and on top of it, it fails if the package has any updates available for it or if it's a local package because Meteor appends
Here's a slight modification to the
With that said, Also, I don't think the addition of a |
I wrote a script that displays dependency relations between Meteor packages, like so:
Here it is: https://gist.github.com/aedm/979cf82ecaedc9bffa3d9872fc75d1b9 Be aware, it's insanely slow. |
Thanks for offering that script, though I'd really suggest that the next person who wants to have this functionality help us build it into Meteor as opposed to building an external script (which is destined to be slow by the very fact that it is external to Meteor) by submitting a pull request. I've made beginners suggestions above! 😬 The existing feature request for this seems to be at #4387. I've marked it |
Done meteor/meteor-feature-requests#143 (comment). |
meteor list
shows the list of packages that were manually installed usingmeteor add
, is there a way to show the dependencies too like the waynpm list
does?The text was updated successfully, but these errors were encountered: