vercel 50.44.0 → 51.1.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.
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-NYO5XRBQ.js";
26
26
  import {
27
27
  CommandTimeout
28
- } from "./chunk-YYWNQQSE.js";
28
+ } from "./chunk-VOT6BE6P.js";
29
29
  import {
30
30
  ua_default
31
31
  } from "./chunk-Q6BEDVOU.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-K4IC7LFB.js";
13
13
  import {
14
14
  loginCommand
15
- } from "./chunk-YYWNQQSE.js";
15
+ } from "./chunk-VOT6BE6P.js";
16
16
  import {
17
17
  help
18
18
  } from "./chunk-Y5YCSB6X.js";
@@ -6300,10 +6300,18 @@ var accessOption = {
6300
6300
  shorthand: "a",
6301
6301
  type: String,
6302
6302
  deprecated: false,
6303
- description: "Access level for the blob: public or private (default: public)",
6303
+ description: "Access level for the blob: public or private (required)",
6304
6304
  argument: "String",
6305
6305
  choices: ["public", "private"]
6306
6306
  };
6307
+ var environmentOption = {
6308
+ name: "environment",
6309
+ shorthand: "e",
6310
+ type: [String],
6311
+ deprecated: false,
6312
+ argument: "ENV",
6313
+ description: "Environment to connect (can be repeated: production, preview, development). Defaults to all when --yes is used."
6314
+ };
6307
6315
  var listSubcommand15 = {
6308
6316
  name: "list",
6309
6317
  aliases: ["ls"],
@@ -6406,14 +6414,6 @@ var putSubcommand = {
6406
6414
  description: "Overwrite the file if it already exists (default: false)",
6407
6415
  argument: "Boolean"
6408
6416
  },
6409
- {
6410
- name: "force",
6411
- shorthand: "f",
6412
- type: Boolean,
6413
- deprecated: true,
6414
- description: "Overwrite the file if it already exists (deprecated, use --allow-overwrite)",
6415
- argument: "Boolean"
6416
- },
6417
6417
  ifMatchOption
6418
6418
  ],
6419
6419
  examples: []
@@ -6518,7 +6518,9 @@ var addStoreSubcommand = {
6518
6518
  deprecated: false,
6519
6519
  description: 'Region to create the Blob store in (default: "iad1"). See https://vercel.com/docs/edge-network/regions#region-list for all available regions',
6520
6520
  argument: "STRING"
6521
- }
6521
+ },
6522
+ yesOption,
6523
+ environmentOption
6522
6524
  ],
6523
6525
  examples: [
6524
6526
  {
@@ -6545,7 +6547,7 @@ var removeStoreSubcommand = {
6545
6547
  required: false
6546
6548
  }
6547
6549
  ],
6548
- options: [],
6550
+ options: [yesOption],
6549
6551
  examples: []
6550
6552
  };
6551
6553
  var getStoreSubcommand = {
@@ -6580,20 +6582,22 @@ var createStoreSubcommand = {
6580
6582
  deprecated: false,
6581
6583
  description: 'Region to create the Blob store in (default: "iad1"). See https://vercel.com/docs/edge-network/regions#region-list for all available regions',
6582
6584
  argument: "STRING"
6583
- }
6585
+ },
6586
+ yesOption,
6587
+ environmentOption
6584
6588
  ],
6585
6589
  examples: [
6586
6590
  {
6587
6591
  name: 'Create a blob store (uses default region "iad1")',
6588
- value: "vercel blob create-store my-store"
6592
+ value: "vercel blob create-store my-store --access private"
6589
6593
  },
6590
6594
  {
6591
6595
  name: "Create a blob store in a specific region",
6592
- value: "vercel blob create-store my-store --region cdg1"
6596
+ value: "vercel blob create-store my-store --access private --region cdg1"
6593
6597
  },
6594
6598
  {
6595
- name: "Create a private blob store",
6596
- value: "vercel blob create-store my-private-store --access private"
6599
+ name: "Create and connect to project in CI",
6600
+ value: "vercel blob create-store my-store --access private --yes --environment production --environment preview"
6597
6601
  }
6598
6602
  ]
6599
6603
  };
@@ -6607,7 +6611,15 @@ var deleteStoreSubcommand = {
6607
6611
  required: false
6608
6612
  }
6609
6613
  ],
6610
- options: [],
6614
+ options: [yesOption],
6615
+ examples: []
6616
+ };
6617
+ var emptyStoreSubcommand = {
6618
+ name: "empty-store",
6619
+ aliases: [],
6620
+ description: "Delete all blobs in a Blob store",
6621
+ arguments: [],
6622
+ options: [yesOption],
6611
6623
  examples: []
6612
6624
  };
6613
6625
  var getStoreInfoSubcommand = {
@@ -6623,13 +6635,20 @@ var getStoreInfoSubcommand = {
6623
6635
  options: [],
6624
6636
  examples: []
6625
6637
  };
6626
- var storeSubcommand = {
6627
- name: "store",
6628
- aliases: [],
6629
- description: "Manage or create a Blob store",
6638
+ var listStoresSubcommand = {
6639
+ name: "list-stores",
6640
+ aliases: ["ls-stores"],
6641
+ description: "List all Blob stores",
6630
6642
  arguments: [],
6631
- subcommands: [addStoreSubcommand, removeStoreSubcommand, getStoreSubcommand],
6632
- options: [],
6643
+ options: [
6644
+ {
6645
+ name: "all",
6646
+ shorthand: "a",
6647
+ type: Boolean,
6648
+ deprecated: false,
6649
+ description: "List all blob stores for the team, not just the ones connected to the current project"
6650
+ }
6651
+ ],
6633
6652
  examples: []
6634
6653
  };
6635
6654
  var blobCommand = {
@@ -6646,7 +6665,8 @@ var blobCommand = {
6646
6665
  createStoreSubcommand,
6647
6666
  deleteStoreSubcommand,
6648
6667
  getStoreInfoSubcommand,
6649
- storeSubcommand
6668
+ listStoresSubcommand,
6669
+ emptyStoreSubcommand
6650
6670
  ],
6651
6671
  options: [
6652
6672
  {
@@ -7058,8 +7078,9 @@ export {
7058
7078
  getStoreSubcommand,
7059
7079
  createStoreSubcommand,
7060
7080
  deleteStoreSubcommand,
7081
+ emptyStoreSubcommand,
7061
7082
  getStoreInfoSubcommand,
7062
- storeSubcommand,
7083
+ listStoresSubcommand,
7063
7084
  blobCommand,
7064
7085
  listSubcommand16,
7065
7086
  getSubcommand3,
@@ -13,7 +13,7 @@ import {
13
13
  purchaseDomainIfAvailable,
14
14
  require_cjs,
15
15
  setupDomain
16
- } from "../../chunks/chunk-WYWXLDX4.js";
16
+ } from "../../chunks/chunk-E6ZEBMUP.js";
17
17
  import {
18
18
  readLocalConfig
19
19
  } from "../../chunks/chunk-K4IC7LFB.js";
@@ -42,7 +42,7 @@ import {
42
42
  deprecatedArchiveSplitTgz,
43
43
  getCommandAliases,
44
44
  initSubcommand
45
- } from "../../chunks/chunk-YYWNQQSE.js";
45
+ } from "../../chunks/chunk-VOT6BE6P.js";
46
46
  import "../../chunks/chunk-BQUQ5F7R.js";
47
47
  import "../../chunks/chunk-BUBUVE23.js";
48
48
  import "../../chunks/chunk-2IAZZEVQ.js";
@@ -28,7 +28,7 @@ import {
28
28
  } from "../../chunks/chunk-YPQSDAEW.js";
29
29
  import {
30
30
  getCommandAliases
31
- } from "../../chunks/chunk-YYWNQQSE.js";
31
+ } from "../../chunks/chunk-VOT6BE6P.js";
32
32
  import "../../chunks/chunk-BQUQ5F7R.js";
33
33
  import "../../chunks/chunk-BUBUVE23.js";
34
34
  import "../../chunks/chunk-2IAZZEVQ.js";
@@ -14,7 +14,7 @@ import {
14
14
  addSubcommand7 as addSubcommand,
15
15
  getCommandAliases,
16
16
  linkCommand
17
- } from "../../chunks/chunk-YYWNQQSE.js";
17
+ } from "../../chunks/chunk-VOT6BE6P.js";
18
18
  import "../../chunks/chunk-BQUQ5F7R.js";
19
19
  import "../../chunks/chunk-BUBUVE23.js";
20
20
  import "../../chunks/chunk-2IAZZEVQ.js";