Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support packages shipping multi-config prebuilds

未关闭
#283 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
cmake, react-native, typescript

调研方向

首先追踪 cmake-rn 如何生成特定于配置的 prebuilt 路径,以及 react-native-node-api 如何在链接期间重新映射库名称。定义配置选择的首选行为,包括调用方是否可以请求 Debug 或其他 build,并记录所请求的 prebuilt 不可用时会发生什么。

由索引模型根据 Issue 内容生成。

描述

enhancement

With default options

  • cmake-rn outputs into ./build/{configuration}/my-lib.apple.node and ./build/{configuration}/my-lib.android.node.
  • react-native-node-api linking doesn't include the library configuration in the remapped name.

In most cases, the app developer is interested in the "MinSizeRel", "RelWithDebInfo" or "Release", but it's not necessarily clear to me, which would be a preferred default.
In rare cases, the app developer might also be interested in running the "Debug" prebuilt (if available).

Ideally, we would have a way for "react-native-node-api" to pick the right prebuilt based on some configuration (passed to react-native-node-api --link?).

主要语言
TypeScript
星标
188
派生
10
平均合并
2 天 17 小时
30 天内合并 PR
3

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

callstackincubator/react-native-node-api 的其他 Issue

查看 callstackincubator/react-native-node-api 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。