Files
openworker/harness/examples/quickstart/scripts/setup.mjs

5 lines
279 B
JavaScript

import { execFileSync } from "node:child_process";
const npm = process.platform === "win32" ? "npm.cmd" : "npm";
// Install the published SDK and its platform runtime; no Rust build is needed.
execFileSync(npm, ["ci"], { stdio: "inherit", shell: process.platform === "win32" });