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 小时 新手友好度 76/100
objectionary/eo-graphs#74 ·
-
难度 1/5 1 小时以内 新手友好度 95/100
-
enhancement
难度 1/5 1 小时以内 新手友好度 88/100
QuantStack/git2cpp#187 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 72/100