NativeScript / NativeScript/nativescript-cli
tns doctor to provide component update instructions
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the tns doctor command and the code that formats its component version messages. Trace how outdated components are detected and identify the existing upgrade instructions at docs.nativescript.org/releases/upgrade-instructions. Done means tns doctor explains how to update each outdated component while preserving the current status output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100