@vltpkg/cli-js 1.0.0-rc.31 → 1.0.0-rc.33
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-I7Q5S4HE.js → access-VP3KSJ2M.js} +23 -12
- package/{bugs-45YPQ2T5.js → bugs-4ZQXJA4F.js} +19 -17
- package/{build-ICCKNOZT.js → build-P74RVUUP.js} +13 -9
- package/{cache-U44GAPOY.js → cache-J4J3ZWXP.js} +19 -14
- package/cache-unzip-src-unzip.js +434 -428
- package/{chunk-Q3DNNTPG.js → chunk-2PLIV3N3.js} +113 -34
- package/{chunk-BCS77CZK.js → chunk-4RZDJQ5U.js} +42 -61
- package/{chunk-X5R27Q65.js → chunk-4SSFBFB5.js} +123 -92
- package/{chunk-QZ6G5VRS.js → chunk-5COWONUB.js} +5 -5
- package/{chunk-TLCNALWV.js → chunk-7KI6XHXZ.js} +68 -7
- package/{chunk-R44FR7BY.js → chunk-7NHXV6AH.js} +439 -433
- package/{chunk-FBTBHRPG.js → chunk-7TNSW6W3.js} +1 -1
- package/{chunk-UUE6D7ZK.js → chunk-BAUMCTQK.js} +694 -440
- package/{chunk-FXDRM4ZO.js → chunk-CLVRCGOZ.js} +247 -235
- package/{chunk-YCQTLBWF.js → chunk-CNSTFT7U.js} +1 -1
- package/{chunk-BCG46IIG.js → chunk-DJYKQWV2.js} +7 -7
- package/chunk-E74WGW5C.js +49 -0
- package/chunk-EAWRHC27.js +75 -0
- package/{chunk-IYO5QKUW.js → chunk-EFWPI6IY.js} +1 -1
- package/{chunk-JVCMIUEP.js → chunk-EQ633HIM.js} +14 -13
- package/{chunk-U6ONVNUF.js → chunk-F2FKLPZD.js} +7 -7
- package/chunk-FAG776ZD.js +137 -0
- package/{chunk-HQ4US6G3.js → chunk-FWKQ7YDF.js} +1049 -980
- package/{chunk-OMHPDQOQ.js → chunk-GTICKXWZ.js} +11 -8
- package/{chunk-SZPDTJMF.js → chunk-ICJRCXSG.js} +31 -27
- package/{chunk-YHLRGHF7.js → chunk-JEE4B4FL.js} +3 -3
- package/{chunk-5XHNL6N6.js → chunk-JLGPPV6Z.js} +62 -12
- package/{chunk-U5KA63OT.js → chunk-JZQAUAHT.js} +1 -1
- package/{chunk-C2X7PVDF.js → chunk-MT76WHSM.js} +1 -1
- package/{chunk-EXHIB5H4.js → chunk-OTNMX4EK.js} +3 -3
- package/{chunk-2V4AQPBR.js → chunk-PMCAQG5J.js} +85 -46
- package/{chunk-PHJXJ53A.js → chunk-PW6S6AIO.js} +15 -11
- package/{chunk-NLFBANVO.js → chunk-SSN4CYZF.js} +18 -2
- package/chunk-UBLFPJHV.js +40 -0
- package/{chunk-Y7QHAJJQ.js → chunk-VGWEB64T.js} +3164 -2822
- package/{chunk-LRPTCGTW.js → chunk-XA47WS4N.js} +11 -15
- package/{chunk-QHBKZE6U.js → chunk-XIJFEV6U.js} +3 -3
- package/{ci-5CK3JONP.js → ci-GIDCFAZF.js} +14 -10
- package/cli-package.json +6 -2
- package/{config-MUVNKIGE.js → config-LIQMIMTF.js} +15 -13
- package/{config-4TAZ2WKY.js → config-NBO3COMM.js} +13 -11
- package/{create-GLJ454QZ.js → create-K2S3J62I.js} +24 -19
- package/{deprecate-WBRB2ACU.js → deprecate-4PJKNFXN.js} +22 -14
- package/{devtools-6NFQDW4L.js → devtools-HGLF4KAO.js} +82 -28
- package/{dist-tag-CQJW5BXA.js → dist-tag-TA6LWT2V.js} +16 -9
- package/{docs-DEGETERR.js → docs-ZCMIKQAN.js} +19 -17
- package/{exec-MP4CE2QF.js → exec-XVF4KCRJ.js} +24 -19
- package/{exec-cache-O5OTIYVM.js → exec-cache-2IWJNBFB.js} +22 -17
- package/{exec-local-S3253EEU.js → exec-local-FNFTQYFP.js} +17 -14
- package/{help-3ELBHB5T.js → help-ZDRILKVQ.js} +5 -4
- package/{init-VAPZRSOP.js → init-VMYJE5Q3.js} +12 -10
- package/{install-WI2XDPTF.js → install-ZHMWN27D.js} +27 -12
- package/{list-EDGJ5OZS.js → list-BPFKWXCR.js} +20 -15
- package/{login-2QU5SPGP.js → login-DQL5A4NT.js} +23 -9
- package/{logout-DVW3KZKJ.js → logout-Q74VRDSN.js} +19 -8
- package/{pack-FVQFCACM.js → pack-GLURO5KY.js} +17 -13
- package/package.json +8 -1
- package/{ping-5NKJAV3C.js → ping-PPEYPKZD.js} +17 -10
- package/{pkg-A6UAZWJJ.js → pkg-UTEKJ5CB.js} +13 -11
- package/{profile-OZYH6GL2.js → profile-5QFRWC2L.js} +16 -8
- package/{publish-7BC7UGRG.js → publish-5VDI3JXX.js} +23 -16
- package/{query-4ADVFHJD.js → query-I6DZ7TF2.js} +20 -15
- package/registry-ZVO3VAHY.js +117 -0
- package/registry-client-package.json +6 -2
- package/registry-client-src-revalidate.js +1233 -975
- package/{repo-NQCC2SV5.js → repo-SB3C7MZZ.js} +19 -17
- package/{reporter-MSQWYN76.js → reporter-2XBYWAVU.js} +3 -2
- package/{run-L647KHX5.js → run-U6CW5Q56.js} +17 -14
- package/{run-exec-6ACC3NDU.js → run-exec-RFB572AL.js} +19 -14
- package/security-archive-src-update-expired.js +16 -11
- package/setup-BFKUYGJB.js +181 -0
- package/{src-7GDXNZM6.js → src-ZWBXAZOV.js} +25 -17
- package/{token-MW32RFPW.js → token-M5HPJJJQ.js} +23 -10
- package/{uninstall-D3ZT544Q.js → uninstall-UUBTM4ZQ.js} +15 -11
- package/{unpublish-JB274OID.js → unpublish-WDSRB6DV.js} +17 -9
- package/{update-FILF2X56.js → update-J4BEFJRC.js} +14 -10
- package/{version-TMUOHL5P.js → version-ZVG66SKC.js} +12 -10
- package/{view-XHDLAT6W.js → view-WFK75G74.js} +19 -15
- 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-XH64UEWS.js → whoami-TCSDOBU2.js} +19 -8
- package/chunk-6SHB5AGY.js +0 -73
|
@@ -9,16 +9,22 @@ 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
|
+
resolveRegistry
|
|
14
|
+
} from "./chunk-FAG776ZD.js";
|
|
12
15
|
import {
|
|
13
16
|
commandUsage
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7TNSW6W3.js";
|
|
15
18
|
import {
|
|
16
19
|
RegistryClient
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-BAUMCTQK.js";
|
|
21
|
+
import "./chunk-CNSTFT7U.js";
|
|
22
|
+
import "./chunk-7NHXV6AH.js";
|
|
23
|
+
import "./chunk-PW6S6AIO.js";
|
|
24
|
+
import "./chunk-E74WGW5C.js";
|
|
25
|
+
import "./chunk-PMCAQG5J.js";
|
|
26
|
+
import "./chunk-UBLFPJHV.js";
|
|
27
|
+
import "./chunk-2PLIV3N3.js";
|
|
22
28
|
import "./chunk-XNLSTHDK.js";
|
|
23
29
|
import {
|
|
24
30
|
error
|
|
@@ -26,11 +32,15 @@ import {
|
|
|
26
32
|
import "./chunk-PZLD7RTK.js";
|
|
27
33
|
|
|
28
34
|
// ../../src/cli-sdk/src/commands/access.ts
|
|
35
|
+
var needsRegistry = true;
|
|
29
36
|
var usage = () => commandUsage({
|
|
30
37
|
command: "access",
|
|
31
38
|
usage: "<command> [<args>]",
|
|
32
39
|
description: `Set or get access levels for published packages
|
|
33
|
-
and manage team-based package permissions
|
|
40
|
+
and manage team-based package permissions.
|
|
41
|
+
|
|
42
|
+
Target a specific configured registry by alias with
|
|
43
|
+
\`vlt registry <alias> access <subcommand>\`.`,
|
|
34
44
|
subcommands: {
|
|
35
45
|
"list packages": {
|
|
36
46
|
usage: "[<scope|user|org>]",
|
|
@@ -113,7 +123,7 @@ var listPackages = async (conf, args) => {
|
|
|
113
123
|
});
|
|
114
124
|
}
|
|
115
125
|
const rc = new RegistryClient(conf.options);
|
|
116
|
-
const registryUrl = new URL(conf
|
|
126
|
+
const registryUrl = new URL(await resolveRegistry(conf));
|
|
117
127
|
const scope = entity ?? getDefaultScope(conf);
|
|
118
128
|
const url = new URL(
|
|
119
129
|
`-/org/${encodeURIComponent(scope)}/package`,
|
|
@@ -137,7 +147,7 @@ var getStatus = async (conf, args) => {
|
|
|
137
147
|
});
|
|
138
148
|
}
|
|
139
149
|
const rc = new RegistryClient(conf.options);
|
|
140
|
-
const registryUrl = new URL(conf
|
|
150
|
+
const registryUrl = new URL(await resolveRegistry(conf));
|
|
141
151
|
const url = new URL(
|
|
142
152
|
`-/package/${encodePkgName(pkg)}/access`,
|
|
143
153
|
registryUrl
|
|
@@ -168,7 +178,7 @@ var setStatus = async (conf, args) => {
|
|
|
168
178
|
});
|
|
169
179
|
}
|
|
170
180
|
const rc = new RegistryClient(conf.options);
|
|
171
|
-
const registryUrl = new URL(conf
|
|
181
|
+
const registryUrl = new URL(await resolveRegistry(conf));
|
|
172
182
|
const url = new URL(
|
|
173
183
|
`-/package/${encodePkgName(pkg)}/access`,
|
|
174
184
|
registryUrl
|
|
@@ -206,7 +216,7 @@ var grant = async (conf, args) => {
|
|
|
206
216
|
}
|
|
207
217
|
const pkgName = pkg ?? getDefaultPkgName(conf);
|
|
208
218
|
const rc = new RegistryClient(conf.options);
|
|
209
|
-
const registryUrl = new URL(conf
|
|
219
|
+
const registryUrl = new URL(await resolveRegistry(conf));
|
|
210
220
|
const url = new URL(
|
|
211
221
|
`-/team/${encodeURIComponent(scope)}/${encodeURIComponent(team)}/package`,
|
|
212
222
|
registryUrl
|
|
@@ -245,7 +255,7 @@ var revoke = async (conf, args) => {
|
|
|
245
255
|
}
|
|
246
256
|
const pkgName = pkg ?? getDefaultPkgName(conf);
|
|
247
257
|
const rc = new RegistryClient(conf.options);
|
|
248
|
-
const registryUrl = new URL(conf
|
|
258
|
+
const registryUrl = new URL(await resolveRegistry(conf));
|
|
249
259
|
const url = new URL(
|
|
250
260
|
`-/team/${encodeURIComponent(scope)}/${encodeURIComponent(team)}/package`,
|
|
251
261
|
registryUrl
|
|
@@ -288,6 +298,7 @@ var getDefaultPkgName = (conf) => {
|
|
|
288
298
|
};
|
|
289
299
|
export {
|
|
290
300
|
command,
|
|
301
|
+
needsRegistry,
|
|
291
302
|
usage,
|
|
292
303
|
views
|
|
293
304
|
};
|
|
@@ -11,37 +11,39 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
require_lib
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CLVRCGOZ.js";
|
|
15
15
|
import {
|
|
16
16
|
createHostContextsMap
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XIJFEV6U.js";
|
|
18
18
|
import {
|
|
19
19
|
Query,
|
|
20
20
|
actual
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VGWEB64T.js";
|
|
22
22
|
import {
|
|
23
23
|
SecurityArchive
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-F2FKLPZD.js";
|
|
25
25
|
import {
|
|
26
26
|
PackageInfoClient
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import {
|
|
32
|
-
Spec2 as Spec
|
|
33
|
-
} from "./chunk-PHJXJ53A.js";
|
|
27
|
+
} from "./chunk-4SSFBFB5.js";
|
|
28
|
+
import "./chunk-FWKQ7YDF.js";
|
|
29
|
+
import "./chunk-ICJRCXSG.js";
|
|
30
|
+
import "./chunk-MT76WHSM.js";
|
|
34
31
|
import "./chunk-HTOTG4TS.js";
|
|
35
32
|
import {
|
|
36
33
|
commandUsage
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-7TNSW6W3.js";
|
|
35
|
+
import "./chunk-BAUMCTQK.js";
|
|
39
36
|
import {
|
|
40
37
|
urlOpen
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import
|
|
44
|
-
|
|
38
|
+
} from "./chunk-CNSTFT7U.js";
|
|
39
|
+
import "./chunk-7NHXV6AH.js";
|
|
40
|
+
import {
|
|
41
|
+
Spec2 as Spec
|
|
42
|
+
} from "./chunk-PW6S6AIO.js";
|
|
43
|
+
import "./chunk-E74WGW5C.js";
|
|
44
|
+
import "./chunk-PMCAQG5J.js";
|
|
45
|
+
import "./chunk-UBLFPJHV.js";
|
|
46
|
+
import "./chunk-2PLIV3N3.js";
|
|
45
47
|
import "./chunk-XNLSTHDK.js";
|
|
46
48
|
import {
|
|
47
49
|
error
|
|
@@ -11,20 +11,22 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
build
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-PHJXJ53A.js";
|
|
14
|
+
} from "./chunk-VGWEB64T.js";
|
|
15
|
+
import "./chunk-F2FKLPZD.js";
|
|
16
|
+
import "./chunk-ICJRCXSG.js";
|
|
17
|
+
import "./chunk-MT76WHSM.js";
|
|
19
18
|
import "./chunk-HTOTG4TS.js";
|
|
20
19
|
import {
|
|
21
20
|
commandUsage
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-7TNSW6W3.js";
|
|
22
|
+
import "./chunk-7NHXV6AH.js";
|
|
23
|
+
import "./chunk-PW6S6AIO.js";
|
|
24
|
+
import "./chunk-E74WGW5C.js";
|
|
25
|
+
import "./chunk-PMCAQG5J.js";
|
|
26
|
+
import "./chunk-UBLFPJHV.js";
|
|
25
27
|
import {
|
|
26
28
|
isErrorWithCause
|
|
27
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2PLIV3N3.js";
|
|
28
30
|
import "./chunk-XNLSTHDK.js";
|
|
29
31
|
import {
|
|
30
32
|
error
|
|
@@ -70,6 +72,7 @@ var views = {
|
|
|
70
72
|
};
|
|
71
73
|
}
|
|
72
74
|
};
|
|
75
|
+
var needsRegistry = true;
|
|
73
76
|
var usage = () => commandUsage({
|
|
74
77
|
command: "build",
|
|
75
78
|
usage: ["[query]", "[--target=<query>]"],
|
|
@@ -121,6 +124,7 @@ var command = async (conf) => {
|
|
|
121
124
|
};
|
|
122
125
|
export {
|
|
123
126
|
command,
|
|
127
|
+
needsRegistry,
|
|
124
128
|
usage,
|
|
125
129
|
views
|
|
126
130
|
};
|
|
@@ -11,32 +11,35 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
prettyBytes
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XA47WS4N.js";
|
|
15
15
|
import {
|
|
16
16
|
stderr,
|
|
17
17
|
stdout
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7KI6XHXZ.js";
|
|
19
19
|
import "./chunk-G2YT2GWF.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-SSN4CYZF.js";
|
|
21
21
|
import {
|
|
22
22
|
ViewClass
|
|
23
23
|
} from "./chunk-RXNA2XCX.js";
|
|
24
24
|
import "./chunk-WGDTG44V.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import
|
|
28
|
-
Spec2 as Spec
|
|
29
|
-
} from "./chunk-PHJXJ53A.js";
|
|
25
|
+
import "./chunk-EFWPI6IY.js";
|
|
26
|
+
import "./chunk-MT76WHSM.js";
|
|
27
|
+
import "./chunk-FAG776ZD.js";
|
|
30
28
|
import {
|
|
31
29
|
commandUsage
|
|
32
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7TNSW6W3.js";
|
|
33
31
|
import {
|
|
34
32
|
CacheEntry
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import
|
|
39
|
-
|
|
33
|
+
} from "./chunk-BAUMCTQK.js";
|
|
34
|
+
import "./chunk-CNSTFT7U.js";
|
|
35
|
+
import "./chunk-7NHXV6AH.js";
|
|
36
|
+
import {
|
|
37
|
+
Spec2 as Spec
|
|
38
|
+
} from "./chunk-PW6S6AIO.js";
|
|
39
|
+
import "./chunk-E74WGW5C.js";
|
|
40
|
+
import "./chunk-PMCAQG5J.js";
|
|
41
|
+
import "./chunk-UBLFPJHV.js";
|
|
42
|
+
import "./chunk-2PLIV3N3.js";
|
|
40
43
|
import "./chunk-XNLSTHDK.js";
|
|
41
44
|
import {
|
|
42
45
|
error
|
|
@@ -119,6 +122,7 @@ var usageDef = {
|
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
};
|
|
125
|
+
var needsRegistry = true;
|
|
122
126
|
var usage = () => commandUsage(usageDef);
|
|
123
127
|
var command = async (conf) => {
|
|
124
128
|
const [sub, ...args] = conf.positionals;
|
|
@@ -306,6 +310,7 @@ var add = async (conf, specs, view2) => {
|
|
|
306
310
|
export {
|
|
307
311
|
CacheView,
|
|
308
312
|
command,
|
|
313
|
+
needsRegistry,
|
|
309
314
|
usage,
|
|
310
315
|
views
|
|
311
316
|
};
|