Merge pull request #654 from bondz/patch-1
Add --latest flag for yarn upgrade-interactive
This commit is contained in:
commit
bbc8bada78
|
@ -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:' \
|
||||
|
|
Loading…
Reference in New Issue