microsoft / microsoft/node-api-dotnet

Build libnode and publish nuget packages

Open
#107 11 comments 5 reactions 1 assignee View on GitHub

@vmoroz is already working on this.

Since Apr 21, 2023.

libnode
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.