vercel 53.4.0 → 54.0.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/dist/chunks/{add-FYITUY65.js → add-FEHGU5ZE.js} +8 -8
- package/dist/chunks/{chunk-X7KU44KR.js → chunk-23SNIB7J.js} +1 -1
- package/dist/chunks/{chunk-NIOGCTVR.js → chunk-2GC2GW2H.js} +2 -2
- package/dist/chunks/{chunk-WOWCXMTU.js → chunk-3CBPQ6CA.js} +1 -1
- package/dist/chunks/{chunk-KM7WTYJ4.js → chunk-4243WWHE.js} +4 -4
- package/dist/chunks/{chunk-SLWOG5CX.js → chunk-4I5SPKXV.js} +44 -44
- package/dist/chunks/{chunk-MW7BI4C2.js → chunk-4UJDQ2WM.js} +2 -2
- package/dist/chunks/{chunk-IVC36JQ5.js → chunk-4WPY4WO3.js} +6 -6
- package/dist/chunks/{chunk-EBEBY45K.js → chunk-4XB5UFP4.js} +2 -2
- package/dist/chunks/{chunk-KSIISCB2.js → chunk-5GZAC4CI.js} +1 -1
- package/dist/chunks/{chunk-KHDOCVQF.js → chunk-AH6RCY4L.js} +1 -1
- package/dist/chunks/{chunk-6EI6XOUG.js → chunk-DIOSHJ4H.js} +5 -5
- package/dist/chunks/{chunk-NF7HK5MP.js → chunk-DVV42VA6.js} +2 -2
- package/dist/chunks/{chunk-PU7YKGJI.js → chunk-DXZ5RVOC.js} +6 -6
- package/dist/chunks/{chunk-ZY4YCCXG.js → chunk-F6MUOB5B.js} +1 -1
- package/dist/chunks/{chunk-QGLS47RE.js → chunk-GRPLZLEB.js} +1 -1
- package/dist/chunks/{chunk-CMAHZSFA.js → chunk-GWM32SE3.js} +6 -3
- package/dist/chunks/{chunk-WZO6BNJ7.js → chunk-JWN6JMVY.js} +2 -2
- package/dist/chunks/{chunk-LBP7YFBV.js → chunk-KAC4IO5S.js} +150 -14
- package/dist/chunks/{chunk-44EL4BJL.js → chunk-LANWQ2NA.js} +9 -9
- package/dist/chunks/{chunk-KTULXE6M.js → chunk-MEAUBEGT.js} +3 -3
- package/dist/chunks/{chunk-3NSIZGHP.js → chunk-MWQHQ7FW.js} +3 -3
- package/dist/chunks/{chunk-YWCYZANP.js → chunk-MXSNLYVL.js} +6 -6
- package/dist/chunks/{chunk-HAJ2XRTQ.js → chunk-NQQWZYTY.js} +2 -2
- package/dist/chunks/{chunk-JZLADLMF.js → chunk-NVV6BWQP.js} +2 -2
- package/dist/chunks/{chunk-Z2ES2XHU.js → chunk-OGWD7VBC.js} +2 -2
- package/dist/chunks/{chunk-6447C5WV.js → chunk-OLJ6HISC.js} +3 -3
- package/dist/chunks/{chunk-GQLARSTH.js → chunk-P5NASM3L.js} +1 -1
- package/dist/chunks/{chunk-GCKUEAUE.js → chunk-Q5MHVELE.js} +2 -2
- package/dist/chunks/{chunk-IS56OO2J.js → chunk-S62XC5XL.js} +2 -2
- package/dist/chunks/{chunk-ONYQGA2O.js → chunk-S6EMI466.js} +2 -2
- package/dist/chunks/{chunk-73EVSBLA.js → chunk-TEDMSWBX.js} +2 -2
- package/dist/chunks/{chunk-5HTDIHTQ.js → chunk-TTEDSKHO.js} +4 -4
- package/dist/chunks/{chunk-4LDQIDKG.js → chunk-U5GMPX5T.js} +2 -2
- package/dist/chunks/{chunk-AXQNAI65.js → chunk-V6BFG564.js} +1 -1
- package/dist/chunks/{chunk-7TCOOSFP.js → chunk-VOXVKDJQ.js} +4 -4
- package/dist/chunks/{chunk-54T7XV3H.js → chunk-Y6X3VMO3.js} +1 -1
- package/dist/chunks/{compile-vercel-config-ED6WXKEL.js → compile-vercel-config-SGZPQDRN.js} +4 -4
- package/dist/chunks/{delete-FYRG67YL.js → delete-WMHTTHG3.js} +6 -6
- package/dist/chunks/{disable-T6JFY4LL.js → disable-QBDO6UIV.js} +6 -6
- package/dist/chunks/{discard-OLVACEPN.js → discard-GZZ553AR.js} +6 -6
- package/dist/chunks/{edit-JI2VCMGG.js → edit-H2BF2MZY.js} +7 -7
- package/dist/chunks/{enable-2W35HGRM.js → enable-YYWIMKHP.js} +6 -6
- package/dist/chunks/{export-FFMFMPGE.js → export-D3XBBQZD.js} +6 -6
- package/dist/chunks/{inspect-RDRV6BUD.js → inspect-LUCGK7HU.js} +8 -8
- package/dist/chunks/{list-5WGQ7F6P.js → list-EGJ7X43H.js} +6 -6
- package/dist/chunks/{list-F2GP6UZ7.js → list-WV3JSWCB.js} +9 -9
- package/dist/chunks/{ls-ZLHJPSZZ.js → ls-DXRXKG6Q.js} +8 -8
- package/dist/chunks/{publish-S2PGRBDP.js → publish-LW57QZ56.js} +6 -6
- package/dist/chunks/{query-G5K7DLLJ.js → query-AQSXA32P.js} +8 -8
- package/dist/chunks/{reorder-K5VXZ7F5.js → reorder-YJGPY7SA.js} +6 -6
- package/dist/chunks/{restore-QJYBYUIZ.js → restore-VANQDIFO.js} +6 -6
- package/dist/chunks/{rm-WCHM3XXB.js → rm-GNY6PA2Z.js} +8 -8
- package/dist/chunks/{rule-inspect-VMWUI4WH.js → rule-inspect-EECXOMPN.js} +8 -8
- package/dist/chunks/{rules-SOQXK4AE.js → rules-G2VMMW7U.js} +8 -8
- package/dist/chunks/{schema-2H2WLFJN.js → schema-4TUQAXX6.js} +9 -9
- package/dist/chunks/{types-7VDI75PV.js → types-54VLSVRV.js} +4 -4
- package/dist/chunks/{update-W6DZOFHV.js → update-GSE7WNBV.js} +8 -8
- package/dist/commands/build/index.js +43 -17
- package/dist/commands/deploy/index.js +24 -24
- package/dist/commands/dev/index.js +53 -28
- package/dist/commands/env/index.js +18 -18
- package/dist/commands/link/index.js +19 -19
- package/dist/commands/list/index.js +10 -10
- package/dist/commands-bulk.js +135 -145
- package/dist/index.js +22 -22
- package/dist/version.mjs +1 -1
- package/package.json +21 -21
|
@@ -9,35 +9,35 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-4UJDQ2WM.js";
|
|
13
|
+
import "./chunk-4243WWHE.js";
|
|
14
14
|
import "./chunk-HTOH3MSD.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
17
17
|
} from "./chunk-XPKWKPWA.js";
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-NVV6BWQP.js";
|
|
21
|
+
import "./chunk-TEDMSWBX.js";
|
|
22
22
|
import {
|
|
23
23
|
AGENT_REASON
|
|
24
24
|
} from "./chunk-E3NE4SKN.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-KAC4IO5S.js";
|
|
26
26
|
import "./chunk-4OEA5ILS.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
29
29
|
outputAgentError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-V6BFG564.js";
|
|
31
31
|
import "./chunk-CO5D46AG.js";
|
|
32
32
|
import {
|
|
33
33
|
getFlagsSpecification,
|
|
34
34
|
parseArguments,
|
|
35
35
|
printError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-P5NASM3L.js";
|
|
37
37
|
import {
|
|
38
38
|
isAPIError,
|
|
39
39
|
packageName
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-4XB5UFP4.js";
|
|
41
41
|
import {
|
|
42
42
|
output_manager_default
|
|
43
43
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
formatOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P5NASM3L.js";
|
|
10
10
|
import {
|
|
11
11
|
packageName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4XB5UFP4.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/metrics/command.ts
|
|
15
15
|
var schemaSubcommand = {
|
|
@@ -9,22 +9,22 @@ import {
|
|
|
9
9
|
} from "./chunk-HTOH3MSD.js";
|
|
10
10
|
import {
|
|
11
11
|
getScope
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TEDMSWBX.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON
|
|
15
15
|
} from "./chunk-E3NE4SKN.js";
|
|
16
16
|
import {
|
|
17
17
|
getLinkedProject,
|
|
18
18
|
getProjectByNameOrId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KAC4IO5S.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-V6BFG564.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectNotFound,
|
|
26
26
|
isAPIError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4XB5UFP4.js";
|
|
28
28
|
|
|
29
29
|
// src/commands/alerts/resolve-alerts-scope.ts
|
|
30
30
|
function emitAlertsScopeError(client, jsonOutput, code, message, agent) {
|
|
@@ -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-U5GMPX5T.js";
|
|
10
10
|
import {
|
|
11
11
|
metricsCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2GC2GW2H.js";
|
|
13
13
|
import {
|
|
14
14
|
devCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NQQWZYTY.js";
|
|
16
16
|
import {
|
|
17
17
|
activityCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Q5MHVELE.js";
|
|
19
19
|
import {
|
|
20
20
|
alertsCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MWQHQ7FW.js";
|
|
22
22
|
import {
|
|
23
23
|
listCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-S6EMI466.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OLJ6HISC.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KAC4IO5S.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
limitOption,
|
|
38
38
|
nextOption,
|
|
39
39
|
yesOption
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-P5NASM3L.js";
|
|
41
41
|
import {
|
|
42
42
|
packageName
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-4XB5UFP4.js";
|
|
44
44
|
import {
|
|
45
45
|
output_manager_default
|
|
46
46
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -580,7 +580,7 @@ var setSubcommand = {
|
|
|
580
580
|
default: true,
|
|
581
581
|
arguments: [
|
|
582
582
|
{
|
|
583
|
-
name: "
|
|
583
|
+
name: "id-or-url",
|
|
584
584
|
required: true
|
|
585
585
|
},
|
|
586
586
|
{
|
|
@@ -1328,7 +1328,7 @@ var certsCommand = {
|
|
|
1328
1328
|
var createSubcommand2 = {
|
|
1329
1329
|
name: "create",
|
|
1330
1330
|
aliases: [],
|
|
1331
|
-
description: "Create a new Connex
|
|
1331
|
+
description: "Create a new Connex connector",
|
|
1332
1332
|
arguments: [
|
|
1333
1333
|
{
|
|
1334
1334
|
name: "type",
|
|
@@ -1342,14 +1342,14 @@ var createSubcommand2 = {
|
|
|
1342
1342
|
type: String,
|
|
1343
1343
|
argument: "NAME",
|
|
1344
1344
|
deprecated: false,
|
|
1345
|
-
description: "Name of the Connex
|
|
1345
|
+
description: "Name of the Connex connector"
|
|
1346
1346
|
},
|
|
1347
1347
|
{
|
|
1348
1348
|
name: "triggers",
|
|
1349
1349
|
shorthand: null,
|
|
1350
1350
|
type: Boolean,
|
|
1351
1351
|
deprecated: false,
|
|
1352
|
-
description: "Enable webhook triggers for this
|
|
1352
|
+
description: "Enable webhook triggers for this connector"
|
|
1353
1353
|
},
|
|
1354
1354
|
formatOption
|
|
1355
1355
|
],
|
|
@@ -1375,7 +1375,7 @@ var createSubcommand2 = {
|
|
|
1375
1375
|
var listSubcommand4 = {
|
|
1376
1376
|
name: "list",
|
|
1377
1377
|
aliases: ["ls"],
|
|
1378
|
-
description: "List Connex
|
|
1378
|
+
description: "List Connex connectors linked to the current project (falls back to every connector in the team when no project is linked or when --all-projects is set)",
|
|
1379
1379
|
arguments: [],
|
|
1380
1380
|
options: [
|
|
1381
1381
|
{
|
|
@@ -1383,7 +1383,7 @@ var listSubcommand4 = {
|
|
|
1383
1383
|
shorthand: null,
|
|
1384
1384
|
type: Boolean,
|
|
1385
1385
|
deprecated: false,
|
|
1386
|
-
description: "List every Connex
|
|
1386
|
+
description: "List every Connex connector in the team, regardless of project link"
|
|
1387
1387
|
},
|
|
1388
1388
|
{
|
|
1389
1389
|
name: "limit",
|
|
@@ -1391,7 +1391,7 @@ var listSubcommand4 = {
|
|
|
1391
1391
|
type: Number,
|
|
1392
1392
|
argument: "COUNT",
|
|
1393
1393
|
deprecated: false,
|
|
1394
|
-
description: "Number of
|
|
1394
|
+
description: "Number of connectors to return per page"
|
|
1395
1395
|
},
|
|
1396
1396
|
{
|
|
1397
1397
|
name: "next",
|
|
@@ -1405,11 +1405,11 @@ var listSubcommand4 = {
|
|
|
1405
1405
|
],
|
|
1406
1406
|
examples: [
|
|
1407
1407
|
{
|
|
1408
|
-
name: "List Connex
|
|
1408
|
+
name: "List Connex connectors linked to the current project",
|
|
1409
1409
|
value: `${packageName} connex list`
|
|
1410
1410
|
},
|
|
1411
1411
|
{
|
|
1412
|
-
name: "List every Connex
|
|
1412
|
+
name: "List every Connex connector in the team",
|
|
1413
1413
|
value: `${packageName} connex list --all-projects`
|
|
1414
1414
|
},
|
|
1415
1415
|
{
|
|
@@ -1429,7 +1429,7 @@ var listSubcommand4 = {
|
|
|
1429
1429
|
var removeSubcommand3 = {
|
|
1430
1430
|
name: "remove",
|
|
1431
1431
|
aliases: ["rm"],
|
|
1432
|
-
description: "Delete a Connex
|
|
1432
|
+
description: "Delete a Connex connector",
|
|
1433
1433
|
arguments: [
|
|
1434
1434
|
{
|
|
1435
1435
|
name: "client",
|
|
@@ -1439,28 +1439,28 @@ var removeSubcommand3 = {
|
|
|
1439
1439
|
options: [
|
|
1440
1440
|
{
|
|
1441
1441
|
name: "disconnect-all",
|
|
1442
|
-
description: "Disconnects all projects from the
|
|
1442
|
+
description: "Disconnects all projects from the connector before deletion",
|
|
1443
1443
|
shorthand: "a",
|
|
1444
1444
|
type: Boolean,
|
|
1445
1445
|
deprecated: false
|
|
1446
1446
|
},
|
|
1447
1447
|
{
|
|
1448
1448
|
...yesOption,
|
|
1449
|
-
description: "Skip the confirmation prompt when deleting a
|
|
1449
|
+
description: "Skip the confirmation prompt when deleting a connector"
|
|
1450
1450
|
},
|
|
1451
1451
|
formatOption
|
|
1452
1452
|
],
|
|
1453
1453
|
examples: [
|
|
1454
1454
|
{
|
|
1455
|
-
name: "Delete a Connex
|
|
1455
|
+
name: "Delete a Connex connector by ID",
|
|
1456
1456
|
value: `${packageName} connex remove scl_abc123`
|
|
1457
1457
|
},
|
|
1458
1458
|
{
|
|
1459
|
-
name: "Delete a Connex
|
|
1459
|
+
name: "Delete a Connex connector by UID",
|
|
1460
1460
|
value: `${packageName} connex remove slack/my-bot`
|
|
1461
1461
|
},
|
|
1462
1462
|
{
|
|
1463
|
-
name: "Disconnect all projects from a
|
|
1463
|
+
name: "Disconnect all projects from a connector, then delete it",
|
|
1464
1464
|
value: [
|
|
1465
1465
|
`${packageName} connex remove scl_abc123 --disconnect-all`,
|
|
1466
1466
|
`${packageName} connex remove slack/my-bot -a`
|
|
@@ -1479,7 +1479,7 @@ var removeSubcommand3 = {
|
|
|
1479
1479
|
var tokenSubcommand = {
|
|
1480
1480
|
name: "token",
|
|
1481
1481
|
aliases: [],
|
|
1482
|
-
description: "Get a token for a Connex
|
|
1482
|
+
description: "Get a token for a Connex connector (accepts a connector ID like scl_abc or a UID like slack/my-bot)",
|
|
1483
1483
|
arguments: [
|
|
1484
1484
|
{
|
|
1485
1485
|
name: "id",
|
|
@@ -1493,7 +1493,7 @@ var tokenSubcommand = {
|
|
|
1493
1493
|
type: String,
|
|
1494
1494
|
argument: "TYPE",
|
|
1495
1495
|
deprecated: false,
|
|
1496
|
-
description: `Subject type: "user" (default, acts on behalf of you) or "app" (uses the
|
|
1496
|
+
description: `Subject type: "user" (default, acts on behalf of you) or "app" (uses the connector's default installation)`
|
|
1497
1497
|
},
|
|
1498
1498
|
{
|
|
1499
1499
|
name: "installation-id",
|
|
@@ -1501,7 +1501,7 @@ var tokenSubcommand = {
|
|
|
1501
1501
|
type: String,
|
|
1502
1502
|
argument: "ID",
|
|
1503
1503
|
deprecated: false,
|
|
1504
|
-
description: "Target a specific installation (only useful with --subject app; defaults to the
|
|
1504
|
+
description: "Target a specific installation (only useful with --subject app; defaults to the connector's default installation)"
|
|
1505
1505
|
},
|
|
1506
1506
|
{
|
|
1507
1507
|
name: "scopes",
|
|
@@ -1516,11 +1516,11 @@ var tokenSubcommand = {
|
|
|
1516
1516
|
],
|
|
1517
1517
|
examples: [
|
|
1518
1518
|
{
|
|
1519
|
-
name: "Get a user token by
|
|
1519
|
+
name: "Get a user token by connector ID",
|
|
1520
1520
|
value: `${packageName} connex token scl_abc123`
|
|
1521
1521
|
},
|
|
1522
1522
|
{
|
|
1523
|
-
name: "Get a token by
|
|
1523
|
+
name: "Get a token by connector UID",
|
|
1524
1524
|
value: `${packageName} connex token slack/my-bot`
|
|
1525
1525
|
},
|
|
1526
1526
|
{
|
|
@@ -1544,7 +1544,7 @@ var tokenSubcommand = {
|
|
|
1544
1544
|
var openSubcommand = {
|
|
1545
1545
|
name: "open",
|
|
1546
1546
|
aliases: [],
|
|
1547
|
-
description: "Open a Connex
|
|
1547
|
+
description: "Open a Connex connector in the Vercel dashboard",
|
|
1548
1548
|
arguments: [
|
|
1549
1549
|
{
|
|
1550
1550
|
name: "id",
|
|
@@ -1554,11 +1554,11 @@ var openSubcommand = {
|
|
|
1554
1554
|
options: [formatOption],
|
|
1555
1555
|
examples: [
|
|
1556
1556
|
{
|
|
1557
|
-
name: "Open a
|
|
1557
|
+
name: "Open a connector by ID",
|
|
1558
1558
|
value: `${packageName} connex open scl_abc123`
|
|
1559
1559
|
},
|
|
1560
1560
|
{
|
|
1561
|
-
name: "Open a
|
|
1561
|
+
name: "Open a connector by UID",
|
|
1562
1562
|
value: `${packageName} connex open slack/my-bot`
|
|
1563
1563
|
},
|
|
1564
1564
|
{
|
|
@@ -1570,7 +1570,7 @@ var openSubcommand = {
|
|
|
1570
1570
|
var attachSubcommand = {
|
|
1571
1571
|
name: "attach",
|
|
1572
1572
|
aliases: [],
|
|
1573
|
-
description: "Attach a Vercel project to a Connex
|
|
1573
|
+
description: "Attach a Vercel project to a Connex connector for one or more environments",
|
|
1574
1574
|
arguments: [
|
|
1575
1575
|
{
|
|
1576
1576
|
name: "client",
|
|
@@ -1602,7 +1602,7 @@ var attachSubcommand = {
|
|
|
1602
1602
|
],
|
|
1603
1603
|
examples: [
|
|
1604
1604
|
{
|
|
1605
|
-
name: "Attach the current project to a
|
|
1605
|
+
name: "Attach the current project to a connector for all environments",
|
|
1606
1606
|
value: `${packageName} connex attach scl_abc123`
|
|
1607
1607
|
},
|
|
1608
1608
|
{
|
|
@@ -1622,7 +1622,7 @@ var attachSubcommand = {
|
|
|
1622
1622
|
var connexCommand = {
|
|
1623
1623
|
name: "connex",
|
|
1624
1624
|
aliases: [],
|
|
1625
|
-
description: "Manage Vercel Connect
|
|
1625
|
+
description: "Manage Vercel Connect connectors",
|
|
1626
1626
|
arguments: [],
|
|
1627
1627
|
options: [],
|
|
1628
1628
|
subcommands: [
|
|
@@ -1639,7 +1639,7 @@ var connexCommand = {
|
|
|
1639
1639
|
value: `${packageName} connex create slack`
|
|
1640
1640
|
},
|
|
1641
1641
|
{
|
|
1642
|
-
name: "List Connex
|
|
1642
|
+
name: "List Connex connectors on the current team",
|
|
1643
1643
|
value: `${packageName} connex list`
|
|
1644
1644
|
},
|
|
1645
1645
|
{
|
|
@@ -1647,11 +1647,11 @@ var connexCommand = {
|
|
|
1647
1647
|
value: `${packageName} connex token scl_abc123`
|
|
1648
1648
|
},
|
|
1649
1649
|
{
|
|
1650
|
-
name: "Attach the current project to a
|
|
1650
|
+
name: "Attach the current project to a connector",
|
|
1651
1651
|
value: `${packageName} connex attach scl_abc123`
|
|
1652
1652
|
},
|
|
1653
1653
|
{
|
|
1654
|
-
name: "Open a
|
|
1654
|
+
name: "Open a connector in the dashboard",
|
|
1655
1655
|
value: `${packageName} connex open scl_abc123`
|
|
1656
1656
|
}
|
|
1657
1657
|
]
|
|
@@ -5046,14 +5046,14 @@ var logsCommand = {
|
|
|
5046
5046
|
shorthand: "f",
|
|
5047
5047
|
type: Boolean,
|
|
5048
5048
|
deprecated: false,
|
|
5049
|
-
description: "Stream live runtime logs
|
|
5049
|
+
description: "Stream live runtime logs for a deployment"
|
|
5050
5050
|
},
|
|
5051
5051
|
{
|
|
5052
5052
|
name: "no-follow",
|
|
5053
5053
|
shorthand: null,
|
|
5054
5054
|
type: Boolean,
|
|
5055
5055
|
deprecated: false,
|
|
5056
|
-
description: "
|
|
5056
|
+
description: "No-op; deployment arguments only stream logs when --follow is set"
|
|
5057
5057
|
},
|
|
5058
5058
|
{
|
|
5059
5059
|
name: "query",
|
|
@@ -5101,11 +5101,11 @@ var logsCommand = {
|
|
|
5101
5101
|
examples: [
|
|
5102
5102
|
{
|
|
5103
5103
|
name: "Stream live logs for a deployment URL",
|
|
5104
|
-
value: `${packageName} logs https://my-app-xxxxx.vercel.app`
|
|
5104
|
+
value: `${packageName} logs https://my-app-xxxxx.vercel.app --follow`
|
|
5105
5105
|
},
|
|
5106
5106
|
{
|
|
5107
5107
|
name: "Stream live logs for a deployment ID",
|
|
5108
|
-
value: `${packageName} logs dpl_xxxxx`
|
|
5108
|
+
value: `${packageName} logs dpl_xxxxx --follow`
|
|
5109
5109
|
},
|
|
5110
5110
|
{
|
|
5111
5111
|
name: "Display recent logs for the linked project",
|
|
@@ -5117,7 +5117,7 @@ var logsCommand = {
|
|
|
5117
5117
|
},
|
|
5118
5118
|
{
|
|
5119
5119
|
name: "Display logs for a specific deployment (historical)",
|
|
5120
|
-
value: `${packageName} logs dpl_xxxxx
|
|
5120
|
+
value: `${packageName} logs dpl_xxxxx`
|
|
5121
5121
|
},
|
|
5122
5122
|
{
|
|
5123
5123
|
name: "Filter logs by status code and output as JSON",
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveAlertsScope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4243WWHE.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
buildCommandWithGlobalFlags,
|
|
20
20
|
outputAgentError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-V6BFG564.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/alerts/rules/parse-scope.ts
|
|
24
24
|
async function parseRulesFlagsAndScope(client, flags, jsonOutput) {
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-V5P25P7F.js";
|
|
10
10
|
import {
|
|
11
11
|
ua_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3CBPQ6CA.js";
|
|
13
13
|
import {
|
|
14
14
|
getLocalPathConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MEAUBEGT.js";
|
|
16
16
|
import {
|
|
17
17
|
autoInstallVercelPlugin
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OLJ6HISC.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
21
21
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
useKeypress,
|
|
41
41
|
usePrefix,
|
|
42
42
|
useState
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KAC4IO5S.js";
|
|
44
44
|
import {
|
|
45
45
|
require_load_json_file
|
|
46
46
|
} from "./chunk-4OEA5ILS.js";
|
|
@@ -48,12 +48,12 @@ import {
|
|
|
48
48
|
parseArguments,
|
|
49
49
|
printError,
|
|
50
50
|
require_strip_ansi
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-P5NASM3L.js";
|
|
52
52
|
import {
|
|
53
53
|
APIError,
|
|
54
54
|
NowError,
|
|
55
55
|
getCommandName
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4XB5UFP4.js";
|
|
57
57
|
import {
|
|
58
58
|
emoji,
|
|
59
59
|
link_default,
|
|
@@ -573,11 +573,11 @@ var NotDomainOwner = class extends NowError {
|
|
|
573
573
|
}
|
|
574
574
|
};
|
|
575
575
|
var InvalidDeploymentId = class extends NowError {
|
|
576
|
-
constructor(id) {
|
|
576
|
+
constructor(id, message) {
|
|
577
577
|
super({
|
|
578
578
|
code: "INVALID_DEPLOYMENT_ID",
|
|
579
579
|
meta: { id },
|
|
580
|
-
message: `The deployment id "${id}" is not valid.`
|
|
580
|
+
message: message || `The deployment id "${id}" is not valid.`
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
583
|
};
|
|
@@ -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-MEAUBEGT.js";
|
|
10
10
|
import {
|
|
11
11
|
table
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5GZAC4CI.js";
|
|
13
13
|
import {
|
|
14
14
|
VERCEL_DIR_PROJECT,
|
|
15
15
|
VERCEL_DIR_README,
|
|
@@ -42,15 +42,15 @@ import {
|
|
|
42
42
|
selectAndParseRemoteUrl,
|
|
43
43
|
selectOrg,
|
|
44
44
|
writeServicesConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-KAC4IO5S.js";
|
|
46
46
|
import {
|
|
47
47
|
printError
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-P5NASM3L.js";
|
|
49
49
|
import {
|
|
50
50
|
CantParseJSONFile,
|
|
51
51
|
ProjectNotFound,
|
|
52
52
|
isAPIError
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4XB5UFP4.js";
|
|
54
54
|
import {
|
|
55
55
|
output_manager_default
|
|
56
56
|
} from "./chunk-ZQKJVHXY.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
table
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5GZAC4CI.js";
|
|
10
10
|
import {
|
|
11
11
|
require_strip_ansi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P5NASM3L.js";
|
|
13
13
|
import {
|
|
14
14
|
require_source
|
|
15
15
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -6,24 +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-Y6X3VMO3.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TTEDSKHO.js";
|
|
13
13
|
import {
|
|
14
14
|
autoInstallVercelPlugin,
|
|
15
15
|
pullCommand
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OLJ6HISC.js";
|
|
17
17
|
import {
|
|
18
18
|
help
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-S62XC5XL.js";
|
|
20
20
|
import {
|
|
21
21
|
VERCEL_DIR,
|
|
22
22
|
VERCEL_DIR_PROJECT,
|
|
23
23
|
envPullCommandLogic,
|
|
24
24
|
humanizePath,
|
|
25
25
|
parseTarget
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-KAC4IO5S.js";
|
|
27
27
|
import {
|
|
28
28
|
TelemetryClient
|
|
29
29
|
} from "./chunk-4OEA5ILS.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
getFlagsSpecification,
|
|
35
35
|
parseArguments,
|
|
36
36
|
printError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-P5NASM3L.js";
|
|
38
38
|
import {
|
|
39
39
|
emoji,
|
|
40
40
|
output_manager_default,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-IB5L4LKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_execa
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F6MUOB5B.js";
|
|
13
13
|
import {
|
|
14
14
|
VERCEL_DIR,
|
|
15
15
|
readJSONFile,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
require_lib,
|
|
19
19
|
require_minimatch,
|
|
20
20
|
require_pluralize
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KAC4IO5S.js";
|
|
22
22
|
import {
|
|
23
23
|
CantParseJSONFile,
|
|
24
24
|
cmd,
|
|
25
25
|
code
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4XB5UFP4.js";
|
|
27
27
|
import {
|
|
28
28
|
output_manager_default,
|
|
29
29
|
require_dist
|
|
@@ -11421,6 +11421,9 @@ function isFile(v) {
|
|
|
11421
11421
|
return type === "FileRef" || type === "FileFsRef" || type === "FileBlob";
|
|
11422
11422
|
}
|
|
11423
11423
|
function injectServiceEnvVars(lambda, service, stripServiceRoutePrefix = false) {
|
|
11424
|
+
if (service?.name) {
|
|
11425
|
+
lambda.environment.VERCEL_SERVICE_NAME = service.name;
|
|
11426
|
+
}
|
|
11424
11427
|
if (service?.type) {
|
|
11425
11428
|
lambda.environment.VERCEL_SERVICE_TYPE = service.type;
|
|
11426
11429
|
}
|
|
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
STANDARD_ENVIRONMENTS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KAC4IO5S.js";
|
|
10
10
|
import {
|
|
11
11
|
getCommandName,
|
|
12
12
|
require_lib
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4XB5UFP4.js";
|
|
14
14
|
import {
|
|
15
15
|
output_manager_default
|
|
16
16
|
} from "./chunk-ZQKJVHXY.js";
|