microsoft / microsoft/node-api-dotnet
Build libnode and publish nuget packages
@vmoroz is already working on this.
Since Apr 21, 2023.
- Dominant language
- C#
- Stars
- 783
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
For embedding Node.js, we need to build libnode binaries for each supported platform, and publish the binaries as native nuget packages.
Until the Node API embedding PR is merged, we'll need to build from a fork. And, it may require manually merging the PR changes into the target version of Node.js. I did that for Node.js v19.9 and v20.0 already:
https://github.com/jasongin/nodejs/tree/napi-libnode-v19.9.0
https://github.com/jasongin/nodejs/tree/napi-libnode-v20.0.0
(I tried to backport to v18, but the PR changes depended on significant updates in v19.)
Edit: Instructions for building libnode are at https://microsoft.github.io/node-api-dotnet/scenarios/dotnet-js.html
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.