NativeScript/nativescript-cli

tns doctor to provide component update instructions

開放

#4,091 建立於 2018年11月3日

 (1 則留言) (9 個反應) (0 位負責人)JavaScript (204 個分叉)auto 404
featuregood first issue

倉庫指標

星標
 (1,053 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Is your feature request related to a problem? Please describe.

When tns doctor command is executed and some components needs an update, it prints following information

‼ Update available for component nativescript. Your current version is 4.2.3 and the latest available version is 5.0.0.
√ Component tns-core-modules has 5.0.1 version and is up to date.
‼ Update available for component tns-android. Your current version is 4.2.0 and the latest available version is 5.0.0.

Describe the solution you'd like It would be great if tns doctor also tells how to update the component. Describe alternatives you've considered Search net for update instructions https://docs.nativescript.org/releases/upgrade-instructions

Additional context None

貢獻者指南