uni-run 2.0.2 → 2.0.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/README.md CHANGED
@@ -97,7 +97,7 @@ Create `~/.uni-run.json` to override default runtimes:
97
97
 
98
98
  ```json
99
99
  {
100
- "$schema": "https://github.com/NazmusSayad/uni-run/raw/refs/heads/main/public/uni-run.schema.json",
100
+ "$schema": "https://github.com/NazmusSayad/uni-run/raw/refs/heads/schema/schema.json",
101
101
  "runtime": {
102
102
  "python": "uv",
103
103
  "javascript": "bun",
@@ -30714,7 +30714,9 @@ const runtimeSchema = object({
30714
30714
  ]),
30715
30715
  typescript: _enum([
30716
30716
  "tsx",
30717
+ "tsx.exe",
30717
30718
  "ts-node",
30719
+ "ts-node.exe",
30718
30720
  "deno",
30719
30721
  "bun"
30720
30722
  ]),
@@ -30795,7 +30797,9 @@ const defaultRuntimes = [
30795
30797
  var _userConfig$runtime$t, _userConfig$runtime2;
30796
30798
  const runtime = (_userConfig$runtime$t = (_userConfig$runtime2 = readUserConfig().runtime) === null || _userConfig$runtime2 === void 0 ? void 0 : _userConfig$runtime2.typescript) !== null && _userConfig$runtime$t !== void 0 ? _userConfig$runtime$t : "tsx";
30797
30799
  if (runtime === "tsx") return { start: ["tsx", ...args] };
30800
+ if (runtime === "tsx.exe") return { start: ["tsx.exe", ...args] };
30798
30801
  if (runtime === "ts-node") return { start: ["ts-node", ...args] };
30802
+ if (runtime === "ts-node.exe") return { start: ["ts-node.exe", ...args] };
30799
30803
  if (runtime === "bun") return { start: [
30800
30804
  "bun",
30801
30805
  "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-CUPzTW0r.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-ymqYDN8R.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-CUPzTW0r.mjs";
2
+ import { f as setSystemRuntime, t as app } from "./app-ymqYDN8R.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.2",
3
+ "version": "2.0.3",
4
4
  "scripts": {
5
5
  "test": "vitest run",
6
6
  "test:watch": "vitest",