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
pnpm m ls
command to get dependencies of the package located at a path
#1651
Comments
Filtering for dependencies/dependents is only possible by package name at the moment. So new syntax suggestion for filtering by path may be proposed here: https://github.com/pnpm/spec/blob/master/workspace/filtering.md |
pnpm v4.6 will have filtering by changed packages. It will use [] to specify the commit/branch. And it supports the |
So I think there are 3 ways of doing this
I think I'd vote for 2 at the moment but we can do 3 in the future as well. cc @pnpm/collaborators |
🚢 4.7.0-1 |
From #1637 (comment):
Also, if I want to get the dependencies of the root package...
Is something like this possible:
I want to be able to "get dependencies of the package located at a path".
I looking in
pnpm i --help
and it doesn't seem to have the option.Maybe we need something like
--filter-by-pkg-at-path-with-dependencies=.
and--filter-by-pkg-at-path-with-dependants=.
?The text was updated successfully, but these errors were encountered: