Merge pull request #654 from bondz/patch-1

Add --latest flag for yarn upgrade-interactive
This commit is contained in:
nicoulaj
2019-10-08 18:53:55 +02:00
committed by GitHub
+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:' \