NativeScript / NativeScript/nativescript-cli

tns doctor to provide component update instructions

未关闭
#4,091 1 条评论 9 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature good first issue
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 tns doctor 命令以及格式化其组件版本消息的代码开始。跟踪过时组件的检测方式,并确定 docs.nativescript.org/releases/upgrade-instructions 中现有的升级说明。完成标准是:tns doctor 能够说明如何更新每个过时组件,同时保留当前的状态输出。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
cli
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。