NativeScript / NativeScript/nativescript-cli
ns clean - should remove yarn.lock if the package manager for the project is yarn
Dieses Issue hat noch niemand übernommen.
- 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 you run ns clean on a project that uses yarn as the package manager, the CLI still tries to remove a package-lock.json instead of yarn.lock
Describe the solution you'd like
If the package manager of the project is yarn, then ns clean should attempt to remove yarn.lock if it exists.
Describe alternatives you've considered
As an alternative, the developer could be prompted if they wish to remove yarn.lock or package-lock.json.
Anything else?
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- I agree to follow this project's Code of Conduct
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den Befehl ns clean und die Art nachzuverfolgen, wie er den Paketmanager des Projekts bestimmt. Überprüfe das Bereinigungsverhalten für Yarn-Projekte und bestätige den Abschluss, indem du sicherstellst, dass bei vorhandener Datei yarn.lock anstelle von package-lock.json als Ziel verwendet wird; füge die relevanten Bereinigungstests hinzu oder führe sie aus, falls du welche findest.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100