@vltpkg/cli-js 1.0.6 → 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-CMN3GDV4.js → access-FOYRQGJC.js} +3 -3
- package/{bugs-MEP373JU.js → bugs-ORVU4I5O.js} +21 -13
- package/{build-TKUT6V2P.js → build-JLVAGEEU.js} +6 -6
- package/{cache-3VLQ7CWL.js → cache-RIOSSQD3.js} +6 -6
- package/{chunk-FBHWUWBW.js → chunk-3L2ERW54.js} +3 -3
- package/{chunk-EJUKA3HX.js → chunk-5CNTLC2U.js} +1 -1
- package/{chunk-AHTQ5ADD.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-PND2URIT.js → chunk-AGHW2E24.js} +33 -21
- package/chunk-AQ3XJJUP.js +75 -0
- package/{chunk-ED2DDTQT.js → chunk-FG633ZKS.js} +31 -4
- package/{chunk-AL42Z2D3.js → chunk-JXVDCQZF.js} +16 -4
- package/{chunk-QWTGTFHN.js → chunk-MUG5K6X2.js} +1 -1
- package/{chunk-LQGUEFV6.js → chunk-NC3QYZPW.js} +3 -3
- package/chunk-OB73T23B.js +30 -0
- package/{chunk-SVBEF5PK.js → chunk-OWML62W5.js} +1 -1
- package/{chunk-LCDBW6IT.js → chunk-PTR5IGFQ.js} +1 -1
- package/{chunk-G7BEW32U.js → chunk-UYIA44HE.js} +4 -4
- package/{chunk-XVA4ZRW5.js → chunk-WY4PAM6D.js} +166 -43
- package/{chunk-WP6CYBPM.js → chunk-XISRK3R5.js} +21 -6
- package/{chunk-FEIPJIEN.js → chunk-YAIKXFLN.js} +1 -1
- package/{chunk-O7OUBUZ3.js → chunk-YCVPEZRM.js} +2 -2
- package/{chunk-3OPNZI6G.js → chunk-YOE3VZFX.js} +8 -7
- package/{chunk-4LBWNGU6.js → chunk-ZXIF4PVX.js} +13 -6
- package/{ci-ODHEBQNE.js → ci-2666LKEC.js} +7 -7
- package/cli-package.json +1 -1
- package/{config-5HCRQACM.js → config-3N7PBEXH.js} +7 -5
- package/{config-35TJIXFF.js → config-WMYY5J37.js} +6 -6
- package/{create-5BESMSRT.js → create-AEQSO6KX.js} +12 -12
- package/{deprecate-6YTC2E2E.js → deprecate-MW76DAZ5.js} +6 -6
- package/{devtools-OKXASR4F.js → devtools-UEMPW5GG.js} +29 -29
- package/{dist-tag-HHCPJPJL.js → dist-tag-XGQLYA6C.js} +3 -3
- package/{docs-M7KRVAON.js → docs-7CCTL3OY.js} +21 -13
- package/{exec-H664T76F.js → exec-GWCIDNOH.js} +12 -12
- package/{exec-cache-EQUYR4PE.js → exec-cache-AML2HUTJ.js} +10 -10
- package/{exec-local-OUOXFTQ6.js → exec-local-JRTO2XG4.js} +10 -10
- package/{help-F4DM2AQP.js → help-4KSCV7GN.js} +4 -4
- package/{init-7D5MFAP5.js → init-OHVBHXB7.js} +7 -7
- package/{install-OZBDTEAY.js → install-TFDEHY5J.js} +8 -8
- package/{list-DRQS77GZ.js → list-UD4SDHVE.js} +19 -13
- package/{login-JAWRM634.js → login-B6TIQW62.js} +21 -5
- package/{logout-3ACX34HP.js → logout-H3CXGLDN.js} +3 -3
- package/{pack-XUEMZORZ.js → pack-YYK4LKBQ.js} +8 -8
- package/package.json +1 -1
- package/{ping-FQGTZ5FI.js → ping-G765RWLM.js} +3 -3
- package/{pkg-D4OYJPRA.js → pkg-D4S3SPUH.js} +8 -8
- package/{profile-UNVFHARP.js → profile-YDQGMWYP.js} +3 -3
- package/{publish-FSZSNKBN.js → publish-ANHSZPIM.js} +11 -11
- package/{query-QHCEICAY.js → query-PZ6C6AZJ.js} +19 -13
- package/{registry-43SSGAPE.js → registry-BMWXMQS4.js} +2 -2
- package/registry-client-package.json +1 -1
- package/registry-client-src-revalidate.js +33 -21
- package/{repo-KHFU55BU.js → repo-ZA3TMERE.js} +21 -13
- package/{reporter-Y3LUXPQS.js → reporter-SDMDYYMJ.js} +75 -75
- package/{run-4GHCV2NW.js → run-N4NK35UT.js} +10 -10
- package/{run-exec-N2B7XW7Y.js → run-exec-N5FT4QO7.js} +10 -10
- package/security-archive-src-update-expired.js +6 -7
- package/{setup-3PSRN42W.js → setup-MWWDSKQZ.js} +45 -17
- package/{src-D7FPRPSM.js → src-6PISL6QX.js} +1 -1
- package/{src-2Q2V6EI2.js → src-6UF5YTTL.js} +12 -11
- package/{token-3RNS2EZO.js → token-FFUAFL43.js} +3 -3
- package/{uninstall-RBT3ENOD.js → uninstall-A4PUG6RI.js} +16 -9
- package/{unpublish-AS7IBBGN.js → unpublish-OJEGZDGQ.js} +3 -3
- package/{update-6CBZZ5PN.js → update-ENR6ICMR.js} +7 -7
- package/{version-PW4DD2HC.js → version-K3BUGG7X.js} +7 -7
- package/{view-LRZPRP7J.js → view-SWVQLQCB.js} +6 -6
- 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-EASZYMSY.js → whoami-MA733O2T.js} +3 -3
- package/chunk-VWCDSE2C.js +0 -75
|
@@ -9,24 +9,32 @@ globalThis.setInterval = _vlt_setInterval;
|
|
|
9
9
|
globalThis.clearInterval = _vlt_clearInterval;
|
|
10
10
|
import {createRequire as _vlt_createRequire} from "node:module";
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
|
+
import {
|
|
13
|
+
configWriteTarget,
|
|
14
|
+
registrySelectionFields
|
|
15
|
+
} from "./chunk-WY4PAM6D.js";
|
|
16
|
+
import "./chunk-YCVPEZRM.js";
|
|
17
|
+
import "./chunk-ZWKI5OSF.js";
|
|
12
18
|
import {
|
|
13
19
|
stdout
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-JXVDCQZF.js";
|
|
21
|
+
import "./chunk-YAIKXFLN.js";
|
|
16
22
|
import "./chunk-G2YT2GWF.js";
|
|
17
23
|
import "./chunk-GDJ7JT2R.js";
|
|
18
24
|
import "./chunk-5JFRXIK2.js";
|
|
19
25
|
import "./chunk-WGDTG44V.js";
|
|
20
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-OWML62W5.js";
|
|
27
|
+
import "./chunk-YOE3VZFX.js";
|
|
21
28
|
import {
|
|
22
29
|
commandUsage
|
|
23
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
24
31
|
import "./chunk-XKVU23NC.js";
|
|
25
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-XISRK3R5.js";
|
|
26
33
|
import "./chunk-4KCU2KZL.js";
|
|
34
|
+
import "./chunk-HTOTG4TS.js";
|
|
27
35
|
import {
|
|
28
36
|
RegistryClient
|
|
29
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-AGHW2E24.js";
|
|
30
38
|
import "./chunk-HAYXR3MW.js";
|
|
31
39
|
import "./chunk-E74WGW5C.js";
|
|
32
40
|
import "./chunk-LPIBYUMT.js";
|
|
@@ -47,10 +55,6 @@ import { createInterface } from "node:readline/promises";
|
|
|
47
55
|
var VLT_SIGNUP_URL = "https://www.vlt.io";
|
|
48
56
|
var VLT_REGISTRY_BASE = "https://registry.vlt.io";
|
|
49
57
|
var accountRegistries = ["npm", "main"];
|
|
50
|
-
var accountRegistryAuthPrompts = {
|
|
51
|
-
npm: `First, let's authenticate your public npm registry mirror`,
|
|
52
|
-
main: `Now let's authenticate your private registry`
|
|
53
|
-
};
|
|
54
58
|
var accountRegistryURL = (account, name) => `${VLT_REGISTRY_BASE}/${encodeURIComponent(account)}/${name}/`;
|
|
55
59
|
var normalizeRegistryURL = (url) => url.endsWith("/") ? url : `${url}/`;
|
|
56
60
|
var views = {
|
|
@@ -61,6 +65,14 @@ var views = {
|
|
|
61
65
|
for (const [name, url] of Object.entries(result.registries)) {
|
|
62
66
|
lines.push(` ${name} -> ${url}`);
|
|
63
67
|
}
|
|
68
|
+
if (result.shadowedByProject) {
|
|
69
|
+
lines.push(
|
|
70
|
+
"",
|
|
71
|
+
`Note: this project's vlt.json configures its own registries, and`,
|
|
72
|
+
"project config takes precedence. Re-run with `--config=project`",
|
|
73
|
+
"to configure this project instead."
|
|
74
|
+
);
|
|
75
|
+
}
|
|
64
76
|
lines.push(
|
|
65
77
|
"",
|
|
66
78
|
"You can now install packages, e.g.:",
|
|
@@ -95,7 +107,7 @@ var usage = () => commandUsage({
|
|
|
95
107
|
});
|
|
96
108
|
var command = async (conf) => {
|
|
97
109
|
const yes = !!conf.get("yes");
|
|
98
|
-
const which = conf
|
|
110
|
+
const which = configWriteTarget(conf, "user");
|
|
99
111
|
let rl;
|
|
100
112
|
const ask = async (question) => {
|
|
101
113
|
rl ??= createInterface(process.stdin, process.stdout);
|
|
@@ -123,10 +135,15 @@ var command = async (conf) => {
|
|
|
123
135
|
registries[name] = accountRegistryURL(account, name);
|
|
124
136
|
}
|
|
125
137
|
const builtinRegistries = defaultRegistries;
|
|
138
|
+
const fileRegistries = {
|
|
139
|
+
...conf.layers.user?.registries,
|
|
140
|
+
...conf.layers.project?.registries
|
|
141
|
+
};
|
|
126
142
|
for (const [name, url] of Object.entries(
|
|
127
143
|
conf.options.registries
|
|
128
144
|
)) {
|
|
129
145
|
if (builtinRegistries[name] === url) continue;
|
|
146
|
+
if (fileRegistries[name] === url) continue;
|
|
130
147
|
registries[name] = normalizeRegistryURL(url);
|
|
131
148
|
}
|
|
132
149
|
const rc = new RegistryClient(conf.options);
|
|
@@ -136,12 +153,15 @@ var command = async (conf) => {
|
|
|
136
153
|
);
|
|
137
154
|
if (!/^n/i.test(doAuth)) {
|
|
138
155
|
stdout(
|
|
139
|
-
|
|
156
|
+
`Authenticating your account registries (${accountRegistries.join(
|
|
157
|
+
", "
|
|
158
|
+
)})...`
|
|
159
|
+
);
|
|
160
|
+
await rc.login(
|
|
161
|
+
accountRegistries.map(
|
|
162
|
+
(name) => accountRegistryURL(account, name)
|
|
163
|
+
)
|
|
140
164
|
);
|
|
141
|
-
for (const name of accountRegistries) {
|
|
142
|
-
stdout(`${accountRegistryAuthPrompts[name]} ("${name}")...`);
|
|
143
|
-
await rc.login(accountRegistryURL(account, name));
|
|
144
|
-
}
|
|
145
165
|
}
|
|
146
166
|
for (; ; ) {
|
|
147
167
|
const more = await ask("Add another registry alias? (y/N) ");
|
|
@@ -171,7 +191,15 @@ var command = async (conf) => {
|
|
|
171
191
|
}
|
|
172
192
|
}
|
|
173
193
|
await conf.addConfigToFile(which, { registries });
|
|
174
|
-
|
|
194
|
+
const shadowedByProject = which === "user" && registrySelectionFields.some(
|
|
195
|
+
(f) => f in (conf.layers.project ?? {})
|
|
196
|
+
);
|
|
197
|
+
return {
|
|
198
|
+
account,
|
|
199
|
+
which,
|
|
200
|
+
registries,
|
|
201
|
+
...shadowedByProject ? { shadowedByProject } : void 0
|
|
202
|
+
};
|
|
175
203
|
} finally {
|
|
176
204
|
if (rl) {
|
|
177
205
|
rl.close();
|
|
@@ -11,32 +11,33 @@ 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
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-JXVDCQZF.js";
|
|
27
|
+
import "./chunk-YAIKXFLN.js";
|
|
27
28
|
import "./chunk-G2YT2GWF.js";
|
|
28
29
|
import {
|
|
29
30
|
asRootError
|
|
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,
|
|
38
39
|
getSortedKeys
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XISRK3R5.js";
|
|
40
41
|
import "./chunk-4KCU2KZL.js";
|
|
41
42
|
import "./chunk-HTOTG4TS.js";
|
|
42
43
|
import {
|
|
@@ -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,10 +118,10 @@ 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
|
-
const { dispatchRegistry } = await import("./registry-
|
|
124
|
+
const { dispatchRegistry } = await import("./registry-BMWXMQS4.js");
|
|
124
125
|
await dispatchRegistry(vlt);
|
|
125
126
|
}
|
|
126
127
|
const command = await loadCommand(vlt.command);
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
} from "./chunk-5JFRXIK2.js";
|
|
15
15
|
import {
|
|
16
16
|
commandUsage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
18
18
|
import "./chunk-XKVU23NC.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-XISRK3R5.js";
|
|
20
20
|
import {
|
|
21
21
|
RegistryClient,
|
|
22
22
|
deleteToken,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
normalizeRegistryKey,
|
|
26
26
|
registryBase,
|
|
27
27
|
setToken
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AGHW2E24.js";
|
|
29
29
|
import "./chunk-HAYXR3MW.js";
|
|
30
30
|
import "./chunk-E74WGW5C.js";
|
|
31
31
|
import "./chunk-LPIBYUMT.js";
|
|
@@ -11,18 +11,18 @@ 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
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
24
24
|
import "./chunk-XKVU23NC.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-XISRK3R5.js";
|
|
26
26
|
import {
|
|
27
27
|
lazyView
|
|
28
28
|
} from "./chunk-4KCU2KZL.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 };
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
} from "./chunk-5JFRXIK2.js";
|
|
15
15
|
import {
|
|
16
16
|
commandUsage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
18
18
|
import {
|
|
19
19
|
Spec
|
|
20
20
|
} from "./chunk-XKVU23NC.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-XISRK3R5.js";
|
|
22
22
|
import {
|
|
23
23
|
RegistryClient
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AGHW2E24.js";
|
|
25
25
|
import "./chunk-HAYXR3MW.js";
|
|
26
26
|
import "./chunk-E74WGW5C.js";
|
|
27
27
|
import "./chunk-LPIBYUMT.js";
|
|
@@ -11,15 +11,15 @@ 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
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
21
21
|
import "./chunk-XKVU23NC.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-XISRK3R5.js";
|
|
23
23
|
import {
|
|
24
24
|
lazyView
|
|
25
25
|
} from "./chunk-4KCU2KZL.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,24 +11,24 @@ 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
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
30
30
|
import "./chunk-XKVU23NC.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-XISRK3R5.js";
|
|
32
32
|
import "./chunk-HTOTG4TS.js";
|
|
33
33
|
import "./chunk-E74WGW5C.js";
|
|
34
34
|
import "./chunk-LPIBYUMT.js";
|
|
@@ -14,22 +14,22 @@ 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
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
29
29
|
import {
|
|
30
30
|
Spec
|
|
31
31
|
} from "./chunk-XKVU23NC.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-XISRK3R5.js";
|
|
33
33
|
import "./chunk-HTOTG4TS.js";
|
|
34
34
|
import "./chunk-E74WGW5C.js";
|
|
35
35
|
import "./chunk-LPIBYUMT.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
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
} from "./chunk-5JFRXIK2.js";
|
|
15
15
|
import {
|
|
16
16
|
commandUsage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-PTR5IGFQ.js";
|
|
18
18
|
import "./chunk-XKVU23NC.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-XISRK3R5.js";
|
|
20
20
|
import {
|
|
21
21
|
RegistryClient
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AGHW2E24.js";
|
|
23
23
|
import "./chunk-HAYXR3MW.js";
|
|
24
24
|
import "./chunk-E74WGW5C.js";
|
|
25
25
|
import "./chunk-LPIBYUMT.js";
|
package/chunk-VWCDSE2C.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-CMN3GDV4.js"),
|
|
22
|
-
"./commands/bugs.ts": () => import("./bugs-MEP373JU.js"),
|
|
23
|
-
"./commands/build.ts": () => import("./build-TKUT6V2P.js"),
|
|
24
|
-
"./commands/cache.ts": () => import("./cache-3VLQ7CWL.js"),
|
|
25
|
-
"./commands/ci.ts": () => import("./ci-ODHEBQNE.js"),
|
|
26
|
-
"./commands/config.ts": () => import("./config-35TJIXFF.js"),
|
|
27
|
-
"./commands/create.ts": () => import("./create-5BESMSRT.js"),
|
|
28
|
-
"./commands/deprecate.ts": () => import("./deprecate-6YTC2E2E.js"),
|
|
29
|
-
"./commands/dist-tag.ts": () => import("./dist-tag-HHCPJPJL.js"),
|
|
30
|
-
"./commands/docs.ts": () => import("./docs-M7KRVAON.js"),
|
|
31
|
-
"./commands/exec-cache.ts": () => import("./exec-cache-EQUYR4PE.js"),
|
|
32
|
-
"./commands/exec-local.ts": () => import("./exec-local-OUOXFTQ6.js"),
|
|
33
|
-
"./commands/exec.ts": () => import("./exec-H664T76F.js"),
|
|
34
|
-
"./commands/help.ts": () => import("./help-F4DM2AQP.js"),
|
|
35
|
-
"./commands/init.ts": () => import("./init-7D5MFAP5.js"),
|
|
36
|
-
"./commands/install.ts": () => import("./install-OZBDTEAY.js"),
|
|
37
|
-
"./commands/install/reporter.ts": () => import("./reporter-Y3LUXPQS.js"),
|
|
38
|
-
"./commands/list.ts": () => import("./list-DRQS77GZ.js"),
|
|
39
|
-
"./commands/login.ts": () => import("./login-JAWRM634.js"),
|
|
40
|
-
"./commands/logout.ts": () => import("./logout-3ACX34HP.js"),
|
|
41
|
-
"./commands/pack.ts": () => import("./pack-XUEMZORZ.js"),
|
|
42
|
-
"./commands/ping.ts": () => import("./ping-FQGTZ5FI.js"),
|
|
43
|
-
"./commands/pkg.ts": () => import("./pkg-D4OYJPRA.js"),
|
|
44
|
-
"./commands/profile.ts": () => import("./profile-UNVFHARP.js"),
|
|
45
|
-
"./commands/publish.ts": () => import("./publish-FSZSNKBN.js"),
|
|
46
|
-
"./commands/query.ts": () => import("./query-QHCEICAY.js"),
|
|
47
|
-
"./commands/registry.ts": () => import("./registry-43SSGAPE.js"),
|
|
48
|
-
"./commands/repo.ts": () => import("./repo-KHFU55BU.js"),
|
|
49
|
-
"./commands/run-exec.ts": () => import("./run-exec-N2B7XW7Y.js"),
|
|
50
|
-
"./commands/run.ts": () => import("./run-4GHCV2NW.js"),
|
|
51
|
-
"./commands/setup.ts": () => import("./setup-3PSRN42W.js"),
|
|
52
|
-
"./commands/token.ts": () => import("./token-3RNS2EZO.js"),
|
|
53
|
-
"./commands/uninstall.ts": () => import("./uninstall-RBT3ENOD.js"),
|
|
54
|
-
"./commands/unpublish.ts": () => import("./unpublish-AS7IBBGN.js"),
|
|
55
|
-
"./commands/update.ts": () => import("./update-6CBZZ5PN.js"),
|
|
56
|
-
"./commands/version.ts": () => import("./version-PW4DD2HC.js"),
|
|
57
|
-
"./commands/view.ts": () => import("./view-LRZPRP7J.js"),
|
|
58
|
-
"./commands/whoami.ts": () => import("./whoami-EASZYMSY.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
|
-
};
|