@sandblocks/cli 0.5.0-b.2 → 0.5.0-b.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/dist/cli.js +1 -8
- package/dist/cli.js.map +3 -3
- package/dist/{runtime.js → runtime-bin.js} +6 -10
- package/package.json +3 -3
package/dist/cli.js
CHANGED
|
@@ -11881,7 +11881,6 @@ async function text(file) {
|
|
|
11881
11881
|
import { spawn } from "child_process";
|
|
11882
11882
|
import { access, chmod as chmod2, mkdir as mkdir2, readdir, rm as rm2 } from "fs/promises";
|
|
11883
11883
|
import path4 from "path";
|
|
11884
|
-
import { pathToFileURL } from "url";
|
|
11885
11884
|
var RUNTIME_PATTERN = /^[a-z][a-z0-9-]{0,62}$/;
|
|
11886
11885
|
var NODE_ENV_RUNTIME = {
|
|
11887
11886
|
production: "prod",
|
|
@@ -11984,12 +11983,6 @@ function option(options, key) {
|
|
|
11984
11983
|
const value = options[key];
|
|
11985
11984
|
return typeof value === "string" ? value : undefined;
|
|
11986
11985
|
}
|
|
11987
|
-
if (process.argv[1] && import.meta.url === pathToFileURL(path4.resolve(process.argv[1])).href) {
|
|
11988
|
-
runRuntimeCommand(process.argv.slice(2)).catch((error) => {
|
|
11989
|
-
console.error(`sandblocks-runtime: ${error instanceof Error ? error.message : String(error)}`);
|
|
11990
|
-
process.exitCode = 1;
|
|
11991
|
-
});
|
|
11992
|
-
}
|
|
11993
11986
|
|
|
11994
11987
|
// src/sandbox.ts
|
|
11995
11988
|
init_src();
|
|
@@ -15459,4 +15452,4 @@ export {
|
|
|
15459
15452
|
parse2 as parse
|
|
15460
15453
|
};
|
|
15461
15454
|
|
|
15462
|
-
//# debugId=
|
|
15455
|
+
//# debugId=C62D0719A3A5D1E864756E2164756E21
|