Question about necessity of multiple AAR files in npm package - impacting yarn zero installs
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 30/100
- Issue 類型
- 功能
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- android, javascript
- 領域
- build-system, mobile
研究方向
首先檢查 framework/app/libs/runtime-libs 下的三個 AAR 檔案,以及 NativeScript Android npm package 如何參照它們。確認是否需要每個 runtime variant,包括 @nativescript/types-android 所需的 variant,並將「在不破壞受支援的 Android 建置或 yarn zero-install packaging 的情況下縮減 package size」定義為完成標準。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- C++
- 星號
- 563
- 分支
- 144
- 平均合併
- 10 小時 46 分鐘
- 30 天內合併 PR
- 14
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NativeScript/android 的其他 Issue
-
難度 5/5 一週以上 新手友好度 38/100
NativeScript/android#2039 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 48/100
NativeScript/android#2024 ·
-
難度 5/5 一週以上 新手友好度 20/100
NativeScript/android#2020 ·
-
難度 5/5 一週以上 新手友好度 42/100
NativeScript/android#2019 ·
-
難度 4/5 3-5 天 新手友好度 55/100
NativeScript/android#1986 ·
查看 NativeScript/android 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 86/100
ArthurSonzogni/FTXUI#1363 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 1/5 1 小時以內 新手友好度 90/100
ginkgo-project/ginkgo#2108 ·
-
bug build
難度 1/5 1 小時以內 新手友好度 91/100
facebookincubator/velox#19194 ·
-
JIT-compiled number -> Decimal conversion silently overflows instead of raising DECIMAL_OVERFLOW 未關閉fuzz
難度 2/5 1-3 小時 新手友好度 82/100
ClickHouse/ClickHouse#122114 ·