Repository URL to install this package:
|
Version:
0.6.14 ▾
|
| LICENSE |
| package.json |
| README.md |
| superbrain.node |
From node.js:
From n-api, Node 14.17.0 supports Node-API 8 and was released on 2021-05-11 so we can safely rely on Node-API 8.
--openssl-fips='' was added to node-gyp command line options to bypass an interop bug (here).libsuperbrain a-la prebuildify and node-pre-gyp.With node, it's customary to put the library dependencies so the user will be able to compile a node addon when depending on the library. In our case, we take a shortcut by following this RFC, so either we'll have prebuilt binaries for our customers or we'll need to add more platforms/architectures.
Use act, set the necessary env vars and run something like:
act -j 'nodejs-package-release' --input 'package-type=nodejs' --input 'version=0.0.4-dev' --input 'production=false' -s DOCKERHUB_USERNAME -s DOCKERHUB_TOKEN -s GITHUB_TOKEN -s MARVINBOT_PAT -s INTERNAL_REPO_DEPLOY_TOKEN -s PROD_REPO_DEPLOY_TOKEN
Note that since the docker images run as root, they'll create artifcats as root in your (host) directory, so you'll need to chown afterwards.