@vltpkg/cli-js 1.0.7 → 1.0.8
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/{access-OKO4MXDT.js → access-FOYRQGJC.js} +1 -1
- package/{bugs-J56QQ3CP.js → bugs-ORVU4I5O.js} +19 -11
- package/{build-CQ2E2XRO.js → build-JLVAGEEU.js} +4 -4
- package/{cache-PPEXAQT7.js → cache-RIOSSQD3.js} +3 -3
- package/{chunk-CIKUT62L.js → chunk-3L2ERW54.js} +2 -2
- package/{chunk-RKXQ66T4.js → chunk-5CNTLC2U.js} +1 -1
- package/{chunk-SVO3HI2G.js → chunk-5QAFAGO5.js} +3 -3
- package/{chunk-3NGV7EC6.js → chunk-7D7SNVBV.js} +1177 -214
- package/{chunk-34VLICEH.js → chunk-ADLHAQRA.js} +5 -5
- package/{chunk-JWWDJYSU.js → chunk-AGHW2E24.js} +17 -14
- package/chunk-AQ3XJJUP.js +75 -0
- package/{chunk-ED2DDTQT.js → chunk-FG633ZKS.js} +31 -4
- package/{chunk-OUF2P2OD.js → chunk-JXVDCQZF.js} +14 -2
- package/{chunk-QWTGTFHN.js → chunk-MUG5K6X2.js} +1 -1
- package/{chunk-CHHGSDAP.js → chunk-NC3QYZPW.js} +3 -3
- package/chunk-OB73T23B.js +30 -0
- package/{chunk-SVBEF5PK.js → chunk-OWML62W5.js} +1 -1
- package/{chunk-JLKFIX2H.js → chunk-UYIA44HE.js} +4 -4
- package/{chunk-GVZRKITF.js → chunk-WY4PAM6D.js} +3 -3
- package/{chunk-A4EKZ32F.js → chunk-YCVPEZRM.js} +2 -2
- package/{chunk-3OPNZI6G.js → chunk-YOE3VZFX.js} +8 -7
- package/{chunk-ADYHZTEI.js → chunk-ZXIF4PVX.js} +13 -6
- package/{ci-WDQ4SQN6.js → ci-2666LKEC.js} +5 -5
- package/cli-package.json +1 -1
- package/{config-XY5CDGTD.js → config-3N7PBEXH.js} +4 -4
- package/{config-JMARDHLW.js → config-WMYY5J37.js} +4 -4
- package/{create-C24ZGR6S.js → create-AEQSO6KX.js} +9 -9
- package/{deprecate-HYHD5WQC.js → deprecate-MW76DAZ5.js} +4 -4
- package/{devtools-66MVSNF5.js → devtools-UEMPW5GG.js} +29 -29
- package/{dist-tag-RPQ5LZWM.js → dist-tag-XGQLYA6C.js} +1 -1
- package/{docs-UKQNAVM3.js → docs-7CCTL3OY.js} +19 -11
- package/{exec-FNZEVDGU.js → exec-GWCIDNOH.js} +9 -9
- package/{exec-cache-GRHS57DV.js → exec-cache-AML2HUTJ.js} +7 -7
- package/{exec-local-AHDW7CKQ.js → exec-local-JRTO2XG4.js} +7 -7
- package/{help-VDBXIWF3.js → help-4KSCV7GN.js} +1 -1
- package/{init-2ICZBLI2.js → init-OHVBHXB7.js} +5 -5
- package/{install-IFSVVRU5.js → install-TFDEHY5J.js} +6 -6
- package/{list-RCAPA3OE.js → list-UD4SDHVE.js} +16 -10
- package/{login-T42R75OV.js → login-B6TIQW62.js} +5 -5
- package/{logout-PVR6J2AK.js → logout-H3CXGLDN.js} +1 -1
- package/{pack-HPLDE4RB.js → pack-YYK4LKBQ.js} +6 -6
- package/package.json +1 -1
- package/{ping-N5U4XHUU.js → ping-G765RWLM.js} +1 -1
- package/{pkg-VNKZX5JC.js → pkg-D4S3SPUH.js} +6 -6
- package/{profile-N7UOXZ2X.js → profile-YDQGMWYP.js} +1 -1
- package/{publish-CRSF7NZP.js → publish-ANHSZPIM.js} +8 -8
- package/{query-MEAXXYOE.js → query-PZ6C6AZJ.js} +16 -10
- package/registry-client-package.json +1 -1
- package/registry-client-src-revalidate.js +17 -14
- package/{repo-IRTGGLIC.js → repo-ZA3TMERE.js} +19 -11
- package/{reporter-Y7RMSVN4.js → reporter-SDMDYYMJ.js} +72 -72
- package/{run-I6HWURSB.js → run-N4NK35UT.js} +7 -7
- package/{run-exec-BV3RUWQM.js → run-exec-N5FT4QO7.js} +7 -7
- package/security-archive-src-update-expired.js +6 -7
- package/{setup-U6DWTZBA.js → setup-MWWDSKQZ.js} +6 -6
- package/{src-44BBCHST.js → src-6PISL6QX.js} +1 -1
- package/{src-SXMLUOLI.js → src-6UF5YTTL.js} +9 -8
- package/{token-CTUMLTQP.js → token-FFUAFL43.js} +1 -1
- package/{uninstall-UUFXE47B.js → uninstall-A4PUG6RI.js} +14 -7
- package/{unpublish-G4NALOC6.js → unpublish-OJEGZDGQ.js} +1 -1
- package/{update-BGMQQNYE.js → update-ENR6ICMR.js} +5 -5
- package/{version-QVFPFL6M.js → version-K3BUGG7X.js} +5 -5
- package/{view-QFYMJVBE.js → view-SWVQLQCB.js} +4 -4
- package/vlr.js +1 -1
- package/vlrx.js +1 -1
- package/vlt.js +1 -1
- package/vlx.js +1 -1
- package/vlxl.js +1 -1
- package/{whoami-5D4XUOSP.js → whoami-MA733O2T.js} +1 -1
- package/chunk-NEFV2B5V.js +0 -75
|
@@ -11,18 +11,19 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
loadCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AQ3XJJUP.js";
|
|
15
15
|
import {
|
|
16
16
|
Config
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-WY4PAM6D.js";
|
|
18
|
+
import "./chunk-YCVPEZRM.js";
|
|
19
19
|
import "./chunk-ZWKI5OSF.js";
|
|
20
20
|
import {
|
|
21
|
+
flushAndExit,
|
|
21
22
|
indent,
|
|
22
23
|
outputCommand,
|
|
23
24
|
stderr,
|
|
24
25
|
stdout
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JXVDCQZF.js";
|
|
26
27
|
import "./chunk-YAIKXFLN.js";
|
|
27
28
|
import "./chunk-G2YT2GWF.js";
|
|
28
29
|
import {
|
|
@@ -30,8 +31,8 @@ import {
|
|
|
30
31
|
} from "./chunk-GDJ7JT2R.js";
|
|
31
32
|
import "./chunk-5JFRXIK2.js";
|
|
32
33
|
import "./chunk-WGDTG44V.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-OWML62W5.js";
|
|
35
|
+
import "./chunk-YOE3VZFX.js";
|
|
35
36
|
import "./chunk-XKVU23NC.js";
|
|
36
37
|
import {
|
|
37
38
|
getSortedCliOptions,
|
|
@@ -85,7 +86,7 @@ var loadVlt = async (cwd, argv) => {
|
|
|
85
86
|
`Run 'vlt help' for more information about available options.`
|
|
86
87
|
)
|
|
87
88
|
);
|
|
88
|
-
return
|
|
89
|
+
return flushAndExit(process.exitCode || 1);
|
|
89
90
|
}
|
|
90
91
|
};
|
|
91
92
|
var run = async () => {
|
|
@@ -117,7 +118,7 @@ var run = async () => {
|
|
|
117
118
|
)
|
|
118
119
|
);
|
|
119
120
|
}
|
|
120
|
-
return
|
|
121
|
+
return flushAndExit(process.exitCode || 1);
|
|
121
122
|
}
|
|
122
123
|
if (vlt.command === "registry") {
|
|
123
124
|
const { dispatchRegistry } = await import("./registry-BMWXMQS4.js");
|
|
@@ -11,13 +11,13 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
parseRemoveArgs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ADLHAQRA.js";
|
|
15
15
|
import {
|
|
16
16
|
uninstall
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-7D7SNVBV.js";
|
|
18
|
+
import "./chunk-FG633ZKS.js";
|
|
19
|
+
import "./chunk-OWML62W5.js";
|
|
20
|
+
import "./chunk-YOE3VZFX.js";
|
|
21
21
|
import {
|
|
22
22
|
commandUsage
|
|
23
23
|
} from "./chunk-PTR5IGFQ.js";
|
|
@@ -54,6 +54,9 @@ var usage = () => commandUsage({
|
|
|
54
54
|
value: "<name>",
|
|
55
55
|
description: "Limit uninstall targets to workspace groups."
|
|
56
56
|
},
|
|
57
|
+
"lockfile-only": {
|
|
58
|
+
description: "Only update lockfile and package.json files; skip node_modules operations."
|
|
59
|
+
},
|
|
57
60
|
"allow-scripts": {
|
|
58
61
|
value: "<query>",
|
|
59
62
|
description: "Filter which packages are allowed to run lifecycle scripts using DSS query syntax."
|
|
@@ -63,7 +66,7 @@ var usage = () => commandUsage({
|
|
|
63
66
|
var views = {
|
|
64
67
|
json: (i) => i.graph.toJSON(),
|
|
65
68
|
human: lazyView(
|
|
66
|
-
async () => (await import("./reporter-
|
|
69
|
+
async () => (await import("./reporter-SDMDYYMJ.js")).InstallReporter
|
|
67
70
|
)
|
|
68
71
|
};
|
|
69
72
|
var command = async (conf) => {
|
|
@@ -71,7 +74,11 @@ var command = async (conf) => {
|
|
|
71
74
|
const { remove } = parseRemoveArgs(conf, scurry, monorepo);
|
|
72
75
|
const allowScripts = conf.get("allow-scripts") ? String(conf.get("allow-scripts")) : ":not(*)";
|
|
73
76
|
const { graph } = await uninstall(
|
|
74
|
-
{
|
|
77
|
+
{
|
|
78
|
+
...conf.options,
|
|
79
|
+
allowScripts,
|
|
80
|
+
lockfileOnly: conf.options["lockfile-only"]
|
|
81
|
+
},
|
|
75
82
|
remove
|
|
76
83
|
);
|
|
77
84
|
return { graph };
|
|
@@ -11,10 +11,10 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
update
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-7D7SNVBV.js";
|
|
15
|
+
import "./chunk-FG633ZKS.js";
|
|
16
|
+
import "./chunk-OWML62W5.js";
|
|
17
|
+
import "./chunk-YOE3VZFX.js";
|
|
18
18
|
import {
|
|
19
19
|
commandUsage
|
|
20
20
|
} from "./chunk-PTR5IGFQ.js";
|
|
@@ -60,7 +60,7 @@ var views = {
|
|
|
60
60
|
graph: i.graph.toJSON()
|
|
61
61
|
}),
|
|
62
62
|
human: lazyView(
|
|
63
|
-
async () => (await import("./reporter-
|
|
63
|
+
async () => (await import("./reporter-SDMDYYMJ.js")).InstallReporter
|
|
64
64
|
)
|
|
65
65
|
};
|
|
66
66
|
var command = async (conf) => {
|
|
@@ -11,19 +11,19 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
createHostContextsMap
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NC3QYZPW.js";
|
|
15
15
|
import {
|
|
16
16
|
Query,
|
|
17
17
|
actual
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-7D7SNVBV.js";
|
|
19
|
+
import "./chunk-FG633ZKS.js";
|
|
20
20
|
import {
|
|
21
21
|
is,
|
|
22
22
|
isClean,
|
|
23
23
|
minimatch,
|
|
24
24
|
spawn
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-OWML62W5.js";
|
|
26
|
+
import "./chunk-YOE3VZFX.js";
|
|
27
27
|
import {
|
|
28
28
|
commandUsage
|
|
29
29
|
} from "./chunk-PTR5IGFQ.js";
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
} from "./chunk-DBANBIL2.js";
|
|
15
15
|
import {
|
|
16
16
|
PackageInfoClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-YCVPEZRM.js";
|
|
18
18
|
import "./chunk-ZWKI5OSF.js";
|
|
19
19
|
import {
|
|
20
20
|
SecurityArchive
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-FG633ZKS.js";
|
|
22
|
+
import "./chunk-OWML62W5.js";
|
|
23
23
|
import {
|
|
24
24
|
getId
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YOE3VZFX.js";
|
|
26
26
|
import {
|
|
27
27
|
commandUsage
|
|
28
28
|
} from "./chunk-PTR5IGFQ.js";
|
package/vlr.js
CHANGED
|
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
12
12
|
var require = _vlt_createRequire(import.meta.filename);
|
|
13
13
|
import {
|
|
14
14
|
run
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5CNTLC2U.js";
|
|
16
16
|
import "./chunk-PZLD7RTK.js";
|
|
17
17
|
|
|
18
18
|
// ../build/src/bins/vlr.ts
|
package/vlrx.js
CHANGED
|
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
12
12
|
var require = _vlt_createRequire(import.meta.filename);
|
|
13
13
|
import {
|
|
14
14
|
run
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5CNTLC2U.js";
|
|
16
16
|
import "./chunk-PZLD7RTK.js";
|
|
17
17
|
|
|
18
18
|
// ../build/src/bins/vlrx.ts
|
package/vlt.js
CHANGED
|
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
12
12
|
var require = _vlt_createRequire(import.meta.filename);
|
|
13
13
|
import {
|
|
14
14
|
run
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5CNTLC2U.js";
|
|
16
16
|
import "./chunk-PZLD7RTK.js";
|
|
17
17
|
|
|
18
18
|
// ../build/src/bins/vlt.ts
|
package/vlx.js
CHANGED
|
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
12
12
|
var require = _vlt_createRequire(import.meta.filename);
|
|
13
13
|
import {
|
|
14
14
|
run
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5CNTLC2U.js";
|
|
16
16
|
import "./chunk-PZLD7RTK.js";
|
|
17
17
|
|
|
18
18
|
// ../build/src/bins/vlx.ts
|
package/vlxl.js
CHANGED
|
@@ -12,7 +12,7 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
12
12
|
var require = _vlt_createRequire(import.meta.filename);
|
|
13
13
|
import {
|
|
14
14
|
run
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5CNTLC2U.js";
|
|
16
16
|
import "./chunk-PZLD7RTK.js";
|
|
17
17
|
|
|
18
18
|
// ../build/src/bins/vlxl.ts
|
package/chunk-NEFV2B5V.js
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
var global = globalThis;
|
|
2
|
-
import {Buffer} from "node:buffer";
|
|
3
|
-
import {setTimeout as _vlt_setTimeout,clearTimeout as _vlt_clearTimeout,setImmediate as _vlt_setImmediate,clearImmediate as _vlt_clearImmediate,setInterval as _vlt_setInterval,clearInterval as _vlt_clearInterval} from "node:timers";
|
|
4
|
-
globalThis.setTimeout = _vlt_setTimeout;
|
|
5
|
-
globalThis.clearTimeout = _vlt_clearTimeout;
|
|
6
|
-
globalThis.setImmediate = _vlt_setImmediate;
|
|
7
|
-
globalThis.clearImmediate = _vlt_clearImmediate;
|
|
8
|
-
globalThis.setInterval = _vlt_setInterval;
|
|
9
|
-
globalThis.clearInterval = _vlt_clearInterval;
|
|
10
|
-
import {createRequire as _vlt_createRequire} from "node:module";
|
|
11
|
-
var require = _vlt_createRequire(import.meta.filename);
|
|
12
|
-
import {
|
|
13
|
-
error
|
|
14
|
-
} from "./chunk-WZWDS3W4.js";
|
|
15
|
-
import {
|
|
16
|
-
__glob
|
|
17
|
-
} from "./chunk-PZLD7RTK.js";
|
|
18
|
-
|
|
19
|
-
// import("./commands/**/*.ts") in ../../src/cli-sdk/src/load-command.ts
|
|
20
|
-
var globImport_commands_ts = __glob({
|
|
21
|
-
"./commands/access.ts": () => import("./access-OKO4MXDT.js"),
|
|
22
|
-
"./commands/bugs.ts": () => import("./bugs-J56QQ3CP.js"),
|
|
23
|
-
"./commands/build.ts": () => import("./build-CQ2E2XRO.js"),
|
|
24
|
-
"./commands/cache.ts": () => import("./cache-PPEXAQT7.js"),
|
|
25
|
-
"./commands/ci.ts": () => import("./ci-WDQ4SQN6.js"),
|
|
26
|
-
"./commands/config.ts": () => import("./config-JMARDHLW.js"),
|
|
27
|
-
"./commands/create.ts": () => import("./create-C24ZGR6S.js"),
|
|
28
|
-
"./commands/deprecate.ts": () => import("./deprecate-HYHD5WQC.js"),
|
|
29
|
-
"./commands/dist-tag.ts": () => import("./dist-tag-RPQ5LZWM.js"),
|
|
30
|
-
"./commands/docs.ts": () => import("./docs-UKQNAVM3.js"),
|
|
31
|
-
"./commands/exec-cache.ts": () => import("./exec-cache-GRHS57DV.js"),
|
|
32
|
-
"./commands/exec-local.ts": () => import("./exec-local-AHDW7CKQ.js"),
|
|
33
|
-
"./commands/exec.ts": () => import("./exec-FNZEVDGU.js"),
|
|
34
|
-
"./commands/help.ts": () => import("./help-VDBXIWF3.js"),
|
|
35
|
-
"./commands/init.ts": () => import("./init-2ICZBLI2.js"),
|
|
36
|
-
"./commands/install.ts": () => import("./install-IFSVVRU5.js"),
|
|
37
|
-
"./commands/install/reporter.ts": () => import("./reporter-Y7RMSVN4.js"),
|
|
38
|
-
"./commands/list.ts": () => import("./list-RCAPA3OE.js"),
|
|
39
|
-
"./commands/login.ts": () => import("./login-T42R75OV.js"),
|
|
40
|
-
"./commands/logout.ts": () => import("./logout-PVR6J2AK.js"),
|
|
41
|
-
"./commands/pack.ts": () => import("./pack-HPLDE4RB.js"),
|
|
42
|
-
"./commands/ping.ts": () => import("./ping-N5U4XHUU.js"),
|
|
43
|
-
"./commands/pkg.ts": () => import("./pkg-VNKZX5JC.js"),
|
|
44
|
-
"./commands/profile.ts": () => import("./profile-N7UOXZ2X.js"),
|
|
45
|
-
"./commands/publish.ts": () => import("./publish-CRSF7NZP.js"),
|
|
46
|
-
"./commands/query.ts": () => import("./query-MEAXXYOE.js"),
|
|
47
|
-
"./commands/registry.ts": () => import("./registry-BMWXMQS4.js"),
|
|
48
|
-
"./commands/repo.ts": () => import("./repo-IRTGGLIC.js"),
|
|
49
|
-
"./commands/run-exec.ts": () => import("./run-exec-BV3RUWQM.js"),
|
|
50
|
-
"./commands/run.ts": () => import("./run-I6HWURSB.js"),
|
|
51
|
-
"./commands/setup.ts": () => import("./setup-U6DWTZBA.js"),
|
|
52
|
-
"./commands/token.ts": () => import("./token-CTUMLTQP.js"),
|
|
53
|
-
"./commands/uninstall.ts": () => import("./uninstall-UUFXE47B.js"),
|
|
54
|
-
"./commands/unpublish.ts": () => import("./unpublish-G4NALOC6.js"),
|
|
55
|
-
"./commands/update.ts": () => import("./update-BGMQQNYE.js"),
|
|
56
|
-
"./commands/version.ts": () => import("./version-QVFPFL6M.js"),
|
|
57
|
-
"./commands/view.ts": () => import("./view-QFYMJVBE.js"),
|
|
58
|
-
"./commands/whoami.ts": () => import("./whoami-5D4XUOSP.js")
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
// ../../src/cli-sdk/src/load-command.ts
|
|
62
|
-
var loadCommand = async (command) => {
|
|
63
|
-
try {
|
|
64
|
-
return await globImport_commands_ts(`./commands/${command}.ts`);
|
|
65
|
-
} catch (e) {
|
|
66
|
-
throw error("Could not load command", {
|
|
67
|
-
found: command,
|
|
68
|
-
cause: e
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
export {
|
|
74
|
-
loadCommand
|
|
75
|
-
};
|