vercel 59.11.2 → 59.12.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-BKSHWTPX.js → add-OO3JGLZW.js} +23 -18
- package/dist/chunks/{add-HPLJZFM2.js → add-RTXDASSS.js} +23 -18
- package/dist/chunks/add-XGO6LHMD.js +221 -0
- package/dist/chunks/{build-V4ZLAJWB.js → build-JINV2UD4.js} +23 -18
- package/dist/chunks/{chunk-NGGLYKNU.js → chunk-26CU4Q3C.js} +3 -115
- package/dist/chunks/{chunk-QFAS4OVW.js → chunk-2JIX6UMI.js} +3 -84
- package/dist/chunks/chunk-2NIDTSQJ.js +305 -0
- package/dist/chunks/chunk-32XSMM3W.js +49 -0
- package/dist/chunks/chunk-332LMJLZ.js +16014 -0
- package/dist/chunks/{chunk-RO44KX6Y.js → chunk-3BB2HOO2.js} +12 -7
- package/dist/chunks/{chunk-HDBQPBL6.js → chunk-3F25W3GA.js} +13 -9
- package/dist/chunks/{chunk-AYLY3ZVL.js → chunk-3VM7HWF6.js} +2 -2
- package/dist/chunks/chunk-4IALDGB7.js +22 -0
- package/dist/chunks/{chunk-MTWHQEXI.js → chunk-4TUMNBEE.js} +7 -5
- package/dist/chunks/{chunk-5XECIWME.js → chunk-5NF5HOBJ.js} +5 -3
- package/dist/chunks/chunk-6E6KPBXY.js +43 -0
- package/dist/chunks/{chunk-ASBP32T6.js → chunk-7MRDIPJY.js} +1 -1
- package/dist/chunks/chunk-ABSZNJQO.js +522 -0
- package/dist/chunks/{chunk-7ST552E3.js → chunk-AKLTIZCU.js} +1 -1
- package/dist/chunks/{chunk-ONRLTUP2.js → chunk-AV747POV.js} +43 -36
- package/dist/chunks/chunk-B5XLQKHI.js +849 -0
- package/dist/chunks/{chunk-BMKU5KEL.js → chunk-CV5YC2EN.js} +1 -1
- package/dist/chunks/{chunk-TPATD2MM.js → chunk-CZ5QQRXD.js} +14 -6
- package/dist/chunks/{chunk-2EAIC3SH.js → chunk-E47NARDE.js} +8 -8
- package/dist/chunks/{chunk-XM3LOQIX.js → chunk-EDMW7SBH.js} +76 -92
- package/dist/chunks/{chunk-QAT3CW4G.js → chunk-EFYMIIER.js} +2 -2
- package/dist/chunks/chunk-ELZ6WQQA.js +81 -0
- package/dist/chunks/{chunk-FKDO3CM4.js → chunk-EOLGLGXJ.js} +17 -13
- package/dist/chunks/chunk-FRVG4OW3.js +7438 -0
- package/dist/chunks/chunk-G5FBSUL4.js +822 -0
- package/dist/chunks/chunk-GDOUDU6O.js +74 -0
- package/dist/chunks/{chunk-OQ3C5VXZ.js → chunk-GVNCVKCI.js} +4 -2
- package/dist/chunks/chunk-HB4UKFDO.js +1295 -0
- package/dist/chunks/{chunk-FRAXI2WT.js → chunk-HD4DR3DA.js} +4 -3
- package/dist/chunks/{chunk-DWIC7MRV.js → chunk-HKHXKSXQ.js} +1 -1
- package/dist/chunks/{chunk-6JPVTPTU.js → chunk-HM24ZWQL.js} +4 -4
- package/dist/chunks/chunk-HR2MP4XF.js +324 -0
- package/dist/chunks/chunk-HRXRELD3.js +338 -0
- package/dist/chunks/{chunk-IJ4X426J.js → chunk-IIMSID24.js} +1 -1
- package/dist/chunks/{chunk-B4TXCKXE.js → chunk-JOXNBQ7W.js} +10 -8
- package/dist/chunks/{chunk-O75LSD3C.js → chunk-JSD4EZL3.js} +1 -1
- package/dist/chunks/{chunk-7AEEQOD4.js → chunk-K3RED3VO.js} +1 -1
- package/dist/chunks/chunk-KAF4WFF3.js +257 -0
- package/dist/chunks/{chunk-3T7WSWZH.js → chunk-KFWQ3EFH.js} +1 -1
- package/dist/chunks/{chunk-6CZZ3SH3.js → chunk-KNO327AW.js} +2 -2
- package/dist/chunks/{chunk-L3UXB2CW.js → chunk-KW7BS25T.js} +1 -1
- package/dist/chunks/{chunk-2NJJ2K5S.js → chunk-L6B6BRHH.js} +6 -6
- package/dist/chunks/{chunk-FZRBF25Y.js → chunk-LDV2R4P4.js} +4 -4
- package/dist/chunks/chunk-MADFAH3O.js +14059 -0
- package/dist/chunks/{chunk-OO3OF6MK.js → chunk-MDGPZHSM.js} +151 -26
- package/dist/chunks/{chunk-XRWOTCDO.js → chunk-ND5CF2H3.js} +1 -1
- package/dist/chunks/{chunk-6TBDHUXK.js → chunk-NDY3JDOU.js} +21 -15
- package/dist/chunks/{chunk-RKDCNQ4S.js → chunk-NW34PW6V.js} +3 -105
- package/dist/chunks/{chunk-C5HKWXRR.js → chunk-OAMU5QO6.js} +1 -1
- package/dist/chunks/{chunk-RSJBU3ON.js → chunk-OJHDGHOB.js} +35 -27
- package/dist/chunks/chunk-P7VSBDR4.js +827 -0
- package/dist/chunks/chunk-PEC3CQSK.js +90 -0
- package/dist/chunks/{chunk-KJBZ5ZST.js → chunk-PIMIVJYK.js} +1 -0
- package/dist/chunks/chunk-PNGVSHR3.js +40 -0
- package/dist/chunks/chunk-PP5GKSIX.js +137 -0
- package/dist/chunks/chunk-QB2UHSUB.js +58 -0
- package/dist/chunks/chunk-QIUK4Z7Q.js +79 -0
- package/dist/chunks/chunk-RN6V5ODW.js +114 -0
- package/dist/chunks/chunk-RNK3LXLR.js +1288 -0
- package/dist/chunks/chunk-RVBZ64EQ.js +52 -0
- package/dist/chunks/{chunk-WA2SJE5S.js → chunk-SWO66HE2.js} +4 -4
- package/dist/chunks/{chunk-NBW3BWOJ.js → chunk-TDGK45FB.js} +2 -2
- package/dist/chunks/{chunk-WNAKOXGK.js → chunk-TO7QZGYK.js} +1 -1
- package/dist/chunks/{chunk-QDV5LZ4Q.js → chunk-UA55I7M6.js} +12 -8
- package/dist/chunks/{chunk-FWKSJYDV.js → chunk-UG2WOB5L.js} +1 -1
- package/dist/chunks/chunk-UJPVHLL5.js +233 -0
- package/dist/chunks/chunk-V4RMJKQP.js +36 -0
- package/dist/chunks/chunk-VJSREJVM.js +875 -0
- package/dist/chunks/chunk-VUS2JQB2.js +121 -0
- package/dist/chunks/{chunk-4KVJ2M4J.js → chunk-WPBCUXMZ.js} +582 -37
- package/dist/chunks/chunk-WSZ5E4WH.js +92 -0
- package/dist/chunks/{chunk-Q5K5DEOK.js → chunk-WT2Y7FRD.js} +42 -28
- package/dist/chunks/chunk-WT6C2ALC.js +18188 -0
- package/dist/chunks/chunk-X6TGUHFD.js +59 -0
- package/dist/chunks/{chunk-ZSFEACZU.js → chunk-XFF5TGRA.js} +1 -1
- package/dist/chunks/chunk-XNIZGCN5.js +58 -0
- package/dist/chunks/chunk-XPJLPUKO.js +117 -0
- package/dist/chunks/{chunk-FXD67VN5.js → chunk-XUAWTW4W.js} +1 -1
- package/dist/chunks/chunk-YPMFZRTN.js +417 -0
- package/dist/chunks/chunk-YRESLJCW.js +1536 -0
- package/dist/chunks/{chunk-I526H4AS.js → chunk-YS76T533.js} +2 -2
- package/dist/chunks/{chunk-52QYYTM5.js → chunk-ZDU2NODC.js} +3 -127
- package/dist/chunks/chunk-ZW6HETRE.js +97 -0
- package/dist/chunks/{clear-IYGWCNXT.js → clear-GQTDYSKJ.js} +23 -18
- package/dist/chunks/{compile-vercel-config-NEEBZRUJ.js → compile-vercel-config-URVMKDVW.js} +8 -11
- package/dist/chunks/{config-6DS6BBR2.js → config-MSVQR5T6.js} +23 -18
- package/dist/chunks/{config-NTB5EMV4.js → config-OAXY4J6P.js} +23 -18
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{delete-LSGID5FV.js → delete-57QO64HD.js} +19 -14
- package/dist/chunks/{delete-LLC2OGHA.js → delete-XN6ESD7C.js} +16 -12
- package/dist/chunks/detect-projects-ODNU4PK2.js +18 -0
- package/dist/chunks/detect-services-UPY4LTBZ.js +40 -0
- package/dist/chunks/{disable-H4EXEQK7.js → disable-BYI46V7B.js} +17 -13
- package/dist/chunks/{discard-FG6VKHWN.js → discard-IIQL44ZZ.js} +17 -13
- package/dist/chunks/{edit-BZJSGUHT.js → edit-BRNS3OR4.js} +19 -15
- package/dist/chunks/{edit-YE7D3CPJ.js → edit-JTW7XZH7.js} +17 -13
- package/dist/chunks/{enable-6ESD4QTE.js → enable-CH5FSQMR.js} +17 -13
- package/dist/chunks/{exec-XH4K34JM.js → exec-4IPHZ55G.js} +9 -5
- package/dist/chunks/{export-QWSJROLG.js → export-6WHQOWKM.js} +16 -13
- package/dist/chunks/{image-LTHQMKFG.js → image-ZSLYATWG.js} +11 -8
- package/dist/chunks/{import-builders-6O7ILGQJ.js → import-builders-FNMYJZGG.js} +18 -13
- package/dist/chunks/{inspect-2C4ZSNYC.js → inspect-4RDZSYWU.js} +27 -23
- package/dist/chunks/{inspect-N6SMHV3Z.js → inspect-7WQXZWET.js} +18 -14
- package/dist/chunks/{inspect-F7KCTHIL.js → inspect-CGXTNMMO.js} +19 -15
- package/dist/chunks/{inspect-ICKNCDMT.js → inspect-XJ7BYLZ5.js} +18 -14
- package/dist/chunks/{inspect-TWDPMXZ5.js → inspect-Z2MBTTB7.js} +18 -14
- package/dist/chunks/{list-NWTIJF3L.js → list-65LW6OTM.js} +20 -16
- package/dist/chunks/{list-DS7ZOUXA.js → list-7W3PHRB6.js} +25 -21
- package/dist/chunks/{list-IPGQVBJO.js → list-KS22Y57L.js} +16 -14
- package/dist/chunks/{login-F7A7ONKC.js → login-NXULVQZ2.js} +23 -18
- package/dist/chunks/{ls-2QW3ZSM6.js → ls-35EOVEIQ.js} +24 -18
- package/dist/chunks/{ls-XINES6PL.js → ls-5GKS5QRW.js} +24 -18
- package/dist/chunks/ls-ADYFYYIW.js +204 -0
- package/dist/chunks/{ls-D4TUDBIH.js → ls-DZYN3SNS.js} +24 -18
- package/dist/chunks/{ls-LSJEUPFX.js → ls-HVQOGBGV.js} +23 -16
- package/dist/chunks/{ls-NBDX3MKN.js → ls-I2PWG7YN.js} +24 -18
- package/dist/chunks/{open-VRQDWZAW.js → open-H34HXJHP.js} +18 -13
- package/dist/chunks/{permissions-6C5C7TEV.js → permissions-ZPPEPKVE.js} +14 -11
- package/dist/chunks/{publish-GVIZPNLN.js → publish-NRMKXHAU.js} +17 -13
- package/dist/chunks/pull-WUT3XTZX.js +45 -0
- package/dist/chunks/{push-EFZ5P5Z6.js → push-WFNCEA5J.js} +23 -18
- package/dist/chunks/{query-GBS2PIT4.js → query-2FQM3F7N.js} +23 -20
- package/dist/chunks/{reorder-TN65IFRL.js → reorder-GYCT7L3C.js} +17 -13
- package/dist/chunks/{reply-DYVEV3PY.js → reply-RFEXNYZ7.js} +17 -13
- package/dist/chunks/{resolve-JAWFBPUM.js → resolve-ZFGT7W6Z.js} +16 -12
- package/dist/chunks/resolve-deployment-framework-preset-NPE6RLV3.js +36 -0
- package/dist/chunks/{restore-TJVMHUBQ.js → restore-JAXPMYL5.js} +17 -13
- package/dist/chunks/rm-CLKQN5E4.js +162 -0
- package/dist/chunks/{rm-HQ5CYNJA.js → rm-JPV5V2SH.js} +23 -18
- package/dist/chunks/{rm-7XACNZ2U.js → rm-N7SGFQOA.js} +23 -18
- package/dist/chunks/{rm-REJVXALW.js → rm-UQJ4CZJH.js} +23 -18
- package/dist/chunks/{rm-CBPNMSRP.js → rm-ZUQ4U454.js} +24 -17
- package/dist/chunks/{routes-2OLIBRYX.js → routes-QVMBXOSX.js} +7 -3
- package/dist/chunks/rule-inspect-HI3YY7OY.js +123 -0
- package/dist/chunks/{rules-VGV4M4KY.js → rules-DA3Q64M4.js} +15 -12
- package/dist/chunks/{schema-GMTQOQCV.js → schema-R3C4CXJ6.js} +20 -18
- package/dist/chunks/schema-UYYFV3JB.js +381 -0
- package/dist/chunks/{set-Z5FO2FCC.js → set-TOJPGW4J.js} +21 -14
- package/dist/chunks/setup-and-link-DRYXQOH4.js +65 -0
- package/dist/chunks/{tags-SDRXWJ63.js → tags-TNLVFNVI.js} +10 -7
- package/dist/chunks/{types-JGANJ5EQ.js → types-4GAJ7XQQ.js} +9 -7
- package/dist/chunks/update-X6JB3NPI.js +224 -0
- package/dist/chunks/vlt-builder-importer-USCFHWPL.js +322 -0
- package/dist/commands/build/index.js +86 -49
- package/dist/commands/deploy/index.js +76 -67
- package/dist/commands/dev/index.js +98 -52
- package/dist/commands/env/index.js +68 -44
- package/dist/commands/link/index.js +49 -28
- package/dist/commands/list/index.js +33 -22
- package/dist/commands-bulk.js +8715 -3581
- package/dist/help.js +1 -1
- package/dist/index.js +74 -42
- package/dist/runtime-assets/node-preloads/next-dev-websocket.cjs +6 -0
- package/dist/version.mjs +1 -1
- package/package.json +52 -48
- package/dist/chunks/add-RBW7QITR.js +0 -219
- package/dist/chunks/chunk-26XDDLXM.js +0 -144
- package/dist/chunks/chunk-5GGUB4EO.js +0 -31
- package/dist/chunks/chunk-MXLA3VQS.js +0 -20
- package/dist/chunks/chunk-OTXE7MHI.js +0 -96
- package/dist/chunks/chunk-RSEAADCE.js +0 -138
- package/dist/chunks/chunk-WYU64FLP.js +0 -62123
- package/dist/chunks/chunk-XNFHNTS2.js +0 -2939
- package/dist/chunks/ls-RNGO257R.js +0 -193
- package/dist/chunks/rm-5B5VHWWN.js +0 -170
- package/dist/chunks/rule-inspect-ZSTDDFID.js +0 -281
- package/dist/chunks/schema-45SJNY5L.js +0 -427
- package/dist/chunks/update-JBQBC3IV.js +0 -233
|
@@ -4,27 +4,27 @@ import { dirname as __dirname_ } from 'node:path';
|
|
|
4
4
|
const require = __createRequire(import.meta.url);
|
|
5
5
|
const __filename = __fileURLToPath(import.meta.url);
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
|
-
import {
|
|
8
|
-
tracesCommand
|
|
9
|
-
} from "./chunk-7Q45OKWR.js";
|
|
10
7
|
import {
|
|
11
8
|
vcrCommand
|
|
12
9
|
} from "./chunk-CJV7J7B5.js";
|
|
10
|
+
import {
|
|
11
|
+
tracesCommand
|
|
12
|
+
} from "./chunk-7Q45OKWR.js";
|
|
13
13
|
import {
|
|
14
14
|
metricsCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4TUMNBEE.js";
|
|
16
16
|
import {
|
|
17
17
|
routesCommand
|
|
18
18
|
} from "./chunk-POOO7W47.js";
|
|
19
19
|
import {
|
|
20
20
|
commentsCommand
|
|
21
21
|
} from "./chunk-SLPSPYVR.js";
|
|
22
|
+
import {
|
|
23
|
+
alertsCommand
|
|
24
|
+
} from "./chunk-HKHXKSXQ.js";
|
|
22
25
|
import {
|
|
23
26
|
activityCommand
|
|
24
27
|
} from "./chunk-4KD5BYHB.js";
|
|
25
|
-
import {
|
|
26
|
-
alertsCommand
|
|
27
|
-
} from "./chunk-DWIC7MRV.js";
|
|
28
28
|
import {
|
|
29
29
|
devCommand
|
|
30
30
|
} from "./chunk-XDGOOW3K.js";
|
|
@@ -34,11 +34,12 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
buildCommand,
|
|
36
36
|
pullCommand
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UG2WOB5L.js";
|
|
38
38
|
import {
|
|
39
39
|
envCommand
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XUAWTW4W.js";
|
|
41
41
|
import {
|
|
42
|
+
allOption,
|
|
42
43
|
confirmOption,
|
|
43
44
|
deploymentOption,
|
|
44
45
|
forceOption,
|
|
@@ -53,7 +54,7 @@ import {
|
|
|
53
54
|
} from "./chunk-Q2DGFCO7.js";
|
|
54
55
|
import {
|
|
55
56
|
output_manager_default
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-2JIX6UMI.js";
|
|
57
58
|
|
|
58
59
|
// src/commands/deploy/command.ts
|
|
59
60
|
var deprecatedArchiveSplitTgz = "split-tgz";
|
|
@@ -2465,7 +2466,7 @@ var createSubcommand2 = {
|
|
|
2465
2466
|
type: String,
|
|
2466
2467
|
argument: "BRANCH",
|
|
2467
2468
|
deprecated: false,
|
|
2468
|
-
description: "Target a
|
|
2469
|
+
description: "Target a preview deployment by git branch name. Omit the flag to target production. Cannot be combined with --trigger-environment. Requires --triggers."
|
|
2469
2470
|
},
|
|
2470
2471
|
{
|
|
2471
2472
|
name: "trigger-environment",
|
|
@@ -2473,7 +2474,7 @@ var createSubcommand2 = {
|
|
|
2473
2474
|
type: String,
|
|
2474
2475
|
argument: "ENV",
|
|
2475
2476
|
deprecated: false,
|
|
2476
|
-
description: "Target a custom environment by slug or stable ID.
|
|
2477
|
+
description: "Target a custom environment by slug or stable ID. Cannot be combined with --trigger-branch. Requires --triggers."
|
|
2477
2478
|
},
|
|
2478
2479
|
{
|
|
2479
2480
|
name: "connection-method",
|
|
@@ -2569,7 +2570,7 @@ var createSubcommand2 = {
|
|
|
2569
2570
|
},
|
|
2570
2571
|
{
|
|
2571
2572
|
name: "Create with branch-specific trigger routing",
|
|
2572
|
-
value: `${packageName} connect create github --name github --triggers --trigger-path /api/webhooks --trigger-branch
|
|
2573
|
+
value: `${packageName} connect create github --name github --triggers --trigger-path /api/webhooks --trigger-branch staging`
|
|
2573
2574
|
},
|
|
2574
2575
|
{
|
|
2575
2576
|
name: "Create with trigger routing on another project",
|
|
@@ -3000,7 +3001,7 @@ var attachSubcommand = {
|
|
|
3000
3001
|
type: String,
|
|
3001
3002
|
argument: "BRANCH",
|
|
3002
3003
|
deprecated: false,
|
|
3003
|
-
description: "Target a
|
|
3004
|
+
description: "Target a preview deployment by git branch name. Omit the flag to target production. Cannot be combined with --trigger-environment. Only valid with --triggers."
|
|
3004
3005
|
},
|
|
3005
3006
|
{
|
|
3006
3007
|
name: "trigger-environment",
|
|
@@ -3008,7 +3009,7 @@ var attachSubcommand = {
|
|
|
3008
3009
|
type: String,
|
|
3009
3010
|
argument: "ENV",
|
|
3010
3011
|
deprecated: false,
|
|
3011
|
-
description: "Target a custom environment by slug or stable ID.
|
|
3012
|
+
description: "Target a custom environment by slug or stable ID. Cannot be combined with --trigger-branch. Only valid with --triggers."
|
|
3012
3013
|
},
|
|
3013
3014
|
{
|
|
3014
3015
|
name: "trigger-path",
|
|
@@ -4124,7 +4125,7 @@ var teamLevelOption = {
|
|
|
4124
4125
|
var overviewSubcommand = {
|
|
4125
4126
|
name: "overview",
|
|
4126
4127
|
aliases: [],
|
|
4127
|
-
description: "Show
|
|
4128
|
+
description: "Show your project's firewall configuration with the last day of activity: traffic by action, the busiest rules, and alerts raised in the same window",
|
|
4128
4129
|
arguments: [],
|
|
4129
4130
|
options: [
|
|
4130
4131
|
projectOption,
|
|
@@ -4138,8 +4139,34 @@ var overviewSubcommand = {
|
|
|
4138
4139
|
],
|
|
4139
4140
|
examples: [
|
|
4140
4141
|
{
|
|
4141
|
-
name: "Show firewall
|
|
4142
|
+
name: "Show firewall configuration and recent activity",
|
|
4142
4143
|
value: `${packageName} firewall overview`
|
|
4144
|
+
},
|
|
4145
|
+
{
|
|
4146
|
+
name: "Report the same data as JSON",
|
|
4147
|
+
value: `${packageName} firewall overview --json`
|
|
4148
|
+
}
|
|
4149
|
+
]
|
|
4150
|
+
};
|
|
4151
|
+
var statusSubcommand = {
|
|
4152
|
+
name: "status",
|
|
4153
|
+
aliases: [],
|
|
4154
|
+
description: "Show firewall configuration in execution order, including managed rulesets and bypass paths",
|
|
4155
|
+
arguments: [],
|
|
4156
|
+
options: [
|
|
4157
|
+
projectOption,
|
|
4158
|
+
{
|
|
4159
|
+
name: "json",
|
|
4160
|
+
shorthand: null,
|
|
4161
|
+
type: Boolean,
|
|
4162
|
+
deprecated: false,
|
|
4163
|
+
description: "Output as JSON"
|
|
4164
|
+
}
|
|
4165
|
+
],
|
|
4166
|
+
examples: [
|
|
4167
|
+
{
|
|
4168
|
+
name: "Show firewall status",
|
|
4169
|
+
value: `${packageName} firewall status`
|
|
4143
4170
|
}
|
|
4144
4171
|
]
|
|
4145
4172
|
};
|
|
@@ -5005,6 +5032,204 @@ var systemMitigationsSubcommand = {
|
|
|
5005
5032
|
}
|
|
5006
5033
|
]
|
|
5007
5034
|
};
|
|
5035
|
+
var jsonOutputOption = {
|
|
5036
|
+
name: "json",
|
|
5037
|
+
shorthand: null,
|
|
5038
|
+
type: Boolean,
|
|
5039
|
+
deprecated: false,
|
|
5040
|
+
description: "Output as JSON"
|
|
5041
|
+
};
|
|
5042
|
+
var alertsListSubcommand = {
|
|
5043
|
+
name: "list",
|
|
5044
|
+
aliases: ["ls"],
|
|
5045
|
+
description: "List active and resolved firewall alerts for the linked project",
|
|
5046
|
+
arguments: [],
|
|
5047
|
+
options: [
|
|
5048
|
+
projectOption,
|
|
5049
|
+
jsonOutputOption,
|
|
5050
|
+
{
|
|
5051
|
+
name: "since",
|
|
5052
|
+
shorthand: null,
|
|
5053
|
+
type: String,
|
|
5054
|
+
argument: "TIME",
|
|
5055
|
+
deprecated: false,
|
|
5056
|
+
description: "Start of the window: relative (24h, 7d) or ISO date (default: 24h ago)"
|
|
5057
|
+
},
|
|
5058
|
+
{
|
|
5059
|
+
name: "until",
|
|
5060
|
+
shorthand: null,
|
|
5061
|
+
type: String,
|
|
5062
|
+
argument: "TIME",
|
|
5063
|
+
deprecated: false,
|
|
5064
|
+
description: "End of the window (default: now)"
|
|
5065
|
+
}
|
|
5066
|
+
],
|
|
5067
|
+
examples: [
|
|
5068
|
+
{
|
|
5069
|
+
name: "List alerts from the last day",
|
|
5070
|
+
value: `${packageName} firewall alerts list`
|
|
5071
|
+
},
|
|
5072
|
+
{
|
|
5073
|
+
name: "List alerts from the last week",
|
|
5074
|
+
value: `${packageName} firewall alerts list --since 7d`
|
|
5075
|
+
}
|
|
5076
|
+
]
|
|
5077
|
+
};
|
|
5078
|
+
var alertsInspectSubcommand = {
|
|
5079
|
+
name: "inspect",
|
|
5080
|
+
aliases: [],
|
|
5081
|
+
description: "Show one firewall alert: window, request rate, denied IPs, and top hosts",
|
|
5082
|
+
arguments: [{ name: "alertid", required: true }],
|
|
5083
|
+
options: [projectOption, jsonOutputOption],
|
|
5084
|
+
examples: [
|
|
5085
|
+
{
|
|
5086
|
+
name: "Inspect an alert",
|
|
5087
|
+
value: `${packageName} firewall alerts inspect al_abc123`
|
|
5088
|
+
}
|
|
5089
|
+
]
|
|
5090
|
+
};
|
|
5091
|
+
var alertsSubcommand = {
|
|
5092
|
+
name: "alerts",
|
|
5093
|
+
aliases: [],
|
|
5094
|
+
description: "List and inspect firewall alerts, including DDoS mitigation episodes",
|
|
5095
|
+
arguments: [],
|
|
5096
|
+
subcommands: [alertsListSubcommand, alertsInspectSubcommand],
|
|
5097
|
+
options: [],
|
|
5098
|
+
examples: [
|
|
5099
|
+
{
|
|
5100
|
+
name: "List alerts",
|
|
5101
|
+
value: `${packageName} firewall alerts list`
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
name: "Inspect an alert",
|
|
5105
|
+
value: `${packageName} firewall alerts inspect al_abc123`
|
|
5106
|
+
}
|
|
5107
|
+
]
|
|
5108
|
+
};
|
|
5109
|
+
var persistentActionsListSubcommand = {
|
|
5110
|
+
name: "list",
|
|
5111
|
+
aliases: ["ls"],
|
|
5112
|
+
description: "List persistent firewall actions for the linked project (default: last hour)",
|
|
5113
|
+
arguments: [],
|
|
5114
|
+
options: [
|
|
5115
|
+
projectOption,
|
|
5116
|
+
jsonOutputOption,
|
|
5117
|
+
{
|
|
5118
|
+
name: "since",
|
|
5119
|
+
shorthand: null,
|
|
5120
|
+
type: String,
|
|
5121
|
+
argument: "TIME",
|
|
5122
|
+
deprecated: false,
|
|
5123
|
+
description: "Start of the window: relative (1h, 6h) or ISO date (default: 1h ago)"
|
|
5124
|
+
},
|
|
5125
|
+
{
|
|
5126
|
+
name: "until",
|
|
5127
|
+
shorthand: null,
|
|
5128
|
+
type: String,
|
|
5129
|
+
argument: "TIME",
|
|
5130
|
+
deprecated: false,
|
|
5131
|
+
description: "End of the window (default: now)"
|
|
5132
|
+
},
|
|
5133
|
+
{
|
|
5134
|
+
name: "limit",
|
|
5135
|
+
shorthand: null,
|
|
5136
|
+
type: Number,
|
|
5137
|
+
argument: "NUMBER",
|
|
5138
|
+
deprecated: false,
|
|
5139
|
+
description: "Number of actions to show (default: 10)"
|
|
5140
|
+
}
|
|
5141
|
+
],
|
|
5142
|
+
examples: [
|
|
5143
|
+
{
|
|
5144
|
+
name: "List persistent actions from the last hour",
|
|
5145
|
+
value: `${packageName} firewall persistent-actions list`
|
|
5146
|
+
},
|
|
5147
|
+
{
|
|
5148
|
+
name: "List persistent actions from the last six hours",
|
|
5149
|
+
value: `${packageName} firewall persistent-actions list --since 6h`
|
|
5150
|
+
}
|
|
5151
|
+
]
|
|
5152
|
+
};
|
|
5153
|
+
var persistentActionsInspectSubcommand = {
|
|
5154
|
+
name: "inspect",
|
|
5155
|
+
aliases: [],
|
|
5156
|
+
description: "Show one persistent firewall action: window and requests by action",
|
|
5157
|
+
arguments: [{ name: "ip", required: true }],
|
|
5158
|
+
options: [
|
|
5159
|
+
projectOption,
|
|
5160
|
+
jsonOutputOption,
|
|
5161
|
+
{
|
|
5162
|
+
name: "host",
|
|
5163
|
+
shorthand: null,
|
|
5164
|
+
type: String,
|
|
5165
|
+
argument: "HOSTNAME",
|
|
5166
|
+
deprecated: false,
|
|
5167
|
+
description: "Narrow to a hostname"
|
|
5168
|
+
},
|
|
5169
|
+
{
|
|
5170
|
+
name: "action",
|
|
5171
|
+
shorthand: null,
|
|
5172
|
+
type: String,
|
|
5173
|
+
argument: "ACTION",
|
|
5174
|
+
deprecated: false,
|
|
5175
|
+
description: "Narrow to an action (challenge, deny, log, \u2026)"
|
|
5176
|
+
},
|
|
5177
|
+
{
|
|
5178
|
+
name: "since",
|
|
5179
|
+
shorthand: null,
|
|
5180
|
+
type: String,
|
|
5181
|
+
argument: "TIME",
|
|
5182
|
+
deprecated: false,
|
|
5183
|
+
description: "Start of the window: relative (1h, 6h) or ISO date (default: 1h ago)"
|
|
5184
|
+
},
|
|
5185
|
+
{
|
|
5186
|
+
name: "until",
|
|
5187
|
+
shorthand: null,
|
|
5188
|
+
type: String,
|
|
5189
|
+
argument: "TIME",
|
|
5190
|
+
deprecated: false,
|
|
5191
|
+
description: "End of the window (default: now)"
|
|
5192
|
+
},
|
|
5193
|
+
{
|
|
5194
|
+
name: "paths",
|
|
5195
|
+
shorthand: null,
|
|
5196
|
+
type: Boolean,
|
|
5197
|
+
deprecated: false,
|
|
5198
|
+
description: "Include the top request paths"
|
|
5199
|
+
}
|
|
5200
|
+
],
|
|
5201
|
+
examples: [
|
|
5202
|
+
{
|
|
5203
|
+
name: "Inspect a persistent action by IP",
|
|
5204
|
+
value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --host vercel.com --action challenge`
|
|
5205
|
+
},
|
|
5206
|
+
{
|
|
5207
|
+
name: "Include the paths the client requested",
|
|
5208
|
+
value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --paths`
|
|
5209
|
+
}
|
|
5210
|
+
]
|
|
5211
|
+
};
|
|
5212
|
+
var persistentActionsSubcommand = {
|
|
5213
|
+
name: "persistent-actions",
|
|
5214
|
+
aliases: [],
|
|
5215
|
+
description: "List and inspect persistent firewall actions taken against specific clients",
|
|
5216
|
+
arguments: [],
|
|
5217
|
+
subcommands: [
|
|
5218
|
+
persistentActionsListSubcommand,
|
|
5219
|
+
persistentActionsInspectSubcommand
|
|
5220
|
+
],
|
|
5221
|
+
options: [],
|
|
5222
|
+
examples: [
|
|
5223
|
+
{
|
|
5224
|
+
name: "List persistent actions",
|
|
5225
|
+
value: `${packageName} firewall persistent-actions list`
|
|
5226
|
+
},
|
|
5227
|
+
{
|
|
5228
|
+
name: "Inspect a persistent action",
|
|
5229
|
+
value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --host vercel.com --action challenge`
|
|
5230
|
+
}
|
|
5231
|
+
]
|
|
5232
|
+
};
|
|
5008
5233
|
var firewallCommand = {
|
|
5009
5234
|
name: "firewall",
|
|
5010
5235
|
aliases: [],
|
|
@@ -5012,6 +5237,7 @@ var firewallCommand = {
|
|
|
5012
5237
|
arguments: [],
|
|
5013
5238
|
subcommands: [
|
|
5014
5239
|
overviewSubcommand,
|
|
5240
|
+
statusSubcommand,
|
|
5015
5241
|
diffSubcommand,
|
|
5016
5242
|
publishSubcommand,
|
|
5017
5243
|
discardSubcommand,
|
|
@@ -5019,10 +5245,20 @@ var firewallCommand = {
|
|
|
5019
5245
|
rulesSubcommand2,
|
|
5020
5246
|
systemBypassSubcommand,
|
|
5021
5247
|
attackModeSubcommand,
|
|
5022
|
-
systemMitigationsSubcommand
|
|
5248
|
+
systemMitigationsSubcommand,
|
|
5249
|
+
alertsSubcommand,
|
|
5250
|
+
persistentActionsSubcommand
|
|
5023
5251
|
],
|
|
5024
5252
|
options: [],
|
|
5025
5253
|
examples: [
|
|
5254
|
+
{
|
|
5255
|
+
name: "List firewall alerts",
|
|
5256
|
+
value: `${packageName} firewall alerts list`
|
|
5257
|
+
},
|
|
5258
|
+
{
|
|
5259
|
+
name: "List persistent firewall actions",
|
|
5260
|
+
value: `${packageName} firewall persistent-actions list`
|
|
5261
|
+
},
|
|
5026
5262
|
{
|
|
5027
5263
|
name: "Show firewall overview",
|
|
5028
5264
|
value: `${packageName} firewall overview`
|
|
@@ -5229,6 +5465,65 @@ var listSubcommand11 = {
|
|
|
5229
5465
|
}
|
|
5230
5466
|
]
|
|
5231
5467
|
};
|
|
5468
|
+
var staleSubcommand = {
|
|
5469
|
+
name: "stale",
|
|
5470
|
+
aliases: [],
|
|
5471
|
+
description: "List stale feature flags for the current project",
|
|
5472
|
+
hidden: true,
|
|
5473
|
+
arguments: [],
|
|
5474
|
+
options: [
|
|
5475
|
+
projectOption,
|
|
5476
|
+
{
|
|
5477
|
+
name: "stale-after",
|
|
5478
|
+
shorthand: null,
|
|
5479
|
+
type: String,
|
|
5480
|
+
deprecated: false,
|
|
5481
|
+
description: "Consider flags stale after this relative day duration (default: 30d, max: 90d)",
|
|
5482
|
+
argument: "DURATION"
|
|
5483
|
+
},
|
|
5484
|
+
{
|
|
5485
|
+
name: "limit",
|
|
5486
|
+
shorthand: null,
|
|
5487
|
+
type: Number,
|
|
5488
|
+
deprecated: false,
|
|
5489
|
+
description: "Return one page of at most NUMBER stale flags (default: 50, max: 100)",
|
|
5490
|
+
argument: "NUMBER"
|
|
5491
|
+
},
|
|
5492
|
+
{
|
|
5493
|
+
name: "next",
|
|
5494
|
+
shorthand: null,
|
|
5495
|
+
type: String,
|
|
5496
|
+
deprecated: false,
|
|
5497
|
+
description: "Pagination cursor from a previous stale response",
|
|
5498
|
+
argument: "CURSOR"
|
|
5499
|
+
},
|
|
5500
|
+
{
|
|
5501
|
+
name: "json",
|
|
5502
|
+
shorthand: null,
|
|
5503
|
+
type: Boolean,
|
|
5504
|
+
deprecated: false,
|
|
5505
|
+
description: "Output in JSON format"
|
|
5506
|
+
}
|
|
5507
|
+
],
|
|
5508
|
+
examples: [
|
|
5509
|
+
{
|
|
5510
|
+
name: "List stale flags",
|
|
5511
|
+
value: `${packageName} flags stale`
|
|
5512
|
+
},
|
|
5513
|
+
{
|
|
5514
|
+
name: "List flags that have been stale for 14 days",
|
|
5515
|
+
value: `${packageName} flags stale --stale-after 14d`
|
|
5516
|
+
},
|
|
5517
|
+
{
|
|
5518
|
+
name: "List the next page using the cursor from the previous page",
|
|
5519
|
+
value: `${packageName} flags stale --limit 10 --next <cursor>`
|
|
5520
|
+
},
|
|
5521
|
+
{
|
|
5522
|
+
name: "List stale flags as JSON",
|
|
5523
|
+
value: `${packageName} flags stale --json`
|
|
5524
|
+
}
|
|
5525
|
+
]
|
|
5526
|
+
};
|
|
5232
5527
|
var inspectSubcommand5 = {
|
|
5233
5528
|
name: "inspect",
|
|
5234
5529
|
aliases: [],
|
|
@@ -5761,7 +6056,7 @@ var splitSubcommand = {
|
|
|
5761
6056
|
examples: [
|
|
5762
6057
|
{
|
|
5763
6058
|
name: "Split a boolean flag in production",
|
|
5764
|
-
value: `${packageName} flags split redesigned-checkout --environment production --by user.userId --weight
|
|
6059
|
+
value: `${packageName} flags split redesigned-checkout --environment production --by user.userId --weight false=95 --weight true=5`
|
|
5765
6060
|
},
|
|
5766
6061
|
{
|
|
5767
6062
|
name: "Split a string flag with a fallback variant",
|
|
@@ -6033,7 +6328,7 @@ var rulesAddSubcommand3 = {
|
|
|
6033
6328
|
},
|
|
6034
6329
|
{
|
|
6035
6330
|
name: "Add a split rule at the top",
|
|
6036
|
-
value: `${packageName} flags rules add my-feature -e production --condition user.plan:eq:pro --by user.userId --weight
|
|
6331
|
+
value: `${packageName} flags rules add my-feature -e production --condition user.plan:eq:pro --by user.userId --weight false=90 --weight true=10 --position 1`
|
|
6037
6332
|
}
|
|
6038
6333
|
]
|
|
6039
6334
|
};
|
|
@@ -6779,6 +7074,7 @@ var flagsCommand = {
|
|
|
6779
7074
|
arguments: [],
|
|
6780
7075
|
subcommands: [
|
|
6781
7076
|
listSubcommand11,
|
|
7077
|
+
staleSubcommand,
|
|
6782
7078
|
inspectSubcommand5,
|
|
6783
7079
|
versionsSubcommand,
|
|
6784
7080
|
evaluationsSubcommand,
|
|
@@ -7099,7 +7395,7 @@ var globalConfigCommand = {
|
|
|
7099
7395
|
};
|
|
7100
7396
|
|
|
7101
7397
|
// src/commands/guidance/command.ts
|
|
7102
|
-
var
|
|
7398
|
+
var statusSubcommand2 = {
|
|
7103
7399
|
name: "status",
|
|
7104
7400
|
aliases: [],
|
|
7105
7401
|
description: "Shows whether guidance messages are enabled or disabled",
|
|
@@ -7128,7 +7424,7 @@ var guidanceCommand = {
|
|
|
7128
7424
|
aliases: [],
|
|
7129
7425
|
description: "Allows you to enable or disable guidance messages",
|
|
7130
7426
|
arguments: [],
|
|
7131
|
-
subcommands: [enableSubcommand2, disableSubcommand2,
|
|
7427
|
+
subcommands: [enableSubcommand2, disableSubcommand2, statusSubcommand2],
|
|
7132
7428
|
options: [],
|
|
7133
7429
|
examples: []
|
|
7134
7430
|
};
|
|
@@ -10154,7 +10450,7 @@ var timeoutOption = {
|
|
|
10154
10450
|
type: String,
|
|
10155
10451
|
deprecated: false
|
|
10156
10452
|
};
|
|
10157
|
-
var
|
|
10453
|
+
var statusSubcommand3 = {
|
|
10158
10454
|
name: "status",
|
|
10159
10455
|
aliases: [],
|
|
10160
10456
|
description: "Show the status of any current pending promotions",
|
|
@@ -10192,7 +10488,7 @@ var promoteCommand = {
|
|
|
10192
10488
|
required: true
|
|
10193
10489
|
}
|
|
10194
10490
|
],
|
|
10195
|
-
subcommands: [
|
|
10491
|
+
subcommands: [statusSubcommand3],
|
|
10196
10492
|
options: [
|
|
10197
10493
|
timeoutOption,
|
|
10198
10494
|
{
|
|
@@ -10602,7 +10898,7 @@ var timeoutOption2 = {
|
|
|
10602
10898
|
type: String,
|
|
10603
10899
|
deprecated: false
|
|
10604
10900
|
};
|
|
10605
|
-
var
|
|
10901
|
+
var statusSubcommand4 = {
|
|
10606
10902
|
name: "status",
|
|
10607
10903
|
aliases: [],
|
|
10608
10904
|
description: "Show the status of any current pending rollbacks",
|
|
@@ -10634,7 +10930,7 @@ var rollbackCommand = {
|
|
|
10634
10930
|
required: true
|
|
10635
10931
|
}
|
|
10636
10932
|
],
|
|
10637
|
-
subcommands: [
|
|
10933
|
+
subcommands: [statusSubcommand4],
|
|
10638
10934
|
options: [timeoutOption2, yesOption],
|
|
10639
10935
|
examples: [
|
|
10640
10936
|
{
|
|
@@ -10989,6 +11285,241 @@ var skillsCommand = {
|
|
|
10989
11285
|
]
|
|
10990
11286
|
};
|
|
10991
11287
|
|
|
11288
|
+
// src/commands/storage/command.ts
|
|
11289
|
+
var environmentOption3 = {
|
|
11290
|
+
name: "environment",
|
|
11291
|
+
shorthand: "e",
|
|
11292
|
+
type: [String],
|
|
11293
|
+
argument: "ENV",
|
|
11294
|
+
deprecated: false,
|
|
11295
|
+
description: "Environment to target (repeatable: production, preview, development). Defaults to all three."
|
|
11296
|
+
};
|
|
11297
|
+
var authOption = {
|
|
11298
|
+
name: "auth",
|
|
11299
|
+
shorthand: null,
|
|
11300
|
+
type: String,
|
|
11301
|
+
argument: "MODE",
|
|
11302
|
+
deprecated: false,
|
|
11303
|
+
description: "Credential mode: `oidc` (default) or `token`. `token` writes long-lived credentials and requires --add-rw-token."
|
|
11304
|
+
};
|
|
11305
|
+
var updateEnvironmentOption = {
|
|
11306
|
+
...environmentOption3,
|
|
11307
|
+
description: "Environment to target (repeatable: production, preview, development). Defaults to the environments the connection already covers."
|
|
11308
|
+
};
|
|
11309
|
+
var updateAuthOption = {
|
|
11310
|
+
...authOption,
|
|
11311
|
+
description: "Credential mode: `oidc` or `token`. Defaults to the mode the connection already uses, so unrelated updates never rotate credentials. `token` requires --add-rw-token."
|
|
11312
|
+
};
|
|
11313
|
+
var addRwTokenOption = {
|
|
11314
|
+
name: "add-rw-token",
|
|
11315
|
+
shorthand: null,
|
|
11316
|
+
type: Boolean,
|
|
11317
|
+
deprecated: false,
|
|
11318
|
+
description: "Explicitly write the static read-write token env var. Required for --auth token, and additive on top of --auth oidc."
|
|
11319
|
+
};
|
|
11320
|
+
var prefixOption = {
|
|
11321
|
+
name: "prefix",
|
|
11322
|
+
shorthand: null,
|
|
11323
|
+
type: String,
|
|
11324
|
+
argument: "PREFIX",
|
|
11325
|
+
deprecated: false,
|
|
11326
|
+
description: "Prefix for the generated environment variable names (e.g. --prefix UPLOADS writes UPLOADS_STORE_ID)"
|
|
11327
|
+
};
|
|
11328
|
+
var dryRunOption = {
|
|
11329
|
+
name: "dry-run",
|
|
11330
|
+
shorthand: null,
|
|
11331
|
+
type: Boolean,
|
|
11332
|
+
deprecated: false,
|
|
11333
|
+
description: "Print the environment variable changes and exit without applying them"
|
|
11334
|
+
};
|
|
11335
|
+
var connectSubcommand3 = {
|
|
11336
|
+
name: "connect",
|
|
11337
|
+
aliases: [],
|
|
11338
|
+
description: "Connect a storage resource (Blob, Marketplace, or 1P) to a project",
|
|
11339
|
+
arguments: [
|
|
11340
|
+
{
|
|
11341
|
+
name: "store",
|
|
11342
|
+
required: true
|
|
11343
|
+
}
|
|
11344
|
+
],
|
|
11345
|
+
options: [
|
|
11346
|
+
projectOption,
|
|
11347
|
+
environmentOption3,
|
|
11348
|
+
authOption,
|
|
11349
|
+
addRwTokenOption,
|
|
11350
|
+
prefixOption,
|
|
11351
|
+
dryRunOption,
|
|
11352
|
+
{
|
|
11353
|
+
...yesOption,
|
|
11354
|
+
description: "Skip the confirmation prompt when connecting a resource"
|
|
11355
|
+
},
|
|
11356
|
+
formatOption,
|
|
11357
|
+
jsonOption
|
|
11358
|
+
],
|
|
11359
|
+
examples: [
|
|
11360
|
+
{
|
|
11361
|
+
name: "Connect a store to the linked project in every environment",
|
|
11362
|
+
value: [
|
|
11363
|
+
`${packageName} storage connect <store>`,
|
|
11364
|
+
`${packageName} storage connect my-blob-store`
|
|
11365
|
+
]
|
|
11366
|
+
},
|
|
11367
|
+
{
|
|
11368
|
+
name: "Connect to a specific project and environments",
|
|
11369
|
+
value: `${packageName} storage connect my-blob-store --project my-app --environment production --environment preview`
|
|
11370
|
+
},
|
|
11371
|
+
{
|
|
11372
|
+
name: "Preview the exact environment variable changes without applying them",
|
|
11373
|
+
value: [
|
|
11374
|
+
`${packageName} storage connect my-blob-store --dry-run`,
|
|
11375
|
+
`${packageName} storage connect my-blob-store --dry-run --json`
|
|
11376
|
+
]
|
|
11377
|
+
},
|
|
11378
|
+
{
|
|
11379
|
+
name: "Opt in to the static read-write token alongside OIDC",
|
|
11380
|
+
value: `${packageName} storage connect my-blob-store --add-rw-token --yes`
|
|
11381
|
+
},
|
|
11382
|
+
{
|
|
11383
|
+
name: "Use only static credentials (requires the explicit opt-in)",
|
|
11384
|
+
value: `${packageName} storage connect my-blob-store --auth token --add-rw-token --yes`
|
|
11385
|
+
}
|
|
11386
|
+
]
|
|
11387
|
+
};
|
|
11388
|
+
var statusSubcommand5 = {
|
|
11389
|
+
name: "status",
|
|
11390
|
+
aliases: [],
|
|
11391
|
+
description: "Show storage connections, their environments, credential mode, and environment variables",
|
|
11392
|
+
arguments: [
|
|
11393
|
+
{
|
|
11394
|
+
name: "store",
|
|
11395
|
+
required: false
|
|
11396
|
+
}
|
|
11397
|
+
],
|
|
11398
|
+
options: [
|
|
11399
|
+
projectOption,
|
|
11400
|
+
{
|
|
11401
|
+
...allOption,
|
|
11402
|
+
description: "Show every storage resource in the current scope"
|
|
11403
|
+
},
|
|
11404
|
+
formatOption,
|
|
11405
|
+
jsonOption
|
|
11406
|
+
],
|
|
11407
|
+
examples: [
|
|
11408
|
+
{
|
|
11409
|
+
name: "Show the storage connections of the linked project",
|
|
11410
|
+
value: `${packageName} storage status`
|
|
11411
|
+
},
|
|
11412
|
+
{
|
|
11413
|
+
name: "Show every project connected to one store",
|
|
11414
|
+
value: `${packageName} storage status my-blob-store`
|
|
11415
|
+
},
|
|
11416
|
+
{
|
|
11417
|
+
name: "Show every storage resource in the current scope as JSON",
|
|
11418
|
+
value: `${packageName} storage status --all --json`
|
|
11419
|
+
}
|
|
11420
|
+
]
|
|
11421
|
+
};
|
|
11422
|
+
var updateSubcommand8 = {
|
|
11423
|
+
name: "update",
|
|
11424
|
+
aliases: [],
|
|
11425
|
+
description: "Update an existing storage connection (environments, prefix, or credential mode)",
|
|
11426
|
+
arguments: [
|
|
11427
|
+
{
|
|
11428
|
+
name: "store",
|
|
11429
|
+
required: true
|
|
11430
|
+
}
|
|
11431
|
+
],
|
|
11432
|
+
options: [
|
|
11433
|
+
projectOption,
|
|
11434
|
+
updateEnvironmentOption,
|
|
11435
|
+
updateAuthOption,
|
|
11436
|
+
addRwTokenOption,
|
|
11437
|
+
prefixOption,
|
|
11438
|
+
dryRunOption,
|
|
11439
|
+
{
|
|
11440
|
+
...yesOption,
|
|
11441
|
+
description: "Skip the confirmation prompt when updating a connection"
|
|
11442
|
+
},
|
|
11443
|
+
formatOption,
|
|
11444
|
+
jsonOption
|
|
11445
|
+
],
|
|
11446
|
+
examples: [
|
|
11447
|
+
{
|
|
11448
|
+
name: "Move an existing connection to OIDC credentials",
|
|
11449
|
+
value: `${packageName} storage update my-blob-store --auth oidc --yes`
|
|
11450
|
+
},
|
|
11451
|
+
{
|
|
11452
|
+
name: "Change the environments of a connection",
|
|
11453
|
+
value: `${packageName} storage update my-blob-store --environment production --yes`
|
|
11454
|
+
},
|
|
11455
|
+
{
|
|
11456
|
+
name: "Preview the environment variable changes without applying them",
|
|
11457
|
+
value: `${packageName} storage update my-blob-store --auth oidc --dry-run`
|
|
11458
|
+
}
|
|
11459
|
+
]
|
|
11460
|
+
};
|
|
11461
|
+
var disconnectSubcommand3 = {
|
|
11462
|
+
name: "disconnect",
|
|
11463
|
+
aliases: [],
|
|
11464
|
+
description: "Disconnect a storage resource from a project. Removes its environment variables, so it always requires interactive confirmation.",
|
|
11465
|
+
arguments: [
|
|
11466
|
+
{
|
|
11467
|
+
name: "store",
|
|
11468
|
+
required: true
|
|
11469
|
+
}
|
|
11470
|
+
],
|
|
11471
|
+
options: [
|
|
11472
|
+
projectOption,
|
|
11473
|
+
{
|
|
11474
|
+
...allOption,
|
|
11475
|
+
description: "Disconnect every project from the specified resource"
|
|
11476
|
+
},
|
|
11477
|
+
dryRunOption,
|
|
11478
|
+
formatOption,
|
|
11479
|
+
jsonOption
|
|
11480
|
+
],
|
|
11481
|
+
examples: [
|
|
11482
|
+
{
|
|
11483
|
+
name: "Disconnect a store from the linked project (always asks for confirmation)",
|
|
11484
|
+
value: `${packageName} storage disconnect my-blob-store`
|
|
11485
|
+
},
|
|
11486
|
+
{
|
|
11487
|
+
name: "Disconnect a store from every project",
|
|
11488
|
+
value: `${packageName} storage disconnect my-blob-store --all`
|
|
11489
|
+
},
|
|
11490
|
+
{
|
|
11491
|
+
name: "Preview the environment variables that would be removed",
|
|
11492
|
+
value: [
|
|
11493
|
+
`${packageName} storage disconnect my-blob-store --dry-run`,
|
|
11494
|
+
`${packageName} storage disconnect my-blob-store --dry-run --json`
|
|
11495
|
+
]
|
|
11496
|
+
}
|
|
11497
|
+
]
|
|
11498
|
+
};
|
|
11499
|
+
var storageCommand = {
|
|
11500
|
+
name: "storage",
|
|
11501
|
+
aliases: [],
|
|
11502
|
+
description: "Connect and manage storage resources (Blob, Marketplace, and 1P) for your Projects",
|
|
11503
|
+
options: [],
|
|
11504
|
+
arguments: [],
|
|
11505
|
+
subcommands: [
|
|
11506
|
+
connectSubcommand3,
|
|
11507
|
+
statusSubcommand5,
|
|
11508
|
+
updateSubcommand8,
|
|
11509
|
+
disconnectSubcommand3
|
|
11510
|
+
],
|
|
11511
|
+
examples: [
|
|
11512
|
+
{
|
|
11513
|
+
name: "Connect a store to the linked project",
|
|
11514
|
+
value: `${packageName} storage connect my-blob-store --yes`
|
|
11515
|
+
},
|
|
11516
|
+
{
|
|
11517
|
+
name: "Inspect what is connected today",
|
|
11518
|
+
value: `${packageName} storage status`
|
|
11519
|
+
}
|
|
11520
|
+
]
|
|
11521
|
+
};
|
|
11522
|
+
|
|
10992
11523
|
// src/commands/target/command.ts
|
|
10993
11524
|
var listSubcommand17 = {
|
|
10994
11525
|
name: "list",
|
|
@@ -11282,7 +11813,7 @@ var tokensCommand = {
|
|
|
11282
11813
|
};
|
|
11283
11814
|
|
|
11284
11815
|
// src/commands/telemetry/command.ts
|
|
11285
|
-
var
|
|
11816
|
+
var statusSubcommand6 = {
|
|
11286
11817
|
name: "status",
|
|
11287
11818
|
aliases: [],
|
|
11288
11819
|
description: "Shows whether telemetry collection is enabled or disabled",
|
|
@@ -11323,7 +11854,7 @@ var telemetryCommand = {
|
|
|
11323
11854
|
subcommands: [
|
|
11324
11855
|
enableSubcommand3,
|
|
11325
11856
|
disableSubcommand3,
|
|
11326
|
-
|
|
11857
|
+
statusSubcommand6,
|
|
11327
11858
|
flushSubcommand
|
|
11328
11859
|
],
|
|
11329
11860
|
options: [],
|
|
@@ -11508,7 +12039,7 @@ var useSubcommand = {
|
|
|
11508
12039
|
}
|
|
11509
12040
|
]
|
|
11510
12041
|
};
|
|
11511
|
-
var
|
|
12042
|
+
var updateSubcommand9 = {
|
|
11512
12043
|
name: "update",
|
|
11513
12044
|
aliases: ["upgrade"],
|
|
11514
12045
|
description: "Updates the Vercel CLI to the latest version",
|
|
@@ -11547,7 +12078,7 @@ var versionCommand = {
|
|
|
11547
12078
|
listSubcommand20,
|
|
11548
12079
|
installedSubcommand,
|
|
11549
12080
|
useSubcommand,
|
|
11550
|
-
|
|
12081
|
+
updateSubcommand9,
|
|
11551
12082
|
autoupdateSubcommand
|
|
11552
12083
|
],
|
|
11553
12084
|
options: [],
|
|
@@ -11608,7 +12139,7 @@ var accessOption = {
|
|
|
11608
12139
|
argument: "String",
|
|
11609
12140
|
choices: ["public", "private"]
|
|
11610
12141
|
};
|
|
11611
|
-
var
|
|
12142
|
+
var environmentOption4 = {
|
|
11612
12143
|
name: "environment",
|
|
11613
12144
|
shorthand: "e",
|
|
11614
12145
|
type: [String],
|
|
@@ -12116,7 +12647,7 @@ var createStoreSubcommand = {
|
|
|
12116
12647
|
argument: "STRING"
|
|
12117
12648
|
},
|
|
12118
12649
|
yesOption,
|
|
12119
|
-
|
|
12650
|
+
environmentOption4
|
|
12120
12651
|
],
|
|
12121
12652
|
examples: [
|
|
12122
12653
|
{
|
|
@@ -12408,6 +12939,7 @@ var commandsStructs = [
|
|
|
12408
12939
|
sandboxCommand,
|
|
12409
12940
|
securityCommand,
|
|
12410
12941
|
skillsCommand,
|
|
12942
|
+
storageCommand,
|
|
12411
12943
|
targetCommand,
|
|
12412
12944
|
teamsCommand,
|
|
12413
12945
|
tokensCommand,
|
|
@@ -12560,6 +13092,7 @@ export {
|
|
|
12560
13092
|
verifySubcommand,
|
|
12561
13093
|
domainsCommand,
|
|
12562
13094
|
overviewSubcommand,
|
|
13095
|
+
statusSubcommand,
|
|
12563
13096
|
diffSubcommand,
|
|
12564
13097
|
publishSubcommand,
|
|
12565
13098
|
discardSubcommand,
|
|
@@ -12586,6 +13119,12 @@ export {
|
|
|
12586
13119
|
systemMitigationsPauseSubcommand,
|
|
12587
13120
|
systemMitigationsResumeSubcommand,
|
|
12588
13121
|
systemMitigationsSubcommand,
|
|
13122
|
+
alertsListSubcommand,
|
|
13123
|
+
alertsInspectSubcommand,
|
|
13124
|
+
alertsSubcommand,
|
|
13125
|
+
persistentActionsListSubcommand,
|
|
13126
|
+
persistentActionsInspectSubcommand,
|
|
13127
|
+
persistentActionsSubcommand,
|
|
12589
13128
|
firewallCommand,
|
|
12590
13129
|
isTimestampAttributeType,
|
|
12591
13130
|
isBucketingAttribute,
|
|
@@ -12597,6 +13136,7 @@ export {
|
|
|
12597
13136
|
FLAG_EVALUATIONS_GRANULARITIES,
|
|
12598
13137
|
isFlagEvaluationsGranularity,
|
|
12599
13138
|
listSubcommand11,
|
|
13139
|
+
staleSubcommand,
|
|
12600
13140
|
inspectSubcommand5,
|
|
12601
13141
|
versionsListSubcommand,
|
|
12602
13142
|
versionsDiffSubcommand,
|
|
@@ -12645,7 +13185,7 @@ export {
|
|
|
12645
13185
|
tokensSubcommand,
|
|
12646
13186
|
backupsSubcommand,
|
|
12647
13187
|
globalConfigCommand,
|
|
12648
|
-
|
|
13188
|
+
statusSubcommand2,
|
|
12649
13189
|
enableSubcommand2,
|
|
12650
13190
|
disableSubcommand2,
|
|
12651
13191
|
guidanceCommand,
|
|
@@ -12730,7 +13270,7 @@ export {
|
|
|
12730
13270
|
speedInsightsSubcommand,
|
|
12731
13271
|
observabilitySubcommand,
|
|
12732
13272
|
projectCommand,
|
|
12733
|
-
|
|
13273
|
+
statusSubcommand3,
|
|
12734
13274
|
promoteCommand,
|
|
12735
13275
|
redeployCommand,
|
|
12736
13276
|
listSubcommand16,
|
|
@@ -12742,7 +13282,7 @@ export {
|
|
|
12742
13282
|
restoreSubcommand,
|
|
12743
13283
|
redirectsCommand,
|
|
12744
13284
|
removeCommand,
|
|
12745
|
-
|
|
13285
|
+
statusSubcommand4,
|
|
12746
13286
|
rollbackCommand,
|
|
12747
13287
|
configureSubcommand,
|
|
12748
13288
|
startSubcommand,
|
|
@@ -12754,6 +13294,11 @@ export {
|
|
|
12754
13294
|
checkSubcommand2,
|
|
12755
13295
|
securityCommand,
|
|
12756
13296
|
skillsCommand,
|
|
13297
|
+
connectSubcommand3,
|
|
13298
|
+
statusSubcommand5,
|
|
13299
|
+
updateSubcommand8,
|
|
13300
|
+
disconnectSubcommand3,
|
|
13301
|
+
storageCommand,
|
|
12757
13302
|
listSubcommand17,
|
|
12758
13303
|
targetCommand,
|
|
12759
13304
|
requestSubcommand,
|
|
@@ -12768,7 +13313,7 @@ export {
|
|
|
12768
13313
|
addSubcommand12,
|
|
12769
13314
|
removeSubcommand15,
|
|
12770
13315
|
tokensCommand,
|
|
12771
|
-
|
|
13316
|
+
statusSubcommand6,
|
|
12772
13317
|
enableSubcommand3,
|
|
12773
13318
|
flushSubcommand,
|
|
12774
13319
|
disableSubcommand3,
|
|
@@ -12778,7 +13323,7 @@ export {
|
|
|
12778
13323
|
listSubcommand20,
|
|
12779
13324
|
installedSubcommand,
|
|
12780
13325
|
useSubcommand,
|
|
12781
|
-
|
|
13326
|
+
updateSubcommand9,
|
|
12782
13327
|
autoupdateSubcommand,
|
|
12783
13328
|
versionCommand,
|
|
12784
13329
|
whoamiCommand,
|