feat(yarn): add alias for yarn why (#10773)

* feat(yarn): add `yarn why`
* docs(yarn): update readme

Co-authored-by: Basia Józefowska <jozefowska.b@mpcreation.net>
Co-authored-by: Robby Russell <robby@planetargon.com>
This commit is contained in:
Dmndz 2023-01-09 21:51:50 +01:00 committed by GitHub
parent e583648195
commit 4181e8a2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -55,3 +55,4 @@ zstyle ':omz:plugins:yarn' global-path no
| yv | `yarn version` | Update the version of your package | | yv | `yarn version` | Update the version of your package |
| yw | `yarn workspace` | Run a command within a single workspace. | | yw | `yarn workspace` | Run a command within a single workspace. |
| yws | `yarn workspaces` | Run a command within all defined workspaces. | | yws | `yarn workspaces` | Run a command within all defined workspaces. |
| yy | `yarn why` | Show why a package has been installed, detailing which other packages depend on it |

View File

@ -43,3 +43,4 @@ alias yup="yarn upgrade"
alias yv="yarn version" alias yv="yarn version"
alias yw="yarn workspace" alias yw="yarn workspace"
alias yws="yarn workspaces" alias yws="yarn workspaces"
alias yy="yarn why"