vercel 51.5.0 → 51.6.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-RNQLGEYS.js → add-JALB3DKU.js} +6 -6
- package/dist/chunks/{chunk-DKFFXOHJ.js → chunk-34IM6J7A.js} +5 -2
- package/dist/chunks/{chunk-D2D4FJ6S.js → chunk-3N3AYMMW.js} +33 -18
- package/dist/chunks/{chunk-SG4QOQTF.js → chunk-4X7GBE5B.js} +101 -53
- package/dist/chunks/{chunk-5VKKTHMP.js → chunk-553A6UFX.js} +10 -6
- package/dist/chunks/{chunk-6C33Y3DC.js → chunk-5KFTN63Q.js} +8 -8
- package/dist/chunks/{chunk-TAOVG4PS.js → chunk-7L4XVUFK.js} +2 -2
- package/dist/chunks/{chunk-4DR2FV6O.js → chunk-BBW6EGBQ.js} +1 -1
- package/dist/chunks/{chunk-LDXYSGPZ.js → chunk-C7UTFMYF.js} +2 -2
- package/dist/chunks/chunk-CHUU7VXC.js +2314 -0
- package/dist/chunks/{chunk-BHDZCUTT.js → chunk-DAOAZ2VQ.js} +1 -1
- package/dist/chunks/{chunk-CRZM5WM2.js → chunk-DED5G3HZ.js} +1 -1
- package/dist/chunks/{chunk-G6RXZLQ2.js → chunk-DF4AVQY3.js} +2 -2
- package/dist/chunks/{chunk-HNU5CXW4.js → chunk-FH2OHGXG.js} +2 -2
- package/dist/chunks/{chunk-7MF47FW3.js → chunk-FY3TMBQS.js} +1 -1
- package/dist/chunks/{chunk-5NTBJ33M.js → chunk-HUPHOH2F.js} +1 -1
- package/dist/chunks/{chunk-DVQ4SIWF.js → chunk-LUCCJW67.js} +1 -1
- package/dist/chunks/{chunk-NKJC5SI4.js → chunk-LUJPLXGG.js} +2 -2
- package/dist/chunks/{chunk-VGWGLBUC.js → chunk-MCTAPJSL.js} +1 -1
- package/dist/chunks/{chunk-L2JUC7NX.js → chunk-MGJMZIIT.js} +1 -1
- package/dist/chunks/{chunk-FBY3IEDZ.js → chunk-MUJZV257.js} +8 -8
- package/dist/chunks/{chunk-BJQTGP42.js → chunk-PVZBM6NU.js} +1 -1
- package/dist/chunks/{chunk-BRQBLRFB.js → chunk-QFP6FEBN.js} +1 -1
- package/dist/chunks/{chunk-7ZDERWUW.js → chunk-QHXUBID6.js} +2 -2
- package/dist/chunks/{chunk-HQXVCOH6.js → chunk-RW7LIX2Y.js} +1 -1
- package/dist/chunks/{chunk-AUSDBXUD.js → chunk-U73MZTAR.js} +2 -2
- package/dist/chunks/{chunk-537JTK2U.js → chunk-UG4457SI.js} +260 -102
- package/dist/chunks/{chunk-RFMC2QXQ.js → chunk-VDM5O3P6.js} +3 -3
- package/dist/chunks/{chunk-GE6G37P4.js → chunk-WCTFUOSJ.js} +1 -1
- package/dist/chunks/chunk-WYRFA4PX.js +692 -0
- package/dist/chunks/{chunk-UWKTUK3W.js → chunk-XLKXWNRG.js} +1 -1
- package/dist/chunks/{chunk-P56KWLXY.js → chunk-Z66S4G43.js} +1 -1
- package/dist/chunks/{compile-vercel-config-ZVY7LBE3.js → compile-vercel-config-V2SHBZFW.js} +2 -2
- package/dist/chunks/{delete-SKTJMJNP.js → delete-5RI2PRIT.js} +4 -4
- package/dist/chunks/{disable-AG7I6DPV.js → disable-JPKO7VCV.js} +4 -4
- package/dist/chunks/{discard-LUK6LBLT.js → discard-KXGXXDNX.js} +4 -4
- package/dist/chunks/{edit-3BR5HP3U.js → edit-VFUE5PVU.js} +5 -5
- package/dist/chunks/{enable-4JNLOKSM.js → enable-V2AX2FXX.js} +4 -4
- package/dist/chunks/{export-YLZ6QSHG.js → export-BG3TOT6G.js} +4 -4
- package/dist/chunks/{inspect-HUJLUQAV.js → inspect-3QVCZVKV.js} +6 -6
- package/dist/chunks/{list-RMA56KYZ.js → list-CWTYXKB5.js} +7 -7
- package/dist/chunks/{list-EPU4SB3E.js → list-Y2YMJWEY.js} +4 -4
- package/dist/chunks/{ls-7HHDYE6F.js → ls-SY2CP56I.js} +6 -6
- package/dist/chunks/{publish-6YE4OUDI.js → publish-75IJ4PZS.js} +4 -4
- package/dist/chunks/{query-X6Q4ZSZO.js → query-MLMGNGL2.js} +5 -5
- package/dist/chunks/{reorder-VFM23ESC.js → reorder-757V4BF5.js} +4 -4
- package/dist/chunks/{restore-VX34SXVF.js → restore-KV44XHFS.js} +4 -4
- package/dist/chunks/{rm-5KXF2PY3.js → rm-3EGKFLKW.js} +6 -6
- package/dist/chunks/{rule-inspect-JG7AE5TI.js → rule-inspect-AYUGCLVJ.js} +6 -6
- package/dist/chunks/{rules-XRJBT22L.js → rules-FUFDJOIP.js} +6 -6
- package/dist/chunks/{schema-IMD4VV73.js → schema-CI2XUYTW.js} +6 -6
- package/dist/chunks/{types-QNN5CDCB.js → types-M7LVCA3E.js} +3 -3
- package/dist/chunks/{update-4FMWTIJK.js → update-6EM4XIDW.js} +6 -6
- package/dist/commands/build/index.js +57 -34
- package/dist/commands/deploy/index.js +23 -24
- package/dist/commands/dev/index.js +56 -31
- package/dist/commands/env/index.js +36 -22
- package/dist/commands/link/index.js +21 -21
- package/dist/commands/list/index.js +7 -7
- package/dist/commands-bulk.js +1671 -2533
- package/dist/index.js +41 -21
- package/dist/version.mjs +1 -1
- package/package.json +19 -19
- package/dist/chunks/chunk-6CWW4JIG.js +0 -310
- package/dist/chunks/chunk-O7SQKNIT.js +0 -247
- package/dist/chunks/chunk-RJD5NYGF.js +0 -149
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-RW7LIX2Y.js";
|
|
13
|
+
import "./chunk-QHXUBID6.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-MGJMZIIT.js";
|
|
16
16
|
import {
|
|
17
17
|
validateJsonOutput
|
|
18
18
|
} from "./chunk-XPKWKPWA.js";
|
|
19
19
|
import {
|
|
20
20
|
rulesAddSubcommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LUCCJW67.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
24
|
} from "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-UG4457SI.js";
|
|
26
26
|
import "./chunk-U3WLEFHU.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
getFlagsSpecification,
|
|
34
34
|
parseArguments,
|
|
35
35
|
printError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-VDM5O3P6.js";
|
|
37
37
|
import {
|
|
38
38
|
isAPIError,
|
|
39
39
|
packageName
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-IB5L4LKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_execa
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FY3TMBQS.js";
|
|
13
13
|
import {
|
|
14
14
|
VERCEL_DIR,
|
|
15
15
|
readJSONFile,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
require_lib,
|
|
19
19
|
require_minimatch,
|
|
20
20
|
require_pluralize
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UG4457SI.js";
|
|
22
22
|
import {
|
|
23
23
|
CantParseJSONFile,
|
|
24
24
|
cmd,
|
|
@@ -11397,6 +11397,9 @@ function injectServiceEnvVars(lambda, service, stripServiceRoutePrefix = false)
|
|
|
11397
11397
|
if (service?.type) {
|
|
11398
11398
|
lambda.environment.VERCEL_SERVICE_TYPE = service.type;
|
|
11399
11399
|
}
|
|
11400
|
+
if (service?.trigger) {
|
|
11401
|
+
lambda.environment.VERCEL_SERVICE_TRIGGER = service.trigger;
|
|
11402
|
+
}
|
|
11400
11403
|
if (service?.routePrefix && service.routePrefix !== "/") {
|
|
11401
11404
|
lambda.environment.VERCEL_SERVICE_ROUTE_PREFIX = service.routePrefix;
|
|
11402
11405
|
}
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getLocalPathConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LUJPLXGG.js";
|
|
10
10
|
import {
|
|
11
11
|
table
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WCTFUOSJ.js";
|
|
13
13
|
import {
|
|
14
14
|
VERCEL_DIR_PROJECT,
|
|
15
15
|
VERCEL_DIR_README,
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
selectAndParseRemoteUrl,
|
|
37
37
|
selectOrg,
|
|
38
38
|
writeServicesConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-UG4457SI.js";
|
|
40
40
|
import {
|
|
41
41
|
printError
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VDM5O3P6.js";
|
|
43
43
|
import {
|
|
44
44
|
CantParseJSONFile,
|
|
45
45
|
ProjectNotFound,
|
|
@@ -144,7 +144,11 @@ async function readConfig(dir) {
|
|
|
144
144
|
|
|
145
145
|
// src/util/input/display-services.ts
|
|
146
146
|
var import_frameworks = __toESM(require_frameworks(), 1);
|
|
147
|
-
import {
|
|
147
|
+
import {
|
|
148
|
+
getServiceQueueTopics,
|
|
149
|
+
isQueueTriggeredService,
|
|
150
|
+
isScheduleTriggeredService
|
|
151
|
+
} from "@vercel/build-utils";
|
|
148
152
|
var chalk2 = require_source();
|
|
149
153
|
var frameworksBySlug = new Map(import_frameworks.frameworkList.map((f) => [f.slug, f]));
|
|
150
154
|
var frameworkColors = {
|
|
@@ -189,10 +193,15 @@ function formatRoutePrefix(routePrefix) {
|
|
|
189
193
|
const normalized = routePrefix.startsWith("/") ? routePrefix : `/${routePrefix}`;
|
|
190
194
|
return `${normalized}/*`;
|
|
191
195
|
}
|
|
196
|
+
var jobTriggerLabels = {
|
|
197
|
+
queue: "Job/Queue",
|
|
198
|
+
schedule: "Job/Schedule",
|
|
199
|
+
workflow: "Job/Workflow"
|
|
200
|
+
};
|
|
192
201
|
function getServiceDescriptionInfo(service) {
|
|
193
|
-
if (service.type === "
|
|
194
|
-
const typeLabel = service.type === "
|
|
195
|
-
const typeColorFn = service.type === "
|
|
202
|
+
if (service.type === "worker" || service.type === "job" || service.type === "cron") {
|
|
203
|
+
const typeLabel = service.type === "worker" ? "Worker" : jobTriggerLabels[service.trigger ?? ""] ?? "Job";
|
|
204
|
+
const typeColorFn = service.type === "worker" ? chalk2.magenta : chalk2.cyan;
|
|
196
205
|
if (service.runtime) {
|
|
197
206
|
const runtimeName = service.runtime.charAt(0).toUpperCase() + service.runtime.slice(1);
|
|
198
207
|
const runtimeColorFn = runtimeColors[service.runtime] || chalk2.yellow;
|
|
@@ -215,21 +224,27 @@ function getServiceDescriptionInfo(service) {
|
|
|
215
224
|
return { label: "unknown", colorFn: chalk2.dim };
|
|
216
225
|
}
|
|
217
226
|
function getServiceTarget(service) {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
return `schedule: ${service.schedule ?? "none"}`;
|
|
221
|
-
case "worker": {
|
|
222
|
-
const topics = getWorkerTopics(service);
|
|
223
|
-
return `topics: ${topics.join(", ")}`;
|
|
224
|
-
}
|
|
225
|
-
default:
|
|
226
|
-
return service.routePrefix ? formatRoutePrefix(service.routePrefix) : "no route";
|
|
227
|
+
if (isScheduleTriggeredService(service)) {
|
|
228
|
+
return `schedule: ${service.schedule ?? "none"}`;
|
|
227
229
|
}
|
|
230
|
+
if (isQueueTriggeredService(service)) {
|
|
231
|
+
const topics = getServiceQueueTopics(service);
|
|
232
|
+
return `topics: ${topics.join(", ")}`;
|
|
233
|
+
}
|
|
234
|
+
if (service.type === "job" && service.trigger === "workflow") {
|
|
235
|
+
return "workflow";
|
|
236
|
+
}
|
|
237
|
+
return service.routePrefix ? formatRoutePrefix(service.routePrefix) : "no route";
|
|
228
238
|
}
|
|
229
239
|
function displayDetectedServices(services) {
|
|
230
240
|
output_manager_default.print(`Detected services:
|
|
231
241
|
`);
|
|
232
|
-
const outputOrder = {
|
|
242
|
+
const outputOrder = {
|
|
243
|
+
web: 0,
|
|
244
|
+
cron: 1,
|
|
245
|
+
job: 1,
|
|
246
|
+
worker: 2
|
|
247
|
+
};
|
|
233
248
|
const sorted = [...services].sort(
|
|
234
249
|
(a, b) => (outputOrder[a.type] ?? 3) - (outputOrder[b.type] ?? 3)
|
|
235
250
|
);
|
|
@@ -6,29 +6,29 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
routesCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DED5G3HZ.js";
|
|
10
10
|
import {
|
|
11
11
|
metricsCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DAOAZ2VQ.js";
|
|
13
13
|
import {
|
|
14
14
|
devCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PVZBM6NU.js";
|
|
16
16
|
import {
|
|
17
17
|
activityCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XLKXWNRG.js";
|
|
19
19
|
import {
|
|
20
20
|
alertsCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7L4XVUFK.js";
|
|
22
22
|
import {
|
|
23
23
|
listCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MCTAPJSL.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WYRFA4PX.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-UG4457SI.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
limitOption,
|
|
38
38
|
nextOption,
|
|
39
39
|
yesOption
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VDM5O3P6.js";
|
|
41
41
|
import {
|
|
42
42
|
packageName
|
|
43
43
|
} from "./chunk-ECRBC4HL.js";
|
|
@@ -693,7 +693,7 @@ var apiCommand = {
|
|
|
693
693
|
type: [String],
|
|
694
694
|
argument: "KEY=VALUE",
|
|
695
695
|
deprecated: false,
|
|
696
|
-
description: "Add a string
|
|
696
|
+
description: "Add a string option (no type parsing)"
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
699
|
name: "header",
|
|
@@ -1353,17 +1353,64 @@ var createSubcommand2 = {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
]
|
|
1355
1355
|
};
|
|
1356
|
+
var listSubcommand4 = {
|
|
1357
|
+
name: "list",
|
|
1358
|
+
aliases: ["ls"],
|
|
1359
|
+
description: "List Connex clients for the current team",
|
|
1360
|
+
arguments: [],
|
|
1361
|
+
options: [
|
|
1362
|
+
{
|
|
1363
|
+
name: "limit",
|
|
1364
|
+
shorthand: null,
|
|
1365
|
+
type: Number,
|
|
1366
|
+
argument: "COUNT",
|
|
1367
|
+
deprecated: false,
|
|
1368
|
+
description: "Number of clients to return per page"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
name: "next",
|
|
1372
|
+
shorthand: null,
|
|
1373
|
+
type: String,
|
|
1374
|
+
argument: "CURSOR",
|
|
1375
|
+
deprecated: false,
|
|
1376
|
+
description: "Cursor for the next page of results"
|
|
1377
|
+
},
|
|
1378
|
+
formatOption
|
|
1379
|
+
],
|
|
1380
|
+
examples: [
|
|
1381
|
+
{
|
|
1382
|
+
name: "List Connex clients for the current team",
|
|
1383
|
+
value: `${packageName} connex list`
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
name: "Limit the number of results",
|
|
1387
|
+
value: `${packageName} connex list --limit 10`
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
name: "Fetch the next page of results",
|
|
1391
|
+
value: `${packageName} connex list --next <cursor>`
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
name: "Output as JSON",
|
|
1395
|
+
value: `${packageName} connex list --format=json`
|
|
1396
|
+
}
|
|
1397
|
+
]
|
|
1398
|
+
};
|
|
1356
1399
|
var connexCommand = {
|
|
1357
1400
|
name: "connex",
|
|
1358
1401
|
aliases: [],
|
|
1359
1402
|
description: "Manage Vercel Connect clients",
|
|
1360
1403
|
arguments: [],
|
|
1361
1404
|
options: [],
|
|
1362
|
-
subcommands: [createSubcommand2],
|
|
1405
|
+
subcommands: [createSubcommand2, listSubcommand4],
|
|
1363
1406
|
examples: [
|
|
1364
1407
|
{
|
|
1365
1408
|
name: "Create a Slack app",
|
|
1366
1409
|
value: `${packageName} connex create slack`
|
|
1410
|
+
},
|
|
1411
|
+
{
|
|
1412
|
+
name: "List Connex clients on the current team",
|
|
1413
|
+
value: `${packageName} connex list`
|
|
1367
1414
|
}
|
|
1368
1415
|
]
|
|
1369
1416
|
};
|
|
@@ -1422,7 +1469,7 @@ var addSubcommand3 = {
|
|
|
1422
1469
|
}
|
|
1423
1470
|
]
|
|
1424
1471
|
};
|
|
1425
|
-
var
|
|
1472
|
+
var listSubcommand5 = {
|
|
1426
1473
|
name: "list",
|
|
1427
1474
|
aliases: ["ls"],
|
|
1428
1475
|
description: "List all cron jobs for a project",
|
|
@@ -1463,7 +1510,7 @@ var cronsCommand = {
|
|
|
1463
1510
|
aliases: ["cron"],
|
|
1464
1511
|
description: "Manage cron jobs for a project",
|
|
1465
1512
|
arguments: [],
|
|
1466
|
-
subcommands: [addSubcommand3,
|
|
1513
|
+
subcommands: [addSubcommand3, listSubcommand5, runSubcommand],
|
|
1467
1514
|
options: [],
|
|
1468
1515
|
examples: []
|
|
1469
1516
|
};
|
|
@@ -1538,7 +1585,7 @@ var projectOption = {
|
|
|
1538
1585
|
description: "Project name or ID (defaults to the linked project)",
|
|
1539
1586
|
deprecated: false
|
|
1540
1587
|
};
|
|
1541
|
-
var
|
|
1588
|
+
var listSubcommand6 = {
|
|
1542
1589
|
name: "list",
|
|
1543
1590
|
aliases: ["ls"],
|
|
1544
1591
|
description: "List deploy hooks for a project",
|
|
@@ -1603,7 +1650,7 @@ var deployHooksCommand = {
|
|
|
1603
1650
|
aliases: ["deploy-hook"],
|
|
1604
1651
|
description: "Manage deploy hooks for Git-triggered builds",
|
|
1605
1652
|
arguments: [],
|
|
1606
|
-
subcommands: [
|
|
1653
|
+
subcommands: [listSubcommand6, createSubcommand3, removeSubcommand3],
|
|
1607
1654
|
options: [],
|
|
1608
1655
|
examples: []
|
|
1609
1656
|
};
|
|
@@ -1626,7 +1673,7 @@ var importSubcommand = {
|
|
|
1626
1673
|
options: [],
|
|
1627
1674
|
examples: []
|
|
1628
1675
|
};
|
|
1629
|
-
var
|
|
1676
|
+
var listSubcommand7 = {
|
|
1630
1677
|
name: "list",
|
|
1631
1678
|
aliases: ["ls"],
|
|
1632
1679
|
description: "List all DNS entries for a domain",
|
|
@@ -1683,7 +1730,7 @@ var dnsCommand = {
|
|
|
1683
1730
|
subcommands: [
|
|
1684
1731
|
addSubcommand4,
|
|
1685
1732
|
importSubcommand,
|
|
1686
|
-
|
|
1733
|
+
listSubcommand7,
|
|
1687
1734
|
removeSubcommand4
|
|
1688
1735
|
],
|
|
1689
1736
|
options: [],
|
|
@@ -1734,7 +1781,7 @@ var dnsCommand = {
|
|
|
1734
1781
|
};
|
|
1735
1782
|
|
|
1736
1783
|
// src/commands/domains/command.ts
|
|
1737
|
-
var
|
|
1784
|
+
var listSubcommand8 = {
|
|
1738
1785
|
name: "list",
|
|
1739
1786
|
aliases: ["ls"],
|
|
1740
1787
|
description: "Show all domains in a list",
|
|
@@ -1895,7 +1942,7 @@ var domainsCommand = {
|
|
|
1895
1942
|
description: "Manage domains",
|
|
1896
1943
|
arguments: [],
|
|
1897
1944
|
subcommands: [
|
|
1898
|
-
|
|
1945
|
+
listSubcommand8,
|
|
1899
1946
|
inspectSubcommand,
|
|
1900
1947
|
addSubcommand5,
|
|
1901
1948
|
buySubcommand,
|
|
@@ -1909,7 +1956,7 @@ var domainsCommand = {
|
|
|
1909
1956
|
};
|
|
1910
1957
|
|
|
1911
1958
|
// src/commands/edge-config/command.ts
|
|
1912
|
-
var
|
|
1959
|
+
var listSubcommand9 = {
|
|
1913
1960
|
name: "list",
|
|
1914
1961
|
aliases: ["ls"],
|
|
1915
1962
|
description: "List Edge Config stores for the current team",
|
|
@@ -2069,7 +2116,7 @@ var edgeConfigCommand = {
|
|
|
2069
2116
|
description: "Manage Edge Config stores (dashboard API parity)",
|
|
2070
2117
|
arguments: [],
|
|
2071
2118
|
subcommands: [
|
|
2072
|
-
|
|
2119
|
+
listSubcommand9,
|
|
2073
2120
|
addSubcommand6,
|
|
2074
2121
|
getSubcommand,
|
|
2075
2122
|
updateSubcommand,
|
|
@@ -2971,7 +3018,7 @@ var firewallCommand = {
|
|
|
2971
3018
|
};
|
|
2972
3019
|
|
|
2973
3020
|
// src/commands/flags/command.ts
|
|
2974
|
-
var
|
|
3021
|
+
var listSubcommand10 = {
|
|
2975
3022
|
name: "list",
|
|
2976
3023
|
aliases: ["ls"],
|
|
2977
3024
|
description: "List all feature flags for the current project",
|
|
@@ -3617,7 +3664,7 @@ var flagsCommand = {
|
|
|
3617
3664
|
hidden: true,
|
|
3618
3665
|
arguments: [],
|
|
3619
3666
|
subcommands: [
|
|
3620
|
-
|
|
3667
|
+
listSubcommand10,
|
|
3621
3668
|
inspectSubcommand2,
|
|
3622
3669
|
createSubcommand4,
|
|
3623
3670
|
openSubcommand,
|
|
@@ -4140,7 +4187,7 @@ var installationsSubcommand = {
|
|
|
4140
4187
|
}
|
|
4141
4188
|
]
|
|
4142
4189
|
};
|
|
4143
|
-
var
|
|
4190
|
+
var listSubcommand11 = {
|
|
4144
4191
|
name: "list",
|
|
4145
4192
|
aliases: ["ls"],
|
|
4146
4193
|
description: "List resources from marketplace integrations for the current project",
|
|
@@ -4416,7 +4463,7 @@ var integrationCommand = {
|
|
|
4416
4463
|
discoverSubcommand,
|
|
4417
4464
|
guideSubcommand,
|
|
4418
4465
|
installationsSubcommand,
|
|
4419
|
-
|
|
4466
|
+
listSubcommand11,
|
|
4420
4467
|
openSubcommand2,
|
|
4421
4468
|
updateSubcommand3,
|
|
4422
4469
|
removeSubcommand8
|
|
@@ -5429,7 +5476,7 @@ var inspectSubcommand3 = {
|
|
|
5429
5476
|
}
|
|
5430
5477
|
]
|
|
5431
5478
|
};
|
|
5432
|
-
var
|
|
5479
|
+
var listSubcommand12 = {
|
|
5433
5480
|
name: "list",
|
|
5434
5481
|
aliases: ["ls"],
|
|
5435
5482
|
description: "Show all projects in the selected scope",
|
|
@@ -5808,7 +5855,7 @@ var projectCommand = {
|
|
|
5808
5855
|
accessSummarySubcommand,
|
|
5809
5856
|
checksSubcommand,
|
|
5810
5857
|
inspectSubcommand3,
|
|
5811
|
-
|
|
5858
|
+
listSubcommand12,
|
|
5812
5859
|
membersSubcommand,
|
|
5813
5860
|
accessGroupsSubcommand,
|
|
5814
5861
|
protectionSubcommand,
|
|
@@ -5928,7 +5975,7 @@ var redeployCommand = {
|
|
|
5928
5975
|
};
|
|
5929
5976
|
|
|
5930
5977
|
// src/commands/redirects/command.ts
|
|
5931
|
-
var
|
|
5978
|
+
var listSubcommand13 = {
|
|
5932
5979
|
name: "list",
|
|
5933
5980
|
aliases: ["ls"],
|
|
5934
5981
|
description: "List all redirects for the current project. These redirects apply to all deployments and environments. There may also be redirects defined in a deployment that are not listed here.",
|
|
@@ -6192,7 +6239,7 @@ var redirectsCommand = {
|
|
|
6192
6239
|
description: "Manage redirects for a project. Redirects managed at the project level apply to all deployments and environments and take effect immediately after being created and promoted to production.",
|
|
6193
6240
|
arguments: [],
|
|
6194
6241
|
subcommands: [
|
|
6195
|
-
|
|
6242
|
+
listSubcommand13,
|
|
6196
6243
|
listVersionsSubcommand,
|
|
6197
6244
|
addSubcommand9,
|
|
6198
6245
|
uploadSubcommand,
|
|
@@ -6579,7 +6626,7 @@ var skillsCommand = {
|
|
|
6579
6626
|
};
|
|
6580
6627
|
|
|
6581
6628
|
// src/commands/target/command.ts
|
|
6582
|
-
var
|
|
6629
|
+
var listSubcommand14 = {
|
|
6583
6630
|
name: "list",
|
|
6584
6631
|
aliases: ["ls"],
|
|
6585
6632
|
description: "List targets defined for the current Project",
|
|
@@ -6603,7 +6650,7 @@ var targetCommand = {
|
|
|
6603
6650
|
aliases: ["targets"],
|
|
6604
6651
|
description: `Manage your Vercel Project's "targets" (custom environments).`,
|
|
6605
6652
|
arguments: [],
|
|
6606
|
-
subcommands: [
|
|
6653
|
+
subcommands: [listSubcommand14],
|
|
6607
6654
|
options: [],
|
|
6608
6655
|
examples: []
|
|
6609
6656
|
};
|
|
@@ -6663,7 +6710,7 @@ var addSubcommand10 = {
|
|
|
6663
6710
|
}
|
|
6664
6711
|
]
|
|
6665
6712
|
};
|
|
6666
|
-
var
|
|
6713
|
+
var listSubcommand15 = {
|
|
6667
6714
|
name: "list",
|
|
6668
6715
|
aliases: ["ls"],
|
|
6669
6716
|
description: "Show all teams that you're a member of",
|
|
@@ -6769,7 +6816,7 @@ var teamsCommand = {
|
|
|
6769
6816
|
subcommands: [
|
|
6770
6817
|
addSubcommand10,
|
|
6771
6818
|
inviteSubcommand,
|
|
6772
|
-
|
|
6819
|
+
listSubcommand15,
|
|
6773
6820
|
requestSubcommand,
|
|
6774
6821
|
switchSubcommand,
|
|
6775
6822
|
ssoSubcommand,
|
|
@@ -6780,7 +6827,7 @@ var teamsCommand = {
|
|
|
6780
6827
|
};
|
|
6781
6828
|
|
|
6782
6829
|
// src/commands/tokens/command.ts
|
|
6783
|
-
var
|
|
6830
|
+
var listSubcommand16 = {
|
|
6784
6831
|
name: "list",
|
|
6785
6832
|
aliases: ["ls"],
|
|
6786
6833
|
description: "List your personal authentication tokens",
|
|
@@ -6853,7 +6900,7 @@ var tokensCommand = {
|
|
|
6853
6900
|
aliases: [],
|
|
6854
6901
|
description: "Manage your personal Vercel authentication tokens",
|
|
6855
6902
|
arguments: [],
|
|
6856
|
-
subcommands: [addSubcommand11,
|
|
6903
|
+
subcommands: [addSubcommand11, listSubcommand16, removeSubcommand13],
|
|
6857
6904
|
options: [],
|
|
6858
6905
|
examples: []
|
|
6859
6906
|
};
|
|
@@ -7066,7 +7113,7 @@ var environmentOption = {
|
|
|
7066
7113
|
argument: "ENV",
|
|
7067
7114
|
description: "Environment to connect (can be repeated: production, preview, development). Defaults to all when --yes is used."
|
|
7068
7115
|
};
|
|
7069
|
-
var
|
|
7116
|
+
var listSubcommand17 = {
|
|
7070
7117
|
name: "list",
|
|
7071
7118
|
aliases: ["ls"],
|
|
7072
7119
|
description: "List all files in the Blob store",
|
|
@@ -7434,7 +7481,7 @@ var blobCommand = {
|
|
|
7434
7481
|
description: "Interact with Vercel Blob",
|
|
7435
7482
|
arguments: [],
|
|
7436
7483
|
subcommands: [
|
|
7437
|
-
|
|
7484
|
+
listSubcommand17,
|
|
7438
7485
|
putSubcommand,
|
|
7439
7486
|
getSubcommand2,
|
|
7440
7487
|
delSubcommand,
|
|
@@ -7459,7 +7506,7 @@ var blobCommand = {
|
|
|
7459
7506
|
};
|
|
7460
7507
|
|
|
7461
7508
|
// src/commands/webhooks/command.ts
|
|
7462
|
-
var
|
|
7509
|
+
var listSubcommand18 = {
|
|
7463
7510
|
name: "list",
|
|
7464
7511
|
aliases: ["ls"],
|
|
7465
7512
|
description: "Show all webhooks",
|
|
@@ -7545,7 +7592,7 @@ var webhooksCommand = {
|
|
|
7545
7592
|
description: "Manage webhooks",
|
|
7546
7593
|
arguments: [],
|
|
7547
7594
|
subcommands: [
|
|
7548
|
-
|
|
7595
|
+
listSubcommand18,
|
|
7549
7596
|
getSubcommand3,
|
|
7550
7597
|
createSubcommand5,
|
|
7551
7598
|
removeSubcommand14
|
|
@@ -7676,10 +7723,11 @@ export {
|
|
|
7676
7723
|
addSubcommand2 as addSubcommand,
|
|
7677
7724
|
certsCommand,
|
|
7678
7725
|
createSubcommand2,
|
|
7726
|
+
listSubcommand4,
|
|
7679
7727
|
connexCommand,
|
|
7680
7728
|
contractCommand,
|
|
7681
7729
|
addSubcommand3 as addSubcommand2,
|
|
7682
|
-
|
|
7730
|
+
listSubcommand5,
|
|
7683
7731
|
runSubcommand,
|
|
7684
7732
|
cronsCommand,
|
|
7685
7733
|
curlCommand,
|
|
@@ -7687,16 +7735,16 @@ export {
|
|
|
7687
7735
|
initSubcommand,
|
|
7688
7736
|
continueSubcommand,
|
|
7689
7737
|
deployCommand,
|
|
7690
|
-
|
|
7738
|
+
listSubcommand6,
|
|
7691
7739
|
createSubcommand3,
|
|
7692
7740
|
removeSubcommand3,
|
|
7693
7741
|
deployHooksCommand,
|
|
7694
7742
|
importSubcommand,
|
|
7695
|
-
|
|
7743
|
+
listSubcommand7,
|
|
7696
7744
|
addSubcommand4 as addSubcommand3,
|
|
7697
7745
|
removeSubcommand4,
|
|
7698
7746
|
dnsCommand,
|
|
7699
|
-
|
|
7747
|
+
listSubcommand8,
|
|
7700
7748
|
inspectSubcommand,
|
|
7701
7749
|
addSubcommand5 as addSubcommand4,
|
|
7702
7750
|
removeSubcommand5,
|
|
@@ -7705,7 +7753,7 @@ export {
|
|
|
7705
7753
|
moveSubcommand,
|
|
7706
7754
|
transferInSubcommand,
|
|
7707
7755
|
domainsCommand,
|
|
7708
|
-
|
|
7756
|
+
listSubcommand9,
|
|
7709
7757
|
addSubcommand6 as addSubcommand5,
|
|
7710
7758
|
getSubcommand,
|
|
7711
7759
|
updateSubcommand,
|
|
@@ -7741,7 +7789,7 @@ export {
|
|
|
7741
7789
|
systemMitigationsResumeSubcommand,
|
|
7742
7790
|
systemMitigationsSubcommand,
|
|
7743
7791
|
firewallCommand,
|
|
7744
|
-
|
|
7792
|
+
listSubcommand10,
|
|
7745
7793
|
inspectSubcommand2,
|
|
7746
7794
|
createSubcommand4,
|
|
7747
7795
|
openSubcommand,
|
|
@@ -7773,7 +7821,7 @@ export {
|
|
|
7773
7821
|
acceptTermsSubcommand,
|
|
7774
7822
|
openSubcommand2,
|
|
7775
7823
|
installationsSubcommand,
|
|
7776
|
-
|
|
7824
|
+
listSubcommand11,
|
|
7777
7825
|
discoverSubcommand,
|
|
7778
7826
|
balanceSubcommand,
|
|
7779
7827
|
updateSubcommand3,
|
|
@@ -7811,7 +7859,7 @@ export {
|
|
|
7811
7859
|
checksRemoveFlags,
|
|
7812
7860
|
checksSubcommand,
|
|
7813
7861
|
inspectSubcommand3,
|
|
7814
|
-
|
|
7862
|
+
listSubcommand12,
|
|
7815
7863
|
removeSubcommand11,
|
|
7816
7864
|
renameSubcommand,
|
|
7817
7865
|
tokenSubcommand,
|
|
@@ -7825,7 +7873,7 @@ export {
|
|
|
7825
7873
|
statusSubcommand2,
|
|
7826
7874
|
promoteCommand,
|
|
7827
7875
|
redeployCommand,
|
|
7828
|
-
|
|
7876
|
+
listSubcommand13,
|
|
7829
7877
|
listVersionsSubcommand,
|
|
7830
7878
|
addSubcommand9,
|
|
7831
7879
|
uploadSubcommand,
|
|
@@ -7844,17 +7892,17 @@ export {
|
|
|
7844
7892
|
fetchSubcommand,
|
|
7845
7893
|
rollingReleaseCommand,
|
|
7846
7894
|
skillsCommand,
|
|
7847
|
-
|
|
7895
|
+
listSubcommand14,
|
|
7848
7896
|
targetCommand,
|
|
7849
7897
|
requestSubcommand,
|
|
7850
7898
|
addSubcommand10,
|
|
7851
|
-
|
|
7899
|
+
listSubcommand15,
|
|
7852
7900
|
switchSubcommand,
|
|
7853
7901
|
inviteSubcommand,
|
|
7854
7902
|
ssoSubcommand,
|
|
7855
7903
|
membersSubcommand2,
|
|
7856
7904
|
teamsCommand,
|
|
7857
|
-
|
|
7905
|
+
listSubcommand16,
|
|
7858
7906
|
addSubcommand11,
|
|
7859
7907
|
removeSubcommand13,
|
|
7860
7908
|
tokensCommand,
|
|
@@ -7866,7 +7914,7 @@ export {
|
|
|
7866
7914
|
upgradeCommand,
|
|
7867
7915
|
usageCommand,
|
|
7868
7916
|
whoamiCommand,
|
|
7869
|
-
|
|
7917
|
+
listSubcommand17,
|
|
7870
7918
|
putSubcommand,
|
|
7871
7919
|
delSubcommand,
|
|
7872
7920
|
copySubcommand,
|
|
@@ -7880,7 +7928,7 @@ export {
|
|
|
7880
7928
|
getStoreInfoSubcommand,
|
|
7881
7929
|
listStoresSubcommand,
|
|
7882
7930
|
blobCommand,
|
|
7883
|
-
|
|
7931
|
+
listSubcommand18,
|
|
7884
7932
|
getSubcommand3,
|
|
7885
7933
|
createSubcommand5,
|
|
7886
7934
|
removeSubcommand14,
|
|
@@ -6,23 +6,24 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QFP6FEBN.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U73MZTAR.js";
|
|
13
13
|
import {
|
|
14
|
+
autoInstallVercelPlugin,
|
|
14
15
|
pullCommand
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WYRFA4PX.js";
|
|
16
17
|
import {
|
|
17
18
|
help
|
|
18
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-C7UTFMYF.js";
|
|
19
20
|
import {
|
|
20
21
|
VERCEL_DIR,
|
|
21
22
|
VERCEL_DIR_PROJECT,
|
|
22
23
|
envPullCommandLogic,
|
|
23
24
|
humanizePath,
|
|
24
25
|
parseTarget
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-UG4457SI.js";
|
|
26
27
|
import {
|
|
27
28
|
TelemetryClient
|
|
28
29
|
} from "./chunk-U3WLEFHU.js";
|
|
@@ -33,7 +34,7 @@ import {
|
|
|
33
34
|
getFlagsSpecification,
|
|
34
35
|
parseArguments,
|
|
35
36
|
printError
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-VDM5O3P6.js";
|
|
37
38
|
import {
|
|
38
39
|
emoji,
|
|
39
40
|
output_manager_default,
|
|
@@ -141,6 +142,9 @@ async function main(client) {
|
|
|
141
142
|
environment,
|
|
142
143
|
parsedArgs.flags
|
|
143
144
|
);
|
|
145
|
+
if (returnCode === 0 && !autoConfirm) {
|
|
146
|
+
await autoInstallVercelPlugin(client);
|
|
147
|
+
}
|
|
144
148
|
return returnCode;
|
|
145
149
|
}
|
|
146
150
|
async function pullCommandLogic(client, cwd, autoConfirm, environment, flags) {
|