vercel 59.6.2 → 59.9.1
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/dist/chunks/{add-HJSEM4YJ.js → add-6YKY5LGR.js} +2 -2
- package/dist/chunks/{add-4GQZ22ZN.js → add-DGK2A56E.js} +2 -2
- package/dist/chunks/{add-SIGUSM3Y.js → add-QZ5FW7LT.js} +5 -5
- package/dist/chunks/{build-XOMJDX4M.js → build-YFUXHSMU.js} +2 -2
- package/dist/chunks/{chunk-GISTGGBO.js → chunk-22GK226I.js} +3 -3
- package/dist/chunks/{chunk-WZ2S3A2A.js → chunk-2TXLG52H.js} +19 -3
- package/dist/chunks/{chunk-PRH6KRUT.js → chunk-3E62ATUY.js} +1 -1
- package/dist/chunks/{chunk-LXZVOR6F.js → chunk-52P3DIMH.js} +1 -1
- package/dist/chunks/{chunk-FRZULOVH.js → chunk-62XYUSRS.js} +1 -1
- package/dist/chunks/{chunk-V3MDDR2X.js → chunk-7PMXNOZH.js} +1 -1
- package/dist/chunks/{chunk-YJKZQEHS.js → chunk-DSBOE2OV.js} +1 -1
- package/dist/chunks/{chunk-R5PULMHT.js → chunk-FEQJSISH.js} +1 -1
- package/dist/chunks/{chunk-ZNMTDLYH.js → chunk-FME4CIZL.js} +2 -2
- package/dist/chunks/{chunk-SF3AYAIF.js → chunk-H43VTKRO.js} +4 -4
- package/dist/chunks/{chunk-3F5EGINT.js → chunk-HK2IYHVR.js} +1 -1
- package/dist/chunks/{chunk-2YRAWYGE.js → chunk-I526H4AS.js} +17 -0
- package/dist/chunks/{chunk-JH4WQRIU.js → chunk-I7ZVTKXM.js} +1 -1
- package/dist/chunks/{chunk-SWI6F4X3.js → chunk-IWNFDR3C.js} +5 -1
- package/dist/chunks/{chunk-YJUO3EKH.js → chunk-KJBZ5ZST.js} +0 -1
- package/dist/chunks/{chunk-37V5P4VO.js → chunk-LD3Q3MUI.js} +6 -6
- package/dist/chunks/{chunk-7HE63HCR.js → chunk-LDZFKXIR.js} +5 -1
- package/dist/chunks/{chunk-VJ5NAOWB.js → chunk-OHQJEOP7.js} +312 -192
- package/dist/chunks/{chunk-NGNN6WF2.js → chunk-PGTGT7AU.js} +3 -3
- package/dist/chunks/{chunk-GZQQNLF5.js → chunk-PIFTX5CY.js} +2 -2
- package/dist/chunks/{chunk-7R6M3BHM.js → chunk-QWOCOZMS.js} +1 -1
- package/dist/chunks/{chunk-6M2KZUED.js → chunk-T3MRP74K.js} +1 -1
- package/dist/chunks/{chunk-DE7MBNHQ.js → chunk-XN75ARAD.js} +1 -1
- package/dist/chunks/{chunk-2O5J3KMT.js → chunk-ZCAFRSCD.js} +1 -1
- package/dist/chunks/{clear-BWT2FJY4.js → clear-LHNLYPZB.js} +2 -2
- package/dist/chunks/{compile-vercel-config-DGM4NISW.js → compile-vercel-config-6KPIBWNU.js} +1 -1
- package/dist/chunks/{config-RSE6Z4LB.js → config-CNP7P3VD.js} +5 -5
- package/dist/chunks/{config-NJAN3RMU.js → config-UETLVP5G.js} +2 -2
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{delete-SSL2PK2F.js → delete-BYCZJBHH.js} +2 -2
- package/dist/chunks/{delete-LROBRBAH.js → delete-MB7H2LWR.js} +2 -2
- package/dist/chunks/{disable-ASG5JDZR.js → disable-OCDW6U2Q.js} +2 -2
- package/dist/chunks/{discard-PV47B6IL.js → discard-DWPG5UX5.js} +2 -2
- package/dist/chunks/{edit-REI7HXGG.js → edit-ATX4K4OL.js} +2 -2
- package/dist/chunks/{edit-5ATYIOLX.js → edit-NOZXPAV3.js} +3 -3
- package/dist/chunks/{enable-LZXL7XAG.js → enable-BO5DALIP.js} +2 -2
- package/dist/chunks/{export-ZAZFQU2E.js → export-RS6X5DZW.js} +2 -2
- package/dist/chunks/{image-QPHN5V7L.js → image-QCNVSQFC.js} +3 -3
- package/dist/chunks/{import-builders-W3YE2V6A.js → import-builders-H4VASUQQ.js} +2 -2
- package/dist/chunks/{inspect-BFGK72WY.js → inspect-BOLFZZBM.js} +3 -3
- package/dist/chunks/{inspect-SJEZVGPK.js → inspect-GPLZZEW2.js} +2 -2
- package/dist/chunks/{inspect-SSOM3FXS.js → inspect-HHXFMDN2.js} +2 -2
- package/dist/chunks/{inspect-RDMC2Z3Q.js → inspect-LZUSSUNE.js} +2 -2
- package/dist/chunks/{inspect-FRXJRM6T.js → inspect-XXHIV73A.js} +2 -2
- package/dist/chunks/{list-PHDUZVMR.js → list-H7ED7LCU.js} +1 -1
- package/dist/chunks/{list-2HTR7Q3J.js → list-THFMP23I.js} +2 -2
- package/dist/chunks/{list-W33GXKDA.js → list-XDRILJOZ.js} +3 -3
- package/dist/chunks/{login-JWAFHVDG.js → login-6KR5DCYM.js} +2 -2
- package/dist/chunks/{ls-3MH2OCP3.js → ls-5QFIXKF3.js} +2 -2
- package/dist/chunks/{ls-KX2VBOGV.js → ls-5RGCKNYB.js} +3 -3
- package/dist/chunks/{ls-KDFU224B.js → ls-CBFHIORN.js} +2 -2
- package/dist/chunks/{ls-D2POUHI7.js → ls-GRY6G2OR.js} +2 -2
- package/dist/chunks/{ls-3AN2DZHN.js → ls-LXVF34KZ.js} +2 -2
- package/dist/chunks/{ls-RWKNJQNT.js → ls-PKN53PLB.js} +2 -2
- package/dist/chunks/{open-IEYRB6RL.js → open-Q7GEQR5J.js} +2 -2
- package/dist/chunks/{permissions-ZWZUMEHR.js → permissions-6SA56V2A.js} +4 -4
- package/dist/chunks/{publish-UWZYBDHK.js → publish-TYGP2WTZ.js} +2 -2
- package/dist/chunks/{push-IAEQ3FBF.js → push-5KTXEM2H.js} +2 -2
- package/dist/chunks/{query-NNOZYSED.js → query-DSYDUL7N.js} +1 -1
- package/dist/chunks/{reorder-TKBM244W.js → reorder-BEQAMXC3.js} +2 -2
- package/dist/chunks/{reply-FLBSBMTW.js → reply-GSQ5PVE4.js} +2 -2
- package/dist/chunks/{resolve-GJYPMWUE.js → resolve-AG4SS62T.js} +2 -2
- package/dist/chunks/{restore-PNI3TM3U.js → restore-LARYR55K.js} +2 -2
- package/dist/chunks/{rm-FN7LTIIL.js → rm-F5SIKHU2.js} +2 -2
- package/dist/chunks/{rm-PGJ4KR6U.js → rm-FG63ON57.js} +2 -2
- package/dist/chunks/{rm-76CSSSSV.js → rm-FPAFEN2E.js} +2 -2
- package/dist/chunks/{rm-FTE33UHE.js → rm-GPHZ3GID.js} +3 -3
- package/dist/chunks/{rm-FXA5DLXQ.js → rm-ZKG56ZEW.js} +3 -3
- package/dist/chunks/{rule-inspect-LJIGPTWS.js → rule-inspect-JS4BK6GZ.js} +3 -3
- package/dist/chunks/{rules-6BMNO6M5.js → rules-SMIGLNUR.js} +6 -6
- package/dist/chunks/{schema-HATXEQDP.js → schema-FRSEAOYM.js} +1 -1
- package/dist/chunks/{set-C3UQUQ42.js → set-E46SNNNI.js} +3 -3
- package/dist/chunks/{tags-BTVDROFG.js → tags-CMBXR3FL.js} +2 -2
- package/dist/chunks/{update-B6PSOHUW.js → update-M5WXFGQ4.js} +5 -5
- package/dist/commands/build/index.js +115 -7
- package/dist/commands/deploy/index.js +8 -8
- package/dist/commands/dev/index.js +335 -46
- package/dist/commands/env/index.js +4 -4
- package/dist/commands/link/index.js +3 -3
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +92 -65
- package/dist/help.js +1 -1
- package/dist/index.js +9 -9
- package/dist/version.mjs +1 -1
- package/package.json +50 -50
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "../../chunks/chunk-EKPSCRJZ.js";
|
|
17
17
|
import {
|
|
18
18
|
formatEnvironment
|
|
19
|
-
} from "../../chunks/chunk-
|
|
19
|
+
} from "../../chunks/chunk-QWOCOZMS.js";
|
|
20
20
|
import {
|
|
21
21
|
validateLsArgs
|
|
22
22
|
} from "../../chunks/chunk-O75LSD3C.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "../../chunks/chunk-VXYGCOKL.js";
|
|
32
32
|
import {
|
|
33
33
|
help
|
|
34
|
-
} from "../../chunks/chunk-
|
|
34
|
+
} from "../../chunks/chunk-I526H4AS.js";
|
|
35
35
|
import {
|
|
36
36
|
formatProject,
|
|
37
37
|
getDeployment,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
getScope,
|
|
41
41
|
parseTarget,
|
|
42
42
|
toHost
|
|
43
|
-
} from "../../chunks/chunk-
|
|
43
|
+
} from "../../chunks/chunk-OHQJEOP7.js";
|
|
44
44
|
import "../../chunks/chunk-FXD67VN5.js";
|
|
45
45
|
import {
|
|
46
46
|
TelemetryClient
|
package/dist/commands-bulk.js
CHANGED
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
runInteractiveEditLoop,
|
|
41
41
|
stripQuotes,
|
|
42
42
|
validateActionFlags
|
|
43
|
-
} from "./chunks/chunk-
|
|
43
|
+
} from "./chunks/chunk-DSBOE2OV.js";
|
|
44
44
|
import {
|
|
45
45
|
getRouteVersions
|
|
46
46
|
} from "./chunks/chunk-AHU7WNL2.js";
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
requireProjectContext,
|
|
61
61
|
validateRequiredArguments,
|
|
62
62
|
withGlobalFlags as withGlobalFlags2
|
|
63
|
-
} from "./chunks/chunk-
|
|
63
|
+
} from "./chunks/chunk-XN75ARAD.js";
|
|
64
64
|
import {
|
|
65
65
|
canPrompt
|
|
66
66
|
} from "./chunks/chunk-2473DUBR.js";
|
|
@@ -106,12 +106,12 @@ import {
|
|
|
106
106
|
setAutoUpdate,
|
|
107
107
|
setPinnedVersion,
|
|
108
108
|
tryOpenApiFallback
|
|
109
|
-
} from "./chunks/chunk-
|
|
109
|
+
} from "./chunks/chunk-LD3Q3MUI.js";
|
|
110
110
|
import "./chunks/chunk-FGDKMNEN.js";
|
|
111
111
|
import {
|
|
112
112
|
getUpdateCommand,
|
|
113
113
|
isGlobal
|
|
114
|
-
} from "./chunks/chunk-
|
|
114
|
+
} from "./chunks/chunk-HK2IYHVR.js";
|
|
115
115
|
import {
|
|
116
116
|
Now,
|
|
117
117
|
addDomain,
|
|
@@ -132,19 +132,19 @@ import {
|
|
|
132
132
|
require_cjs,
|
|
133
133
|
require_jsonlines,
|
|
134
134
|
setupDomain
|
|
135
|
-
} from "./chunks/chunk-
|
|
135
|
+
} from "./chunks/chunk-H43VTKRO.js";
|
|
136
136
|
import {
|
|
137
137
|
require_format
|
|
138
138
|
} from "./chunks/chunk-PRWJUY5U.js";
|
|
139
139
|
import {
|
|
140
140
|
login
|
|
141
|
-
} from "./chunks/chunk-
|
|
141
|
+
} from "./chunks/chunk-22GK226I.js";
|
|
142
142
|
import {
|
|
143
143
|
persistAuthConfig,
|
|
144
144
|
readLocalConfig,
|
|
145
145
|
sleep,
|
|
146
146
|
writeToConfigFile
|
|
147
|
-
} from "./chunks/chunk-
|
|
147
|
+
} from "./chunks/chunk-52P3DIMH.js";
|
|
148
148
|
import {
|
|
149
149
|
getGlobalPathConfig
|
|
150
150
|
} from "./chunks/chunk-AINIBIP4.js";
|
|
@@ -179,7 +179,7 @@ import {
|
|
|
179
179
|
} from "./chunks/chunk-EOZFDJSY.js";
|
|
180
180
|
import {
|
|
181
181
|
formatEnvironment
|
|
182
|
-
} from "./chunks/chunk-
|
|
182
|
+
} from "./chunks/chunk-QWOCOZMS.js";
|
|
183
183
|
import {
|
|
184
184
|
validateLsArgs
|
|
185
185
|
} from "./chunks/chunk-O75LSD3C.js";
|
|
@@ -529,7 +529,7 @@ import {
|
|
|
529
529
|
webAnalyticsSubcommand,
|
|
530
530
|
webhooksCommand,
|
|
531
531
|
whoamiCommand
|
|
532
|
-
} from "./chunks/chunk-
|
|
532
|
+
} from "./chunks/chunk-LDZFKXIR.js";
|
|
533
533
|
import {
|
|
534
534
|
createSubcommand as createSubcommand5,
|
|
535
535
|
getSubcommand as getSubcommand2,
|
|
@@ -623,11 +623,11 @@ import {
|
|
|
623
623
|
dump,
|
|
624
624
|
load,
|
|
625
625
|
main
|
|
626
|
-
} from "./chunks/chunk-
|
|
626
|
+
} from "./chunks/chunk-PGTGT7AU.js";
|
|
627
627
|
import {
|
|
628
628
|
require_semver
|
|
629
629
|
} from "./chunks/chunk-IB5L4LKZ.js";
|
|
630
|
-
import "./chunks/chunk-
|
|
630
|
+
import "./chunks/chunk-I7ZVTKXM.js";
|
|
631
631
|
import {
|
|
632
632
|
autoInstallVercelPlugin
|
|
633
633
|
} from "./chunks/chunk-7AEEQOD4.js";
|
|
@@ -642,8 +642,9 @@ import {
|
|
|
642
642
|
} from "./chunks/chunk-VXYGCOKL.js";
|
|
643
643
|
import "./chunks/chunk-FWKSJYDV.js";
|
|
644
644
|
import {
|
|
645
|
+
buildCommandDocumentationLines,
|
|
645
646
|
help
|
|
646
|
-
} from "./chunks/chunk-
|
|
647
|
+
} from "./chunks/chunk-I526H4AS.js";
|
|
647
648
|
import {
|
|
648
649
|
ALIGNED_LABEL_WIDTH,
|
|
649
650
|
STANDARD_ENVIRONMENTS,
|
|
@@ -696,7 +697,7 @@ import {
|
|
|
696
697
|
selectOrg,
|
|
697
698
|
toHost,
|
|
698
699
|
ua_default
|
|
699
|
-
} from "./chunks/chunk-
|
|
700
|
+
} from "./chunks/chunk-OHQJEOP7.js";
|
|
700
701
|
import {
|
|
701
702
|
envTargetChoices,
|
|
702
703
|
isValidEnvTarget
|
|
@@ -2221,7 +2222,7 @@ async function activity(client) {
|
|
|
2221
2222
|
return 0;
|
|
2222
2223
|
}
|
|
2223
2224
|
telemetry2.trackCliSubcommandLs(subcommandOriginal);
|
|
2224
|
-
const listFn = (await import("./chunks/list-
|
|
2225
|
+
const listFn = (await import("./chunks/list-H7ED7LCU.js")).default;
|
|
2225
2226
|
return listFn(client, telemetry2);
|
|
2226
2227
|
}
|
|
2227
2228
|
}
|
|
@@ -9587,17 +9588,17 @@ ${extra}` : helpOutput);
|
|
|
9587
9588
|
switch (subcommand) {
|
|
9588
9589
|
case "inspect": {
|
|
9589
9590
|
telemetry2.trackCliSubcommandInspect(subcommandOriginal);
|
|
9590
|
-
const inspectFn = (await import("./chunks/inspect-
|
|
9591
|
+
const inspectFn = (await import("./chunks/inspect-XXHIV73A.js")).default;
|
|
9591
9592
|
return inspectFn(client, rawSubcommandArgs);
|
|
9592
9593
|
}
|
|
9593
9594
|
case "rules": {
|
|
9594
9595
|
telemetry2.trackCliSubcommandRules(args[0] ?? "ls");
|
|
9595
|
-
const rulesFn = (await import("./chunks/rules-
|
|
9596
|
+
const rulesFn = (await import("./chunks/rules-SMIGLNUR.js")).default;
|
|
9596
9597
|
return rulesFn(client, rawSubcommandArgs);
|
|
9597
9598
|
}
|
|
9598
9599
|
default: {
|
|
9599
9600
|
telemetry2.trackCliSubcommandLs(subcommandOriginal);
|
|
9600
|
-
const listFn = (await import("./chunks/list-
|
|
9601
|
+
const listFn = (await import("./chunks/list-THFMP23I.js")).default;
|
|
9601
9602
|
return listFn(client, telemetry2);
|
|
9602
9603
|
}
|
|
9603
9604
|
}
|
|
@@ -15492,43 +15493,43 @@ async function comments(client) {
|
|
|
15492
15493
|
if (handleHelp(inspectSubcommand4))
|
|
15493
15494
|
return 0;
|
|
15494
15495
|
telemetry2.trackCliSubcommandInspect(subcommandOriginal);
|
|
15495
|
-
return (await import("./chunks/inspect-
|
|
15496
|
+
return (await import("./chunks/inspect-BOLFZZBM.js")).default(client, telemetry2);
|
|
15496
15497
|
}
|
|
15497
15498
|
case "open": {
|
|
15498
15499
|
if (handleHelp(openSubcommand))
|
|
15499
15500
|
return 0;
|
|
15500
15501
|
telemetry2.trackCliSubcommandOpen(subcommandOriginal);
|
|
15501
|
-
return (await import("./chunks/open-
|
|
15502
|
+
return (await import("./chunks/open-Q7GEQR5J.js")).default(client, telemetry2);
|
|
15502
15503
|
}
|
|
15503
15504
|
case "reply": {
|
|
15504
15505
|
if (handleHelp(replySubcommand))
|
|
15505
15506
|
return 0;
|
|
15506
15507
|
telemetry2.trackCliSubcommandReply(subcommandOriginal);
|
|
15507
|
-
return (await import("./chunks/reply-
|
|
15508
|
+
return (await import("./chunks/reply-GSQ5PVE4.js")).default(client, telemetry2);
|
|
15508
15509
|
}
|
|
15509
15510
|
case "resolve": {
|
|
15510
15511
|
if (handleHelp(resolveSubcommand))
|
|
15511
15512
|
return 0;
|
|
15512
15513
|
telemetry2.trackCliSubcommandResolve(subcommandOriginal);
|
|
15513
|
-
return (await import("./chunks/resolve-
|
|
15514
|
+
return (await import("./chunks/resolve-AG4SS62T.js")).default(client, telemetry2, true);
|
|
15514
15515
|
}
|
|
15515
15516
|
case "reopen": {
|
|
15516
15517
|
if (handleHelp(reopenSubcommand))
|
|
15517
15518
|
return 0;
|
|
15518
15519
|
telemetry2.trackCliSubcommandReopen(subcommandOriginal);
|
|
15519
|
-
return (await import("./chunks/resolve-
|
|
15520
|
+
return (await import("./chunks/resolve-AG4SS62T.js")).default(client, telemetry2, false);
|
|
15520
15521
|
}
|
|
15521
15522
|
case "edit": {
|
|
15522
15523
|
if (handleHelp(editSubcommand))
|
|
15523
15524
|
return 0;
|
|
15524
15525
|
telemetry2.trackCliSubcommandEdit(subcommandOriginal);
|
|
15525
|
-
return (await import("./chunks/edit-
|
|
15526
|
+
return (await import("./chunks/edit-ATX4K4OL.js")).default(client, telemetry2);
|
|
15526
15527
|
}
|
|
15527
15528
|
case "delete": {
|
|
15528
15529
|
if (handleHelp(deleteSubcommand))
|
|
15529
15530
|
return 0;
|
|
15530
15531
|
telemetry2.trackCliSubcommandDelete(subcommandOriginal);
|
|
15531
|
-
return (await import("./chunks/delete-
|
|
15532
|
+
return (await import("./chunks/delete-MB7H2LWR.js")).default(client, telemetry2);
|
|
15532
15533
|
}
|
|
15533
15534
|
default: {
|
|
15534
15535
|
if (needHelp) {
|
|
@@ -15544,7 +15545,7 @@ async function comments(client) {
|
|
|
15544
15545
|
}
|
|
15545
15546
|
telemetry2.trackCliSubcommandList(subcommandOriginal);
|
|
15546
15547
|
const defaultInvocation = subcommandOriginal === "default";
|
|
15547
|
-
return (await import("./chunks/list-
|
|
15548
|
+
return (await import("./chunks/list-XDRILJOZ.js")).default(
|
|
15548
15549
|
client,
|
|
15549
15550
|
telemetry2,
|
|
15550
15551
|
defaultInvocation
|
|
@@ -16328,6 +16329,17 @@ async function resolveConnexConnectionMethod(client, opts) {
|
|
|
16328
16329
|
target: explicitTarget ?? soleTargetOf(method2)
|
|
16329
16330
|
};
|
|
16330
16331
|
}
|
|
16332
|
+
if (opts.resolvedConnectionMethod) {
|
|
16333
|
+
const method2 = methods.find(
|
|
16334
|
+
(candidate) => candidate.connectionMethod === opts.resolvedConnectionMethod
|
|
16335
|
+
);
|
|
16336
|
+
if (method2 && (!explicitTarget || servesTarget(method2, explicitTarget))) {
|
|
16337
|
+
if (opts.interactive && !opts.skipConfirm) {
|
|
16338
|
+
await confirmMethodSelection(client, opts.serviceName, method2);
|
|
16339
|
+
}
|
|
16340
|
+
return { method: method2, target: explicitTarget ?? soleTargetOf(method2) };
|
|
16341
|
+
}
|
|
16342
|
+
}
|
|
16331
16343
|
const width = choiceWidth(client);
|
|
16332
16344
|
let chosenTarget = explicitTarget;
|
|
16333
16345
|
if (!chosenTarget && targets && targets.length > 1 && opts.interactive) {
|
|
@@ -16388,18 +16400,21 @@ async function resolveConnexConnectionMethod(client, opts) {
|
|
|
16388
16400
|
const method = candidates[0];
|
|
16389
16401
|
const target = chosenTarget ?? soleTargetOf(method);
|
|
16390
16402
|
if (opts.interactive && !opts.skipConfirm) {
|
|
16391
|
-
|
|
16392
|
-
const suffix = badge ? ` (${badge})` : "";
|
|
16393
|
-
const confirmed = await client.input.confirm(
|
|
16394
|
-
`Connect to ${opts.serviceName} with ${method.label}${suffix}?`,
|
|
16395
|
-
true
|
|
16396
|
-
);
|
|
16397
|
-
if (!confirmed) {
|
|
16398
|
-
throw new ConnexMethodError("Canceled.");
|
|
16399
|
-
}
|
|
16403
|
+
await confirmMethodSelection(client, opts.serviceName, method);
|
|
16400
16404
|
}
|
|
16401
16405
|
return { method, target };
|
|
16402
16406
|
}
|
|
16407
|
+
async function confirmMethodSelection(client, serviceName, method) {
|
|
16408
|
+
const badge = createPathBadge(method);
|
|
16409
|
+
const suffix = badge ? ` (${badge})` : "";
|
|
16410
|
+
const confirmed = await client.input.confirm(
|
|
16411
|
+
`Connect to ${serviceName} with ${method.label}${suffix}?`,
|
|
16412
|
+
true
|
|
16413
|
+
);
|
|
16414
|
+
if (!confirmed) {
|
|
16415
|
+
throw new ConnexMethodError("Canceled.");
|
|
16416
|
+
}
|
|
16417
|
+
}
|
|
16403
16418
|
async function collectTemplateParams(client, method, suppliedParams, interactive) {
|
|
16404
16419
|
const fields = method.templateFields ?? [];
|
|
16405
16420
|
if (fields.length === 0) {
|
|
@@ -16785,6 +16800,7 @@ async function create2(client, args, flags) {
|
|
|
16785
16800
|
targets: serviceInfo?.targets,
|
|
16786
16801
|
connectionMethodFlag,
|
|
16787
16802
|
targetFlag,
|
|
16803
|
+
resolvedConnectionMethod: serviceInfo?.resolvedConnectionMethod,
|
|
16788
16804
|
interactive,
|
|
16789
16805
|
skipConfirm: flags["--yes"] === true
|
|
16790
16806
|
});
|
|
@@ -17182,17 +17198,27 @@ async function printCreateDynamicHelp(client, service, baseCommand, printHelp) {
|
|
|
17182
17198
|
const serviceName = serviceInfo?.name ?? service;
|
|
17183
17199
|
const targets = serviceInfo?.targets ?? [];
|
|
17184
17200
|
const width = Math.max(40, Math.min(client.stderr.columns || 80, 100));
|
|
17185
|
-
printHelp(
|
|
17186
|
-
|
|
17187
|
-
|
|
17188
|
-
|
|
17189
|
-
|
|
17190
|
-
|
|
17201
|
+
printHelp(
|
|
17202
|
+
{
|
|
17203
|
+
...baseCommand,
|
|
17204
|
+
options: [],
|
|
17205
|
+
disabledGlobalOptions: globalCommandOptions.map((option) => option.name),
|
|
17206
|
+
examples: []
|
|
17207
|
+
},
|
|
17208
|
+
{ omitDocumentation: true }
|
|
17209
|
+
);
|
|
17191
17210
|
if (targets.length > 1) {
|
|
17192
17211
|
output_manager_default.print(formatTargets(serviceName, targets, width));
|
|
17193
17212
|
}
|
|
17194
17213
|
output_manager_default.print(formatMethods(serviceName, methods, targets, width));
|
|
17195
17214
|
output_manager_default.print(formatExamples(service, methods));
|
|
17215
|
+
const documentationLines = buildCommandDocumentationLines(connexCommand, {
|
|
17216
|
+
columns: width
|
|
17217
|
+
});
|
|
17218
|
+
if (documentationLines) {
|
|
17219
|
+
output_manager_default.print(`
|
|
17220
|
+
${documentationLines}`);
|
|
17221
|
+
}
|
|
17196
17222
|
return true;
|
|
17197
17223
|
}
|
|
17198
17224
|
function formatTargets(serviceName, targets, width) {
|
|
@@ -18851,9 +18877,10 @@ async function connex(client) {
|
|
|
18851
18877
|
args: subArgs
|
|
18852
18878
|
} = getSubcommand5(args.slice(1), COMMAND_CONFIG18);
|
|
18853
18879
|
const needHelp = flags["--help"];
|
|
18854
|
-
function printHelp(command) {
|
|
18880
|
+
function printHelp(command, options) {
|
|
18855
18881
|
output_manager_default.print(
|
|
18856
18882
|
help(command, {
|
|
18883
|
+
...options,
|
|
18857
18884
|
columns: client.stderr.columns,
|
|
18858
18885
|
parent: connexCommand
|
|
18859
18886
|
})
|
|
@@ -18877,7 +18904,7 @@ async function connex(client) {
|
|
|
18877
18904
|
client,
|
|
18878
18905
|
findHelpServiceArg(subArgs),
|
|
18879
18906
|
createSubcommand2,
|
|
18880
|
-
(cmd2) => printHelp(cmd2)
|
|
18907
|
+
(cmd2, helpOptions) => printHelp(cmd2, helpOptions)
|
|
18881
18908
|
);
|
|
18882
18909
|
if (!printed) {
|
|
18883
18910
|
printHelp(createSubcommand2);
|
|
@@ -59066,7 +59093,7 @@ async function metrics(client) {
|
|
|
59066
59093
|
return 0;
|
|
59067
59094
|
}
|
|
59068
59095
|
telemetry2.trackCliSubcommandSchema(subcommandOriginal);
|
|
59069
|
-
const schemaFn = (await import("./chunks/schema-
|
|
59096
|
+
const schemaFn = (await import("./chunks/schema-FRSEAOYM.js")).default;
|
|
59070
59097
|
return schemaFn(client, telemetry2);
|
|
59071
59098
|
}
|
|
59072
59099
|
default: {
|
|
@@ -59079,7 +59106,7 @@ async function metrics(client) {
|
|
|
59079
59106
|
output_manager_default.print(help(metricsCommand, { columns: client.stderr.columns }));
|
|
59080
59107
|
return 2;
|
|
59081
59108
|
}
|
|
59082
|
-
const queryFn = (await import("./chunks/query-
|
|
59109
|
+
const queryFn = (await import("./chunks/query-DSYDUL7N.js")).default;
|
|
59083
59110
|
return queryFn(client, telemetry2);
|
|
59084
59111
|
}
|
|
59085
59112
|
}
|
|
@@ -71784,7 +71811,7 @@ async function main27(client) {
|
|
|
71784
71811
|
return 2;
|
|
71785
71812
|
}
|
|
71786
71813
|
telemetry2.trackCliSubcommandEdit(subcommandOriginal);
|
|
71787
|
-
return (await import("./chunks/edit-
|
|
71814
|
+
return (await import("./chunks/edit-NOZXPAV3.js")).default(client, args);
|
|
71788
71815
|
case "delete":
|
|
71789
71816
|
if (needHelp) {
|
|
71790
71817
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71792,7 +71819,7 @@ async function main27(client) {
|
|
|
71792
71819
|
return 2;
|
|
71793
71820
|
}
|
|
71794
71821
|
telemetry2.trackCliSubcommandDelete(subcommandOriginal);
|
|
71795
|
-
return (await import("./chunks/delete-
|
|
71822
|
+
return (await import("./chunks/delete-BYCZJBHH.js")).default(client, args);
|
|
71796
71823
|
case "enable":
|
|
71797
71824
|
if (needHelp) {
|
|
71798
71825
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71800,7 +71827,7 @@ async function main27(client) {
|
|
|
71800
71827
|
return 2;
|
|
71801
71828
|
}
|
|
71802
71829
|
telemetry2.trackCliSubcommandEnable(subcommandOriginal);
|
|
71803
|
-
return (await import("./chunks/enable-
|
|
71830
|
+
return (await import("./chunks/enable-BO5DALIP.js")).default(client, args);
|
|
71804
71831
|
case "disable":
|
|
71805
71832
|
if (needHelp) {
|
|
71806
71833
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71808,7 +71835,7 @@ async function main27(client) {
|
|
|
71808
71835
|
return 2;
|
|
71809
71836
|
}
|
|
71810
71837
|
telemetry2.trackCliSubcommandDisable(subcommandOriginal);
|
|
71811
|
-
return (await import("./chunks/disable-
|
|
71838
|
+
return (await import("./chunks/disable-OCDW6U2Q.js")).default(client, args);
|
|
71812
71839
|
case "reorder":
|
|
71813
71840
|
if (needHelp) {
|
|
71814
71841
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71816,7 +71843,7 @@ async function main27(client) {
|
|
|
71816
71843
|
return 2;
|
|
71817
71844
|
}
|
|
71818
71845
|
telemetry2.trackCliSubcommandReorder(subcommandOriginal);
|
|
71819
|
-
return (await import("./chunks/reorder-
|
|
71846
|
+
return (await import("./chunks/reorder-BEQAMXC3.js")).default(client, args);
|
|
71820
71847
|
case "export":
|
|
71821
71848
|
if (needHelp) {
|
|
71822
71849
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71824,7 +71851,7 @@ async function main27(client) {
|
|
|
71824
71851
|
return 2;
|
|
71825
71852
|
}
|
|
71826
71853
|
telemetry2.trackCliSubcommandExport(subcommandOriginal);
|
|
71827
|
-
return (await import("./chunks/export-
|
|
71854
|
+
return (await import("./chunks/export-RS6X5DZW.js")).default(client, args);
|
|
71828
71855
|
case "publish":
|
|
71829
71856
|
if (needHelp) {
|
|
71830
71857
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71832,7 +71859,7 @@ async function main27(client) {
|
|
|
71832
71859
|
return 2;
|
|
71833
71860
|
}
|
|
71834
71861
|
telemetry2.trackCliSubcommandPublish(subcommandOriginal);
|
|
71835
|
-
return (await import("./chunks/publish-
|
|
71862
|
+
return (await import("./chunks/publish-TYGP2WTZ.js")).default(client, args);
|
|
71836
71863
|
case "restore":
|
|
71837
71864
|
if (needHelp) {
|
|
71838
71865
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71840,7 +71867,7 @@ async function main27(client) {
|
|
|
71840
71867
|
return 2;
|
|
71841
71868
|
}
|
|
71842
71869
|
telemetry2.trackCliSubcommandRestore(subcommandOriginal);
|
|
71843
|
-
return (await import("./chunks/restore-
|
|
71870
|
+
return (await import("./chunks/restore-LARYR55K.js")).default(client, args);
|
|
71844
71871
|
case "discard-staging":
|
|
71845
71872
|
if (needHelp) {
|
|
71846
71873
|
telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
|
|
@@ -71848,7 +71875,7 @@ async function main27(client) {
|
|
|
71848
71875
|
return 2;
|
|
71849
71876
|
}
|
|
71850
71877
|
telemetry2.trackCliSubcommandDiscardStaging(subcommandOriginal);
|
|
71851
|
-
return (await import("./chunks/discard-
|
|
71878
|
+
return (await import("./chunks/discard-DWPG5UX5.js")).default(client, args);
|
|
71852
71879
|
default:
|
|
71853
71880
|
output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG47));
|
|
71854
71881
|
output_manager_default.print(help(routesCommand, { columns: client.stderr.columns }));
|
|
@@ -75835,7 +75862,7 @@ async function traces(client) {
|
|
|
75835
75862
|
);
|
|
75836
75863
|
const needHelp = Boolean(parsedArgs.flags["--help"]);
|
|
75837
75864
|
if (subcommand === tracesConfigCommand.name) {
|
|
75838
|
-
return (await import("./chunks/config-
|
|
75865
|
+
return (await import("./chunks/config-CNP7P3VD.js")).default(client, {
|
|
75839
75866
|
args,
|
|
75840
75867
|
needHelp,
|
|
75841
75868
|
subcommandOriginal,
|
|
@@ -77407,37 +77434,37 @@ async function vcr(client) {
|
|
|
77407
77434
|
switch (subcommand) {
|
|
77408
77435
|
case "ls":
|
|
77409
77436
|
telemetry2.trackCliSubcommandLs(subcommandOriginal);
|
|
77410
|
-
return (await import("./chunks/ls-
|
|
77437
|
+
return (await import("./chunks/ls-PKN53PLB.js")).default(client, args, telemetry2);
|
|
77411
77438
|
case "inspect":
|
|
77412
77439
|
telemetry2.trackCliSubcommandInspect(subcommandOriginal);
|
|
77413
|
-
return (await import("./chunks/inspect-
|
|
77440
|
+
return (await import("./chunks/inspect-GPLZZEW2.js")).default(client, args, telemetry2);
|
|
77414
77441
|
case "add":
|
|
77415
77442
|
telemetry2.trackCliSubcommandAdd(subcommandOriginal);
|
|
77416
|
-
return (await import("./chunks/add-
|
|
77443
|
+
return (await import("./chunks/add-DGK2A56E.js")).default(client, args, telemetry2);
|
|
77417
77444
|
case "config":
|
|
77418
77445
|
telemetry2.trackCliSubcommandConfig(subcommandOriginal);
|
|
77419
|
-
return (await import("./chunks/config-
|
|
77446
|
+
return (await import("./chunks/config-UETLVP5G.js")).default(client, args, telemetry2);
|
|
77420
77447
|
case "rm":
|
|
77421
77448
|
telemetry2.trackCliSubcommandRm(subcommandOriginal);
|
|
77422
|
-
return (await import("./chunks/rm-
|
|
77449
|
+
return (await import("./chunks/rm-FG63ON57.js")).default(client, args, telemetry2);
|
|
77423
77450
|
case "login":
|
|
77424
77451
|
telemetry2.trackCliSubcommandLogin(subcommandOriginal);
|
|
77425
|
-
return (await import("./chunks/login-
|
|
77452
|
+
return (await import("./chunks/login-6KR5DCYM.js")).default(client, args, telemetry2);
|
|
77426
77453
|
case "build":
|
|
77427
77454
|
telemetry2.trackCliSubcommandBuild(subcommandOriginal);
|
|
77428
|
-
return (await import("./chunks/build-
|
|
77455
|
+
return (await import("./chunks/build-YFUXHSMU.js")).default(client, telemetry2);
|
|
77429
77456
|
case "push":
|
|
77430
77457
|
telemetry2.trackCliSubcommandPush(subcommandOriginal);
|
|
77431
|
-
return (await import("./chunks/push-
|
|
77458
|
+
return (await import("./chunks/push-5KTXEM2H.js")).default(client, telemetry2);
|
|
77432
77459
|
case "tag":
|
|
77433
77460
|
telemetry2.trackCliSubcommandTag(subcommandOriginal);
|
|
77434
|
-
return (await import("./chunks/tags-
|
|
77461
|
+
return (await import("./chunks/tags-CMBXR3FL.js")).default(client, args, telemetry2);
|
|
77435
77462
|
case "image":
|
|
77436
77463
|
telemetry2.trackCliSubcommandImage(subcommandOriginal);
|
|
77437
|
-
return (await import("./chunks/image-
|
|
77464
|
+
return (await import("./chunks/image-QCNVSQFC.js")).default(client, args, telemetry2);
|
|
77438
77465
|
case "permissions":
|
|
77439
77466
|
telemetry2.trackCliSubcommandPermissions(subcommandOriginal);
|
|
77440
|
-
return (await import("./chunks/permissions-
|
|
77467
|
+
return (await import("./chunks/permissions-6SA56V2A.js")).default(client, args, telemetry2);
|
|
77441
77468
|
default:
|
|
77442
77469
|
output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG55));
|
|
77443
77470
|
output_manager_default.print(help(vcrCommand, { columns: client.stderr.columns }));
|
package/dist/help.js
CHANGED
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
help
|
|
9
|
-
} from "./chunks/chunk-
|
|
9
|
+
} from "./chunks/chunk-KJBZ5ZST.js";
|
|
10
10
|
import "./chunks/chunk-S7KYDPEM.js";
|
|
11
11
|
import "./chunks/chunk-TZ2YI2VH.js";
|
|
12
12
|
export {
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunks/chunk-O26N2UPI.js";
|
|
10
10
|
import {
|
|
11
11
|
help
|
|
12
|
-
} from "./chunks/chunk-
|
|
12
|
+
} from "./chunks/chunk-KJBZ5ZST.js";
|
|
13
13
|
import {
|
|
14
14
|
box,
|
|
15
15
|
canAutoUpdate,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
matchesCliApiTag,
|
|
21
21
|
setAutoUpdate,
|
|
22
22
|
tryOpenApiFallback
|
|
23
|
-
} from "./chunks/chunk-
|
|
23
|
+
} from "./chunks/chunk-LD3Q3MUI.js";
|
|
24
24
|
import "./chunks/chunk-FGDKMNEN.js";
|
|
25
25
|
import {
|
|
26
26
|
getUpdateCommand
|
|
27
|
-
} from "./chunks/chunk-
|
|
27
|
+
} from "./chunks/chunk-HK2IYHVR.js";
|
|
28
28
|
import {
|
|
29
29
|
promptMissingCredentials
|
|
30
|
-
} from "./chunks/chunk-
|
|
30
|
+
} from "./chunks/chunk-FME4CIZL.js";
|
|
31
31
|
import {
|
|
32
32
|
require_ci_info
|
|
33
|
-
} from "./chunks/chunk-
|
|
33
|
+
} from "./chunks/chunk-22GK226I.js";
|
|
34
34
|
import {
|
|
35
35
|
Client,
|
|
36
36
|
getAuthConfigFilePath,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
readAuthConfigFile,
|
|
39
39
|
readConfigFile,
|
|
40
40
|
writeToConfigFile
|
|
41
|
-
} from "./chunks/chunk-
|
|
41
|
+
} from "./chunks/chunk-52P3DIMH.js";
|
|
42
42
|
import {
|
|
43
43
|
getGlobalPathConfig,
|
|
44
44
|
highlight
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
commandNames,
|
|
52
52
|
commands
|
|
53
|
-
} from "./chunks/chunk-
|
|
53
|
+
} from "./chunks/chunk-LDZFKXIR.js";
|
|
54
54
|
import "./chunks/chunk-7Q45OKWR.js";
|
|
55
55
|
import "./chunks/chunk-GY5I4AYD.js";
|
|
56
56
|
import "./chunks/chunk-CJV7J7B5.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
require_semver
|
|
70
70
|
} from "./chunks/chunk-IB5L4LKZ.js";
|
|
71
71
|
import "./chunks/chunk-FWKSJYDV.js";
|
|
72
|
-
import "./chunks/chunk-
|
|
72
|
+
import "./chunks/chunk-I526H4AS.js";
|
|
73
73
|
import {
|
|
74
74
|
getLinkFromDir,
|
|
75
75
|
getScope,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
require_dist as require_dist2,
|
|
84
84
|
require_lib,
|
|
85
85
|
resolveAppTokenScope
|
|
86
|
-
} from "./chunks/chunk-
|
|
86
|
+
} from "./chunks/chunk-OHQJEOP7.js";
|
|
87
87
|
import "./chunks/chunk-FXD67VN5.js";
|
|
88
88
|
import {
|
|
89
89
|
TelemetryClient,
|
package/dist/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "59.
|
|
1
|
+
export const version = "59.9.1";
|
|
2
2
|
export const buildLabel = "";
|