uni-run 2.0.2 → 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.
- package/README.md +1 -1
- package/dist/{app-CUPzTW0r.mjs → app-By3amk6n.mjs} +6 -0
- package/dist/run.mjs +1 -1
- package/dist/rux.mjs +1 -1
- package/package.json +1 -1
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/
|
|
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,10 @@ const runtimeSchema = object({
|
|
|
30714
30714
|
]),
|
|
30715
30715
|
typescript: _enum([
|
|
30716
30716
|
"tsx",
|
|
30717
|
+
"tsx.exe",
|
|
30717
30718
|
"ts-node",
|
|
30719
|
+
"ts-node.exe",
|
|
30720
|
+
"node",
|
|
30718
30721
|
"deno",
|
|
30719
30722
|
"bun"
|
|
30720
30723
|
]),
|
|
@@ -30795,7 +30798,10 @@ const defaultRuntimes = [
|
|
|
30795
30798
|
var _userConfig$runtime$t, _userConfig$runtime2;
|
|
30796
30799
|
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
30800
|
if (runtime === "tsx") return { start: ["tsx", ...args] };
|
|
30801
|
+
if (runtime === "tsx.exe") return { start: ["tsx.exe", ...args] };
|
|
30798
30802
|
if (runtime === "ts-node") return { start: ["ts-node", ...args] };
|
|
30803
|
+
if (runtime === "ts-node.exe") return { start: ["ts-node.exe", ...args] };
|
|
30804
|
+
if (runtime === "node") return { start: ["node", ...args] };
|
|
30799
30805
|
if (runtime === "bun") return { start: [
|
|
30800
30806
|
"bun",
|
|
30801
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-
|
|
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