apache / apache/pulsar-client-node
node-pre-gyp setup
- 主要语言
- C++
- 星标
- 164
- 派生
- 98
- PR 合并指标
- 30 天内没有已合并 PR
描述
The current node-pre-gyp setup is incorrect, the binary host points to the docs instead of a place where the built binaries are stored.
Things to do to improve the usage:
- [ ] Set up a CI on Mac OS and Linux (glibc and musl builds?) to build the binaries.
- [ ] Use [node-pre-gyp-github](https://github.com/bchr02/node-pre-gyp-github) tool to upload the built binaries to GitHub releases, so that users can download the binaries during install.
- [ ] This project uses N-API, so the default binary name can be optimised to not include node ABI version in it. This will allow to build a single binary per platform without the need of building it for every node version. `"{module_name}-{version}-{platform}-{libc}-{arch}.tar.gz"`
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先检查当前的 node-pre-gyp 设置,以及其二进制文件主机和命名模板的配置方式。然后检查提议的 node-pre-gyp-github 流程,并确定 macOS、Linux glibc 和 Linux musl 构建的 CI 矩阵。完成的标准是:二进制文件已构建、上传到 GitHub releases,并且可以在安装期间使用兼容 N-API 的名称下载。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- nodejs
- 领域
- build-system, ci-cd, release
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100