Add --latest flag for yarn upgrade-interactive

This commit is contained in:
Bond 2019-10-03 05:05:46 +01:00 committed by GitHub
parent 922eee0706
commit 21aa84dba2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -71,7 +71,7 @@ _global_commands=(
'bin:Displays the location of the yarn bin folder'
'remove:Remove installed package from dependencies updating package.json'
'upgrade:Upgrades packages to their latest version based on the specified range'
'upgrade-interactive'
'upgrade-interactive:Interactively upgrade packages'
)
_yarn_commands_scripts() {
@ -256,6 +256,11 @@ _yarn() {
'*:: :->team_args'
;;
upgrade-interactive)
_arguments \
'--latest:use the version tagged latest in the registry:'
;;
version)
_arguments \
'--new-version:version:' \