vercel 54.14.1 → 54.14.2
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-INSQH24S.js → add-PKT6ULVJ.js} +6 -6
- package/dist/chunks/{chunk-DAKMPPIS.js → chunk-2HN6DLIY.js} +1 -1
- package/dist/chunks/{chunk-467YGYFK.js → chunk-2XEEOHHH.js} +1 -1
- package/dist/chunks/{chunk-J4LCBXF2.js → chunk-2ZSXQQXI.js} +5 -5
- package/dist/chunks/{chunk-P6VIXOWO.js → chunk-372SHB43.js} +5 -5
- package/dist/chunks/{chunk-NMGGBH7K.js → chunk-3BR246Y6.js} +1 -1
- package/dist/chunks/{chunk-74VEZPM6.js → chunk-4BFK3C7V.js} +2 -2
- package/dist/chunks/{chunk-FMN3NXRC.js → chunk-56AJHIQC.js} +1 -1
- package/dist/chunks/{chunk-UPI3OHBK.js → chunk-AWD3IGXU.js} +2 -2
- package/dist/chunks/{chunk-IQQJHYW4.js → chunk-DPS62LHL.js} +2 -2
- package/dist/chunks/{chunk-F6SCQ6XU.js → chunk-FEYVO2US.js} +6 -6
- package/dist/chunks/{chunk-L7U3Z7E4.js → chunk-FLW73SZ3.js} +2 -2
- package/dist/chunks/{chunk-YQPAAXUU.js → chunk-G3NXHUFT.js} +1 -1
- package/dist/chunks/{chunk-WFRHKZFI.js → chunk-IB56QKCM.js} +1 -1
- package/dist/chunks/{chunk-ZTPOJE63.js → chunk-IJJOI63T.js} +1 -1
- package/dist/chunks/{chunk-ZRJQY3VK.js → chunk-ILJH44MK.js} +1 -1
- package/dist/chunks/{chunk-5QKYBWW2.js → chunk-IPWWE7PB.js} +1 -1
- package/dist/chunks/{chunk-UEFCAT3N.js → chunk-J7BMPRCU.js} +2 -2
- package/dist/chunks/{chunk-MKB32SJZ.js → chunk-JISJDGJF.js} +1 -1
- package/dist/chunks/{chunk-XLLAD5DR.js → chunk-LQR3CHMH.js} +1 -1
- package/dist/chunks/{chunk-4NDOMD3E.js → chunk-LYCSVJIX.js} +1 -1
- package/dist/chunks/{chunk-6IQZVQV6.js → chunk-MYWLF3BZ.js} +18 -0
- package/dist/chunks/{chunk-4WQGP4Z4.js → chunk-O4V7CMVO.js} +6 -6
- package/dist/chunks/{chunk-F4WXNECT.js → chunk-O7RJHL34.js} +57 -29
- package/dist/chunks/{chunk-P2AMQX7F.js → chunk-OHIZ4SVU.js} +3 -3
- package/dist/chunks/{chunk-JFWE5ORG.js → chunk-P4KQ3FJ4.js} +1 -0
- package/dist/chunks/{chunk-UJ3ZCBUA.js → chunk-SDZ5ICZL.js} +2 -2
- package/dist/chunks/{chunk-NGRSQRSN.js → chunk-SGPBULVT.js} +1 -1
- package/dist/chunks/{chunk-RM4XGGZO.js → chunk-TSENBD7C.js} +2 -2
- package/dist/chunks/{chunk-O4C4A7HM.js → chunk-VKRW77HH.js} +1 -1
- package/dist/chunks/{chunk-FKNOCLZU.js → chunk-YLGMXYFG.js} +2 -2
- package/dist/chunks/{chunk-TVBXGFEL.js → chunk-Z3X747P6.js} +1 -1
- package/dist/chunks/{compile-vercel-config-VPPGDFKL.js → compile-vercel-config-3LV7J3IZ.js} +2 -2
- package/dist/chunks/{delete-O3EHQHYD.js → delete-GFW6Y6TZ.js} +4 -4
- package/dist/chunks/{disable-GJDQC34I.js → disable-PGRAS2ZL.js} +4 -4
- package/dist/chunks/{discard-UZT23XN2.js → discard-S6N5Q4G5.js} +4 -4
- package/dist/chunks/{edit-PEQIROSE.js → edit-TICKX4ZV.js} +5 -5
- package/dist/chunks/{enable-ACNEAJ5S.js → enable-L3BYWN6S.js} +4 -4
- package/dist/chunks/{export-ZICIQKHJ.js → export-NXS33U5T.js} +4 -4
- package/dist/chunks/{inspect-PUFF7LND.js → inspect-OOI5JN3Y.js} +6 -6
- package/dist/chunks/{list-FWUV4NO4.js → list-6EHRL2D4.js} +4 -4
- package/dist/chunks/{list-L2UFHHQ7.js → list-77WL6463.js} +7 -7
- package/dist/chunks/{ls-6HVFGIQS.js → ls-PBSOEXFG.js} +6 -6
- package/dist/chunks/{publish-HKTAQMYG.js → publish-CU2THVYW.js} +4 -4
- package/dist/chunks/{query-VQ5HDMFO.js → query-HEATRYAK.js} +5 -5
- package/dist/chunks/{reorder-CVMW6VL7.js → reorder-IQVKSM3H.js} +4 -4
- package/dist/chunks/{restore-32NXH4EH.js → restore-RDEOBGAS.js} +4 -4
- package/dist/chunks/{rm-7TPDWMJZ.js → rm-MCSGTU4J.js} +6 -6
- package/dist/chunks/{rule-inspect-PQORU3SU.js → rule-inspect-3YK2XSL3.js} +6 -6
- package/dist/chunks/{rules-VIITOYFN.js → rules-F4MRDDHM.js} +6 -6
- package/dist/chunks/{schema-AECGMSF5.js → schema-65C5EBJ7.js} +6 -6
- package/dist/chunks/{types-P6JKZFEY.js → types-3R7HKP57.js} +3 -3
- package/dist/chunks/{update-J4QCT3GS.js → update-XB4WSRGY.js} +6 -6
- package/dist/commands/build/index.js +12 -12
- package/dist/commands/deploy/index.js +20 -20
- package/dist/commands/dev/index.js +183 -128
- package/dist/commands/dev/next-dev-websocket-shim-preload.cjs +190 -0
- package/dist/commands/env/index.js +15 -15
- package/dist/commands/link/index.js +17 -17
- package/dist/commands/list/index.js +7 -7
- package/dist/commands-bulk.js +69 -52
- package/dist/help.js +1 -1
- package/dist/index.js +19 -19
- package/dist/version.mjs +1 -1
- package/package.json +12 -12
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
handleRulesApiError,
|
|
10
10
|
parseRulesFlagsAndScope,
|
|
11
11
|
rulesCollectionPath
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-JISJDGJF.js";
|
|
13
|
+
import "./chunk-FLW73SZ3.js";
|
|
14
14
|
import "./chunk-D7MGZH35.js";
|
|
15
15
|
import {
|
|
16
16
|
validateJsonOutput
|
|
17
17
|
} from "./chunk-XPKWKPWA.js";
|
|
18
18
|
import {
|
|
19
19
|
rulesAddSubcommand
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SGPBULVT.js";
|
|
21
21
|
import {
|
|
22
22
|
AGENT_REASON
|
|
23
23
|
} from "./chunk-LJ5WXXG6.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-G3NXHUFT.js";
|
|
25
|
+
import "./chunk-LQR3CHMH.js";
|
|
26
26
|
import "./chunk-HIYWSGI7.js";
|
|
27
27
|
import {
|
|
28
28
|
buildCommandWithGlobalFlags,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
getFlagsSpecification,
|
|
35
35
|
parseArguments,
|
|
36
36
|
printError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
38
38
|
import {
|
|
39
39
|
isAPIError,
|
|
40
40
|
packageName
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
printIndications,
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OHIZ4SVU.js";
|
|
13
13
|
import {
|
|
14
14
|
suggestNextCommands
|
|
15
15
|
} from "./chunk-LKBI43XK.js";
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
} from "./chunk-TCF6MGBY.js";
|
|
20
20
|
import {
|
|
21
21
|
CommandTimeout
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-O7RJHL34.js";
|
|
23
23
|
import {
|
|
24
24
|
stamp_default
|
|
25
25
|
} from "./chunk-64IF634X.js";
|
|
26
26
|
import {
|
|
27
27
|
getScope
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G3NXHUFT.js";
|
|
29
29
|
import {
|
|
30
30
|
getProjectByNameOrId,
|
|
31
31
|
param,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
require_pluralize,
|
|
35
35
|
showPluginTipIfNeeded,
|
|
36
36
|
ua_default
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-LQR3CHMH.js";
|
|
38
38
|
import {
|
|
39
39
|
require_lib
|
|
40
40
|
} from "./chunk-N2T234LO.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
require_strip_ansi,
|
|
46
46
|
responseError
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
48
48
|
import {
|
|
49
49
|
APIError,
|
|
50
50
|
BuildError,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-LJ5WXXG6.js";
|
|
11
11
|
import {
|
|
12
12
|
getLocalPathConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4BFK3C7V.js";
|
|
14
14
|
import {
|
|
15
15
|
getScope
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G3NXHUFT.js";
|
|
17
17
|
import {
|
|
18
18
|
VERCEL_DIR_PROJECT,
|
|
19
19
|
VERCEL_DIR_README,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
selectAndParseRemoteUrl,
|
|
49
49
|
selectOrg,
|
|
50
50
|
writeServicesConfig
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-LQR3CHMH.js";
|
|
52
52
|
import {
|
|
53
53
|
buildCommandWithGlobalFlags,
|
|
54
54
|
outputAgentError,
|
|
@@ -56,10 +56,10 @@ import {
|
|
|
56
56
|
} from "./chunk-NHGCQRK5.js";
|
|
57
57
|
import {
|
|
58
58
|
table
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-LYCSVJIX.js";
|
|
60
60
|
import {
|
|
61
61
|
printError
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
63
63
|
import {
|
|
64
64
|
CantParseJSONFile,
|
|
65
65
|
ProjectNotFound,
|
|
@@ -7,10 +7,10 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
isVercelTomlEnabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LQR3CHMH.js";
|
|
11
11
|
import {
|
|
12
12
|
parseArguments
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
14
14
|
import {
|
|
15
15
|
ConflictingConfigFiles,
|
|
16
16
|
DeprecatedNowJson,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
noBorderChars,
|
|
12
12
|
require_cli_table3
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LYCSVJIX.js";
|
|
14
14
|
import {
|
|
15
15
|
globalCommandOptions
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
17
17
|
import {
|
|
18
18
|
require_source
|
|
19
19
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
rulesAggregateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SGPBULVT.js";
|
|
10
10
|
import {
|
|
11
11
|
formatOption,
|
|
12
12
|
limitOption,
|
|
13
13
|
projectOption
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
15
15
|
import {
|
|
16
16
|
packageName
|
|
17
17
|
} from "./chunk-LN6B7ZI3.js";
|
|
@@ -7,22 +7,22 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IPWWE7PB.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig,
|
|
13
13
|
writeToConfigFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OHIZ4SVU.js";
|
|
15
15
|
import {
|
|
16
16
|
apiCommand,
|
|
17
17
|
listSubcommand2 as listSubcommand,
|
|
18
18
|
loginCommand
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-O7RJHL34.js";
|
|
20
20
|
import {
|
|
21
21
|
help
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AWD3IGXU.js";
|
|
23
23
|
import {
|
|
24
24
|
login
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LQR3CHMH.js";
|
|
26
26
|
import {
|
|
27
27
|
TelemetryClient,
|
|
28
28
|
isNativeBinaryInstall
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
parseArguments,
|
|
36
36
|
printError,
|
|
37
37
|
require_strip_ansi
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
39
39
|
import {
|
|
40
40
|
packageName
|
|
41
41
|
} from "./chunk-LN6B7ZI3.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
} from "./chunk-LJ5WXXG6.js";
|
|
13
13
|
import {
|
|
14
14
|
getScope
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G3NXHUFT.js";
|
|
16
16
|
import {
|
|
17
17
|
getLinkedProject,
|
|
18
18
|
getProjectByNameOrId
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LQR3CHMH.js";
|
|
20
20
|
import {
|
|
21
21
|
buildCommandWithGlobalFlags,
|
|
22
22
|
outputAgentError
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-LJ5WXXG6.js";
|
|
11
11
|
import {
|
|
12
12
|
getLinkedProject
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LQR3CHMH.js";
|
|
14
14
|
import {
|
|
15
15
|
buildCommandWithYes,
|
|
16
16
|
outputAgentError
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getGlobalFlagsOnlyFromArgs,
|
|
21
21
|
parseArguments,
|
|
22
22
|
printError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
24
24
|
import {
|
|
25
25
|
getCommandName,
|
|
26
26
|
getCommandNamePlain
|
|
@@ -453,6 +453,22 @@ var projectOption = {
|
|
|
453
453
|
description: "Project name or ID (defaults to the linked project)",
|
|
454
454
|
deprecated: false
|
|
455
455
|
};
|
|
456
|
+
var deploymentOption = {
|
|
457
|
+
name: "deployment",
|
|
458
|
+
shorthand: null,
|
|
459
|
+
type: String,
|
|
460
|
+
deprecated: false,
|
|
461
|
+
description: "The deployment ID or URL to target",
|
|
462
|
+
argument: "ID|URL"
|
|
463
|
+
};
|
|
464
|
+
var protectionBypassOption = {
|
|
465
|
+
name: "protection-bypass",
|
|
466
|
+
shorthand: null,
|
|
467
|
+
type: String,
|
|
468
|
+
deprecated: false,
|
|
469
|
+
description: "Protection bypass secret for accessing protected deployments",
|
|
470
|
+
argument: "SECRET"
|
|
471
|
+
};
|
|
456
472
|
var GLOBAL_LONG_TO_OPT = /* @__PURE__ */ new Map();
|
|
457
473
|
var GLOBAL_SHORT_TO_OPT = /* @__PURE__ */ new Map();
|
|
458
474
|
for (const opt of globalCommandOptions) {
|
|
@@ -603,6 +619,8 @@ export {
|
|
|
603
619
|
jsonOption,
|
|
604
620
|
allOption,
|
|
605
621
|
projectOption,
|
|
622
|
+
deploymentOption,
|
|
623
|
+
protectionBypassOption,
|
|
606
624
|
getGlobalFlagsOnlyFromArgs,
|
|
607
625
|
getCommandNameWithGlobalFlags,
|
|
608
626
|
getArgs,
|
|
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2XEEOHHH.js";
|
|
10
10
|
import {
|
|
11
11
|
stamp_default
|
|
12
12
|
} from "./chunk-64IF634X.js";
|
|
13
13
|
import {
|
|
14
14
|
ensureLink
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YLGMXYFG.js";
|
|
16
16
|
import {
|
|
17
17
|
pullCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SDZ5ICZL.js";
|
|
19
19
|
import {
|
|
20
20
|
help
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AWD3IGXU.js";
|
|
22
22
|
import {
|
|
23
23
|
VERCEL_DIR,
|
|
24
24
|
VERCEL_DIR_PROJECT,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
envPullCommandLogic,
|
|
27
27
|
humanizePath,
|
|
28
28
|
parseTarget
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LQR3CHMH.js";
|
|
30
30
|
import {
|
|
31
31
|
TelemetryClient
|
|
32
32
|
} from "./chunk-HIYWSGI7.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
getFlagsSpecification,
|
|
35
35
|
parseArguments,
|
|
36
36
|
printError
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
38
38
|
import {
|
|
39
39
|
emoji,
|
|
40
40
|
output_manager_default,
|
|
@@ -6,39 +6,41 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
metricsCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ILJH44MK.js";
|
|
10
10
|
import {
|
|
11
11
|
routesCommand
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IB56QKCM.js";
|
|
13
13
|
import {
|
|
14
14
|
alertsCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DPS62LHL.js";
|
|
16
16
|
import {
|
|
17
17
|
devCommand
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VKRW77HH.js";
|
|
19
19
|
import {
|
|
20
20
|
activityCommand
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-56AJHIQC.js";
|
|
22
22
|
import {
|
|
23
23
|
listCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IJJOI63T.js";
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SDZ5ICZL.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LQR3CHMH.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
|
+
deploymentOption,
|
|
34
35
|
forceOption,
|
|
35
36
|
formatOption,
|
|
36
37
|
jsonOption,
|
|
37
38
|
limitOption,
|
|
38
39
|
nextOption,
|
|
39
40
|
projectOption,
|
|
41
|
+
protectionBypassOption,
|
|
40
42
|
yesOption
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
42
44
|
import {
|
|
43
45
|
packageName
|
|
44
46
|
} from "./chunk-LN6B7ZI3.js";
|
|
@@ -2193,22 +2195,8 @@ var curlCommand = {
|
|
|
2193
2195
|
...yesOption,
|
|
2194
2196
|
description: "Skip confirmation when linking is required (e.g. in non-interactive mode)"
|
|
2195
2197
|
},
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
shorthand: null,
|
|
2199
|
-
type: String,
|
|
2200
|
-
deprecated: false,
|
|
2201
|
-
description: "The deployment ID or URL to target",
|
|
2202
|
-
argument: "ID|URL"
|
|
2203
|
-
},
|
|
2204
|
-
{
|
|
2205
|
-
name: "protection-bypass",
|
|
2206
|
-
shorthand: null,
|
|
2207
|
-
type: String,
|
|
2208
|
-
deprecated: false,
|
|
2209
|
-
description: "Protection bypass secret for accessing protected deployments",
|
|
2210
|
-
argument: "SECRET"
|
|
2211
|
-
},
|
|
2198
|
+
deploymentOption,
|
|
2199
|
+
protectionBypassOption,
|
|
2212
2200
|
{
|
|
2213
2201
|
name: "trace",
|
|
2214
2202
|
shorthand: null,
|
|
@@ -8081,12 +8069,47 @@ var getSubcommand2 = {
|
|
|
8081
8069
|
}
|
|
8082
8070
|
]
|
|
8083
8071
|
};
|
|
8072
|
+
var createSubcommand5 = {
|
|
8073
|
+
name: "create",
|
|
8074
|
+
aliases: [],
|
|
8075
|
+
description: "Capture a session trace for a request (alias for `vercel curl --trace`).",
|
|
8076
|
+
arguments: [{ name: "path", required: true }],
|
|
8077
|
+
options: [
|
|
8078
|
+
deploymentOption,
|
|
8079
|
+
protectionBypassOption,
|
|
8080
|
+
{
|
|
8081
|
+
name: "json",
|
|
8082
|
+
shorthand: null,
|
|
8083
|
+
type: Boolean,
|
|
8084
|
+
deprecated: false,
|
|
8085
|
+
description: "Emit { response, requestId } as JSON on stdout"
|
|
8086
|
+
},
|
|
8087
|
+
{
|
|
8088
|
+
...yesOption,
|
|
8089
|
+
description: "Skip the production confirmation prompt (e.g. in non-interactive mode)"
|
|
8090
|
+
}
|
|
8091
|
+
],
|
|
8092
|
+
examples: [
|
|
8093
|
+
{
|
|
8094
|
+
name: "Capture a session trace for a request",
|
|
8095
|
+
value: `${packageName} traces create /api/hello`
|
|
8096
|
+
},
|
|
8097
|
+
{
|
|
8098
|
+
name: "Target a specific deployment",
|
|
8099
|
+
value: `${packageName} traces create /api/status --deployment https://your-project-abc123.vercel.app`
|
|
8100
|
+
},
|
|
8101
|
+
{
|
|
8102
|
+
name: "Pass curl flags after the separator",
|
|
8103
|
+
value: `${packageName} traces create /api/test -- --request POST --data '{"name": "John"}'`
|
|
8104
|
+
}
|
|
8105
|
+
]
|
|
8106
|
+
};
|
|
8084
8107
|
var tracesCommand = {
|
|
8085
8108
|
name: "traces",
|
|
8086
8109
|
aliases: [],
|
|
8087
8110
|
description: "Fetch traces captured for a Vercel project.",
|
|
8088
8111
|
arguments: [{ name: "requestId", required: false }],
|
|
8089
|
-
subcommands: [getSubcommand2],
|
|
8112
|
+
subcommands: [getSubcommand2, createSubcommand5],
|
|
8090
8113
|
options: [],
|
|
8091
8114
|
examples: [
|
|
8092
8115
|
{
|
|
@@ -8096,6 +8119,10 @@ var tracesCommand = {
|
|
|
8096
8119
|
{
|
|
8097
8120
|
name: "Print the raw trace JSON",
|
|
8098
8121
|
value: `${packageName} traces get req_1234567890 --json`
|
|
8122
|
+
},
|
|
8123
|
+
{
|
|
8124
|
+
name: "Capture a session trace for a request",
|
|
8125
|
+
value: `${packageName} traces create /api/hello`
|
|
8099
8126
|
}
|
|
8100
8127
|
]
|
|
8101
8128
|
};
|
|
@@ -8649,7 +8676,7 @@ var getSubcommand4 = {
|
|
|
8649
8676
|
options: [formatOption],
|
|
8650
8677
|
examples: []
|
|
8651
8678
|
};
|
|
8652
|
-
var
|
|
8679
|
+
var createSubcommand6 = {
|
|
8653
8680
|
name: "create",
|
|
8654
8681
|
aliases: ["add"],
|
|
8655
8682
|
description: "Create a new webhook",
|
|
@@ -8710,7 +8737,7 @@ var webhooksCommand = {
|
|
|
8710
8737
|
subcommands: [
|
|
8711
8738
|
listSubcommand18,
|
|
8712
8739
|
getSubcommand4,
|
|
8713
|
-
|
|
8740
|
+
createSubcommand6,
|
|
8714
8741
|
removeSubcommand15
|
|
8715
8742
|
],
|
|
8716
8743
|
options: [],
|
|
@@ -9046,6 +9073,7 @@ export {
|
|
|
9046
9073
|
disableSubcommand3,
|
|
9047
9074
|
telemetryCommand,
|
|
9048
9075
|
getSubcommand2,
|
|
9076
|
+
createSubcommand5,
|
|
9049
9077
|
tracesCommand,
|
|
9050
9078
|
upgradeCommand,
|
|
9051
9079
|
usageCommand,
|
|
@@ -9063,7 +9091,7 @@ export {
|
|
|
9063
9091
|
blobCommand,
|
|
9064
9092
|
listSubcommand18,
|
|
9065
9093
|
getSubcommand4,
|
|
9066
|
-
|
|
9094
|
+
createSubcommand6,
|
|
9067
9095
|
removeSubcommand15,
|
|
9068
9096
|
webhooksCommand,
|
|
9069
9097
|
getCommandAliases,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-V5P25P7F.js";
|
|
10
10
|
import {
|
|
11
11
|
getLocalPathConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4BFK3C7V.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
15
15
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
useKeypress,
|
|
37
37
|
usePrefix,
|
|
38
38
|
useState
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LQR3CHMH.js";
|
|
40
40
|
import {
|
|
41
41
|
require_load_json_file
|
|
42
42
|
} from "./chunk-HIYWSGI7.js";
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
parseArguments,
|
|
48
48
|
require_strip_ansi
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
50
50
|
import {
|
|
51
51
|
APIError,
|
|
52
52
|
NowError
|
|
@@ -82,6 +82,7 @@ var help = () => `
|
|
|
82
82
|
target [cmd] Manage custom environments for your Project
|
|
83
83
|
teams Manages your teams
|
|
84
84
|
telemetry [cmd] Enable or disable telemetry collection
|
|
85
|
+
traces [cmd] Fetch and capture traces for your project's deployment
|
|
85
86
|
upgrade Upgrade the Vercel CLI to the latest version
|
|
86
87
|
usage Show billing usage for the current billing period
|
|
87
88
|
webhooks [cmd] Manages webhooks [beta]
|
|
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getEnvTargetPlaceholder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LQR3CHMH.js";
|
|
10
10
|
import {
|
|
11
11
|
projectOption,
|
|
12
12
|
yesOption
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
14
14
|
import {
|
|
15
15
|
packageName
|
|
16
16
|
} from "./chunk-LN6B7ZI3.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-LYCSVJIX.js";
|
|
10
10
|
import {
|
|
11
11
|
require_strip_ansi
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MYWLF3BZ.js";
|
|
13
13
|
import {
|
|
14
14
|
require_source
|
|
15
15
|
} from "./chunk-S7KYDPEM.js";
|