@vltpkg/cli-js 1.0.6 → 1.0.7
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-OKO4MXDT.js} +3 -3
- package/{bugs-MEP373JU.js → bugs-J56QQ3CP.js} +4 -4
- package/{build-TKUT6V2P.js → build-CQ2E2XRO.js} +2 -2
- package/{cache-3VLQ7CWL.js → cache-PPEXAQT7.js} +5 -5
- package/{chunk-O7OUBUZ3.js → chunk-A4EKZ32F.js} +1 -1
- package/{chunk-4LBWNGU6.js → chunk-ADYHZTEI.js} +1 -1
- package/{chunk-LQGUEFV6.js → chunk-CHHGSDAP.js} +1 -1
- package/{chunk-FBHWUWBW.js → chunk-CIKUT62L.js} +1 -1
- package/{chunk-XVA4ZRW5.js → chunk-GVZRKITF.js} +164 -41
- package/{chunk-G7BEW32U.js → chunk-JLKFIX2H.js} +2 -2
- package/{chunk-PND2URIT.js → chunk-JWWDJYSU.js} +16 -7
- package/chunk-NEFV2B5V.js +75 -0
- package/{chunk-AL42Z2D3.js → chunk-OUF2P2OD.js} +2 -2
- package/{chunk-LCDBW6IT.js → chunk-PTR5IGFQ.js} +1 -1
- package/{chunk-EJUKA3HX.js → chunk-RKXQ66T4.js} +1 -1
- package/{chunk-AHTQ5ADD.js → chunk-SVO3HI2G.js} +1 -1
- package/{chunk-WP6CYBPM.js → chunk-XISRK3R5.js} +21 -6
- package/{chunk-FEIPJIEN.js → chunk-YAIKXFLN.js} +1 -1
- package/{ci-ODHEBQNE.js → ci-WDQ4SQN6.js} +3 -3
- package/cli-package.json +1 -1
- package/{config-35TJIXFF.js → config-JMARDHLW.js} +4 -4
- package/{config-5HCRQACM.js → config-XY5CDGTD.js} +5 -3
- package/{create-5BESMSRT.js → create-C24ZGR6S.js} +8 -8
- package/{deprecate-6YTC2E2E.js → deprecate-HYHD5WQC.js} +4 -4
- package/{devtools-OKXASR4F.js → devtools-66MVSNF5.js} +29 -29
- package/{dist-tag-HHCPJPJL.js → dist-tag-RPQ5LZWM.js} +3 -3
- package/{docs-M7KRVAON.js → docs-UKQNAVM3.js} +4 -4
- package/{exec-H664T76F.js → exec-FNZEVDGU.js} +8 -8
- package/{exec-cache-EQUYR4PE.js → exec-cache-GRHS57DV.js} +6 -6
- package/{exec-local-OUOXFTQ6.js → exec-local-AHDW7CKQ.js} +6 -6
- package/{help-F4DM2AQP.js → help-VDBXIWF3.js} +4 -4
- package/{init-7D5MFAP5.js → init-2ICZBLI2.js} +3 -3
- package/{install-OZBDTEAY.js → install-IFSVVRU5.js} +3 -3
- package/{list-DRQS77GZ.js → list-RCAPA3OE.js} +6 -6
- package/{login-JAWRM634.js → login-T42R75OV.js} +21 -5
- package/{logout-3ACX34HP.js → logout-PVR6J2AK.js} +3 -3
- package/{pack-XUEMZORZ.js → pack-HPLDE4RB.js} +3 -3
- package/package.json +1 -1
- package/{ping-FQGTZ5FI.js → ping-N5U4XHUU.js} +3 -3
- package/{pkg-D4OYJPRA.js → pkg-VNKZX5JC.js} +4 -4
- package/{profile-UNVFHARP.js → profile-N7UOXZ2X.js} +3 -3
- package/{publish-FSZSNKBN.js → publish-CRSF7NZP.js} +6 -6
- package/{query-QHCEICAY.js → query-MEAXXYOE.js} +6 -6
- package/{registry-43SSGAPE.js → registry-BMWXMQS4.js} +2 -2
- package/registry-client-package.json +1 -1
- package/registry-client-src-revalidate.js +16 -7
- package/{repo-KHFU55BU.js → repo-IRTGGLIC.js} +4 -4
- package/{reporter-Y3LUXPQS.js → reporter-Y7RMSVN4.js} +75 -75
- package/{run-4GHCV2NW.js → run-I6HWURSB.js} +6 -6
- package/{run-exec-N2B7XW7Y.js → run-exec-BV3RUWQM.js} +6 -6
- package/{setup-3PSRN42W.js → setup-U6DWTZBA.js} +44 -16
- package/{src-D7FPRPSM.js → src-44BBCHST.js} +1 -1
- package/{src-2Q2V6EI2.js → src-SXMLUOLI.js} +7 -7
- package/{token-3RNS2EZO.js → token-CTUMLTQP.js} +3 -3
- package/{uninstall-RBT3ENOD.js → uninstall-UUFXE47B.js} +3 -3
- package/{unpublish-AS7IBBGN.js → unpublish-G4NALOC6.js} +3 -3
- package/{update-6CBZZ5PN.js → update-BGMQQNYE.js} +3 -3
- package/{version-PW4DD2HC.js → version-QVFPFL6M.js} +3 -3
- package/{view-LRZPRP7J.js → view-QFYMJVBE.js} +3 -3
- 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-5D4XUOSP.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-GVZRKITF.js";
|
|
16
|
+
import "./chunk-A4EKZ32F.js";
|
|
17
|
+
import "./chunk-ZWKI5OSF.js";
|
|
12
18
|
import {
|
|
13
19
|
stdout
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-OUF2P2OD.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";
|
|
26
|
+
import "./chunk-SVBEF5PK.js";
|
|
20
27
|
import "./chunk-3OPNZI6G.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-JWWDJYSU.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,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
|
loadCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NEFV2B5V.js";
|
|
15
15
|
import {
|
|
16
16
|
Config
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-GVZRKITF.js";
|
|
18
|
+
import "./chunk-A4EKZ32F.js";
|
|
19
19
|
import "./chunk-ZWKI5OSF.js";
|
|
20
20
|
import {
|
|
21
21
|
indent,
|
|
22
22
|
outputCommand,
|
|
23
23
|
stderr,
|
|
24
24
|
stdout
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-OUF2P2OD.js";
|
|
26
|
+
import "./chunk-YAIKXFLN.js";
|
|
27
27
|
import "./chunk-G2YT2GWF.js";
|
|
28
28
|
import {
|
|
29
29
|
asRootError
|
|
@@ -36,7 +36,7 @@ import "./chunk-XKVU23NC.js";
|
|
|
36
36
|
import {
|
|
37
37
|
getSortedCliOptions,
|
|
38
38
|
getSortedKeys
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XISRK3R5.js";
|
|
40
40
|
import "./chunk-4KCU2KZL.js";
|
|
41
41
|
import "./chunk-HTOTG4TS.js";
|
|
42
42
|
import {
|
|
@@ -120,7 +120,7 @@ var run = async () => {
|
|
|
120
120
|
return process.exit(process.exitCode || 1);
|
|
121
121
|
}
|
|
122
122
|
if (vlt.command === "registry") {
|
|
123
|
-
const { dispatchRegistry } = await import("./registry-
|
|
123
|
+
const { dispatchRegistry } = await import("./registry-BMWXMQS4.js");
|
|
124
124
|
await dispatchRegistry(vlt);
|
|
125
125
|
}
|
|
126
126
|
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-JWWDJYSU.js";
|
|
29
29
|
import "./chunk-HAYXR3MW.js";
|
|
30
30
|
import "./chunk-E74WGW5C.js";
|
|
31
31
|
import "./chunk-LPIBYUMT.js";
|
|
@@ -20,9 +20,9 @@ import "./chunk-SVBEF5PK.js";
|
|
|
20
20
|
import "./chunk-3OPNZI6G.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";
|
|
@@ -63,7 +63,7 @@ var usage = () => commandUsage({
|
|
|
63
63
|
var views = {
|
|
64
64
|
json: (i) => i.graph.toJSON(),
|
|
65
65
|
human: lazyView(
|
|
66
|
-
async () => (await import("./reporter-
|
|
66
|
+
async () => (await import("./reporter-Y7RMSVN4.js")).InstallReporter
|
|
67
67
|
)
|
|
68
68
|
};
|
|
69
69
|
var command = async (conf) => {
|
|
@@ -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-JWWDJYSU.js";
|
|
25
25
|
import "./chunk-HAYXR3MW.js";
|
|
26
26
|
import "./chunk-E74WGW5C.js";
|
|
27
27
|
import "./chunk-LPIBYUMT.js";
|
|
@@ -17,9 +17,9 @@ import "./chunk-SVBEF5PK.js";
|
|
|
17
17
|
import "./chunk-3OPNZI6G.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-Y7RMSVN4.js")).InstallReporter
|
|
64
64
|
)
|
|
65
65
|
};
|
|
66
66
|
var command = async (conf) => {
|
|
@@ -11,7 +11,7 @@ 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-CHHGSDAP.js";
|
|
15
15
|
import {
|
|
16
16
|
Query,
|
|
17
17
|
actual
|
|
@@ -26,9 +26,9 @@ import {
|
|
|
26
26
|
import "./chunk-3OPNZI6G.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,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-DBANBIL2.js";
|
|
15
15
|
import {
|
|
16
16
|
PackageInfoClient
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-A4EKZ32F.js";
|
|
18
18
|
import "./chunk-ZWKI5OSF.js";
|
|
19
19
|
import {
|
|
20
20
|
SecurityArchive
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
} from "./chunk-3OPNZI6G.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-RKXQ66T4.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-RKXQ66T4.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-RKXQ66T4.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-RKXQ66T4.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-RKXQ66T4.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-JWWDJYSU.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
|
-
};
|