This repository contains a subset of the original Node.js repository found at https://github.com/nodejs/node for the development of CCL-based addons.
The content of this repository is copied from the original repository of Node.js:
Version 2.18.0 'Iron' (LTS)
Branch: v20.x
Tag: v20.18.0
Commit: 7eebd17fa2c1e48e4534f3a69560388fab2f2c07
Execute the following steps to update this repository to a newer version of Node.js:
- Clone the Node.js repository to a local folder.
- Copy the files
node_api.h,node_api_types.h,js_native_api.handjs_native_api_types.hfrom the Node.js/srcdirectory to the/includedirectory in this repository. - Copy the file
uv.hfrom the Node.js/deps/uv/includedirectory in the/ìncludedirectory and update the files in/include/uvof this repo from/deps/uv/include/uvin the Node.js directory. - The file
node.libfor Windows must be compiled locally. This is done by issuing the command./vcbuild openssl-no-asmin the local Node.js repository. The resulting file/out/Release/node.libmust be copied to the/lib/windowsdirectory of this repository. Further details on building Node.js on Windows and the necessary prerequisites can be found at https://github.com/nodejs/node/blob/main/BUILDING.md#windows.