我正在将yarn升级命令添加到bash文件中。我想运行命令将特定的包升级到特定的版本。 yarn upgrade mypackage@5.9.5 但是如果当前在远程npm仓库中找不到特定的版本,yarn会打开一个提示,从可用版本中进行选择,就像这样: Couldn't find any versions for "mypackage" that matches "5.9.5"
Please choose a version of "mypackage" from this list: (Use arrow keys) 这在bash文件中