Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Generate preprocessor define for `NODE_GYP_MODULE_NAME`

未關閉
#144 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
cmake, node.js, typescript

研究方向

首先追蹤 binding.gyp 如何轉換成 CMakeLists.txt 設定。將產生的設定與 issue 中描述的 NODE_GYP_MODULE_NAME 定義進行核對,然後驗證產生的 CMake 輸出是否為 Node-API 模組(例如已連結的測試)宣告了它。

由索引模型根據 Issue 內容生成。

描述

gyp-to-cmake

Since v2.0.0 node-gyp has been passing in a NODE_GYP_MODULE_NAME definition which node-gyp based projects (such as the Node.js js-native-api tests) might be depending on.
To support these, we could generate code to declare this when generating a CMakeLists.txt config from a binding.gyp.

主要語言
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 摘要。