NativeScript / NativeScript/nativescript-cli

tns doctor to provide component update instructions

Offen
#4,091 1 Kommentar 9 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature good first issue
Vorherrschende Sprache
JavaScript
Sterne
1.1k
Forks
204
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
8

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Befehl tns doctor und dem Code, der seine Versionsmeldungen für Komponenten formatiert. Verfolge, wie veraltete Komponenten erkannt werden, und ermittle die bestehenden Upgrade-Anweisungen unter docs.nativescript.org/releases/upgrade-instructions. Als abgeschlossen gilt die Aufgabe, wenn tns doctor erklärt, wie jede veraltete Komponente aktualisiert wird, und dabei die aktuelle Statusausgabe erhalten bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.