(label: string, cmd: string, args: ReadonlyArray<string>)
| 14 | const repoRoot = resolve(fileURLToPath(new URL("..", import.meta.url))); |
| 15 | |
| 16 | const run = (label: string, cmd: string, args: ReadonlyArray<string>) => { |
| 17 | console.log(`\n[bootstrap] ${label}: ${cmd} ${args.join(" ")}`); |
| 18 | execFileSync(cmd, [...args], { cwd: repoRoot, stdio: "inherit" }); |
| 19 | }; |
| 20 | |
| 21 | // `bun install` runs the workspace prepare hook, which builds |
| 22 | // @executor-js/vite-plugin and @executor-js/react — the two artifacts the |