NativeScript / NativeScript/nativescript-cli
ns clean - should remove yarn.lock if the package manager for the project is yarn
Nessuno ha ancora preso questa issue.
- Lingua principale
- JavaScript
- Stelle
- 1.1k
- Fork
- 204
- Merge medio
- 1g 9h
- PR unite (30g)
- 8
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia tracciando il comando ns clean e il modo in cui determina il gestore dei pacchetti del progetto. Verifica il comportamento della pulizia per i progetti Yarn e conferma il completamento assicurandoti che, quando presente, yarn.lock sia il file interessato invece di package-lock.json; aggiungi o esegui i test di pulizia pertinenti, se vengono trovati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100