vercel 59.3.0 → 59.5.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.
Files changed (122) hide show
  1. package/dist/chunks/{add-4L46WVRT.js → add-MH3WV6PV.js} +12 -8
  2. package/dist/chunks/{add-BBWVXE2R.js → add-W3FFMTX4.js} +15 -11
  3. package/dist/chunks/{add-KOD24LEM.js → add-Z5FM6TFI.js} +18 -14
  4. package/dist/chunks/{build-2SX3XIRI.js → build-VYYFBJL7.js} +13 -10
  5. package/dist/chunks/{chunk-F7OXZLY2.js → chunk-26XDDLXM.js} +2 -2
  6. package/dist/chunks/{chunk-RIB4S2IB.js → chunk-3HZLXCVL.js} +1 -1
  7. package/dist/chunks/{chunk-OISTYQGR.js → chunk-47VQ6H2S.js} +1 -1
  8. package/dist/chunks/{chunk-WODLA275.js → chunk-4JTF6RD7.js} +7 -7
  9. package/dist/chunks/{chunk-3KNPVXJ3.js → chunk-4KD5BYHB.js} +1 -1
  10. package/dist/chunks/{chunk-XLKFJPMT.js → chunk-57RHXXXG.js} +1 -1
  11. package/dist/chunks/chunk-5GGUB4EO.js +31 -0
  12. package/dist/chunks/chunk-5LX2JDZP.js +34 -0
  13. package/dist/chunks/chunk-7Q45OKWR.js +149 -0
  14. package/dist/chunks/{chunk-7PEQVFHI.js → chunk-7XX4ZEOV.js} +2 -2
  15. package/dist/chunks/{chunk-JKQWQA2T.js → chunk-AINIBIP4.js} +1 -1
  16. package/dist/chunks/{chunk-SOFC4MLS.js → chunk-AWCID36T.js} +8 -568
  17. package/dist/chunks/{chunk-KAYSW4CJ.js → chunk-AWSLWAOC.js} +1 -1
  18. package/dist/chunks/{chunk-KDYRLN6H.js → chunk-C5HKWXRR.js} +1 -1
  19. package/dist/chunks/{chunk-2MF3ZAVW.js → chunk-CJV7J7B5.js} +6 -6
  20. package/dist/chunks/chunk-CQJRLNTX.js +104 -0
  21. package/dist/chunks/{chunk-QKO2DGWR.js → chunk-CSCSGSQG.js} +4 -4
  22. package/dist/chunks/{chunk-3L2YLLHC.js → chunk-DWIC7MRV.js} +2 -2
  23. package/dist/chunks/{chunk-KDL2L4KL.js → chunk-E6LFKMI2.js} +13613 -14235
  24. package/dist/chunks/{chunk-GFCTRJI5.js → chunk-EZKW5YJ2.js} +1 -1
  25. package/dist/chunks/{chunk-DAA5RXUK.js → chunk-FA3MO56Q.js} +6 -4
  26. package/dist/chunks/{chunk-CURHMEJX.js → chunk-GUWPUX2Y.js} +5 -5
  27. package/dist/chunks/chunk-GY5I4AYD.js +122 -0
  28. package/dist/chunks/chunk-HGRWPPYB.js +18 -0
  29. package/dist/chunks/{chunk-D35JUCTC.js → chunk-JJQP3PYM.js} +7 -5
  30. package/dist/chunks/{chunk-KBUCAAG6.js → chunk-JNU3DTEV.js} +14 -12
  31. package/dist/chunks/{chunk-J5ZEHLFM.js → chunk-L7CEMAJG.js} +14 -3
  32. package/dist/chunks/{chunk-ANIKVXGZ.js → chunk-LLM3ZNXJ.js} +2 -2
  33. package/dist/chunks/{chunk-Z2G6SO5B.js → chunk-M3OSDZPY.js} +6 -4
  34. package/dist/chunks/{chunk-WNS53IOA.js → chunk-MRMNMFMD.js} +2 -2
  35. package/dist/chunks/{chunk-EG5BSAXD.js → chunk-MTWHQEXI.js} +1 -1
  36. package/dist/chunks/{chunk-WC7IINFV.js → chunk-NFU4XJIR.js} +1 -1
  37. package/dist/chunks/{chunk-6GWLC2IP.js → chunk-NSU2BTRS.js} +3 -3
  38. package/dist/chunks/chunk-OHER4DGX.js +451 -0
  39. package/dist/chunks/{chunk-BBSS3XIW.js → chunk-OQ3C5VXZ.js} +1 -1
  40. package/dist/chunks/{chunk-Q6QCRFTC.js → chunk-PBHBX6UL.js} +2 -2
  41. package/dist/chunks/{chunk-M22O6CYY.js → chunk-POOO7W47.js} +1 -1
  42. package/dist/chunks/{chunk-G55RLNFE.js → chunk-PPUWG2UB.js} +12 -8
  43. package/dist/chunks/chunk-Q2DGFCO7.js +579 -0
  44. package/dist/chunks/{chunk-7GE2K2WR.js → chunk-QG4PCM45.js} +334 -169
  45. package/dist/chunks/{chunk-VAFU7DXZ.js → chunk-RKDCNQ4S.js} +1 -91
  46. package/dist/chunks/{chunk-XI6NJLI4.js → chunk-RZ5NP6HN.js} +2 -2
  47. package/dist/chunks/{chunk-GMWRTZVZ.js → chunk-SLPSPYVR.js} +1 -1
  48. package/dist/chunks/{chunk-VTP6WIQA.js → chunk-TAZ5ZAKG.js} +257 -4
  49. package/dist/chunks/{chunk-ZHRZMQGN.js → chunk-TDXNNIZ6.js} +1 -1
  50. package/dist/chunks/{chunk-NN2W7WFC.js → chunk-TIWAL2YU.js} +6 -6
  51. package/dist/chunks/{chunk-P3BFTZXW.js → chunk-UUVMIXT4.js} +5 -5
  52. package/dist/chunks/{chunk-AAMJ4ZU4.js → chunk-V4YLY44R.js} +3 -17
  53. package/dist/chunks/{chunk-O5GNPPTU.js → chunk-VP5Y3SZG.js} +1 -1
  54. package/dist/chunks/{chunk-YPPWGI3F.js → chunk-VWYNSJXI.js} +7 -7
  55. package/dist/chunks/{chunk-7QVJTI5H.js → chunk-XDGOOW3K.js} +1 -1
  56. package/dist/chunks/{chunk-UMA66MKW.js → chunk-XM3LOQIX.js} +1 -1
  57. package/dist/chunks/{chunk-VDJN4WKH.js → chunk-XRWOTCDO.js} +1 -1
  58. package/dist/chunks/{chunk-MWYQ24FO.js → chunk-YIHOS3ZF.js} +2 -2
  59. package/dist/chunks/{chunk-STPH4Y62.js → chunk-YJUO3EKH.js} +1 -1
  60. package/dist/chunks/chunk-ZKUHCL6O.js +249 -0
  61. package/dist/chunks/{clear-2DMDKLWZ.js → clear-TNGRDA7D.js} +12 -8
  62. package/dist/chunks/{compile-vercel-config-7HZ4UN6R.js → compile-vercel-config-ERLXKKWW.js} +8 -5
  63. package/dist/chunks/config-7EDKML5Q.js +122 -0
  64. package/dist/chunks/{config-CVZ25C54.js → config-H22EE765.js} +15 -11
  65. package/dist/chunks/{delete-QNAGJM6C.js → delete-LORYIZHY.js} +10 -7
  66. package/dist/chunks/{delete-4LQKP5DG.js → delete-Q4S5F2AI.js} +12 -8
  67. package/dist/chunks/{disable-2RBFIZUB.js → disable-HKWCBDJC.js} +10 -7
  68. package/dist/chunks/{discard-UCOSPSUU.js → discard-UCCRF2JQ.js} +10 -7
  69. package/dist/chunks/{edit-QSAO74S4.js → edit-6IM6VRBR.js} +12 -8
  70. package/dist/chunks/{edit-JX73BG3V.js → edit-AWL35PYQ.js} +11 -8
  71. package/dist/chunks/{enable-NDSB4T26.js → enable-GN3D3L3V.js} +10 -7
  72. package/dist/chunks/{export-DB6BIYQJ.js → export-HHRVFALV.js} +10 -7
  73. package/dist/chunks/{image-MKB6II6L.js → image-4DCU4VPP.js} +6 -5
  74. package/dist/chunks/{import-builders-FIQ7QTVG.js → import-builders-DVG3HOTF.js} +9 -6
  75. package/dist/chunks/{inspect-REJXLWLL.js → inspect-B3OWUFLH.js} +12 -8
  76. package/dist/chunks/{inspect-XS2TC7TC.js → inspect-TGOJDKIT.js} +15 -11
  77. package/dist/chunks/{inspect-QWTWAYLS.js → inspect-TUW67CFZ.js} +15 -11
  78. package/dist/chunks/{inspect-IYRKEWTM.js → inspect-VLGKNHJW.js} +12 -8
  79. package/dist/chunks/{inspect-NY6QRX5W.js → inspect-VPME6UC7.js} +15 -11
  80. package/dist/chunks/{list-PXKVKXHG.js → list-2DPKDHRV.js} +15 -11
  81. package/dist/chunks/{list-VQHBVY3Q.js → list-K552ITMK.js} +15 -11
  82. package/dist/chunks/{list-CDCITV4K.js → list-TK2JO7BK.js} +12 -8
  83. package/dist/chunks/{login-PE4JK7A2.js → login-HRWEKW5P.js} +15 -11
  84. package/dist/chunks/{ls-DL2POAY2.js → ls-IOXGXEY4.js} +15 -11
  85. package/dist/chunks/{ls-S67TNMEG.js → ls-JSV2WZVF.js} +15 -10
  86. package/dist/chunks/{ls-SKOQOPK4.js → ls-M5TYGFP5.js} +15 -10
  87. package/dist/chunks/{ls-3GRHYFDM.js → ls-O2WYF5UL.js} +18 -13
  88. package/dist/chunks/ls-TM6NTZEB.js +176 -0
  89. package/dist/chunks/{ls-YHS5IEBJ.js → ls-YIF3KLF3.js} +15 -10
  90. package/dist/chunks/{open-DUN3BTDH.js → open-FWAVEWGU.js} +12 -8
  91. package/dist/chunks/{permissions-VLIZYINB.js → permissions-DPFYL47Z.js} +9 -8
  92. package/dist/chunks/{publish-36BIJPLN.js → publish-63CGFKQR.js} +10 -7
  93. package/dist/chunks/{push-5NTQV3EC.js → push-T5ZTBW3P.js} +13 -10
  94. package/dist/chunks/{query-ONR2W7HS.js → query-B6O3EMEV.js} +14 -10
  95. package/dist/chunks/{reorder-YKAT4XG3.js → reorder-ANV4NMKH.js} +10 -7
  96. package/dist/chunks/{reply-DH4ZPEXT.js → reply-C73KGOCG.js} +12 -8
  97. package/dist/chunks/{resolve-446IVH6V.js → resolve-IHSIVPEE.js} +12 -8
  98. package/dist/chunks/{restore-HA6TSOOE.js → restore-GSUNXP2O.js} +10 -7
  99. package/dist/chunks/{rm-BCPJUK2C.js → rm-4O74PS4Q.js} +12 -8
  100. package/dist/chunks/{rm-IKYJI7MP.js → rm-M7IJC2WZ.js} +12 -8
  101. package/dist/chunks/{rm-EG35766L.js → rm-PRINF4OU.js} +15 -11
  102. package/dist/chunks/rm-RV5SQFQA.js +317 -0
  103. package/dist/chunks/{rm-COV73VE4.js → rm-YDTK5ESZ.js} +13 -9
  104. package/dist/chunks/{rule-inspect-FQ2635LY.js → rule-inspect-ZZC53FLP.js} +15 -11
  105. package/dist/chunks/{rules-PBOQISWV.js → rules-SAOSSGFI.js} +10 -9
  106. package/dist/chunks/{schema-LUVFYPWN.js → schema-23ZFAKDU.js} +7 -5
  107. package/dist/chunks/{schema-4CDJVH7T.js → schema-2Q3QRMRO.js} +11 -8
  108. package/dist/chunks/set-L47ZCZBJ.js +243 -0
  109. package/dist/chunks/{tags-HNOL4JXL.js → tags-2TWLM77N.js} +5 -4
  110. package/dist/chunks/{types-AJHILHO5.js → types-G3PEUIJH.js} +11 -7
  111. package/dist/chunks/{update-ZIGVLUYG.js → update-SZH2VBD6.js} +16 -12
  112. package/dist/commands/build/index.js +30 -22
  113. package/dist/commands/deploy/index.js +41 -32
  114. package/dist/commands/dev/index.js +82 -39
  115. package/dist/commands/env/index.js +185 -253
  116. package/dist/commands/link/index.js +25 -20
  117. package/dist/commands/list/index.js +19 -12
  118. package/dist/commands-bulk.js +3672 -1717
  119. package/dist/help.js +1 -1
  120. package/dist/index.js +34 -28
  121. package/dist/version.mjs +1 -1
  122. package/package.json +48 -47
@@ -4,37 +4,40 @@ 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";
7
10
  import {
8
11
  vcrCommand
9
- } from "./chunk-2MF3ZAVW.js";
12
+ } from "./chunk-CJV7J7B5.js";
10
13
  import {
11
14
  metricsCommand
12
- } from "./chunk-EG5BSAXD.js";
15
+ } from "./chunk-MTWHQEXI.js";
13
16
  import {
14
17
  routesCommand
15
- } from "./chunk-M22O6CYY.js";
18
+ } from "./chunk-POOO7W47.js";
16
19
  import {
17
20
  commentsCommand
18
- } from "./chunk-GMWRTZVZ.js";
21
+ } from "./chunk-SLPSPYVR.js";
19
22
  import {
20
23
  activityCommand
21
- } from "./chunk-3KNPVXJ3.js";
24
+ } from "./chunk-4KD5BYHB.js";
22
25
  import {
23
26
  alertsCommand
24
- } from "./chunk-3L2YLLHC.js";
27
+ } from "./chunk-DWIC7MRV.js";
25
28
  import {
26
29
  devCommand
27
- } from "./chunk-7QVJTI5H.js";
30
+ } from "./chunk-XDGOOW3K.js";
28
31
  import {
29
32
  listCommand
30
- } from "./chunk-O5GNPPTU.js";
33
+ } from "./chunk-VP5Y3SZG.js";
31
34
  import {
32
35
  buildCommand,
33
36
  pullCommand
34
- } from "./chunk-7PEQVFHI.js";
37
+ } from "./chunk-7XX4ZEOV.js";
35
38
  import {
36
39
  envCommand
37
- } from "./chunk-KDL2L4KL.js";
40
+ } from "./chunk-OHER4DGX.js";
38
41
  import {
39
42
  confirmOption,
40
43
  deploymentOption,
@@ -47,7 +50,7 @@ import {
47
50
  projectOption,
48
51
  protectionBypassOption,
49
52
  yesOption
50
- } from "./chunk-SOFC4MLS.js";
53
+ } from "./chunk-Q2DGFCO7.js";
51
54
  import {
52
55
  output_manager_default
53
56
  } from "./chunk-OX7KI3LF.js";
@@ -3068,7 +3071,7 @@ var detachSubcommand = {
3068
3071
  var connexCommand = {
3069
3072
  name: "connect",
3070
3073
  aliases: [],
3071
- description: "Manage connectors (Beta).\n\nVercel Connect is currently in beta. Behavior, commands, and output may change before general availability.",
3074
+ description: "Manage connectors",
3072
3075
  arguments: [],
3073
3076
  options: [],
3074
3077
  subcommands: [
@@ -3490,6 +3493,38 @@ var updateSubcommand2 = {
3490
3493
  deprecated: false,
3491
3494
  description: "New priority of the MX record"
3492
3495
  },
3496
+ {
3497
+ name: "srv-priority",
3498
+ shorthand: null,
3499
+ type: Number,
3500
+ argument: "PRIORITY",
3501
+ deprecated: false,
3502
+ description: "New priority of the SRV record"
3503
+ },
3504
+ {
3505
+ name: "srv-weight",
3506
+ shorthand: null,
3507
+ type: Number,
3508
+ argument: "WEIGHT",
3509
+ deprecated: false,
3510
+ description: "New weight of the SRV record"
3511
+ },
3512
+ {
3513
+ name: "srv-port",
3514
+ shorthand: null,
3515
+ type: Number,
3516
+ argument: "PORT",
3517
+ deprecated: false,
3518
+ description: "New port of the SRV record"
3519
+ },
3520
+ {
3521
+ name: "srv-target",
3522
+ shorthand: null,
3523
+ type: String,
3524
+ argument: "TARGET",
3525
+ deprecated: false,
3526
+ description: "New target of the SRV record"
3527
+ },
3493
3528
  {
3494
3529
  name: "comment",
3495
3530
  shorthand: null,
@@ -3511,6 +3546,10 @@ var updateSubcommand2 = {
3511
3546
  {
3512
3547
  name: "Update an MX record priority",
3513
3548
  value: `${packageName} dns update rec_1a2b3c4d5e6f --mx-priority 10`
3549
+ },
3550
+ {
3551
+ name: "Update an SRV record",
3552
+ value: `${packageName} dns update rec_1a2b3c4d5e6f --srv-priority 10 --srv-weight 0 --srv-port 389 --srv-target zeit.party`
3514
3553
  }
3515
3554
  ]
3516
3555
  };
@@ -3557,6 +3596,20 @@ var dnsCommand = {
3557
3596
  `${packageName} dns add zeit.rocks '@' CAA '0 issue "example.com"'`
3558
3597
  ]
3559
3598
  },
3599
+ {
3600
+ name: "Update an existing DNS record using its ID",
3601
+ value: [
3602
+ `${packageName} dns update <ID> --value <VALUE>`,
3603
+ `${packageName} dns update rec_1a2b3c4d5e6f --name api --ttl 300`
3604
+ ]
3605
+ },
3606
+ {
3607
+ name: "Show a DNS record in full using its ID",
3608
+ value: [
3609
+ `${packageName} dns inspect <ID>`,
3610
+ `${packageName} dns inspect rec_1a2b3c4d5e6f`
3611
+ ]
3612
+ },
3560
3613
  {
3561
3614
  name: "Import a Zone file",
3562
3615
  value: [
@@ -3838,6 +3891,58 @@ var transferInSubcommand = {
3838
3891
  ],
3839
3892
  examples: []
3840
3893
  };
3894
+ var autoRenewSubcommand = {
3895
+ name: "auto-renew",
3896
+ aliases: [],
3897
+ description: "Turn automatic renewal on or off for a registered domain",
3898
+ arguments: [
3899
+ {
3900
+ name: "domain",
3901
+ required: true
3902
+ },
3903
+ {
3904
+ name: "state",
3905
+ required: true
3906
+ }
3907
+ ],
3908
+ options: [formatOption, jsonOption],
3909
+ examples: [
3910
+ {
3911
+ name: "Turn automatic renewal on",
3912
+ value: `${packageName} domains auto-renew example.com on`
3913
+ },
3914
+ {
3915
+ name: "Turn automatic renewal off",
3916
+ value: `${packageName} domains auto-renew example.com off`
3917
+ },
3918
+ {
3919
+ name: "JSON output",
3920
+ value: `${packageName} domains auto-renew example.com on --json`
3921
+ }
3922
+ ]
3923
+ };
3924
+ var renewSubcommand = {
3925
+ name: "renew",
3926
+ aliases: [],
3927
+ description: "Renew a registered domain before it expires (charges your account)",
3928
+ arguments: [
3929
+ {
3930
+ name: "domain",
3931
+ required: true
3932
+ }
3933
+ ],
3934
+ options: [formatOption, jsonOption],
3935
+ examples: [
3936
+ {
3937
+ name: "Renew a domain (shows the renewal price and asks to confirm)",
3938
+ value: `${packageName} domains renew example.com`
3939
+ },
3940
+ {
3941
+ name: "JSON output (renewal still requires interactive confirmation)",
3942
+ value: `${packageName} domains renew example.com --json`
3943
+ }
3944
+ ]
3945
+ };
3841
3946
  var verifySubcommand = {
3842
3947
  name: "verify",
3843
3948
  aliases: [],
@@ -3895,10 +4000,27 @@ var domainsCommand = {
3895
4000
  searchSubcommand2,
3896
4001
  transferInSubcommand,
3897
4002
  removeSubcommand7,
4003
+ renewSubcommand,
4004
+ autoRenewSubcommand,
3898
4005
  verifySubcommand
3899
4006
  ],
3900
4007
  options: [],
3901
- examples: []
4008
+ examples: [
4009
+ {
4010
+ name: "Renew a registered domain before it expires",
4011
+ value: [
4012
+ `${packageName} domains renew <DOMAIN>`,
4013
+ `${packageName} domains renew example.com`
4014
+ ]
4015
+ },
4016
+ {
4017
+ name: "Turn automatic renewal on or off for a registered domain",
4018
+ value: [
4019
+ `${packageName} domains auto-renew <DOMAIN> <on | off>`,
4020
+ `${packageName} domains auto-renew example.com on`
4021
+ ]
4022
+ }
4023
+ ]
3902
4024
  };
3903
4025
 
3904
4026
  // src/commands/firewall/command.ts
@@ -8962,6 +9084,22 @@ var openCommand = {
8962
9084
  };
8963
9085
 
8964
9086
  // src/commands/project/command.ts
9087
+ var sandboxRegionOption = {
9088
+ name: "sandbox-region",
9089
+ shorthand: null,
9090
+ type: String,
9091
+ argument: "REGION",
9092
+ description: 'Set the default region for sandboxes created in the project. See the Vercel docs for available regions. Use "" to clear',
9093
+ deprecated: false
9094
+ };
9095
+ var sandboxFailoverRegionsOption = {
9096
+ name: "sandbox-failover-regions",
9097
+ shorthand: null,
9098
+ type: String,
9099
+ argument: "REGIONS",
9100
+ description: 'Set the ordered, comma-separated failover regions for sandboxes created in the project. Requires a primary region and must not include it. Use "" to clear',
9101
+ deprecated: false
9102
+ };
8965
9103
  var addSubcommand9 = {
8966
9104
  name: "add",
8967
9105
  aliases: [],
@@ -9159,6 +9297,32 @@ var pauseSubcommand = {
9159
9297
  }
9160
9298
  ]
9161
9299
  };
9300
+ var resumeSubcommand = {
9301
+ name: "resume",
9302
+ aliases: ["unpause"],
9303
+ description: "Resume production traffic for a paused project",
9304
+ arguments: [
9305
+ {
9306
+ name: "project",
9307
+ required: false
9308
+ }
9309
+ ],
9310
+ options: [formatOption, jsonOption],
9311
+ examples: [
9312
+ {
9313
+ name: "Resume the linked project",
9314
+ value: `${packageName} project resume`
9315
+ },
9316
+ {
9317
+ name: 'Resume the project named "my-project"',
9318
+ value: `${packageName} project resume my-project`
9319
+ },
9320
+ {
9321
+ name: "Resume a project and print the result as JSON",
9322
+ value: `${packageName} project resume my-project --json`
9323
+ }
9324
+ ]
9325
+ };
9162
9326
  var removeSubcommand13 = {
9163
9327
  name: "remove",
9164
9328
  aliases: ["rm"],
@@ -9261,6 +9425,8 @@ var updateSubcommand7 = {
9261
9425
  description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, output-directory, or root-directory",
9262
9426
  deprecated: false
9263
9427
  },
9428
+ sandboxRegionOption,
9429
+ sandboxFailoverRegionsOption,
9264
9430
  formatOption,
9265
9431
  jsonOption
9266
9432
  ],
@@ -9284,6 +9450,10 @@ var updateSubcommand7 = {
9284
9450
  {
9285
9451
  name: "Clear the framework preset and return JSON",
9286
9452
  value: `${packageName} project update my-project --framework other --json`
9453
+ },
9454
+ {
9455
+ name: "Set the sandbox default and failover regions",
9456
+ value: `${packageName} project update my-project --sandbox-region sfo1 --sandbox-failover-regions cle1,iad1`
9287
9457
  }
9288
9458
  ]
9289
9459
  };
@@ -9335,10 +9505,30 @@ var accessSummarySubcommand = {
9335
9505
  }
9336
9506
  ]
9337
9507
  };
9508
+ var membersRemoveFlags = [formatOption, jsonOption];
9509
+ var PROJECT_MEMBER_ROLES = [
9510
+ "ADMIN",
9511
+ "PROJECT_DEVELOPER",
9512
+ "PROJECT_VIEWER",
9513
+ "PROJECT_GUEST"
9514
+ ];
9515
+ var memberRoleOption = {
9516
+ name: "role",
9517
+ shorthand: null,
9518
+ type: String,
9519
+ argument: "ROLE",
9520
+ description: `Project role when adding a member: ${PROJECT_MEMBER_ROLES.join(", ")}`,
9521
+ deprecated: false
9522
+ };
9523
+ var membersAddFlags = [
9524
+ formatOption,
9525
+ jsonOption,
9526
+ memberRoleOption
9527
+ ];
9338
9528
  var membersSubcommand = {
9339
9529
  name: "members",
9340
9530
  aliases: ["member"],
9341
- description: "List project members for a project",
9531
+ description: "List, add, or remove project members for a project",
9342
9532
  arguments: [
9343
9533
  {
9344
9534
  name: "name",
@@ -9362,7 +9552,8 @@ var membersSubcommand = {
9362
9552
  description: "Limit number of project members returned (1-100)",
9363
9553
  deprecated: false
9364
9554
  },
9365
- nextOption
9555
+ nextOption,
9556
+ memberRoleOption
9366
9557
  ],
9367
9558
  examples: [
9368
9559
  {
@@ -9372,6 +9563,14 @@ var membersSubcommand = {
9372
9563
  {
9373
9564
  name: "List members for a named project as JSON",
9374
9565
  value: `${packageName} project members my-project --json`
9566
+ },
9567
+ {
9568
+ name: "Add a member to a project by email with a role",
9569
+ value: `${packageName} project members add my-project user@example.com --role PROJECT_VIEWER`
9570
+ },
9571
+ {
9572
+ name: "Remove a member from a project",
9573
+ value: `${packageName} project members remove my-project user@example.com`
9375
9574
  }
9376
9575
  ]
9377
9576
  };
@@ -9563,34 +9762,68 @@ var accessGroupsSubcommand = {
9563
9762
  var webAnalyticsSubcommand = {
9564
9763
  name: "web-analytics",
9565
9764
  aliases: [],
9566
- description: "Enable Web Analytics for a project",
9765
+ description: "Enable or disable Web Analytics for a project",
9567
9766
  arguments: [
9568
- {
9569
- name: "name",
9570
- required: false
9571
- }
9767
+ { name: "action", required: false },
9768
+ { name: "name", required: false }
9572
9769
  ],
9573
9770
  options: [formatOption, jsonOption],
9574
9771
  examples: [
9575
9772
  {
9576
- name: "Enable Web Analytics for the linked project",
9773
+ name: "Enable Web Analytics for the linked project (omitting the action defaults to enable)",
9577
9774
  value: `${packageName} project web-analytics`
9578
9775
  },
9579
9776
  {
9580
9777
  name: "Enable Web Analytics for a named project",
9581
- value: `${packageName} project web-analytics my-project`
9778
+ value: `${packageName} project web-analytics enable my-project`
9582
9779
  },
9583
9780
  {
9584
- name: "Confirm enablement as JSON (non-interactive / agents)",
9585
- value: `${packageName} project web-analytics --json`
9781
+ name: "Disable Web Analytics for a named project",
9782
+ value: `${packageName} project web-analytics disable my-project`
9783
+ },
9784
+ {
9785
+ name: "Disable Web Analytics and print the result as JSON (non-interactive / agents)",
9786
+ value: `${packageName} project web-analytics disable my-project --json`
9586
9787
  }
9587
9788
  ]
9588
9789
  };
9589
9790
  var speedInsightsSubcommand = {
9590
9791
  name: "speed-insights",
9591
9792
  aliases: [],
9592
- description: "Enable Speed Insights for a project",
9793
+ description: "Enable or disable Speed Insights for a project",
9593
9794
  arguments: [
9795
+ { name: "action", required: false },
9796
+ { name: "name", required: false }
9797
+ ],
9798
+ options: [formatOption, jsonOption],
9799
+ examples: [
9800
+ {
9801
+ name: "Enable Speed Insights for the linked project",
9802
+ value: `${packageName} project speed-insights`
9803
+ },
9804
+ {
9805
+ name: "Enable Speed Insights for a named project",
9806
+ value: `${packageName} project speed-insights enable my-project`
9807
+ },
9808
+ {
9809
+ name: "Disable Speed Insights for a named project",
9810
+ value: `${packageName} project speed-insights disable my-project`
9811
+ },
9812
+ {
9813
+ name: "Disable Speed Insights and print the result as JSON",
9814
+ value: `${packageName} project speed-insights disable my-project --json`
9815
+ }
9816
+ ]
9817
+ };
9818
+ var observabilitySubcommand = {
9819
+ name: "observability",
9820
+ aliases: [],
9821
+ description: "Enable or disable Observability Plus for a project",
9822
+ arguments: [
9823
+ {
9824
+ name: "action",
9825
+ required: true
9826
+ },
9594
9827
  {
9595
9828
  name: "name",
9596
9829
  required: false
@@ -9599,16 +9832,16 @@ var speedInsightsSubcommand = {
9599
9832
  options: [formatOption, jsonOption],
9600
9833
  examples: [
9601
9834
  {
9602
- name: "Enable Speed Insights for the linked project",
9603
- value: `${packageName} project speed-insights`
9835
+ name: "Enable Observability Plus for the linked project",
9836
+ value: `${packageName} project observability enable`
9604
9837
  },
9605
9838
  {
9606
- name: "Enable Speed Insights for a named project",
9607
- value: `${packageName} project speed-insights my-project`
9839
+ name: "Disable Observability Plus for a named project",
9840
+ value: `${packageName} project observability disable my-project`
9608
9841
  },
9609
9842
  {
9610
- name: "Confirm enablement as JSON (non-interactive / agents)",
9611
- value: `${packageName} project speed-insights --json`
9843
+ name: "Enable Observability Plus and print the result as JSON",
9844
+ value: `${packageName} project observability enable my-project --json`
9612
9845
  }
9613
9846
  ]
9614
9847
  };
@@ -9629,13 +9862,65 @@ var projectCommand = {
9629
9862
  webAnalyticsSubcommand,
9630
9863
  speedInsightsSubcommand,
9631
9864
  pauseSubcommand,
9865
+ observabilitySubcommand,
9866
+ resumeSubcommand,
9632
9867
  updateSubcommand7,
9633
9868
  renameSubcommand,
9634
9869
  removeSubcommand13,
9635
9870
  tokenSubcommand2
9636
9871
  ],
9637
9872
  options: [],
9638
- examples: []
9873
+ examples: [
9874
+ {
9875
+ name: "Pause production traffic for a project",
9876
+ value: [
9877
+ `${packageName} project pause [NAME]`,
9878
+ `${packageName} project pause my-project`
9879
+ ]
9880
+ },
9881
+ {
9882
+ name: "Resume a paused project",
9883
+ value: [
9884
+ `${packageName} project resume [NAME]`,
9885
+ `${packageName} project resume my-project`
9886
+ ]
9887
+ },
9888
+ {
9889
+ name: "Add a member to a project",
9890
+ value: [
9891
+ `${packageName} project members add [NAME] <EMAIL | UID> --role <ROLE>`,
9892
+ `${packageName} project members add my-project user@example.com --role PROJECT_VIEWER`
9893
+ ]
9894
+ },
9895
+ {
9896
+ name: "Remove a member from a project",
9897
+ value: [
9898
+ `${packageName} project members remove [NAME] <EMAIL | UID>`,
9899
+ `${packageName} project members remove my-project user@example.com`
9900
+ ]
9901
+ },
9902
+ {
9903
+ name: "Enable or disable Observability Plus for a project",
9904
+ value: [
9905
+ `${packageName} project observability <enable | disable> [NAME]`,
9906
+ `${packageName} project observability enable my-project`
9907
+ ]
9908
+ },
9909
+ {
9910
+ name: "Enable Web Analytics for a project",
9911
+ value: [
9912
+ `${packageName} project web-analytics [NAME]`,
9913
+ `${packageName} project web-analytics my-project`
9914
+ ]
9915
+ },
9916
+ {
9917
+ name: "Enable Speed Insights for a project",
9918
+ value: [
9919
+ `${packageName} project speed-insights [NAME]`,
9920
+ `${packageName} project speed-insights my-project`
9921
+ ]
9922
+ }
9923
+ ]
9639
9924
  };
9640
9925
 
9641
9926
  // src/commands/promote/command.ts
@@ -10823,130 +11108,6 @@ var telemetryCommand = {
10823
11108
  examples: []
10824
11109
  };
10825
11110
 
10826
- // src/commands/traces/command.ts
10827
- var getSubcommand2 = {
10828
- name: "get",
10829
- aliases: [],
10830
- default: true,
10831
- description: "Fetch a captured trace by request id.",
10832
- arguments: [{ name: "requestId", required: false }],
10833
- options: [
10834
- {
10835
- name: "json",
10836
- shorthand: null,
10837
- type: Boolean,
10838
- deprecated: false,
10839
- description: "Print the raw trace JSON to stdout instead of the markdown summary."
10840
- },
10841
- {
10842
- name: "project",
10843
- shorthand: null,
10844
- type: String,
10845
- argument: "NAME|ID",
10846
- deprecated: false,
10847
- description: "Project name or id to fetch the trace from (overrides the linked project)."
10848
- },
10849
- {
10850
- name: "open",
10851
- shorthand: null,
10852
- type: Boolean,
10853
- deprecated: false,
10854
- description: "Open the trace in the Vercel Dashboard instead of printing it."
10855
- },
10856
- {
10857
- name: "view",
10858
- shorthand: null,
10859
- type: String,
10860
- argument: "timeline|tree|waterfall",
10861
- deprecated: false,
10862
- description: "Dashboard view to open. Only valid with --open. Defaults to timeline."
10863
- }
10864
- ],
10865
- examples: [
10866
- {
10867
- name: "Fetch a trace by request id",
10868
- value: `${packageName} traces get req_1234567890`
10869
- },
10870
- {
10871
- name: "Print the raw trace JSON",
10872
- value: `${packageName} traces get req_1234567890 --json`
10873
- },
10874
- {
10875
- name: "`get` is the default \u2014 this is equivalent to the above",
10876
- value: `${packageName} traces req_1234567890`
10877
- },
10878
- {
10879
- name: "Fetch a trace from a specific team and project",
10880
- value: `${packageName} traces get req_1234567890 --scope my-team --project my-app`
10881
- },
10882
- {
10883
- name: "Open the trace in the Vercel Dashboard",
10884
- value: `${packageName} traces get req_1234567890 --open`
10885
- },
10886
- {
10887
- name: "Open the trace in the Vercel Dashboard with the waterfall view",
10888
- value: `${packageName} traces get req_1234567890 --open --view waterfall`
10889
- }
10890
- ]
10891
- };
10892
- var createSubcommand5 = {
10893
- name: "create",
10894
- aliases: [],
10895
- description: "Capture a session trace for a request (alias for `vercel curl --trace`).",
10896
- arguments: [{ name: "path", required: true }],
10897
- options: [
10898
- deploymentOption,
10899
- protectionBypassOption,
10900
- {
10901
- name: "json",
10902
- shorthand: null,
10903
- type: Boolean,
10904
- deprecated: false,
10905
- description: "Emit { response, requestId } as JSON on stdout"
10906
- },
10907
- {
10908
- ...yesOption,
10909
- description: "Skip the production confirmation prompt (e.g. in non-interactive mode)"
10910
- }
10911
- ],
10912
- examples: [
10913
- {
10914
- name: "Capture a session trace for a request",
10915
- value: `${packageName} traces create /api/hello`
10916
- },
10917
- {
10918
- name: "Target a specific deployment",
10919
- value: `${packageName} traces create /api/status --deployment https://your-project-abc123.vercel.app`
10920
- },
10921
- {
10922
- name: "Pass curl flags after the separator",
10923
- value: `${packageName} traces create /api/test -- --request POST --data '{"name": "John"}'`
10924
- }
10925
- ]
10926
- };
10927
- var tracesCommand = {
10928
- name: "traces",
10929
- aliases: [],
10930
- description: "Fetch traces captured for a Vercel project.",
10931
- arguments: [{ name: "requestId", required: false }],
10932
- subcommands: [getSubcommand2, createSubcommand5],
10933
- options: [],
10934
- examples: [
10935
- {
10936
- name: "Fetch a trace by request id",
10937
- value: `${packageName} traces get req_1234567890`
10938
- },
10939
- {
10940
- name: "Print the raw trace JSON",
10941
- value: `${packageName} traces get req_1234567890 --json`
10942
- },
10943
- {
10944
- name: "Capture a session trace for a request",
10945
- value: `${packageName} traces create /api/hello`
10946
- }
10947
- ]
10948
- };
10949
-
10950
11111
  // src/commands/upgrade/command.ts
10951
11112
  var upgradeCommand = {
10952
11113
  name: "upgrade",
@@ -11404,7 +11565,7 @@ var copySubcommand = {
11404
11565
  ],
11405
11566
  examples: []
11406
11567
  };
11407
- var getSubcommand3 = {
11568
+ var getSubcommand2 = {
11408
11569
  name: "get",
11409
11570
  aliases: [],
11410
11571
  description: "Download a blob by URL or pathname",
@@ -11760,7 +11921,7 @@ var deleteStoreSubcommand = {
11760
11921
  required: false
11761
11922
  }
11762
11923
  ],
11763
- options: [yesOption],
11924
+ options: [],
11764
11925
  examples: []
11765
11926
  };
11766
11927
  var emptyStoreSubcommand = {
@@ -11832,7 +11993,7 @@ var blobCommand = {
11832
11993
  listSubcommand21,
11833
11994
  putSubcommand,
11834
11995
  putImageSubcommand,
11835
- getSubcommand3,
11996
+ getSubcommand2,
11836
11997
  delSubcommand,
11837
11998
  copySubcommand,
11838
11999
  signedTokenSubcommand,
@@ -11887,7 +12048,7 @@ var listSubcommand22 = {
11887
12048
  }
11888
12049
  ]
11889
12050
  };
11890
- var getSubcommand4 = {
12051
+ var getSubcommand3 = {
11891
12052
  name: "get",
11892
12053
  aliases: ["inspect"],
11893
12054
  description: "Displays information related to a webhook",
@@ -11900,7 +12061,7 @@ var getSubcommand4 = {
11900
12061
  options: [formatOption, jsonOption],
11901
12062
  examples: []
11902
12063
  };
11903
- var createSubcommand6 = {
12064
+ var createSubcommand5 = {
11904
12065
  name: "create",
11905
12066
  aliases: ["add"],
11906
12067
  description: "Create a new webhook",
@@ -11960,8 +12121,8 @@ var webhooksCommand = {
11960
12121
  arguments: [],
11961
12122
  subcommands: [
11962
12123
  listSubcommand22,
11963
- getSubcommand4,
11964
- createSubcommand6,
12124
+ getSubcommand3,
12125
+ createSubcommand5,
11965
12126
  removeSubcommand16
11966
12127
  ],
11967
12128
  options: [],
@@ -12169,6 +12330,8 @@ export {
12169
12330
  checkSubcommand,
12170
12331
  moveSubcommand,
12171
12332
  transferInSubcommand,
12333
+ autoRenewSubcommand,
12334
+ renewSubcommand,
12172
12335
  verifySubcommand,
12173
12336
  domainsCommand,
12174
12337
  overviewSubcommand,
@@ -12322,16 +12485,21 @@ export {
12322
12485
  inspectSubcommand8,
12323
12486
  listSubcommand15,
12324
12487
  pauseSubcommand,
12488
+ resumeSubcommand,
12325
12489
  removeSubcommand13,
12326
12490
  renameSubcommand,
12327
12491
  updateSubcommand7,
12328
12492
  tokenSubcommand2,
12329
12493
  accessSummarySubcommand,
12494
+ membersRemoveFlags,
12495
+ PROJECT_MEMBER_ROLES,
12496
+ membersAddFlags,
12330
12497
  membersSubcommand,
12331
12498
  protectionSubcommand,
12332
12499
  accessGroupsSubcommand,
12333
12500
  webAnalyticsSubcommand,
12334
12501
  speedInsightsSubcommand,
12502
+ observabilitySubcommand,
12335
12503
  projectCommand,
12336
12504
  statusSubcommand2,
12337
12505
  promoteCommand,
@@ -12376,9 +12544,6 @@ export {
12376
12544
  flushSubcommand,
12377
12545
  disableSubcommand3,
12378
12546
  telemetryCommand,
12379
- getSubcommand2,
12380
- createSubcommand5,
12381
- tracesCommand,
12382
12547
  upgradeCommand,
12383
12548
  usageCommand,
12384
12549
  listSubcommand20,
@@ -12392,7 +12557,7 @@ export {
12392
12557
  putSubcommand,
12393
12558
  delSubcommand,
12394
12559
  copySubcommand,
12395
- getSubcommand3,
12560
+ getSubcommand2,
12396
12561
  putImageSubcommand,
12397
12562
  signedTokenSubcommand,
12398
12563
  presignSubcommand,
@@ -12403,8 +12568,8 @@ export {
12403
12568
  listStoresSubcommand,
12404
12569
  blobCommand,
12405
12570
  listSubcommand22,
12406
- getSubcommand4,
12407
- createSubcommand6,
12571
+ getSubcommand3,
12572
+ createSubcommand5,
12408
12573
  removeSubcommand16,
12409
12574
  webhooksCommand,
12410
12575
  getCommandAliases,