Update node to 10.15.1 (#472)
* Update Node to 10.15.1 * Remove string replace that was used for oclif * Update nbin * Package node-pty and spdlog with nbin * Label stderr/stdout from shared process * Remove fork override * Prevent "already disposed" errors when trying to kill disposed proxies * Include spdlog dependencies * Shim /node_modules * Add node_modules to Docker ignore It keeps using my already-built .node files which results in a mismatching GLIBC version error. * Update nbin
This commit is contained in:
@ -10,6 +10,16 @@ const bin = new Binary({
|
||||
});
|
||||
bin.writeFiles(path.join(rootDir, "build", "**"));
|
||||
bin.writeFiles(path.join(rootDir, "out", "**"));
|
||||
[
|
||||
// Native modules. These are marked as externals in the webpack config.
|
||||
"spdlog",
|
||||
"node-pty",
|
||||
|
||||
// These are spdlog's dependencies.
|
||||
"mkdirp", "bindings",
|
||||
].forEach((name) => {
|
||||
bin.writeModule(path.join(__dirname, "../../../node_modules", name));
|
||||
});
|
||||
bin.build().then((binaryData) => {
|
||||
const outputPath = path.join(__dirname, "..", `cli-${target}`);
|
||||
fs.writeFileSync(outputPath, binaryData);
|
||||
|
Reference in New Issue
Block a user