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
+6 -1
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:' \