@vltpkg/cli-js 1.3.8 → 1.5.0
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-WLKANIOE.js → access-QPX4QXV4.js} +13 -12
- package/{bugs-5Q3QSTWP.js → bugs-TLOECXEM.js} +28 -25
- package/{build-XSFR63AW.js → build-IQOS3LKO.js} +28 -19
- package/{cache-UVPK5J5A.js → cache-O5IBYYSB.js} +35 -23
- package/cache-unzip-src-unzip.js +56 -12
- package/{chunk-NWHKSRO3.js → chunk-2U4PVHP4.js} +5270 -10837
- package/{chunk-5KOLUYXH.js → chunk-35EG6T3J.js} +61 -15
- package/{chunk-PJJCFMLW.js → chunk-3S3W7QEM.js} +7 -5
- package/chunk-43EJ4Q42.js +57 -0
- package/{chunk-IHXJVKAE.js → chunk-4TSHLSRK.js} +2 -1
- package/chunk-4UH3KMTD.js +6444 -0
- package/{chunk-6D54UN4T.js → chunk-5KW6AOTT.js} +1 -1
- package/chunk-6IF3RJND.js +81 -0
- package/{chunk-IBGFQR23.js → chunk-6LZM3I4Q.js} +56 -11
- package/{chunk-FIUUAQGC.js → chunk-6W5XMVIZ.js} +29 -22
- package/{chunk-OWMR2EDW.js → chunk-7UWRR6EE.js} +2 -2
- package/{chunk-WHLYMMI2.js → chunk-ARE7FKDG.js} +6 -4
- package/chunk-B6RIGNEO.js +626 -0
- package/{chunk-CB65DPZ2.js → chunk-C6ZVVEFV.js} +239 -1190
- package/{chunk-SE2FSMBR.js → chunk-CMLDLZZ3.js} +73 -11
- package/{chunk-6P5CFJR7.js → chunk-CS6AYPY5.js} +6 -6
- package/{chunk-TLY4VGMH.js → chunk-CW56EJIL.js} +1 -1
- package/{chunk-SV4WK3KX.js → chunk-F7NPYSI2.js} +3 -2
- package/{chunk-6BQKR2FM.js → chunk-G3FZ2ZJK.js} +1 -1
- package/chunk-GUP55DM6.js +59 -0
- package/chunk-HOF7LEIC.js +24 -0
- package/chunk-IFEZ6BFV.js +1111 -0
- package/{chunk-3U6QWN62.js → chunk-IJUVVD7E.js} +1 -1
- package/{chunk-H77JYU7F.js → chunk-ISAMD2FE.js} +12 -3
- package/{chunk-WKA5UYNA.js → chunk-LH7J5BDU.js} +5 -5
- package/{chunk-GZ5MYMBT.js → chunk-LUVDMEW4.js} +1 -1
- package/{chunk-OAP2ROTL.js → chunk-MYX4JCIJ.js} +1 -1
- package/{chunk-APMYKJI2.js → chunk-QNHBAGXQ.js} +1 -1
- package/{chunk-XCDLOQZZ.js → chunk-SMXXFQPI.js} +80 -29
- package/chunk-SUU2WETN.js +268 -0
- package/chunk-T2VBCUF5.js +77 -0
- package/{chunk-EL4GVZK5.js → chunk-T5EP7QEF.js} +2 -2
- package/{chunk-A2TSRXZD.js → chunk-UZ6ICZE3.js} +1 -1
- package/{chunk-DL3H4EMY.js → chunk-VR7NRWAD.js} +29 -20
- package/chunk-W4T5CGCO.js +52 -0
- package/{chunk-XDSZO74H.js → chunk-WHWPAYZY.js} +118 -20
- package/{chunk-KMOOTBHM.js → chunk-X6JKMIOU.js} +5 -1
- package/{chunk-43HNQWPQ.js → chunk-XCQCYB6G.js} +78 -13
- package/{chunk-IUL6MPP6.js → chunk-XCSNI6AO.js} +4 -4
- package/{chunk-BGA3WB7H.js → chunk-XD5KUDXX.js} +7 -7
- package/{chunk-QNDM4DVO.js → chunk-Z5D5KODU.js} +1 -1
- package/{ci-EDRETPUF.js → ci-ESVUMOZO.js} +31 -13
- package/cli-package.json +1 -1
- package/{config-MVNXGEOQ.js → config-TMB2X6DW.js} +12 -9
- package/{config-OKBXU7TU.js → config-ZVVLFKR7.js} +16 -13
- package/{create-R7BXYJSU.js → create-BLTNKSBQ.js} +28 -25
- package/{deprecate-YSUKBKQM.js → deprecate-VA6PGHYL.js} +17 -15
- package/{dist-tag-MIGYSR4F.js → dist-tag-OYJREFO2.js} +13 -12
- package/{docs-4WVIN75H.js → docs-6OC3OQNM.js} +28 -25
- package/{exec-IXHDQLAM.js → exec-AZPGFVRY.js} +28 -25
- package/{exec-cache-EA7GHIK7.js → exec-cache-D75UY2WI.js} +24 -22
- package/{exec-local-GM4LH56M.js → exec-local-E2JKB4X4.js} +22 -19
- package/{help-TCXGBICU.js → help-UPW77X5N.js} +5 -5
- package/{init-MWZDWQHM.js → init-SNO6QL7C.js} +14 -11
- package/{install-HPI5HU3C.js → install-TEJM2YVX.js} +165 -26
- package/{list-2CX6REPJ.js → list-NHCC2RNB.js} +33 -27
- package/{login-RAY23CVG.js → login-XNZXCGFD.js} +19 -16
- package/{logout-ICB5OMGY.js → logout-YCM7O36Q.js} +13 -12
- package/{outdated-FYHPXRMT.js → outdated-4LA7N63W.js} +26 -22
- package/{pack-E5MNPQXK.js → pack-RC4CZSWF.js} +25 -18
- package/package.json +1 -1
- package/{ping-REQ2KSAR.js → ping-RLVAZGDL.js} +13 -12
- package/{pkg-YB4GSRII.js → pkg-FED5C6TP.js} +23 -14
- package/{profile-GKBW6GRI.js → profile-DJZNLQPG.js} +13 -12
- package/{publish-4ZQJYYLF.js → publish-54AMVMTQ.js} +61 -45
- package/{query-SKXBF3MJ.js → query-ZQLMSJ7O.js} +35 -29
- package/{registry-MQJJCWJY.js → registry-6HKQYSZX.js} +7 -7
- package/registry-client-src-revalidate.js +110 -20
- package/{repo-ACPTZI2C.js → repo-ITA4BLZ4.js} +28 -25
- package/{reporter-4KK2JNGO.js → reporter-UYVR2WMB.js} +73 -14
- package/{run-YW3ITX2A.js → run-TP2HTJRN.js} +22 -19
- package/{run-exec-7VQX3OFG.js → run-exec-UGCC53DV.js} +22 -19
- package/security-archive-src-update-expired.js +88 -28
- package/{setup-PLEKCMXN.js → setup-XPAM5U3Z.js} +23 -21
- package/skills-LR6GXW3X.js +413 -0
- package/skills-YD2TB2VD.js +495 -0
- package/{src-XQ7KVUVN.js → src-34D4DOOH.js} +37 -27
- package/{src-PXDFMQ6W.js → src-H6DFCAPH.js} +9 -8
- package/{src-GP7VLT7P.js → src-LHDC4NJO.js} +58 -9
- package/{token-GB7RPE5J.js → token-OF63PFTQ.js} +13 -12
- package/{uninstall-RLCECX37.js → uninstall-B54FQ5KQ.js} +20 -15
- package/{unpublish-3ZXEAVHF.js → unpublish-CSHIGMDQ.js} +31 -16
- package/{update-VDZP6EZN.js → update-HS4VJ5ZG.js} +51 -25
- package/{version-MRELJPOK.js → version-L7S3DHUS.js} +24 -14
- package/{view-LCXMTGCJ.js → view-NWKKWFVA.js} +17 -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-PNRDBS45.js → whoami-65K35VGW.js} +13 -12
- package/chunk-4JAZZRKR.js +0 -76
- package/chunk-G2YT2GWF.js +0 -120
- package/chunk-U7TEQCBN.js +0 -880
|
@@ -9,25 +9,26 @@ 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
|
-
requireRegistry
|
|
14
|
-
} from "./chunk-A2TSRXZD.js";
|
|
15
12
|
import {
|
|
16
13
|
commandUsage
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import
|
|
19
|
-
|
|
14
|
+
} from "./chunk-CW56EJIL.js";
|
|
15
|
+
import {
|
|
16
|
+
requireRegistry
|
|
17
|
+
} from "./chunk-UZ6ICZE3.js";
|
|
18
|
+
import "./chunk-CMLDLZZ3.js";
|
|
19
|
+
import "./chunk-LUVDMEW4.js";
|
|
20
20
|
import {
|
|
21
21
|
RegistryClient
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-35EG6T3J.js";
|
|
23
|
+
import "./chunk-QNHBAGXQ.js";
|
|
24
|
+
import "./chunk-G3FZ2ZJK.js";
|
|
25
|
+
import "./chunk-5KW6AOTT.js";
|
|
26
|
+
import "./chunk-SUU2WETN.js";
|
|
27
|
+
import "./chunk-B6RIGNEO.js";
|
|
27
28
|
import "./chunk-XNLSTHDK.js";
|
|
28
29
|
import "./chunk-PDWPFR5T.js";
|
|
29
30
|
import "./chunk-Y5PA7DVK.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-6LZM3I4Q.js";
|
|
31
32
|
import {
|
|
32
33
|
error
|
|
33
34
|
} from "./chunk-WZWDS3W4.js";
|
|
@@ -11,41 +11,48 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
views
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3S3W7QEM.js";
|
|
15
15
|
import {
|
|
16
16
|
del,
|
|
17
17
|
get,
|
|
18
18
|
set
|
|
19
19
|
} from "./chunk-DBANBIL2.js";
|
|
20
|
+
import {
|
|
21
|
+
sortScopeLocations
|
|
22
|
+
} from "./chunk-43EJ4Q42.js";
|
|
20
23
|
import {
|
|
21
24
|
createHostContextsMap
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ARE7FKDG.js";
|
|
23
26
|
import {
|
|
24
27
|
GraphModifier,
|
|
25
|
-
Query,
|
|
26
28
|
VIRTUAL_ROOT_ID,
|
|
27
29
|
actual,
|
|
28
30
|
init
|
|
29
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4UH3KMTD.js";
|
|
32
|
+
import {
|
|
33
|
+
Query
|
|
34
|
+
} from "./chunk-2U4PVHP4.js";
|
|
30
35
|
import {
|
|
31
36
|
SecurityArchive
|
|
32
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-SMXXFQPI.js";
|
|
33
38
|
import {
|
|
34
39
|
commandUsage
|
|
35
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CW56EJIL.js";
|
|
41
|
+
import "./chunk-IFEZ6BFV.js";
|
|
36
42
|
import {
|
|
37
43
|
minimatch
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-C6ZVVEFV.js";
|
|
45
|
+
import "./chunk-CMLDLZZ3.js";
|
|
46
|
+
import "./chunk-F7NPYSI2.js";
|
|
47
|
+
import "./chunk-LUVDMEW4.js";
|
|
42
48
|
import "./chunk-HTOTG4TS.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-G3FZ2ZJK.js";
|
|
50
|
+
import "./chunk-SUU2WETN.js";
|
|
51
|
+
import "./chunk-B6RIGNEO.js";
|
|
45
52
|
import "./chunk-XNLSTHDK.js";
|
|
46
53
|
import "./chunk-PDWPFR5T.js";
|
|
47
54
|
import "./chunk-Y5PA7DVK.js";
|
|
48
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-6LZM3I4Q.js";
|
|
49
56
|
import {
|
|
50
57
|
error
|
|
51
58
|
} from "./chunk-WZWDS3W4.js";
|
|
@@ -170,6 +177,7 @@ var command = async (conf) => {
|
|
|
170
177
|
const { nodes: resultNodes } = await query.search(queryString, {
|
|
171
178
|
signal: new AbortController().signal
|
|
172
179
|
});
|
|
180
|
+
const found = [];
|
|
173
181
|
for (const node of resultNodes) {
|
|
174
182
|
const location = node.location;
|
|
175
183
|
assert(
|
|
@@ -179,9 +187,10 @@ var command = async (conf) => {
|
|
|
179
187
|
})
|
|
180
188
|
);
|
|
181
189
|
if (node.id !== VIRTUAL_ROOT_ID) {
|
|
182
|
-
|
|
190
|
+
found.push(resolve(node.projectRoot, location));
|
|
183
191
|
}
|
|
184
192
|
}
|
|
193
|
+
locations.push(...sortScopeLocations(found, options.monorepo));
|
|
185
194
|
} else if (paths?.length || groups?.length || recursive) {
|
|
186
195
|
for (const workspace of options.monorepo ?? []) {
|
|
187
196
|
if (paths?.length) {
|
|
@@ -9,27 +9,28 @@ 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-A2TSRXZD.js";
|
|
15
12
|
import {
|
|
16
13
|
commandUsage
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import
|
|
19
|
-
|
|
14
|
+
} from "./chunk-CW56EJIL.js";
|
|
15
|
+
import {
|
|
16
|
+
resolveRegistry
|
|
17
|
+
} from "./chunk-UZ6ICZE3.js";
|
|
18
|
+
import "./chunk-CMLDLZZ3.js";
|
|
19
|
+
import "./chunk-LUVDMEW4.js";
|
|
20
20
|
import {
|
|
21
21
|
RegistryClient
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-35EG6T3J.js";
|
|
23
|
+
import "./chunk-QNHBAGXQ.js";
|
|
24
|
+
import "./chunk-G3FZ2ZJK.js";
|
|
24
25
|
import {
|
|
25
26
|
assertOk
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
} from "./chunk-5KW6AOTT.js";
|
|
28
|
+
import "./chunk-SUU2WETN.js";
|
|
29
|
+
import "./chunk-B6RIGNEO.js";
|
|
29
30
|
import "./chunk-XNLSTHDK.js";
|
|
30
31
|
import "./chunk-PDWPFR5T.js";
|
|
31
32
|
import "./chunk-Y5PA7DVK.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-6LZM3I4Q.js";
|
|
33
34
|
import {
|
|
34
35
|
error
|
|
35
36
|
} from "./chunk-WZWDS3W4.js";
|
|
@@ -9,59 +9,68 @@ 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
|
+
getPublishConfig
|
|
14
|
+
} from "./chunk-HOF7LEIC.js";
|
|
12
15
|
import {
|
|
13
16
|
packTarball
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-T5EP7QEF.js";
|
|
18
|
+
import {
|
|
19
|
+
sortScopeLocations
|
|
20
|
+
} from "./chunk-43EJ4Q42.js";
|
|
15
21
|
import {
|
|
16
22
|
createHostContextsMap
|
|
17
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ARE7FKDG.js";
|
|
24
|
+
import {
|
|
25
|
+
actual,
|
|
26
|
+
run
|
|
27
|
+
} from "./chunk-4UH3KMTD.js";
|
|
28
|
+
import {
|
|
29
|
+
Query
|
|
30
|
+
} from "./chunk-2U4PVHP4.js";
|
|
31
|
+
import "./chunk-SMXXFQPI.js";
|
|
18
32
|
import {
|
|
19
33
|
prettyBytes
|
|
20
34
|
} from "./chunk-XA47WS4N.js";
|
|
21
35
|
import {
|
|
22
36
|
stderr
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-IHXJVKAE.js";
|
|
27
|
-
import "./chunk-SRWDPPLX.js";
|
|
28
|
-
import "./chunk-WGDTG44V.js";
|
|
29
|
-
import {
|
|
30
|
-
resolveRegistry
|
|
31
|
-
} from "./chunk-A2TSRXZD.js";
|
|
32
|
-
import {
|
|
33
|
-
Query,
|
|
34
|
-
actual,
|
|
35
|
-
run
|
|
36
|
-
} from "./chunk-NWHKSRO3.js";
|
|
37
|
-
import "./chunk-XCDLOQZZ.js";
|
|
37
|
+
} from "./chunk-WHWPAYZY.js";
|
|
38
|
+
import "./chunk-X6JKMIOU.js";
|
|
39
|
+
import "./chunk-4TSHLSRK.js";
|
|
38
40
|
import {
|
|
39
41
|
commandUsage
|
|
40
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CW56EJIL.js";
|
|
43
|
+
import "./chunk-SRWDPPLX.js";
|
|
44
|
+
import "./chunk-IFEZ6BFV.js";
|
|
41
45
|
import {
|
|
42
46
|
minimatch
|
|
43
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-C6ZVVEFV.js";
|
|
44
48
|
import "./chunk-4KCU2KZL.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import
|
|
47
|
-
|
|
49
|
+
import "./chunk-WGDTG44V.js";
|
|
50
|
+
import {
|
|
51
|
+
resolveRegistry
|
|
52
|
+
} from "./chunk-UZ6ICZE3.js";
|
|
53
|
+
import "./chunk-CMLDLZZ3.js";
|
|
54
|
+
import "./chunk-F7NPYSI2.js";
|
|
55
|
+
import "./chunk-LUVDMEW4.js";
|
|
48
56
|
import "./chunk-HTOTG4TS.js";
|
|
49
57
|
import {
|
|
50
58
|
RegistryClient,
|
|
51
59
|
oidc,
|
|
52
60
|
registryBase
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-35EG6T3J.js";
|
|
62
|
+
import "./chunk-QNHBAGXQ.js";
|
|
63
|
+
import "./chunk-G3FZ2ZJK.js";
|
|
55
64
|
import {
|
|
56
65
|
assertOk,
|
|
57
66
|
requestError
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
67
|
+
} from "./chunk-5KW6AOTT.js";
|
|
68
|
+
import "./chunk-SUU2WETN.js";
|
|
69
|
+
import "./chunk-B6RIGNEO.js";
|
|
61
70
|
import "./chunk-XNLSTHDK.js";
|
|
62
71
|
import "./chunk-PDWPFR5T.js";
|
|
63
72
|
import "./chunk-Y5PA7DVK.js";
|
|
64
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-6LZM3I4Q.js";
|
|
65
74
|
import {
|
|
66
75
|
error
|
|
67
76
|
} from "./chunk-WZWDS3W4.js";
|
|
@@ -71,14 +80,16 @@ import "./chunk-PZLD7RTK.js";
|
|
|
71
80
|
import assert from "node:assert";
|
|
72
81
|
import { readFileSync } from "node:fs";
|
|
73
82
|
import { dirname, join, resolve } from "node:path";
|
|
74
|
-
var needsRegistry = true;
|
|
75
83
|
var usage = () => commandUsage({
|
|
76
84
|
command: "publish",
|
|
77
85
|
usage: "",
|
|
78
86
|
description: `Create a tarball from a package and publish it to the configured registry.
|
|
79
87
|
|
|
80
88
|
This command will pack the package in the current directory or specified folder,
|
|
81
|
-
and then upload it to the configured registry
|
|
89
|
+
and then upload it to the configured registry.
|
|
90
|
+
|
|
91
|
+
The registry is the package's \`publishConfig.registry\` if set (no other
|
|
92
|
+
registry config needed), else \`--registry\`, else a configured alias.`,
|
|
82
93
|
options: {
|
|
83
94
|
tag: {
|
|
84
95
|
description: "Publish the package with the given tag",
|
|
@@ -168,6 +179,7 @@ var command = async (conf) => {
|
|
|
168
179
|
const { nodes } = await query.search(queryString, {
|
|
169
180
|
signal: new AbortController().signal
|
|
170
181
|
});
|
|
182
|
+
const found = [];
|
|
171
183
|
for (const node of nodes) {
|
|
172
184
|
const { location } = node.toJSON();
|
|
173
185
|
assert(
|
|
@@ -176,8 +188,9 @@ var command = async (conf) => {
|
|
|
176
188
|
found: node
|
|
177
189
|
})
|
|
178
190
|
);
|
|
179
|
-
|
|
191
|
+
found.push(resolve(projectRoot, location));
|
|
180
192
|
}
|
|
193
|
+
locations.push(...sortScopeLocations(found, options.monorepo));
|
|
181
194
|
} else if (paths?.length || groups?.length || recursive) {
|
|
182
195
|
for (const workspace of options.monorepo ?? []) {
|
|
183
196
|
if (paths?.length) {
|
|
@@ -192,24 +205,32 @@ var command = async (conf) => {
|
|
|
192
205
|
single = options.packageJson.find(process.cwd()) ?? projectRoot;
|
|
193
206
|
}
|
|
194
207
|
if (single) {
|
|
195
|
-
|
|
208
|
+
const [target] = await resolveTargets([single], conf);
|
|
209
|
+
assert(target);
|
|
210
|
+
return commandSingle(target, conf);
|
|
196
211
|
}
|
|
197
212
|
assert(
|
|
198
213
|
locations.length > 0,
|
|
199
214
|
error("No workspaces or query results found")
|
|
200
215
|
);
|
|
201
216
|
const results = [];
|
|
202
|
-
for (const
|
|
203
|
-
results.push(await commandSingle(
|
|
217
|
+
for (const target of await resolveTargets(locations, conf)) {
|
|
218
|
+
results.push(await commandSingle(target, conf));
|
|
204
219
|
}
|
|
205
220
|
return results;
|
|
206
221
|
};
|
|
207
|
-
var
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
222
|
+
var resolveTargets = async (locations, conf) => {
|
|
223
|
+
let fallback;
|
|
224
|
+
const targets = [];
|
|
225
|
+
for (const location of locations) {
|
|
226
|
+
const manifestPath = conf.options.packageJson.find(location);
|
|
227
|
+
assert(manifestPath, "No package.json found");
|
|
228
|
+
const manifestDir = dirname(manifestPath);
|
|
229
|
+
const manifest = conf.options.packageJson.read(manifestDir);
|
|
230
|
+
const registry = getPublishConfig(manifest)?.registry ?? await (fallback ??= resolveRegistry(conf));
|
|
231
|
+
targets.push({ manifestDir, registry });
|
|
211
232
|
}
|
|
212
|
-
return
|
|
233
|
+
return targets;
|
|
213
234
|
};
|
|
214
235
|
var README_MARKDOWN_EXTENSION = /\.(?:md|markdown|mdown|mdwn|mkd|mkdn)$/i;
|
|
215
236
|
var readPublishReadme = (packDir, files) => {
|
|
@@ -223,10 +244,7 @@ var readPublishReadme = (packDir, files) => {
|
|
|
223
244
|
readmeFilename
|
|
224
245
|
};
|
|
225
246
|
};
|
|
226
|
-
var commandSingle = async (
|
|
227
|
-
const manifestPath = conf.options.packageJson.find(location);
|
|
228
|
-
assert(manifestPath, "No package.json found");
|
|
229
|
-
const manifestDir = dirname(manifestPath);
|
|
247
|
+
var commandSingle = async ({ manifestDir, registry }, conf) => {
|
|
230
248
|
const manifest = conf.options.packageJson.read(manifestDir);
|
|
231
249
|
assert(
|
|
232
250
|
!manifest.private,
|
|
@@ -236,7 +254,6 @@ var commandSingle = async (location, conf) => {
|
|
|
236
254
|
const publishConfig = getPublishConfig(manifest);
|
|
237
255
|
const tag = publishConfig?.tag ?? conf.options.tag;
|
|
238
256
|
const access = publishConfig?.access ?? conf.options.access;
|
|
239
|
-
const registry = publishConfig?.registry ?? await resolveRegistry(conf);
|
|
240
257
|
const registryUrl = new URL(registryBase(registry));
|
|
241
258
|
const runOptions = {
|
|
242
259
|
cwd: manifestDir,
|
|
@@ -376,7 +393,6 @@ var commandSingle = async (location, conf) => {
|
|
|
376
393
|
};
|
|
377
394
|
export {
|
|
378
395
|
command,
|
|
379
|
-
needsRegistry,
|
|
380
396
|
usage,
|
|
381
397
|
views
|
|
382
398
|
};
|
|
@@ -11,56 +11,60 @@ import {createRequire as _vlt_createRequire} from "node:module";
|
|
|
11
11
|
var require = _vlt_createRequire(import.meta.filename);
|
|
12
12
|
import {
|
|
13
13
|
MermaidImageView
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LH7J5BDU.js";
|
|
15
15
|
import {
|
|
16
16
|
createGetAuthHeader
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-Z5D5KODU.js";
|
|
18
18
|
import {
|
|
19
19
|
createDiffFilesProvider
|
|
20
20
|
} from "./chunk-RIYFGX27.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-7UWRR6EE.js";
|
|
22
22
|
import {
|
|
23
23
|
assertVltInstalled,
|
|
24
24
|
createHostContextsMap
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import {
|
|
27
|
-
stdout
|
|
28
|
-
} from "./chunk-XDSZO74H.js";
|
|
29
|
-
import "./chunk-KMOOTBHM.js";
|
|
30
|
-
import "./chunk-G2YT2GWF.js";
|
|
31
|
-
import "./chunk-IHXJVKAE.js";
|
|
32
|
-
import "./chunk-WGDTG44V.js";
|
|
33
|
-
import "./chunk-A2TSRXZD.js";
|
|
25
|
+
} from "./chunk-ARE7FKDG.js";
|
|
34
26
|
import {
|
|
35
27
|
GraphModifier,
|
|
36
|
-
Query,
|
|
37
28
|
actual,
|
|
38
|
-
asNode,
|
|
39
29
|
humanReadableOutput,
|
|
40
30
|
jsonOutput,
|
|
41
31
|
mermaidOutput
|
|
42
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4UH3KMTD.js";
|
|
33
|
+
import {
|
|
34
|
+
Query,
|
|
35
|
+
asNode,
|
|
36
|
+
hasSkills
|
|
37
|
+
} from "./chunk-2U4PVHP4.js";
|
|
43
38
|
import {
|
|
44
39
|
SecurityArchive
|
|
45
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-SMXXFQPI.js";
|
|
41
|
+
import {
|
|
42
|
+
stdout
|
|
43
|
+
} from "./chunk-WHWPAYZY.js";
|
|
44
|
+
import "./chunk-X6JKMIOU.js";
|
|
45
|
+
import "./chunk-4TSHLSRK.js";
|
|
46
46
|
import {
|
|
47
47
|
commandUsage
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-CW56EJIL.js";
|
|
49
|
+
import "./chunk-IFEZ6BFV.js";
|
|
50
|
+
import "./chunk-C6ZVVEFV.js";
|
|
50
51
|
import "./chunk-4KCU2KZL.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-WGDTG44V.js";
|
|
53
|
+
import "./chunk-UZ6ICZE3.js";
|
|
54
|
+
import "./chunk-CMLDLZZ3.js";
|
|
55
|
+
import "./chunk-F7NPYSI2.js";
|
|
56
|
+
import "./chunk-LUVDMEW4.js";
|
|
54
57
|
import "./chunk-HTOTG4TS.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-35EG6T3J.js";
|
|
59
|
+
import "./chunk-QNHBAGXQ.js";
|
|
60
|
+
import "./chunk-G3FZ2ZJK.js";
|
|
61
|
+
import "./chunk-5KW6AOTT.js";
|
|
62
|
+
import "./chunk-SUU2WETN.js";
|
|
63
|
+
import "./chunk-B6RIGNEO.js";
|
|
60
64
|
import "./chunk-XNLSTHDK.js";
|
|
61
65
|
import "./chunk-PDWPFR5T.js";
|
|
62
66
|
import "./chunk-Y5PA7DVK.js";
|
|
63
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-6LZM3I4Q.js";
|
|
64
68
|
import {
|
|
65
69
|
error
|
|
66
70
|
} from "./chunk-WZWDS3W4.js";
|
|
@@ -212,7 +216,8 @@ var command = async (conf) => {
|
|
|
212
216
|
securityArchive,
|
|
213
217
|
hostContexts,
|
|
214
218
|
diffFiles,
|
|
215
|
-
getAuthHeader
|
|
219
|
+
getAuthHeader,
|
|
220
|
+
hasSkills
|
|
216
221
|
});
|
|
217
222
|
const { nodes: resultNodes } = await scopeQuery.search(
|
|
218
223
|
scopeQueryString,
|
|
@@ -274,7 +279,8 @@ var command = async (conf) => {
|
|
|
274
279
|
securityArchive,
|
|
275
280
|
hostContexts,
|
|
276
281
|
diffFiles,
|
|
277
|
-
getAuthHeader
|
|
282
|
+
getAuthHeader,
|
|
283
|
+
hasSkills
|
|
278
284
|
});
|
|
279
285
|
const query = queryString || (graph ? defaultProjectQueryString : defaultLocalScopeQueryString);
|
|
280
286
|
const {
|
|
@@ -9,18 +9,18 @@ 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-A2TSRXZD.js";
|
|
15
12
|
import {
|
|
16
13
|
commandUsage
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import
|
|
14
|
+
} from "./chunk-CW56EJIL.js";
|
|
15
|
+
import {
|
|
16
|
+
resolveRegistry
|
|
17
|
+
} from "./chunk-UZ6ICZE3.js";
|
|
19
18
|
import {
|
|
20
19
|
getCommand
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CMLDLZZ3.js";
|
|
21
|
+
import "./chunk-LUVDMEW4.js";
|
|
22
22
|
import "./chunk-XNLSTHDK.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-6LZM3I4Q.js";
|
|
24
24
|
import {
|
|
25
25
|
error
|
|
26
26
|
} from "./chunk-WZWDS3W4.js";
|