Skip to content
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

Fix global-list to show packages with no binaries #7108

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

uetchy
Copy link

@uetchy uetchy commented Mar 14, 2019

Summary

This will fix an issue that yarn global list won't show packages with no binaries.

Related issue: #5725

Test plan

Currently, yarn global list shows only packages with binaries:

➜ yarn global list
yarn global v1.13.0
info "@gitignorejs/gitignore-cli@0.1.1" has binaries:
   - gitignore
info "create-html@4.1.0" has binaries:
   - create-html
info "create-react-app@2.1.8" has binaries:
   - create-react-app

This patch will fix this issue and shows all globally installed packages.

success Installed "fixpack@2.3.1" with binaries:
      - fixpack
warning "generator-license@5.4.0" has no binaries
warning "generator-standard-readme@1.0.4" has no binaries

@arcanis
Copy link
Member

arcanis commented Mar 24, 2019

Can you make it an info and different translation key if !saved (similar to what is done line 186)?

@uetchy
Copy link
Author

uetchy commented Mar 25, 2019

@arcanis fixed the code to list all packages via info reporter.
Screen Shot 2019-03-25 at 17 51 30

@achembarpu
Copy link

achembarpu commented Apr 12, 2020

Is there any plan to merge this? It's really annoying that yarn doesn't list all installed packages, which should definitely be a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants