silvery 0.11.2 → 0.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/silvery.ts CHANGED
@@ -45,7 +45,8 @@ if (args.includes("--version") || args.includes("-v")) {
45
45
  // Strip "examples" subcommand — the examples CLI handles bare args as example names
46
46
  const delegateArgs = args[0] === "examples" ? args.slice(1) : args
47
47
 
48
- const proc = spawn(runtime, ["run", examplesCli, ...delegateArgs], {
48
+ const runArgs = runtime === "bun" ? ["run", examplesCli, ...delegateArgs] : [examplesCli, ...delegateArgs]
49
+ const proc = spawn(runtime, runArgs, {
49
50
  stdio: "inherit",
50
51
  })
51
52
  proc.on("exit", (code) => process.exit(code ?? 1))