yarn: add yarn version alias (#8138)

This commit is contained in:
Frani 2019-10-09 10:17:05 -03:00 committed by Marc Cornellà
parent c9841f43b1
commit 79b2944a8a
2 changed files with 2 additions and 0 deletions

View file

@ -39,5 +39,6 @@ plugins=(... yarn)
| yuc | `yarn global upgrade && yarn cache clean` | Upgrade global packages and clean yarn's global cache | | yuc | `yarn global upgrade && yarn cache clean` | Upgrade global packages and clean yarn's global cache |
| yui | `yarn upgrade-interactive` | Prompt for which outdated packages to upgrade | | yui | `yarn upgrade-interactive` | Prompt for which outdated packages to upgrade |
| yup | `yarn upgrade` | Upgrade packages to their latest version | | yup | `yarn upgrade` | Upgrade packages to their latest version |
| 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. |

View file

@ -24,5 +24,6 @@ alias ytc="yarn test --coverage"
alias yuc="yarn global upgrade && yarn cache clean" alias yuc="yarn global upgrade && yarn cache clean"
alias yui="yarn upgrade-interactive" alias yui="yarn upgrade-interactive"
alias yup="yarn upgrade" alias yup="yarn upgrade"
alias yv="yarn version"
alias yw="yarn workspace" alias yw="yarn workspace"
alias yws="yarn workspaces" alias yws="yarn workspaces"