mirror of
https://github.com/andrewyng/openworker.git
synced 2026-11-20 20:37:44 +00:00
5 lines
279 B
JavaScript
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" });
|