vercel 54.1.0 → 54.2.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 (54) hide show
  1. package/dist/chunks/{add-XFFRWMRQ.js → add-FAIIANHS.js} +5 -5
  2. package/dist/chunks/{chunk-UVFXUXOZ.js → chunk-23UWSHRQ.js} +180 -11
  3. package/dist/chunks/{chunk-ZKKIBUCU.js → chunk-2OASKDFC.js} +1 -1
  4. package/dist/chunks/{chunk-MUBKPS2Z.js → chunk-DIWRR5Y4.js} +1 -1
  5. package/dist/chunks/{chunk-XNUHSM7I.js → chunk-DP5346AR.js} +1 -1
  6. package/dist/chunks/{chunk-UTXSTM52.js → chunk-E32QX22S.js} +2 -2
  7. package/dist/chunks/{chunk-X775BOSL.js → chunk-FKUVFVT2.js} +4905 -4402
  8. package/dist/chunks/{chunk-MMF4BVAP.js → chunk-H7ZZXKJ2.js} +1 -1
  9. package/dist/chunks/{chunk-FUBTAFL2.js → chunk-ISJJTUJZ.js} +1 -1
  10. package/dist/chunks/{chunk-FXOKKAK2.js → chunk-IYP3534A.js} +6 -6
  11. package/dist/chunks/{chunk-KWDV5FZH.js → chunk-J7RPHYNB.js} +1 -1
  12. package/dist/chunks/{chunk-PPIAHRII.js → chunk-JQ7RG6JF.js} +1 -1
  13. package/dist/chunks/{chunk-4OEA5ILS.js → chunk-KSMF2UFR.js} +14 -0
  14. package/dist/chunks/{chunk-V6RCNEUA.js → chunk-O2NXGZCW.js} +5 -5
  15. package/dist/chunks/{chunk-4VPRHRPA.js → chunk-QAA3JVFJ.js} +1 -1
  16. package/dist/chunks/{chunk-N4WFAZKO.js → chunk-QEYYWOB4.js} +2 -2
  17. package/dist/chunks/{chunk-LVUE7LLE.js → chunk-QH5Q2B4F.js} +1 -1
  18. package/dist/chunks/{chunk-PNA7EZB2.js → chunk-TWVG3QHM.js} +1 -1
  19. package/dist/chunks/{chunk-F2UPASLT.js → chunk-VKQT3HCH.js} +4 -4
  20. package/dist/chunks/{chunk-J3BCJYPE.js → chunk-YE6OHHJA.js} +485 -7
  21. package/dist/chunks/{chunk-FXSXQHVF.js → chunk-YNHUUJTK.js} +2 -2
  22. package/dist/chunks/{chunk-CVDYWVCD.js → chunk-ZA4ZUW7G.js} +1 -1
  23. package/dist/chunks/{chunk-IIZO5JJ2.js → chunk-ZFEECTPC.js} +1 -1
  24. package/dist/chunks/{compile-vercel-config-42PRUTEP.js → compile-vercel-config-7TPMRTKM.js} +2 -2
  25. package/dist/chunks/{delete-MXCXLO5L.js → delete-MVQKJDRS.js} +3 -3
  26. package/dist/chunks/{disable-LXQSUVY3.js → disable-YRONTYDS.js} +3 -3
  27. package/dist/chunks/{discard-CKMEANJI.js → discard-UM7Y2PMF.js} +3 -3
  28. package/dist/chunks/{edit-PKYWQTN6.js → edit-PHXJMLL2.js} +5 -5
  29. package/dist/chunks/{enable-IONDBJSL.js → enable-D26FR2VL.js} +3 -3
  30. package/dist/chunks/{export-YV3QFTMT.js → export-YLMQTP7Y.js} +3 -3
  31. package/dist/chunks/{inspect-SF355FJC.js → inspect-SJTJNJVL.js} +4 -4
  32. package/dist/chunks/{list-GEI7DMTS.js → list-6OV7HAO4.js} +3 -3
  33. package/dist/chunks/{list-ZGR3WI5L.js → list-XGSNQW5B.js} +4 -4
  34. package/dist/chunks/{ls-GYN5LXZK.js → ls-THDT5E4M.js} +5 -5
  35. package/dist/chunks/{publish-3WCELCTS.js → publish-NPM5RPLV.js} +3 -3
  36. package/dist/chunks/{query-TP56OPX6.js → query-QP5JLBXI.js} +3 -3
  37. package/dist/chunks/{reorder-QRNHPN5V.js → reorder-573FHW5Z.js} +3 -3
  38. package/dist/chunks/{restore-IGN4HUFX.js → restore-H65BVJFL.js} +3 -3
  39. package/dist/chunks/{rm-55RGOT4O.js → rm-MOVL4G2Y.js} +5 -5
  40. package/dist/chunks/{routes-2YVMQEPC.js → routes-I74KWX7Q.js} +2 -2
  41. package/dist/chunks/{rule-inspect-QVOVMKDK.js → rule-inspect-33M2FHDU.js} +5 -5
  42. package/dist/chunks/{rules-KRCW5RQK.js → rules-KVSJYT5T.js} +6 -6
  43. package/dist/chunks/{schema-3J3IBIFA.js → schema-MXM7Z52O.js} +3 -3
  44. package/dist/chunks/{update-E5UAD2DD.js → update-CSKHHR3E.js} +5 -5
  45. package/dist/commands/build/index.js +24 -19
  46. package/dist/commands/deploy/index.js +12 -12
  47. package/dist/commands/dev/index.js +69 -32
  48. package/dist/commands/env/index.js +6 -6
  49. package/dist/commands/link/index.js +9 -9
  50. package/dist/commands/list/index.js +5 -5
  51. package/dist/commands-bulk.js +2315 -1427
  52. package/dist/index.js +96 -452
  53. package/dist/version.mjs +1 -1
  54. package/package.json +24 -23
@@ -9,8 +9,8 @@ import {
9
9
  handleRulesApiError,
10
10
  parseRulesFlagsAndScope,
11
11
  rulesCollectionPath
12
- } from "./chunk-CVDYWVCD.js";
13
- import "./chunk-FXSXQHVF.js";
12
+ } from "./chunk-ZA4ZUW7G.js";
13
+ import "./chunk-YNHUUJTK.js";
14
14
  import "./chunk-HTOH3MSD.js";
15
15
  import {
16
16
  validateJsonOutput
@@ -18,12 +18,12 @@ import {
18
18
  import {
19
19
  rulesAddSubcommand
20
20
  } from "./chunk-XVAEOG4L.js";
21
- import "./chunk-KWDV5FZH.js";
21
+ import "./chunk-J7RPHYNB.js";
22
22
  import {
23
23
  AGENT_REASON
24
24
  } from "./chunk-E3NE4SKN.js";
25
- import "./chunk-X775BOSL.js";
26
- import "./chunk-4OEA5ILS.js";
25
+ import "./chunk-FKUVFVT2.js";
26
+ import "./chunk-KSMF2UFR.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
29
29
  outputAgentError
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-ZKKIBUCU.js";
28
+ } from "./chunk-2OASKDFC.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-X775BOSL.js";
31
+ } from "./chunk-FKUVFVT2.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -1351,6 +1351,30 @@ var createSubcommand2 = {
1351
1351
  deprecated: false,
1352
1352
  description: "Enable webhook triggers for this connector"
1353
1353
  },
1354
+ {
1355
+ name: "icon",
1356
+ shorthand: null,
1357
+ type: String,
1358
+ argument: "PATH",
1359
+ deprecated: false,
1360
+ description: "Path to a PNG or JPEG image to use as the connector icon (uploaded to Vercel)"
1361
+ },
1362
+ {
1363
+ name: "background-color",
1364
+ shorthand: null,
1365
+ type: String,
1366
+ argument: "HEX",
1367
+ deprecated: false,
1368
+ description: "Background color for the connector icon (e.g. #1A2B3C)"
1369
+ },
1370
+ {
1371
+ name: "accent-color",
1372
+ shorthand: null,
1373
+ type: String,
1374
+ argument: "HEX",
1375
+ deprecated: false,
1376
+ description: "Accent color for the connector icon (e.g. #1A2B3C)"
1377
+ },
1354
1378
  formatOption
1355
1379
  ],
1356
1380
  examples: [
@@ -1366,12 +1390,68 @@ var createSubcommand2 = {
1366
1390
  name: "Create with webhook triggers enabled",
1367
1391
  value: `${packageName} connect create slack --name my-bot --triggers`
1368
1392
  },
1393
+ {
1394
+ name: "Create with branding (icon and colors)",
1395
+ value: `${packageName} connect create slack --name my-bot --icon ./logo.png --background-color '#1A2B3C' --accent-color '#FF0066'`
1396
+ },
1369
1397
  {
1370
1398
  name: "Output as JSON",
1371
1399
  value: `${packageName} connect create slack --format=json`
1372
1400
  }
1373
1401
  ]
1374
1402
  };
1403
+ var updateSubcommand = {
1404
+ name: "update",
1405
+ aliases: [],
1406
+ description: "Update connector branding (icon and colors)",
1407
+ arguments: [
1408
+ {
1409
+ name: "id",
1410
+ required: true
1411
+ }
1412
+ ],
1413
+ options: [
1414
+ {
1415
+ name: "icon",
1416
+ shorthand: null,
1417
+ type: String,
1418
+ argument: "PATH",
1419
+ deprecated: false,
1420
+ description: "Path to a PNG or JPEG image to use as the connector icon (uploaded to Vercel)"
1421
+ },
1422
+ {
1423
+ name: "background-color",
1424
+ shorthand: null,
1425
+ type: String,
1426
+ argument: "HEX",
1427
+ deprecated: false,
1428
+ description: "Background color for the connector icon (e.g. #1A2B3C)"
1429
+ },
1430
+ {
1431
+ name: "accent-color",
1432
+ shorthand: null,
1433
+ type: String,
1434
+ argument: "HEX",
1435
+ deprecated: false,
1436
+ description: "Accent color for the connector icon (e.g. #1A2B3C)"
1437
+ },
1438
+ formatOption
1439
+ ],
1440
+ examples: [
1441
+ {
1442
+ name: "Update the connector icon",
1443
+ value: `${packageName} connect update scl_abc123 --icon ./logo.png`
1444
+ },
1445
+ {
1446
+ name: "Update the connector colors",
1447
+ value: `${packageName} connect update scl_abc123 --background-color '#1A2B3C' --accent-color '#FF0066'`
1448
+ },
1449
+ {
1450
+ name: "Output as JSON",
1451
+ value: `${packageName} connect update scl_abc123 --icon ./logo.png --format=json`
1452
+ }
1453
+ ]
1454
+ };
1375
1455
  var listSubcommand4 = {
1376
1456
  name: "list",
1377
1457
  aliases: ["ls"],
@@ -1698,6 +1778,7 @@ var connexCommand = {
1698
1778
  options: [],
1699
1779
  subcommands: [
1700
1780
  createSubcommand2,
1781
+ updateSubcommand,
1701
1782
  listSubcommand4,
1702
1783
  tokenSubcommand,
1703
1784
  attachSubcommand,
@@ -2325,7 +2406,7 @@ var getSubcommand = {
2325
2406
  options: [formatOption],
2326
2407
  examples: []
2327
2408
  };
2328
- var updateSubcommand = {
2409
+ var updateSubcommand2 = {
2329
2410
  name: "update",
2330
2411
  aliases: [],
2331
2412
  description: "Rename an Edge Config (`--slug`) and/or patch items (`--patch` JSON)",
@@ -2433,7 +2514,7 @@ var edgeConfigCommand = {
2433
2514
  listSubcommand9,
2434
2515
  addSubcommand6,
2435
2516
  getSubcommand,
2436
- updateSubcommand,
2517
+ updateSubcommand2,
2437
2518
  removeSubcommand7,
2438
2519
  itemsSubcommand,
2439
2520
  tokensSubcommand
@@ -3464,7 +3545,7 @@ var openSubcommand2 = {
3464
3545
  }
3465
3546
  ]
3466
3547
  };
3467
- var updateSubcommand2 = {
3548
+ var updateSubcommand3 = {
3468
3549
  name: "update",
3469
3550
  aliases: [],
3470
3551
  description: "Update an existing feature flag",
@@ -3574,6 +3655,73 @@ var setSubcommand2 = {
3574
3655
  }
3575
3656
  ]
3576
3657
  };
3658
+ var splitSubcommand = {
3659
+ name: "split",
3660
+ aliases: [],
3661
+ description: "Configure a weighted split for a feature flag in an environment",
3662
+ arguments: [
3663
+ {
3664
+ name: "flag",
3665
+ required: true
3666
+ }
3667
+ ],
3668
+ options: [
3669
+ {
3670
+ name: "environment",
3671
+ shorthand: "e",
3672
+ type: String,
3673
+ deprecated: false,
3674
+ description: "The environment to configure (production, preview, or development)",
3675
+ argument: "ENV"
3676
+ },
3677
+ {
3678
+ name: "by",
3679
+ shorthand: null,
3680
+ type: String,
3681
+ deprecated: false,
3682
+ description: "Entity attribute used for bucketing, in the form entity.attribute",
3683
+ argument: "ENTITY.ATTRIBUTE"
3684
+ },
3685
+ {
3686
+ name: "weight",
3687
+ shorthand: "w",
3688
+ type: [String],
3689
+ deprecated: false,
3690
+ description: "Variant weight ratio as VARIANT=WEIGHT. Repeat for each variant; values are normalized and 0 receives no traffic.",
3691
+ argument: "VARIANT=WEIGHT"
3692
+ },
3693
+ {
3694
+ name: "default-variant",
3695
+ shorthand: null,
3696
+ type: String,
3697
+ deprecated: false,
3698
+ description: "The fallback variant to serve when the split attribute is unavailable",
3699
+ argument: "VARIANT"
3700
+ },
3701
+ {
3702
+ name: "message",
3703
+ shorthand: null,
3704
+ type: String,
3705
+ deprecated: false,
3706
+ description: "Optional revision message for the update",
3707
+ argument: "TEXT"
3708
+ }
3709
+ ],
3710
+ examples: [
3711
+ {
3712
+ name: "Split a boolean flag in production",
3713
+ value: `${packageName} flags split redesigned-checkout --environment production --by user.userId --weight off=95 --weight on=5`
3714
+ },
3715
+ {
3716
+ name: "Split a string flag with a fallback variant",
3717
+ value: `${packageName} flags split welcome-message -e production --by user.userId --default-variant control --weight control=90 --weight treatment=10`
3718
+ },
3719
+ {
3720
+ name: "Exclude a variant from the split",
3721
+ value: `${packageName} flags split checkout-copy -e preview --by user.userId --default-variant control --weight control=50 --weight treatment=50 --weight legacy=0`
3722
+ }
3723
+ ]
3724
+ };
3577
3725
  var rolloutSubcommand = {
3578
3726
  name: "rollout",
3579
3727
  aliases: [],
@@ -3981,8 +4129,9 @@ var flagsCommand = {
3981
4129
  inspectSubcommand2,
3982
4130
  createSubcommand4,
3983
4131
  openSubcommand2,
3984
- updateSubcommand2,
4132
+ updateSubcommand3,
3985
4133
  setSubcommand2,
4134
+ splitSubcommand,
3986
4135
  rolloutSubcommand,
3987
4136
  removeSubcommand8,
3988
4137
  archiveSubcommand,
@@ -4608,7 +4757,7 @@ var balanceSubcommand = {
4608
4757
  }
4609
4758
  ]
4610
4759
  };
4611
- var updateSubcommand3 = {
4760
+ var updateSubcommand4 = {
4612
4761
  name: "update",
4613
4762
  aliases: [],
4614
4763
  description: "Update a marketplace integration installation (billing plan or which projects can access it). Install, remove, and connect flows are separate (integration add, integration remove, integration-resource, env pull, etc.) \u2014 not part of update. UI-only flows (OAuth in a browser, consent screens, marketplace purchase) may not map one-to-one to a single CLI flag; pass --plan and --authorization-id when the product requires them for billing changes. Any extra fields on the configuration resource that the API exposes but this command PATCH body does not send are not covered until the API and CLI support them.",
@@ -4778,7 +4927,7 @@ var integrationCommand = {
4778
4927
  installationsSubcommand,
4779
4928
  listSubcommand11,
4780
4929
  openSubcommand3,
4781
- updateSubcommand3,
4930
+ updateSubcommand4,
4782
4931
  removeSubcommand9
4783
4932
  ],
4784
4933
  examples: [
@@ -7299,6 +7448,20 @@ var upgradeCommand = {
7299
7448
  deprecated: false,
7300
7449
  description: "Show the upgrade command without executing it"
7301
7450
  },
7451
+ {
7452
+ name: "enable-auto",
7453
+ shorthand: null,
7454
+ type: Boolean,
7455
+ deprecated: false,
7456
+ description: "Enable automatic CLI updates for future releases"
7457
+ },
7458
+ {
7459
+ name: "disable-auto",
7460
+ shorthand: null,
7461
+ type: Boolean,
7462
+ deprecated: false,
7463
+ description: "Disable automatic CLI updates"
7464
+ },
7302
7465
  {
7303
7466
  ...formatOption,
7304
7467
  description: "Specify the output format (json) - implies --dry-run"
@@ -7314,6 +7477,10 @@ var upgradeCommand = {
7314
7477
  name: "Show the upgrade command without running it",
7315
7478
  value: `${packageName} upgrade --dry-run`
7316
7479
  },
7480
+ {
7481
+ name: "Enable automatic CLI updates",
7482
+ value: `${packageName} upgrade --enable-auto`
7483
+ },
7317
7484
  {
7318
7485
  name: "Get upgrade information as JSON",
7319
7486
  value: `${packageName} upgrade --format=json`
@@ -8052,6 +8219,7 @@ export {
8052
8219
  addSubcommand2 as addSubcommand,
8053
8220
  certsCommand,
8054
8221
  createSubcommand2,
8222
+ updateSubcommand,
8055
8223
  listSubcommand4,
8056
8224
  removeSubcommand3,
8057
8225
  tokenSubcommand,
@@ -8090,7 +8258,7 @@ export {
8090
8258
  listSubcommand9,
8091
8259
  addSubcommand6 as addSubcommand5,
8092
8260
  getSubcommand,
8093
- updateSubcommand,
8261
+ updateSubcommand2,
8094
8262
  removeSubcommand7,
8095
8263
  itemsSubcommand,
8096
8264
  tokensSubcommand,
@@ -8127,8 +8295,9 @@ export {
8127
8295
  inspectSubcommand2,
8128
8296
  createSubcommand4,
8129
8297
  openSubcommand2,
8130
- updateSubcommand2,
8298
+ updateSubcommand3,
8131
8299
  setSubcommand2,
8300
+ splitSubcommand,
8132
8301
  rolloutSubcommand,
8133
8302
  removeSubcommand8,
8134
8303
  archiveSubcommand,
@@ -8158,7 +8327,7 @@ export {
8158
8327
  listSubcommand11,
8159
8328
  discoverSubcommand,
8160
8329
  balanceSubcommand,
8161
- updateSubcommand3,
8330
+ updateSubcommand4,
8162
8331
  removeSubcommand9,
8163
8332
  guideSubcommand,
8164
8333
  integrationCommand,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-X775BOSL.js";
9
+ } from "./chunk-FKUVFVT2.js";
10
10
  import {
11
11
  yesOption
12
12
  } from "./chunk-4GQQJY5Y.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  TelemetryClient
9
- } from "./chunk-4OEA5ILS.js";
9
+ } from "./chunk-KSMF2UFR.js";
10
10
 
11
11
  // src/util/telemetry/commands/routes/index.ts
12
12
  var RoutesTelemetryClient = class extends TelemetryClient {
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-E3NE4SKN.js";
11
11
  import {
12
12
  getLinkedProject
13
- } from "./chunk-X775BOSL.js";
13
+ } from "./chunk-FKUVFVT2.js";
14
14
  import {
15
15
  buildCommandWithYes,
16
16
  outputAgentError
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getLocalPathConfig
9
- } from "./chunk-4VPRHRPA.js";
9
+ } from "./chunk-QAA3JVFJ.js";
10
10
  import {
11
11
  VERCEL_DIR_PROJECT,
12
12
  VERCEL_DIR_README,
@@ -39,7 +39,7 @@ import {
39
39
  selectAndParseRemoteUrl,
40
40
  selectOrg,
41
41
  writeServicesConfig
42
- } from "./chunk-X775BOSL.js";
42
+ } from "./chunk-FKUVFVT2.js";
43
43
  import {
44
44
  table
45
45
  } from "./chunk-DKD6GTQT.js";