uni-run 2.0.3 → 2.0.4

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.
@@ -30717,6 +30717,7 @@ const runtimeSchema = object({
30717
30717
  "tsx.exe",
30718
30718
  "ts-node",
30719
30719
  "ts-node.exe",
30720
+ "node",
30720
30721
  "deno",
30721
30722
  "bun"
30722
30723
  ]),
@@ -30800,6 +30801,7 @@ const defaultRuntimes = [
30800
30801
  if (runtime === "tsx.exe") return { start: ["tsx.exe", ...args] };
30801
30802
  if (runtime === "ts-node") return { start: ["ts-node", ...args] };
30802
30803
  if (runtime === "ts-node.exe") return { start: ["ts-node.exe", ...args] };
30804
+ if (runtime === "node") return { start: ["node", ...args] };
30803
30805
  if (runtime === "bun") return { start: [
30804
30806
  "bun",
30805
30807
  "run",
package/dist/run.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as resolveSharedConfigOptions, c as TEMP_DIR, d as init_objectSpread2, i as appExecutionConfig, l as source_default, n as defaultRuntimes, o as _asyncToGenerator, r as Execution, s as init_asyncToGenerator, t as app, u as _objectSpread2 } from "./app-ymqYDN8R.mjs";
2
+ import { a as resolveSharedConfigOptions, c as TEMP_DIR, d as init_objectSpread2, i as appExecutionConfig, l as source_default, n as defaultRuntimes, o as _asyncToGenerator, r as Execution, s as init_asyncToGenerator, t as app, u as _objectSpread2 } from "./app-By3amk6n.mjs";
3
3
  import fs from "fs";
4
4
  init_objectSpread2();
5
5
  init_asyncToGenerator();
package/dist/rux.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { f as setSystemRuntime, t as app } from "./app-ymqYDN8R.mjs";
2
+ import { f as setSystemRuntime, t as app } from "./app-By3amk6n.mjs";
3
3
  setSystemRuntime("rux");
4
4
  app.start(process.argv.slice(2));
5
5
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uni-run",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "scripts": {
5
5
  "test": "vitest run",
6
6
  "test:watch": "vitest",