NativeScript / NativeScript/nativescript-cli
ns clean doesnt respect package manager
未關閉
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Issue Description
If I set pnpm as the ns package manager and run ns clean it tries to remove package-lock.json which obviously doesnt exist
Reproduction
- Use any ns project
- set pnpm as package manager
- run
ns clean
Relevant log output (if applicable)
No response
Environment
echo 'y' | npx nativescript-envinfo Doesnt show pnpm version. So this makes no sense
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- This is a bug report
- I agree to follow this project's Code of Conduct
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 ns clean 命令的進入點開始,追蹤所選套件管理器如何決定要移除哪個鎖定檔。設定 pnpm 後重現此問題,接著驗證清理程序不再嘗試移除 package-lock.json,並使用適當的套件管理器行為完成操作。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100