NativeScript / NativeScript/android
Question about necessity of multiple AAR files in npm package - impacting yarn zero installs
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 563
- フォーク
- 144
- 平均マージ
- 10時間 46分
- マージ済み PR(30日)
- 14
説明
I'm using yarn zero installs and need to store npm packages compressed in the repository. However, the NativeScript Android npm package contains three large AAR files that are causing issues with GitHub's 100MB upload limit:
framework/app/libs/runtime-libs/nativescript-optimized-with-inspector.aar(~32MB)framework/app/libs/runtime-libs/nativescript-optimized.aar(~30MB)framework/app/libs/runtime-libs/nativescript-regular.aar(~32MB)
Together with all other files these exceed the 100MB limit, making it impossible to commit the compressed packages to the repository.
Question: Are all three of these AAR files actually necessary? Could some of them be made optional or combined to reduce the package size for users who want to use yarn zero installs?
This would greatly help developers who need to maintain reproducible builds with yarn zero installs but are hitting the repository size limits due to these large runtime files.
Another affected NPM package is @nativescript/types-android.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、framework/app/libs/runtime-libs 配下の3つの AAR ファイルと、それらが NativeScript Android npm package からどのように参照されているかを調査します。@nativescript/types-android を含め、各 runtime variant が必要かどうかを判断し、サポート対象の Android ビルドや yarn zero-install packaging を壊すことなく package size を削減できた状態を完了と定義します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, javascript
- 領域
- build-system, mobile
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100