NativeScript / NativeScript/nativescript-cli
tns update deletes the hooks folder
未關閉
還沒有人認領這個 Issue。
feature
update
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Hi,
I would like to create an iOS application which before preparing the project runs a little script which updates the Info.plist files with the appropriate version number.
It works perfectly, but when I run tns update than my hooks folder just deleted and adds only the 'nativescript-dev-typescript.js' files into it, so it removes my before-prepare script.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先,使用一個在 hooks 資料夾中包含自訂 before-prepare 指令碼的 iOS 應用程式重現此問題,然後執行 tns update。追蹤 tns update 如何重新建置或取代 hooks 資料夾;完成的標準是自訂指令碼仍然保留,同時 nativescript-dev-typescript.js 檔案仍會被加入。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 30/100