Closed KevinEady closed 1 year ago
@KevinEady I think when we discussed in a Node-API meeting you were going to update to remove the Experimental part of the headers. Was that added and I just can't find it?
@KevinEady, I found the part that removes the experimental functions from the symbols but I think we also should do that in the header file as well.
@KevinEady, I found the part that removes the experimental functions from the symbols but I think we also should do that in the header file as well.
Addressed in https://github.com/nodejs/node-api-headers/compare/41f0767...36a1e92b19642782e459d129657d5dbe761aa1ce
This action run https://github.com/KevinEady/node-api-headers/actions/runs/4174541956/jobs/7228252444 created PR https://github.com/KevinEady/node-api-headers/pull/10/files?diff=split&w=1
@NickNaso @mhdawson this is ready for review again
Added two new scripts runnable via
npm
:npm run-script update-headers
: Fetch latest headers from nodejs/node and removesNAPI_EXPERIMENTAL
preprocessor checks of#ifdef
and#ifndef
, assuming it is not defined.npm run-script write-symbols
: Useclang
to process headers to createsymbols.js
This PR also adds a GitHub Actions workflow for performing the sync on a daily schedule (also can be manually triggered).
Relates: #2