// @ts-ignore
cmd += ` --user ${process.getuid!()}:${process.getegid!()}`;
}
- cmd += ` --mount type=bind,source=${WASM_SRC}/build,target=/home/node/llhttp/build llhttp_wasm_builder npm run wasm`;
+ cmd += ` --mount type=bind,source=${WASM_SRC}/build,target=/home/node/llhttp/build llhttp_wasm_builder pkgjs-run wasm`;
// eslint-disable-next-line no-console
console.log(`> ${cmd}\n\n`);
}
// Build ts
-execSync('npm run build', { cwd: WASM_SRC, stdio: 'inherit' });
+execSync('pkgjs-run build', { cwd: WASM_SRC, stdio: 'inherit' });
// Build wasm binary
execSync(