vlt 0.0.0-0.1727464479666 → 0.0.0-0.1727472455017
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/cache-unzip/unzip.js +7 -4
- package/cache-unzip/unzip.js.map +1 -1
- package/commands/config.js +5 -2
- package/commands/config.js.map +1 -1
- package/commands/exec.js +5 -2
- package/commands/exec.js.map +1 -1
- package/commands/help.js +5 -2
- package/commands/help.js.map +1 -1
- package/commands/install-exec.js +5 -2
- package/commands/install-exec.js.map +1 -1
- package/commands/install.js +9 -6
- package/commands/install.js.map +1 -1
- package/commands/pkg.js +5 -2
- package/commands/pkg.js.map +1 -1
- package/commands/run-exec.js +5 -2
- package/commands/run-exec.js.map +1 -1
- package/commands/run.js +5 -2
- package/commands/run.js.map +1 -1
- package/commands/uninstall.js +9 -6
- package/commands/uninstall.js.map +1 -1
- package/package.json +1 -1
- package/rollback-remove/remove.js +7 -4
- package/rollback-remove/remove.js.map +1 -1
- package/tar/worker.js +6 -3
- package/tar/worker.js.map +1 -1
- package/vlix.js +7 -4
- package/vlix.js.map +1 -1
- package/vlr.js +7 -4
- package/vlr.js.map +1 -1
- package/vlrx.js +7 -4
- package/vlrx.js.map +1 -1
- package/vlt.js +7 -4
- package/vlt.js.map +1 -1
- package/vlx.js +7 -4
- package/vlx.js.map +1 -1
package/commands/install-exec.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import process from 'node:process'
|
|
2
2
|
import {Buffer} from 'node:buffer'
|
|
3
3
|
import {setImmediate,clearImmediate} from 'node:timers'
|
|
4
|
-
import {
|
|
5
|
-
const require = createRequire_6c5c47b7849f(import.meta.filename)
|
|
4
|
+
import {resolve as resolve_4dc0cafa254d} from 'node:path'
|
|
6
5
|
const global = globalThis
|
|
6
|
+
const __build_dirname_4dc0cafa254d = resolve_4dc0cafa254d(import.meta.dirname,"..")
|
|
7
|
+
const __build_filename_4dc0cafa254d = resolve_4dc0cafa254d(__build_dirname_4dc0cafa254d,"install-exec.js")
|
|
8
|
+
import {createRequire as createRequire_4dc0cafa254d} from 'node:module'
|
|
9
|
+
const require = createRequire_4dc0cafa254d(__build_filename_4dc0cafa254d)
|
|
7
10
|
|
|
8
11
|
// ../../src/vlt/dist/esm/commands/install-exec.js
|
|
9
12
|
var usage = `vlt install-exec [--package=<pkg>] [command...]
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/vlt/src/commands/install-exec.ts"],
|
|
4
4
|
"sourcesContent": ["import { LoadedConfig } from '../config/index.js'\n\nexport const usage = `vlt install-exec [--package=<pkg>] [command...]\nRun a command defined by a package, installing it if necessary`\n\nexport const command = async (conf: LoadedConfig) => {\n console.log('todo: exec, but install if not present')\n console.error(conf.positionals)\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;AAEO,IAAM,QAAQ;;AAGd,IAAM,UAAU,OAAO,SAAsB;AAClD,UAAQ,IAAI,wCAAwC;AACpD,UAAQ,MAAM,KAAK,WAAW;AAChC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/commands/install.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import process from 'node:process'
|
|
2
2
|
import {Buffer} from 'node:buffer'
|
|
3
3
|
import {setImmediate,clearImmediate} from 'node:timers'
|
|
4
|
-
import {
|
|
5
|
-
const require = createRequire_6c5c47b7849f(import.meta.filename)
|
|
4
|
+
import {resolve as resolve_97233b90a0d3} from 'node:path'
|
|
6
5
|
const global = globalThis
|
|
6
|
+
const __build_dirname_97233b90a0d3 = resolve_97233b90a0d3(import.meta.dirname,"..")
|
|
7
|
+
const __build_filename_97233b90a0d3 = resolve_97233b90a0d3(__build_dirname_97233b90a0d3,"install.js")
|
|
8
|
+
import {createRequire as createRequire_97233b90a0d3} from 'node:module'
|
|
9
|
+
const require = createRequire_97233b90a0d3(__build_filename_97233b90a0d3)
|
|
7
10
|
var __create = Object.create;
|
|
8
11
|
var __defProp = Object.defineProperty;
|
|
9
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -30614,7 +30617,7 @@ import { spawn as spawn3 } from "node:child_process";
|
|
|
30614
30617
|
// ../../src/cache-unzip/dist/esm/unzip.js
|
|
30615
30618
|
import { resolve as resolve16 } from "node:path";
|
|
30616
30619
|
var __CODE_SPLIT_SCRIPT_NAME = resolve16(
|
|
30617
|
-
|
|
30620
|
+
__build_dirname_97233b90a0d3,
|
|
30618
30621
|
"cache-unzip/unzip.js"
|
|
30619
30622
|
);
|
|
30620
30623
|
|
|
@@ -30646,7 +30649,7 @@ var handleBeforeExit = () => {
|
|
|
30646
30649
|
// ../../node_modules/.pnpm/package-json-from-dist@1.0.0/node_modules/package-json-from-dist/dist/esm/index.js
|
|
30647
30650
|
import { readFileSync as readFileSync5 } from "node:fs";
|
|
30648
30651
|
import { resolve as resolve17 } from "node:path";
|
|
30649
|
-
var findPackageJson = (from) => resolve17(
|
|
30652
|
+
var findPackageJson = (from) => resolve17(__build_dirname_97233b90a0d3, from, "package.json");
|
|
30650
30653
|
var loadPackageJson = (from) => JSON.parse(readFileSync5(findPackageJson(from), "utf8"));
|
|
30651
30654
|
|
|
30652
30655
|
// ../../src/registry-client/dist/esm/index.js
|
|
@@ -31797,7 +31800,7 @@ var UnpackRequest = class {
|
|
|
31797
31800
|
// ../../src/tar/dist/esm/worker.js
|
|
31798
31801
|
import { resolve as resolve19 } from "node:path";
|
|
31799
31802
|
var __CODE_SPLIT_SCRIPT_NAME2 = resolve19(
|
|
31800
|
-
|
|
31803
|
+
__build_dirname_97233b90a0d3,
|
|
31801
31804
|
"tar/worker.js"
|
|
31802
31805
|
);
|
|
31803
31806
|
|
|
@@ -37049,7 +37052,7 @@ import { basename as basename8, dirname as dirname10 } from "node:path";
|
|
|
37049
37052
|
// ../../src/rollback-remove/dist/esm/remove.js
|
|
37050
37053
|
import { resolve as resolve21 } from "node:path";
|
|
37051
37054
|
var __CODE_SPLIT_SCRIPT_NAME3 = resolve21(
|
|
37052
|
-
|
|
37055
|
+
__build_dirname_97233b90a0d3,
|
|
37053
37056
|
"rollback-remove/remove.js"
|
|
37054
37057
|
);
|
|
37055
37058
|
|