NativeScript / NativeScript/nativescript-cli
ns clean - should remove yarn.lock if the package manager for the project is yarn
オープン
まだ誰も着手していません。
feature
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず ns clean コマンドを追跡し、プロジェクトのパッケージマネージャーをどのように判定しているかを確認します。Yarn プロジェクトのクリーンアップ動作を検証し、package-lock.json ではなく、存在する場合は yarn.lock が対象になることを確認して完了とします。関連するクリーンアップテストが見つかった場合は、追加または実行します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100