NativeScript / NativeScript/nativescript-cli
Updating package.json platform versions, doesn't work.
まだ誰も着手していません。
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
説明
Environment
- CLI: 7.x
Describe the bug
Basically because we are using NPM now to manage the dependancies; it will store a copy of the runtime in @nativescript/ios or @nativescript/android if you bump the version of the package.json file; it will bump those copies; but the copy that we create in the "platforms/ios" or "platforms/android" remains whatever was their before.
Expected behavior
That I would have the version in the package.json file.
Additional context
We might need a post install script to clean the platforms/ios or platforms/android folder on install of the runtimes, so that way the next tns command will see the platforms folder empty and re-install the platforms from the npm version that was installed.
Possible corner case is if the CLI installs the platforms version before doing a npm i; we need to verify this isn't the case.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、package.json が @nativescript/ios と @nativescript/android のランタイムコピーをどのように更新するかを追跡し、それを既存の platforms/ios と platforms/android の処理と比較します。CLI が npm i の前にプラットフォームをインストールするかを確認し、提案されているインストール後のクリーンアップを評価します。platform フォルダーが package.json からインストールされたバージョンを使用すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- cli, mobile-dev
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100