Skip to content

Commit

Permalink
fix publish script
Browse files Browse the repository at this point in the history
prebuildify upgrade broke it
  • Loading branch information
devongovett committed Jun 13, 2024
1 parent c1f80a0 commit 99cf43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function buildNode(triple, t) {
fs.mkdirSync(dir + '/npm/' + t);
} catch (err) { }
fs.writeFileSync(`${dir}/npm/${t}/package.json`, JSON.stringify(pkg2, false, 2) + '\n');
fs.copyFileSync(`${dir}/prebuilds/${triple.platform}-${triple.arch}/node.napi.${triple.libc || 'glibc'}.node`, `${dir}/npm/${t}/watcher.node`);
fs.copyFileSync(`${dir}/prebuilds/${triple.platform}-${triple.arch}/@parcel+watcher.${triple.libc || 'glibc'}.node`, `${dir}/npm/${t}/watcher.node`);
fs.writeFileSync(`${dir}/npm/${t}/README.md`, `This is the ${t} build of @parcel/watcher. See https://github.com/parcel-bundler/watcher for details.`);
fs.copyFileSync(`${dir}/LICENSE`, `${dir}/npm/${t}/LICENSE`);
}

0 comments on commit 99cf43b

Please sign in to comment.