vercel 44.1.0 → 44.2.1

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 (2) hide show
  1. package/dist/index.js +518 -212
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -9374,7 +9374,7 @@ var require_log_symbols = __commonJS2({
9374
9374
  "use strict";
9375
9375
  var chalk124 = require_chalk();
9376
9376
  var isSupported = process.platform !== "win32" || process.env.CI || process.env.TERM === "xterm-256color";
9377
- var main16 = {
9377
+ var main17 = {
9378
9378
  info: chalk124.blue("\u2139"),
9379
9379
  success: chalk124.green("\u2714"),
9380
9380
  warning: chalk124.yellow("\u26A0"),
@@ -9386,7 +9386,7 @@ var require_log_symbols = __commonJS2({
9386
9386
  warning: chalk124.yellow("\u203C"),
9387
9387
  error: chalk124.red("\xD7")
9388
9388
  };
9389
- module2.exports = isSupported ? main16 : fallbacks;
9389
+ module2.exports = isSupported ? main17 : fallbacks;
9390
9390
  }
9391
9391
  });
9392
9392
 
@@ -31639,9 +31639,59 @@ var init_command3 = __esm({
31639
31639
  }
31640
31640
  });
31641
31641
 
31642
+ // src/commands/cache/command.ts
31643
+ var purgeSubcommand, cacheCommand;
31644
+ var init_command4 = __esm({
31645
+ "src/commands/cache/command.ts"() {
31646
+ "use strict";
31647
+ init_pkg_name();
31648
+ init_arg_common();
31649
+ purgeSubcommand = {
31650
+ name: "purge",
31651
+ aliases: [],
31652
+ description: "Purge cache for the current project",
31653
+ arguments: [],
31654
+ options: [
31655
+ yesOption,
31656
+ {
31657
+ name: "type",
31658
+ description: "Type of cache to purge",
31659
+ shorthand: null,
31660
+ type: String,
31661
+ argument: "TYPE",
31662
+ deprecated: false
31663
+ }
31664
+ ],
31665
+ examples: [
31666
+ {
31667
+ name: "Purge all caches for the current project",
31668
+ value: `${packageName} cache purge`
31669
+ },
31670
+ {
31671
+ name: "Purge only the CDN cache",
31672
+ value: `${packageName} cache purge --type cdn`
31673
+ },
31674
+ {
31675
+ name: "Purge only the data cache",
31676
+ value: `${packageName} cache purge --type data`
31677
+ }
31678
+ ]
31679
+ };
31680
+ cacheCommand = {
31681
+ name: "cache",
31682
+ aliases: [],
31683
+ description: "Manage cache for a Project",
31684
+ arguments: [],
31685
+ subcommands: [purgeSubcommand],
31686
+ options: [],
31687
+ examples: []
31688
+ };
31689
+ }
31690
+ });
31691
+
31642
31692
  // src/commands/certs/command.ts
31643
31693
  var removeSubcommand2, issueSubcommand, listSubcommand2, addSubcommand, certsCommand;
31644
- var init_command4 = __esm({
31694
+ var init_command5 = __esm({
31645
31695
  "src/commands/certs/command.ts"() {
31646
31696
  "use strict";
31647
31697
  init_pkg_name();
@@ -31791,7 +31841,7 @@ var init_command4 = __esm({
31791
31841
 
31792
31842
  // src/commands/deploy/command.ts
31793
31843
  var deprecatedArchiveSplitTgz, deployCommand;
31794
- var init_command5 = __esm({
31844
+ var init_command6 = __esm({
31795
31845
  "src/commands/deploy/command.ts"() {
31796
31846
  "use strict";
31797
31847
  init_arg_common();
@@ -31961,7 +32011,7 @@ var init_command5 = __esm({
31961
32011
 
31962
32012
  // src/commands/dev/command.ts
31963
32013
  var devCommand;
31964
- var init_command6 = __esm({
32014
+ var init_command7 = __esm({
31965
32015
  "src/commands/dev/command.ts"() {
31966
32016
  "use strict";
31967
32017
  init_pkg_name();
@@ -32005,7 +32055,7 @@ var init_command6 = __esm({
32005
32055
 
32006
32056
  // src/commands/dns/command.ts
32007
32057
  var importSubcommand, listSubcommand3, addSubcommand2, removeSubcommand3, dnsCommand;
32008
- var init_command7 = __esm({
32058
+ var init_command8 = __esm({
32009
32059
  "src/commands/dns/command.ts"() {
32010
32060
  "use strict";
32011
32061
  init_pkg_name();
@@ -32133,7 +32183,7 @@ var init_command7 = __esm({
32133
32183
 
32134
32184
  // src/commands/domains/command.ts
32135
32185
  var listSubcommand4, inspectSubcommand, addSubcommand3, removeSubcommand4, buySubcommand, moveSubcommand, transferInSubcommand, domainsCommand;
32136
- var init_command8 = __esm({
32186
+ var init_command9 = __esm({
32137
32187
  "src/commands/domains/command.ts"() {
32138
32188
  "use strict";
32139
32189
  init_pkg_name();
@@ -32330,7 +32380,7 @@ var init_env_target = __esm({
32330
32380
 
32331
32381
  // src/commands/env/command.ts
32332
32382
  var targetPlaceholder, listSubcommand5, addSubcommand4, removeSubcommand5, pullSubcommand, envCommand;
32333
- var init_command9 = __esm({
32383
+ var init_command10 = __esm({
32334
32384
  "src/commands/env/command.ts"() {
32335
32385
  "use strict";
32336
32386
  init_pkg_name();
@@ -32527,7 +32577,7 @@ var init_command9 = __esm({
32527
32577
 
32528
32578
  // src/commands/git/command.ts
32529
32579
  var connectSubcommand, disconnectSubcommand, gitCommand;
32530
- var init_command10 = __esm({
32580
+ var init_command11 = __esm({
32531
32581
  "src/commands/git/command.ts"() {
32532
32582
  "use strict";
32533
32583
  init_pkg_name();
@@ -32581,7 +32631,7 @@ var init_command10 = __esm({
32581
32631
 
32582
32632
  // src/commands/init/command.ts
32583
32633
  var initCommand;
32584
- var init_command11 = __esm({
32634
+ var init_command12 = __esm({
32585
32635
  "src/commands/init/command.ts"() {
32586
32636
  "use strict";
32587
32637
  init_pkg_name();
@@ -32631,7 +32681,7 @@ var init_command11 = __esm({
32631
32681
 
32632
32682
  // src/commands/inspect/command.ts
32633
32683
  var inspectCommand;
32634
- var init_command12 = __esm({
32684
+ var init_command13 = __esm({
32635
32685
  "src/commands/inspect/command.ts"() {
32636
32686
  "use strict";
32637
32687
  init_pkg_name();
@@ -32697,7 +32747,7 @@ var init_command12 = __esm({
32697
32747
 
32698
32748
  // src/commands/install/command.ts
32699
32749
  var installCommand;
32700
- var init_command13 = __esm({
32750
+ var init_command14 = __esm({
32701
32751
  "src/commands/install/command.ts"() {
32702
32752
  "use strict";
32703
32753
  init_pkg_name();
@@ -32724,7 +32774,7 @@ var init_command13 = __esm({
32724
32774
 
32725
32775
  // src/commands/integration-resource/command.ts
32726
32776
  var removeSubcommand6, disconnectSubcommand2, createThresholdSubcommand, integrationResourceCommand;
32727
- var init_command14 = __esm({
32777
+ var init_command15 = __esm({
32728
32778
  "src/commands/integration-resource/command.ts"() {
32729
32779
  "use strict";
32730
32780
  init_arg_common();
@@ -32875,7 +32925,7 @@ var init_command14 = __esm({
32875
32925
 
32876
32926
  // src/commands/integration/command.ts
32877
32927
  var addSubcommand5, openSubcommand, listSubcommand6, balanceSubcommand, removeSubcommand7, integrationCommand;
32878
- var init_command15 = __esm({
32928
+ var init_command16 = __esm({
32879
32929
  "src/commands/integration/command.ts"() {
32880
32930
  "use strict";
32881
32931
  init_arg_common();
@@ -33037,7 +33087,7 @@ var init_command15 = __esm({
33037
33087
 
33038
33088
  // src/commands/link/command.ts
33039
33089
  var linkCommand;
33040
- var init_command16 = __esm({
33090
+ var init_command17 = __esm({
33041
33091
  "src/commands/link/command.ts"() {
33042
33092
  "use strict";
33043
33093
  init_pkg_name();
@@ -33093,7 +33143,7 @@ var init_command16 = __esm({
33093
33143
 
33094
33144
  // src/commands/list/command.ts
33095
33145
  var listCommand;
33096
- var init_command17 = __esm({
33146
+ var init_command18 = __esm({
33097
33147
  "src/commands/list/command.ts"() {
33098
33148
  "use strict";
33099
33149
  init_pkg_name();
@@ -33163,7 +33213,7 @@ var init_command17 = __esm({
33163
33213
 
33164
33214
  // src/commands/login/command.ts
33165
33215
  var loginCommand;
33166
- var init_command18 = __esm({
33216
+ var init_command19 = __esm({
33167
33217
  "src/commands/login/command.ts"() {
33168
33218
  "use strict";
33169
33219
  init_pkg_name();
@@ -33226,7 +33276,7 @@ var init_command18 = __esm({
33226
33276
 
33227
33277
  // src/commands/logout/command.ts
33228
33278
  var logoutCommand;
33229
- var init_command19 = __esm({
33279
+ var init_command20 = __esm({
33230
33280
  "src/commands/logout/command.ts"() {
33231
33281
  "use strict";
33232
33282
  init_pkg_name();
@@ -33256,7 +33306,7 @@ var init_command19 = __esm({
33256
33306
 
33257
33307
  // src/commands/logs/command.ts
33258
33308
  var CommandTimeout, logsCommand;
33259
- var init_command20 = __esm({
33309
+ var init_command21 = __esm({
33260
33310
  "src/commands/logs/command.ts"() {
33261
33311
  "use strict";
33262
33312
  init_pkg_name();
@@ -33330,7 +33380,7 @@ var init_command20 = __esm({
33330
33380
 
33331
33381
  // src/commands/microfrontends/command.ts
33332
33382
  var pullSubcommand2, microfrontendsCommand;
33333
- var init_command21 = __esm({
33383
+ var init_command22 = __esm({
33334
33384
  "src/commands/microfrontends/command.ts"() {
33335
33385
  "use strict";
33336
33386
  init_pkg_name();
@@ -33373,7 +33423,7 @@ var init_command21 = __esm({
33373
33423
 
33374
33424
  // src/commands/project/command.ts
33375
33425
  var addSubcommand6, inspectSubcommand2, listSubcommand7, removeSubcommand8, projectCommand;
33376
- var init_command22 = __esm({
33426
+ var init_command23 = __esm({
33377
33427
  "src/commands/project/command.ts"() {
33378
33428
  "use strict";
33379
33429
  init_pkg_name();
@@ -33473,7 +33523,7 @@ var init_command22 = __esm({
33473
33523
 
33474
33524
  // src/commands/promote/command.ts
33475
33525
  var statusSubcommand, promoteCommand;
33476
- var init_command23 = __esm({
33526
+ var init_command24 = __esm({
33477
33527
  "src/commands/promote/command.ts"() {
33478
33528
  "use strict";
33479
33529
  init_pkg_name();
@@ -33542,7 +33592,7 @@ var init_command23 = __esm({
33542
33592
 
33543
33593
  // src/commands/pull/command.ts
33544
33594
  var pullCommand;
33545
- var init_command24 = __esm({
33595
+ var init_command25 = __esm({
33546
33596
  "src/commands/pull/command.ts"() {
33547
33597
  "use strict";
33548
33598
  init_pkg_name();
@@ -33614,7 +33664,7 @@ var init_command24 = __esm({
33614
33664
 
33615
33665
  // src/commands/redeploy/command.ts
33616
33666
  var redeployCommand;
33617
- var init_command25 = __esm({
33667
+ var init_command26 = __esm({
33618
33668
  "src/commands/redeploy/command.ts"() {
33619
33669
  "use strict";
33620
33670
  init_pkg_name();
@@ -33665,7 +33715,7 @@ var init_command25 = __esm({
33665
33715
 
33666
33716
  // src/commands/remove/command.ts
33667
33717
  var removeCommand;
33668
- var init_command26 = __esm({
33718
+ var init_command27 = __esm({
33669
33719
  "src/commands/remove/command.ts"() {
33670
33720
  "use strict";
33671
33721
  init_pkg_name();
@@ -33715,7 +33765,7 @@ var init_command26 = __esm({
33715
33765
 
33716
33766
  // src/commands/rollback/command.ts
33717
33767
  var statusSubcommand2, rollbackCommand;
33718
- var init_command27 = __esm({
33768
+ var init_command28 = __esm({
33719
33769
  "src/commands/rollback/command.ts"() {
33720
33770
  "use strict";
33721
33771
  init_pkg_name();
@@ -33776,7 +33826,7 @@ var init_command27 = __esm({
33776
33826
 
33777
33827
  // src/commands/rolling-release/command.ts
33778
33828
  var configureSubcommand, startSubcommand, approveSubcommand, abortSubcommand, completeSubcommand, fetchSubcommand, rollingReleaseCommand;
33779
- var init_command28 = __esm({
33829
+ var init_command29 = __esm({
33780
33830
  "src/commands/rolling-release/command.ts"() {
33781
33831
  "use strict";
33782
33832
  init_arg_common();
@@ -33970,7 +34020,7 @@ var init_command28 = __esm({
33970
34020
 
33971
34021
  // src/commands/target/command.ts
33972
34022
  var listSubcommand8, targetCommand;
33973
- var init_command29 = __esm({
34023
+ var init_command30 = __esm({
33974
34024
  "src/commands/target/command.ts"() {
33975
34025
  "use strict";
33976
34026
  init_pkg_name();
@@ -34001,7 +34051,7 @@ var init_command29 = __esm({
34001
34051
 
34002
34052
  // src/commands/teams/command.ts
34003
34053
  var addSubcommand7, listSubcommand9, switchSubcommand, inviteSubcommand, teamsCommand;
34004
- var init_command30 = __esm({
34054
+ var init_command31 = __esm({
34005
34055
  "src/commands/teams/command.ts"() {
34006
34056
  "use strict";
34007
34057
  init_pkg_name();
@@ -34092,7 +34142,7 @@ var init_command30 = __esm({
34092
34142
 
34093
34143
  // src/commands/telemetry/command.ts
34094
34144
  var statusSubcommand3, enableSubcommand, flushSubcommand, disableSubcommand, telemetryCommand;
34095
- var init_command31 = __esm({
34145
+ var init_command32 = __esm({
34096
34146
  "src/commands/telemetry/command.ts"() {
34097
34147
  "use strict";
34098
34148
  statusSubcommand3 = {
@@ -34147,7 +34197,7 @@ var init_command31 = __esm({
34147
34197
 
34148
34198
  // src/commands/whoami/command.ts
34149
34199
  var whoamiCommand;
34150
- var init_command32 = __esm({
34200
+ var init_command33 = __esm({
34151
34201
  "src/commands/whoami/command.ts"() {
34152
34202
  "use strict";
34153
34203
  init_pkg_name();
@@ -34169,7 +34219,7 @@ var init_command32 = __esm({
34169
34219
 
34170
34220
  // src/commands/blob/command.ts
34171
34221
  var listSubcommand10, putSubcommand, delSubcommand, copySubcommand, addStoreSubcommand, removeStoreSubcommand, getStoreSubcommand, storeSubcommand, blobCommand;
34172
- var init_command33 = __esm({
34222
+ var init_command34 = __esm({
34173
34223
  "src/commands/blob/command.ts"() {
34174
34224
  "use strict";
34175
34225
  listSubcommand10 = {
@@ -34447,12 +34497,14 @@ var init_commands = __esm({
34447
34497
  init_command31();
34448
34498
  init_command32();
34449
34499
  init_command33();
34500
+ init_command34();
34450
34501
  init_output_manager();
34451
34502
  commandsStructs = [
34452
34503
  aliasCommand,
34453
34504
  blobCommand,
34454
34505
  bisectCommand,
34455
34506
  buildCommand,
34507
+ cacheCommand,
34456
34508
  certsCommand,
34457
34509
  deployCommand,
34458
34510
  devCommand,
@@ -37499,7 +37551,7 @@ var require_figures = __commonJS2({
37499
37551
  "use strict";
37500
37552
  var escapeStringRegexp = require_escape_string_regexp();
37501
37553
  var { platform } = process;
37502
- var main16 = {
37554
+ var main17 = {
37503
37555
  tick: "\u2714",
37504
37556
  cross: "\u2716",
37505
37557
  star: "\u2605",
@@ -37585,12 +37637,12 @@ var require_figures = __commonJS2({
37585
37637
  hamburger: "\u2261",
37586
37638
  smiley: "\u263A",
37587
37639
  mustache: "\u250C\u2500\u2510",
37588
- heart: main16.heart,
37640
+ heart: main17.heart,
37589
37641
  nodejs: "\u2666",
37590
- arrowUp: main16.arrowUp,
37591
- arrowDown: main16.arrowDown,
37592
- arrowLeft: main16.arrowLeft,
37593
- arrowRight: main16.arrowRight,
37642
+ arrowUp: main17.arrowUp,
37643
+ arrowDown: main17.arrowDown,
37644
+ arrowLeft: main17.arrowLeft,
37645
+ arrowRight: main17.arrowRight,
37594
37646
  radioOn: "(*)",
37595
37647
  radioOff: "( )",
37596
37648
  checkboxOn: "[\xD7]",
@@ -37618,14 +37670,14 @@ var require_figures = __commonJS2({
37618
37670
  sevenEighths: "7/8"
37619
37671
  };
37620
37672
  if (platform === "linux") {
37621
- main16.questionMarkPrefix = "?";
37673
+ main17.questionMarkPrefix = "?";
37622
37674
  }
37623
- var figures4 = platform === "win32" ? windows : main16;
37675
+ var figures4 = platform === "win32" ? windows : main17;
37624
37676
  var fn2 = (string) => {
37625
- if (figures4 === main16) {
37677
+ if (figures4 === main17) {
37626
37678
  return string;
37627
37679
  }
37628
- for (const [key, value] of Object.entries(main16)) {
37680
+ for (const [key, value] of Object.entries(main17)) {
37629
37681
  if (value === figures4[key]) {
37630
37682
  continue;
37631
37683
  }
@@ -37634,7 +37686,7 @@ var require_figures = __commonJS2({
37634
37686
  return string;
37635
37687
  };
37636
37688
  module2.exports = Object.assign(fn2, figures4);
37637
- module2.exports.main = main16;
37689
+ module2.exports.main = main17;
37638
37690
  module2.exports.windows = windows;
37639
37691
  }
37640
37692
  });
@@ -43914,7 +43966,7 @@ var require_write_json_file = __commonJS2({
43914
43966
  };
43915
43967
  var readFile6 = (fp) => pify(fs15.readFile)(fp, "utf8").catch(() => {
43916
43968
  });
43917
- var main16 = (fp, data, opts) => {
43969
+ var main17 = (fp, data, opts) => {
43918
43970
  return (opts.detectIndent ? readFile6(fp) : Promise.resolve()).then((str) => {
43919
43971
  const indent = str ? detectIndent(str).indent : opts.indent;
43920
43972
  const json = JSON.stringify(data, opts.replacer, indent);
@@ -43939,7 +43991,7 @@ var require_write_json_file = __commonJS2({
43939
43991
  `, { mode: opts.mode });
43940
43992
  };
43941
43993
  module2.exports = (fp, data, opts) => {
43942
- return makeDir(path11.dirname(fp), { fs: fs15 }).then(() => init3(main16, fp, data, opts));
43994
+ return makeDir(path11.dirname(fp), { fs: fs15 }).then(() => init3(main17, fp, data, opts));
43943
43995
  };
43944
43996
  module2.exports.sync = (fp, data, opts) => {
43945
43997
  makeDir.sync(path11.dirname(fp), { fs: fs15 });
@@ -100618,7 +100670,7 @@ var init_list4 = __esm({
100618
100670
  init_get_command_flags();
100619
100671
  init_get_args();
100620
100672
  init_get_flags_specification();
100621
- init_command33();
100673
+ init_command34();
100622
100674
  init_pkg_name();
100623
100675
  init_list3();
100624
100676
  init_error2();
@@ -100828,7 +100880,7 @@ var init_put2 = __esm({
100828
100880
  blob2 = __toESM3(require("@vercel/blob"));
100829
100881
  init_get_args();
100830
100882
  init_get_flags_specification();
100831
- init_command33();
100883
+ init_command34();
100832
100884
  import_node_fs = require("fs");
100833
100885
  import_error_utils12 = __toESM3(require_dist2());
100834
100886
  import_node_path = require("path");
@@ -100901,7 +100953,7 @@ var init_del2 = __esm({
100901
100953
  blob3 = __toESM3(require("@vercel/blob"));
100902
100954
  init_get_args();
100903
100955
  init_get_flags_specification();
100904
- init_command33();
100956
+ init_command34();
100905
100957
  init_del();
100906
100958
  init_error2();
100907
100959
  init_pkg_name();
@@ -101020,7 +101072,7 @@ var init_copy2 = __esm({
101020
101072
  blob4 = __toESM3(require("@vercel/blob"));
101021
101073
  init_get_args();
101022
101074
  init_get_flags_specification();
101023
- init_command33();
101075
+ init_command34();
101024
101076
  init_copy();
101025
101077
  init_pkg_name();
101026
101078
  }
@@ -118967,7 +119019,7 @@ var require_detect_file_system_api = __commonJS2({
118967
119019
  });
118968
119020
  module2.exports = __toCommonJS4(detect_file_system_api_exports);
118969
119021
  var import_semver4 = __toESM4(require_semver2());
118970
- var import__93 = require_dist20();
119022
+ var import__96 = require_dist20();
118971
119023
  async function detectFileSystemAPI2({
118972
119024
  files,
118973
119025
  projectSettings,
@@ -119033,7 +119085,7 @@ var require_detect_file_system_api = __commonJS2({
119033
119085
  };
119034
119086
  }
119035
119087
  const invalidBuilder = builders.find(({ use }) => {
119036
- const valid = (0, import__93.isOfficialRuntime)("go", use) || (0, import__93.isOfficialRuntime)("python", use) || (0, import__93.isOfficialRuntime)("ruby", use) || (0, import__93.isOfficialRuntime)("node", use) || (0, import__93.isOfficialRuntime)("next", use) || (0, import__93.isOfficialRuntime)("static", use) || (0, import__93.isOfficialRuntime)("static-build", use);
119088
+ const valid = (0, import__96.isOfficialRuntime)("go", use) || (0, import__96.isOfficialRuntime)("python", use) || (0, import__96.isOfficialRuntime)("ruby", use) || (0, import__96.isOfficialRuntime)("node", use) || (0, import__96.isOfficialRuntime)("next", use) || (0, import__96.isOfficialRuntime)("static", use) || (0, import__96.isOfficialRuntime)("static-build", use);
119037
119089
  return !valid;
119038
119090
  });
119039
119091
  if (invalidBuilder) {
@@ -119046,7 +119098,7 @@ var require_detect_file_system_api = __commonJS2({
119046
119098
  for (const lang of ["go", "python", "ruby"]) {
119047
119099
  for (const { use } of builders) {
119048
119100
  const plugin = "vercel-plugin-" + lang;
119049
- if ((0, import__93.isOfficialRuntime)(lang, use) && !deps[plugin]) {
119101
+ if ((0, import__96.isOfficialRuntime)(lang, use) && !deps[plugin]) {
119050
119102
  return {
119051
119103
  metadata,
119052
119104
  fsApiBuilder: null,
@@ -119103,7 +119155,7 @@ var require_detect_file_system_api = __commonJS2({
119103
119155
  }
119104
119156
  }
119105
119157
  const frontendBuilder = builders.find(
119106
- ({ use }) => (0, import__93.isOfficialRuntime)("next", use) || (0, import__93.isOfficialRuntime)("static", use) || (0, import__93.isOfficialRuntime)("static-build", use)
119158
+ ({ use }) => (0, import__96.isOfficialRuntime)("next", use) || (0, import__96.isOfficialRuntime)("static", use) || (0, import__96.isOfficialRuntime)("static-build", use)
119107
119159
  );
119108
119160
  const config2 = frontendBuilder?.config || {};
119109
119161
  const withTag = tag ? `@${tag}` : "";
@@ -126854,7 +126906,7 @@ var init_store_add2 = __esm({
126854
126906
  init_pkg_name();
126855
126907
  init_get_flags_specification();
126856
126908
  init_get_args();
126857
- init_command33();
126909
+ init_command34();
126858
126910
  init_store_add();
126859
126911
  init_error2();
126860
126912
  }
@@ -126930,7 +126982,7 @@ var init_store_remove = __esm({
126930
126982
  init_error2();
126931
126983
  init_output_manager();
126932
126984
  init_get_flags_specification();
126933
- init_command33();
126985
+ init_command34();
126934
126986
  init_get_args();
126935
126987
  init_link2();
126936
126988
  }
@@ -129351,7 +129403,7 @@ var init_store_get2 = __esm({
129351
129403
  init_get_args();
129352
129404
  init_get_flags_specification();
129353
129405
  init_link2();
129354
- init_command33();
129406
+ init_command34();
129355
129407
  import_date_fns = __toESM3(require_date_fns());
129356
129408
  import_chalk40 = __toESM3(require_source());
129357
129409
  init_store_get();
@@ -129430,7 +129482,7 @@ var init_store2 = __esm({
129430
129482
  init_get_invalid_subcommand();
129431
129483
  init_get_subcommand();
129432
129484
  init_help();
129433
- init_command33();
129485
+ init_command34();
129434
129486
  init_get_flags_specification();
129435
129487
  init_output_manager();
129436
129488
  init_commands();
@@ -129588,7 +129640,7 @@ var init_token = __esm({
129588
129640
  import_node_path2 = require("path");
129589
129641
  init_diff_env_files();
129590
129642
  init_get_flags_specification();
129591
- init_command33();
129643
+ init_command34();
129592
129644
  init_get_args();
129593
129645
  init_pkg_name();
129594
129646
  init_cmd();
@@ -129706,7 +129758,7 @@ var init_blob2 = __esm({
129706
129758
  init_get_subcommand();
129707
129759
  init_help();
129708
129760
  init_list4();
129709
- init_command33();
129761
+ init_command34();
129710
129762
  init_get_flags_specification();
129711
129763
  init_output_manager();
129712
129764
  init_commands();
@@ -144551,7 +144603,7 @@ var init_pull2 = __esm({
144551
144603
  init_format_project();
144552
144604
  init_output_manager();
144553
144605
  init_pull();
144554
- init_command9();
144606
+ init_command10();
144555
144607
  init_get_args();
144556
144608
  init_get_flags_specification();
144557
144609
  init_error2();
@@ -145282,7 +145334,7 @@ var init_pull4 = __esm({
145282
145334
  init_ensure_link();
145283
145335
  init_humanize_path();
145284
145336
  init_help();
145285
- init_command24();
145337
+ init_command25();
145286
145338
  init_parse_target();
145287
145339
  init_get_flags_specification();
145288
145340
  init_error2();
@@ -146017,6 +146069,223 @@ var init_build2 = __esm({
146017
146069
  }
146018
146070
  });
146019
146071
 
146072
+ // src/util/telemetry/commands/cache/purge.ts
146073
+ var CachePurgeTelemetryClient;
146074
+ var init_purge = __esm({
146075
+ "src/util/telemetry/commands/cache/purge.ts"() {
146076
+ "use strict";
146077
+ init_telemetry();
146078
+ CachePurgeTelemetryClient = class extends TelemetryClient {
146079
+ trackCliFlagYes(yes) {
146080
+ if (yes) {
146081
+ this.trackCliFlag("yes");
146082
+ }
146083
+ }
146084
+ trackCliOptionType(type) {
146085
+ if (type) {
146086
+ this.trackCliOption({
146087
+ option: "type",
146088
+ value: type
146089
+ });
146090
+ }
146091
+ }
146092
+ };
146093
+ }
146094
+ });
146095
+
146096
+ // src/commands/cache/purge.ts
146097
+ async function purge(client2, argv) {
146098
+ const telemetry2 = new CachePurgeTelemetryClient({
146099
+ opts: {
146100
+ store: client2.telemetryEventStore
146101
+ }
146102
+ });
146103
+ let parsedArgs;
146104
+ const flagsSpecification = getFlagsSpecification(purgeSubcommand.options);
146105
+ try {
146106
+ parsedArgs = parseArguments(argv, flagsSpecification);
146107
+ } catch (err) {
146108
+ printError(err);
146109
+ return 1;
146110
+ }
146111
+ const link4 = await getLinkedProject(client2);
146112
+ if (link4.status === "not_linked") {
146113
+ output_manager_default.error(
146114
+ "No project linked. Run `vercel link` to link a project to this directory."
146115
+ );
146116
+ return 1;
146117
+ }
146118
+ if (link4.status === "error") {
146119
+ return link4.exitCode;
146120
+ }
146121
+ const { project, org } = link4;
146122
+ client2.config.currentTeam = org.type === "team" ? org.id : void 0;
146123
+ const yes = Boolean(parsedArgs.flags["--yes"]);
146124
+ telemetry2.trackCliFlagYes(yes);
146125
+ const type = parsedArgs.flags["--type"] || "all";
146126
+ telemetry2.trackCliOptionType(parsedArgs.flags["--type"]);
146127
+ const cacheTypeMap = {
146128
+ cdn: "the CDN cache",
146129
+ data: "the Data cache",
146130
+ all: "the CDN cache and Data cache"
146131
+ };
146132
+ const validTypes = Object.keys(cacheTypeMap);
146133
+ if (!validTypes.includes(type)) {
146134
+ output_manager_default.error(
146135
+ `Invalid cache type "${type}". Valid types are: ${validTypes.join(", ")}`
146136
+ );
146137
+ return 1;
146138
+ }
146139
+ const typeDesciption = cacheTypeMap[type];
146140
+ const msg = `You are about to purge ${typeDesciption} for project ${project.name}`;
146141
+ const query = new URLSearchParams({ projectIdOrName: project.id }).toString();
146142
+ if (!yes) {
146143
+ if (!process.stdin.isTTY) {
146144
+ output_manager_default.print(
146145
+ `${msg}. To continue, run ${getCommandName("cache purge --yes")}.`
146146
+ );
146147
+ return 1;
146148
+ }
146149
+ const confirmed = await client2.input.confirm(`${msg}. Continue?`, true);
146150
+ if (!confirmed) {
146151
+ output_manager_default.print(`Canceled.
146152
+ `);
146153
+ return 0;
146154
+ }
146155
+ }
146156
+ const requests = [];
146157
+ if (type === "cdn" || type === "all") {
146158
+ requests.push(
146159
+ client2.fetch(`/v1/edge-cache/purge-all?${query}`, {
146160
+ method: "POST",
146161
+ headers: {
146162
+ "Content-Type": "application/json"
146163
+ }
146164
+ })
146165
+ );
146166
+ }
146167
+ if (type === "data" || type === "all") {
146168
+ requests.push(
146169
+ client2.fetch(`/v1/data-cache/purge-all?${query}`, {
146170
+ method: "DELETE",
146171
+ headers: {
146172
+ "Content-Type": "application/json"
146173
+ }
146174
+ })
146175
+ );
146176
+ }
146177
+ await Promise.all(requests);
146178
+ output_manager_default.print(
146179
+ prependEmoji(`Successfully purged ${typeDesciption}`, emoji("success")) + `
146180
+ `
146181
+ );
146182
+ return 0;
146183
+ }
146184
+ var init_purge2 = __esm({
146185
+ "src/commands/cache/purge.ts"() {
146186
+ "use strict";
146187
+ init_get_args();
146188
+ init_error2();
146189
+ init_command4();
146190
+ init_get_flags_specification();
146191
+ init_output_manager();
146192
+ init_pkg_name();
146193
+ init_link2();
146194
+ init_emoji();
146195
+ init_purge();
146196
+ }
146197
+ });
146198
+
146199
+ // src/util/telemetry/commands/cache/index.ts
146200
+ var CacheTelemetryClient;
146201
+ var init_cache = __esm({
146202
+ "src/util/telemetry/commands/cache/index.ts"() {
146203
+ "use strict";
146204
+ init_telemetry();
146205
+ CacheTelemetryClient = class extends TelemetryClient {
146206
+ trackCliSubcommandPurge(actual) {
146207
+ this.trackCliSubcommand({
146208
+ subcommand: "purge",
146209
+ value: actual
146210
+ });
146211
+ }
146212
+ };
146213
+ }
146214
+ });
146215
+
146216
+ // src/commands/cache/index.ts
146217
+ var cache_exports = {};
146218
+ __export3(cache_exports, {
146219
+ default: () => main4
146220
+ });
146221
+ async function main4(client2) {
146222
+ const telemetry2 = new CacheTelemetryClient({
146223
+ opts: {
146224
+ store: client2.telemetryEventStore
146225
+ }
146226
+ });
146227
+ let parsedArgs;
146228
+ const flagsSpecification = getFlagsSpecification(cacheCommand.options);
146229
+ try {
146230
+ parsedArgs = parseArguments(client2.argv.slice(2), flagsSpecification, {
146231
+ permissive: true
146232
+ });
146233
+ } catch (err) {
146234
+ printError(err);
146235
+ return 1;
146236
+ }
146237
+ const subArgs = parsedArgs.args.slice(1);
146238
+ const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
146239
+ subArgs,
146240
+ COMMAND_CONFIG4
146241
+ );
146242
+ const needHelp = parsedArgs.flags["--help"];
146243
+ if (!subcommand && needHelp) {
146244
+ telemetry2.trackCliFlagHelp(cacheCommand.name);
146245
+ output_manager_default.print(help2(cacheCommand, { columns: client2.stderr.columns }));
146246
+ return 2;
146247
+ }
146248
+ function printHelp(command) {
146249
+ telemetry2.trackCliFlagHelp(command.name, subcommandOriginal);
146250
+ output_manager_default.print(
146251
+ help2(command, { parent: cacheCommand, columns: client2.stderr.columns })
146252
+ );
146253
+ }
146254
+ switch (subcommand) {
146255
+ case "purge":
146256
+ if (needHelp) {
146257
+ printHelp(purgeSubcommand);
146258
+ return 2;
146259
+ }
146260
+ telemetry2.trackCliSubcommandPurge(subcommandOriginal);
146261
+ return purge(client2, args2);
146262
+ default:
146263
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG4));
146264
+ output_manager_default.print(help2(cacheCommand, { columns: client2.stderr.columns }));
146265
+ return 2;
146266
+ }
146267
+ }
146268
+ var COMMAND_CONFIG4;
146269
+ var init_cache2 = __esm({
146270
+ "src/commands/cache/index.ts"() {
146271
+ "use strict";
146272
+ init_get_args();
146273
+ init_get_invalid_subcommand();
146274
+ init_get_subcommand();
146275
+ init_error2();
146276
+ init_help();
146277
+ init_purge2();
146278
+ init_command4();
146279
+ init_get_flags_specification();
146280
+ init_output_manager();
146281
+ init_commands();
146282
+ init_cache();
146283
+ COMMAND_CONFIG4 = {
146284
+ purge: getCommandAliases(purgeSubcommand)
146285
+ };
146286
+ }
146287
+ });
146288
+
146020
146289
  // src/util/certs/create-cert-from-file.ts
146021
146290
  async function createCertFromFile(client2, keyPath, certPath, caPath) {
146022
146291
  output_manager_default.spinner("Adding your custom certificate");
@@ -146197,7 +146466,7 @@ var init_add2 = __esm({
146197
146466
  init_create_cert_for_cns();
146198
146467
  init_pkg_name();
146199
146468
  init_add();
146200
- init_command4();
146469
+ init_command5();
146201
146470
  init_get_flags_specification();
146202
146471
  init_get_args();
146203
146472
  init_error2();
@@ -146495,7 +146764,7 @@ var init_issue2 = __esm({
146495
146764
  init_pkg_name();
146496
146765
  init_output_manager();
146497
146766
  init_issue();
146498
- init_command4();
146767
+ init_command5();
146499
146768
  init_get_flags_specification();
146500
146769
  init_get_args();
146501
146770
  init_error2();
@@ -146658,7 +146927,7 @@ var init_ls3 = __esm({
146658
146927
  init_pkg_name();
146659
146928
  init_output_manager();
146660
146929
  init_ls2();
146661
- init_command4();
146930
+ init_command5();
146662
146931
  init_get_flags_specification();
146663
146932
  init_get_args();
146664
146933
  init_error2();
@@ -146859,7 +147128,7 @@ var init_rm2 = __esm({
146859
147128
  init_pkg_name();
146860
147129
  init_output_manager();
146861
147130
  init_remove2();
146862
- init_command4();
147131
+ init_command5();
146863
147132
  init_get_flags_specification();
146864
147133
  init_get_args();
146865
147134
  init_error2();
@@ -146905,9 +147174,9 @@ var init_certs = __esm({
146905
147174
  // src/commands/certs/index.ts
146906
147175
  var certs_exports = {};
146907
147176
  __export3(certs_exports, {
146908
- default: () => main4
147177
+ default: () => main5
146909
147178
  });
146910
- async function main4(client2) {
147179
+ async function main5(client2) {
146911
147180
  const { telemetryEventStore } = client2;
146912
147181
  const telemetry2 = new CertsTelemetryClient({
146913
147182
  opts: {
@@ -146926,7 +147195,7 @@ async function main4(client2) {
146926
147195
  }
146927
147196
  const { subcommand, subcommandOriginal, args: args2 } = getSubcommand(
146928
147197
  parsedArgs.args.slice(1),
146929
- COMMAND_CONFIG4
147198
+ COMMAND_CONFIG5
146930
147199
  );
146931
147200
  const needHelp = parsedArgs.flags["--help"];
146932
147201
  if (!subcommand && needHelp) {
@@ -146978,7 +147247,7 @@ async function main4(client2) {
146978
147247
  return 2;
146979
147248
  }
146980
147249
  }
146981
- var COMMAND_CONFIG4;
147250
+ var COMMAND_CONFIG5;
146982
147251
  var init_certs2 = __esm({
146983
147252
  "src/commands/certs/index.ts"() {
146984
147253
  "use strict";
@@ -146989,13 +147258,13 @@ var init_certs2 = __esm({
146989
147258
  init_issue2();
146990
147259
  init_ls3();
146991
147260
  init_rm2();
146992
- init_command4();
147261
+ init_command5();
146993
147262
  init_help();
146994
147263
  init_get_flags_specification();
146995
147264
  init_output_manager();
146996
147265
  init_certs();
146997
147266
  init_commands();
146998
- COMMAND_CONFIG4 = {
147267
+ COMMAND_CONFIG5 = {
146999
147268
  add: getCommandAliases(addSubcommand),
147000
147269
  issue: getCommandAliases(issueSubcommand),
147001
147270
  ls: getCommandAliases(listSubcommand2),
@@ -147547,7 +147816,7 @@ var init_logs = __esm({
147547
147816
  import_split2 = __toESM3(require_split2());
147548
147817
  import_url14 = require("url");
147549
147818
  init_events();
147550
- init_command20();
147819
+ init_command21();
147551
147820
  init_output_manager();
147552
147821
  runtimeLogSpinnerMessage = `waiting for new logs...`;
147553
147822
  dateTimeFormat = "HH:mm:ss.SS";
@@ -147686,12 +147955,12 @@ async function processDeployment({
147686
147955
  );
147687
147956
  }
147688
147957
  if (event.type === "created") {
147689
- const deployment = event.payload;
147690
- now.url = deployment.url;
147958
+ const deployment2 = event.payload;
147959
+ now.url = deployment2.url;
147691
147960
  stopSpinner();
147692
- printInspectUrl(deployment.inspectorUrl, deployStamp);
147693
- const isProdDeployment = deployment.target === "production";
147694
- const previewUrl = `https://${deployment.url}`;
147961
+ printInspectUrl(deployment2.inspectorUrl, deployStamp);
147962
+ const isProdDeployment = deployment2.target === "production";
147963
+ const previewUrl = `https://${deployment2.url}`;
147695
147964
  output_manager_default.print(
147696
147965
  prependEmoji(
147697
147966
  `${isProdDeployment ? "Production" : "Preview"}: ${import_chalk59.default.bold(
@@ -147705,13 +147974,13 @@ async function processDeployment({
147705
147974
  process.stdout.write(`https://${event.payload.url}`);
147706
147975
  }
147707
147976
  if (noWait) {
147708
- return deployment;
147977
+ return deployment2;
147709
147978
  }
147710
147979
  if (withLogs) {
147711
147980
  let promise;
147712
147981
  ({ abortController, promise } = displayBuildLogs(
147713
147982
  client2,
147714
- deployment,
147983
+ deployment2,
147715
147984
  true
147716
147985
  ));
147717
147986
  promise.catch(
@@ -147719,7 +147988,7 @@ async function processDeployment({
147719
147988
  );
147720
147989
  }
147721
147990
  output_manager_default.spinner(
147722
- deployment.readyState === "QUEUED" ? "Queued" : "Building",
147991
+ deployment2.readyState === "QUEUED" ? "Queued" : "Building",
147723
147992
  0
147724
147993
  );
147725
147994
  }
@@ -147730,6 +147999,19 @@ async function processDeployment({
147730
147999
  stopSpinner();
147731
148000
  return event.payload;
147732
148001
  }
148002
+ const deployment = event.payload;
148003
+ const project = await getProjectByNameOrId(
148004
+ client2,
148005
+ deployment?.projectId || ""
148006
+ );
148007
+ if (project instanceof ProjectNotFound) {
148008
+ throw project;
148009
+ }
148010
+ if (event.type === "ready" && project.rollingRelease) {
148011
+ output_manager_default.spinner("Releasing", 0);
148012
+ output_manager_default.stopSpinner();
148013
+ return event.payload;
148014
+ }
147733
148015
  if (event.type === "ready" && (event.payload.checksState ? event.payload.checksState === "completed" : true) && !withLogs) {
147734
148016
  output_manager_default.spinner("Completing", 0);
147735
148017
  }
@@ -147795,6 +148077,8 @@ var init_process_deployment = __esm({
147795
148077
  init_progress();
147796
148078
  init_ua();
147797
148079
  init_output_manager();
148080
+ init_get_project_by_id_or_name();
148081
+ init_errors_ts();
147798
148082
  archiveSuggestionText = "Try using `--archive=tgz` to limit the amount of files you upload.";
147799
148083
  UploadErrorMissingArchive = class extends Error {
147800
148084
  constructor() {
@@ -148389,7 +148673,7 @@ var init_deploy = __esm({
148389
148673
  "src/util/telemetry/commands/deploy/index.ts"() {
148390
148674
  "use strict";
148391
148675
  init_telemetry();
148392
- init_command5();
148676
+ init_command6();
148393
148677
  import_client10 = __toESM3(require_dist7());
148394
148678
  DeployTelemetryClient = class extends TelemetryClient {
148395
148679
  trackCliArgumentProjectPath(projectPaths) {
@@ -148629,7 +148913,7 @@ var init_deploy2 = __esm({
148629
148913
  init_project_settings();
148630
148914
  init_validate_paths();
148631
148915
  init_help();
148632
- init_command5();
148916
+ init_command6();
148633
148917
  init_parse_target();
148634
148918
  init_deploy();
148635
148919
  init_output_manager();
@@ -168852,9 +169136,9 @@ var init_dev2 = __esm({
168852
169136
  // src/commands/dev/index.ts
168853
169137
  var dev_exports = {};
168854
169138
  __export3(dev_exports, {
168855
- default: () => main5
169139
+ default: () => main6
168856
169140
  });
168857
- async function main5(client2) {
169141
+ async function main6(client2) {
168858
169142
  if (process.env.__VERCEL_DEV_RUNNING) {
168859
169143
  output_manager_default.error(
168860
169144
  `${cmd(
@@ -168893,7 +169177,7 @@ async function main5(client2) {
168893
169177
  output_manager_default.print(help2(devCommand, { columns: client2.stderr.columns }));
168894
169178
  return 2;
168895
169179
  }
168896
- const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG5).args;
169180
+ const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG6).args;
168897
169181
  if ("--confirm" in parsedArgs.flags) {
168898
169182
  output_manager_default.warn("`--confirm` is deprecated, please use `--yes` instead");
168899
169183
  parsedArgs.flags["--yes"] = parsedArgs.flags["--confirm"];
@@ -168962,7 +169246,7 @@ ${errMeta}`;
168962
169246
  }
168963
169247
  return err.stack;
168964
169248
  }
168965
- var import_path37, import_chalk65, import_error_utils23, COMMAND_CONFIG5;
169249
+ var import_path37, import_chalk65, import_error_utils23, COMMAND_CONFIG6;
168966
169250
  var init_dev3 = __esm({
168967
169251
  "src/commands/dev/index.ts"() {
168968
169252
  "use strict";
@@ -168981,11 +169265,11 @@ var init_dev3 = __esm({
168981
169265
  init_errors_ts();
168982
169266
  import_error_utils23 = __toESM3(require_dist2());
168983
169267
  init_help();
168984
- init_command6();
169268
+ init_command7();
168985
169269
  init_get_flags_specification();
168986
169270
  init_output_manager();
168987
169271
  init_dev2();
168988
- COMMAND_CONFIG5 = {
169272
+ COMMAND_CONFIG6 = {
168989
169273
  dev: ["dev"]
168990
169274
  };
168991
169275
  }
@@ -169335,7 +169619,7 @@ var init_add4 = __esm({
169335
169619
  init_pkg_name();
169336
169620
  init_output_manager();
169337
169621
  init_add3();
169338
- init_command7();
169622
+ init_command8();
169339
169623
  init_get_args();
169340
169624
  init_get_flags_specification();
169341
169625
  init_error2();
@@ -169482,7 +169766,7 @@ var init_import2 = __esm({
169482
169766
  init_pkg_name();
169483
169767
  init_output_manager();
169484
169768
  init_import();
169485
- init_command7();
169769
+ init_command8();
169486
169770
  init_get_args();
169487
169771
  init_get_flags_specification();
169488
169772
  init_error2();
@@ -169808,7 +170092,7 @@ var init_ls5 = __esm({
169808
170092
  init_pkg_name();
169809
170093
  init_output_manager();
169810
170094
  init_ls4();
169811
- init_command7();
170095
+ init_command8();
169812
170096
  init_get_args();
169813
170097
  init_get_flags_specification();
169814
170098
  init_error2();
@@ -169955,7 +170239,7 @@ var init_rm4 = __esm({
169955
170239
  init_pkg_name();
169956
170240
  init_output_manager();
169957
170241
  init_rm3();
169958
- init_command7();
170242
+ init_command8();
169959
170243
  init_get_args();
169960
170244
  init_get_flags_specification();
169961
170245
  init_error2();
@@ -170021,7 +170305,7 @@ async function dns(client2) {
170021
170305
  });
170022
170306
  const { subcommand, subcommandOriginal, args: args2 } = getSubcommand(
170023
170307
  parsedArgs.args.slice(1),
170024
- COMMAND_CONFIG6
170308
+ COMMAND_CONFIG7
170025
170309
  );
170026
170310
  const needHelp = parsedArgs.flags["--help"];
170027
170311
  if (!subcommand && needHelp) {
@@ -170069,7 +170353,7 @@ async function dns(client2) {
170069
170353
  return ls3(client2, args2);
170070
170354
  }
170071
170355
  }
170072
- var COMMAND_CONFIG6;
170356
+ var COMMAND_CONFIG7;
170073
170357
  var init_dns2 = __esm({
170074
170358
  "src/commands/dns/index.ts"() {
170075
170359
  "use strict";
@@ -170080,13 +170364,13 @@ var init_dns2 = __esm({
170080
170364
  init_import2();
170081
170365
  init_ls5();
170082
170366
  init_rm4();
170083
- init_command7();
170367
+ init_command8();
170084
170368
  init_help();
170085
170369
  init_get_flags_specification();
170086
170370
  init_output_manager();
170087
170371
  init_dns();
170088
170372
  init_commands();
170089
- COMMAND_CONFIG6 = {
170373
+ COMMAND_CONFIG7 = {
170090
170374
  add: getCommandAliases(addSubcommand2),
170091
170375
  import: getCommandAliases(importSubcommand),
170092
170376
  ls: getCommandAliases(listSubcommand3),
@@ -170443,7 +170727,7 @@ var init_add6 = __esm({
170443
170727
  init_code();
170444
170728
  init_output_manager();
170445
170729
  init_add5();
170446
- init_command8();
170730
+ init_command9();
170447
170731
  init_get_args();
170448
170732
  init_get_flags_specification();
170449
170733
  init_error2();
@@ -170644,7 +170928,7 @@ var init_buy2 = __esm({
170644
170928
  init_pkg_name();
170645
170929
  init_output_manager();
170646
170930
  init_buy();
170647
- init_command8();
170931
+ init_command9();
170648
170932
  init_get_args();
170649
170933
  init_get_flags_specification();
170650
170934
  init_error2();
@@ -170903,7 +171187,7 @@ var init_transfer_in2 = __esm({
170903
171187
  init_pkg_name();
170904
171188
  init_transfer_in();
170905
171189
  init_output_manager();
170906
- init_command8();
171190
+ init_command9();
170907
171191
  init_get_args();
170908
171192
  init_get_flags_specification();
170909
171193
  init_error2();
@@ -171176,7 +171460,7 @@ var init_inspect2 = __esm({
171176
171460
  init_get_domain_registrar();
171177
171461
  init_inspect();
171178
171462
  init_output_manager();
171179
- init_command8();
171463
+ init_command9();
171180
171464
  init_get_args();
171181
171465
  init_get_flags_specification();
171182
171466
  init_error2();
@@ -171310,7 +171594,7 @@ var init_ls7 = __esm({
171310
171594
  init_get_domain_registrar();
171311
171595
  init_output_manager();
171312
171596
  init_ls6();
171313
- init_command8();
171597
+ init_command9();
171314
171598
  init_get_args();
171315
171599
  init_get_flags_specification();
171316
171600
  init_error2();
@@ -171629,7 +171913,7 @@ var init_rm6 = __esm({
171629
171913
  init_pkg_name();
171630
171914
  init_output_manager();
171631
171915
  init_rm5();
171632
- init_command8();
171916
+ init_command9();
171633
171917
  init_get_args();
171634
171918
  init_get_flags_specification();
171635
171919
  init_error2();
@@ -171907,7 +172191,7 @@ var init_move2 = __esm({
171907
172191
  init_pkg_name();
171908
172192
  init_output_manager();
171909
172193
  init_move();
171910
- init_command8();
172194
+ init_command9();
171911
172195
  init_get_args();
171912
172196
  init_get_flags_specification();
171913
172197
  init_error2();
@@ -171970,9 +172254,9 @@ var init_domains = __esm({
171970
172254
  // src/commands/domains/index.ts
171971
172255
  var domains_exports = {};
171972
172256
  __export3(domains_exports, {
171973
- default: () => main6
172257
+ default: () => main7
171974
172258
  });
171975
- async function main6(client2) {
172259
+ async function main7(client2) {
171976
172260
  let parsedArgs;
171977
172261
  const flagsSpecification = getFlagsSpecification(domainsCommand.options);
171978
172262
  try {
@@ -171990,7 +172274,7 @@ async function main6(client2) {
171990
172274
  });
171991
172275
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
171992
172276
  parsedArgs.args.slice(1),
171993
- COMMAND_CONFIG7
172277
+ COMMAND_CONFIG8
171994
172278
  );
171995
172279
  const needHelp = parsedArgs.flags["--help"];
171996
172280
  if (!subcommand && needHelp) {
@@ -172056,7 +172340,7 @@ async function main6(client2) {
172056
172340
  return ls4(client2, args2);
172057
172341
  }
172058
172342
  }
172059
- var COMMAND_CONFIG7;
172343
+ var COMMAND_CONFIG8;
172060
172344
  var init_domains2 = __esm({
172061
172345
  "src/commands/domains/index.ts"() {
172062
172346
  "use strict";
@@ -172070,12 +172354,12 @@ var init_domains2 = __esm({
172070
172354
  init_ls7();
172071
172355
  init_rm6();
172072
172356
  init_move2();
172073
- init_command8();
172357
+ init_command9();
172074
172358
  init_help();
172075
172359
  init_get_flags_specification();
172076
172360
  init_domains();
172077
172361
  init_output_manager();
172078
- COMMAND_CONFIG7 = {
172362
+ COMMAND_CONFIG8 = {
172079
172363
  add: ["add"],
172080
172364
  buy: ["buy"],
172081
172365
  inspect: ["inspect"],
@@ -172438,7 +172722,7 @@ var init_add8 = __esm({
172438
172722
  init_get_args();
172439
172723
  init_get_flags_specification();
172440
172724
  init_error2();
172441
- init_command9();
172725
+ init_command10();
172442
172726
  init_link2();
172443
172727
  }
172444
172728
  });
@@ -172638,7 +172922,7 @@ var init_ls9 = __esm({
172638
172922
  init_format_project();
172639
172923
  init_output_manager();
172640
172924
  init_ls8();
172641
- init_command9();
172925
+ init_command10();
172642
172926
  init_get_args();
172643
172927
  init_get_flags_specification();
172644
172928
  init_error2();
@@ -172829,7 +173113,7 @@ var init_rm8 = __esm({
172829
173113
  init_get_custom_environments();
172830
173114
  init_rm7();
172831
173115
  init_output_manager();
172832
- init_command9();
173116
+ init_command10();
172833
173117
  init_get_args();
172834
173118
  init_get_flags_specification();
172835
173119
  init_error2();
@@ -172875,9 +173159,9 @@ var init_env = __esm({
172875
173159
  // src/commands/env/index.ts
172876
173160
  var env_exports = {};
172877
173161
  __export3(env_exports, {
172878
- default: () => main7
173162
+ default: () => main8
172879
173163
  });
172880
- async function main7(client2) {
173164
+ async function main8(client2) {
172881
173165
  const telemetry2 = new EnvTelemetryClient({
172882
173166
  opts: {
172883
173167
  store: client2.telemetryEventStore
@@ -172896,7 +173180,7 @@ async function main7(client2) {
172896
173180
  const subArgs = parsedArgs.args.slice(1);
172897
173181
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
172898
173182
  subArgs,
172899
- COMMAND_CONFIG8
173183
+ COMMAND_CONFIG9
172900
173184
  );
172901
173185
  const needHelp = parsedArgs.flags["--help"];
172902
173186
  if (!subcommand && needHelp) {
@@ -172943,12 +173227,12 @@ async function main7(client2) {
172943
173227
  telemetry2.trackCliSubcommandPull(subcommandOriginal);
172944
173228
  return pull(client2, args2);
172945
173229
  default:
172946
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG8));
173230
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG9));
172947
173231
  output_manager_default.print(help2(envCommand, { columns: client2.stderr.columns }));
172948
173232
  return 2;
172949
173233
  }
172950
173234
  }
172951
- var COMMAND_CONFIG8;
173235
+ var COMMAND_CONFIG9;
172952
173236
  var init_env2 = __esm({
172953
173237
  "src/commands/env/index.ts"() {
172954
173238
  "use strict";
@@ -172961,12 +173245,12 @@ var init_env2 = __esm({
172961
173245
  init_ls9();
172962
173246
  init_pull2();
172963
173247
  init_rm8();
172964
- init_command9();
173248
+ init_command10();
172965
173249
  init_get_flags_specification();
172966
173250
  init_output_manager();
172967
173251
  init_env();
172968
173252
  init_commands();
172969
- COMMAND_CONFIG8 = {
173253
+ COMMAND_CONFIG9 = {
172970
173254
  ls: getCommandAliases(listSubcommand5),
172971
173255
  add: getCommandAliases(addSubcommand4),
172972
173256
  rm: getCommandAliases(removeSubcommand5),
@@ -173359,7 +173643,7 @@ var init_connect2 = __esm({
173359
173643
  init_get_args();
173360
173644
  init_get_flags_specification();
173361
173645
  init_error2();
173362
- init_command10();
173646
+ init_command11();
173363
173647
  init_ensure_link();
173364
173648
  }
173365
173649
  });
@@ -173462,7 +173746,7 @@ var init_disconnect2 = __esm({
173462
173746
  init_pkg_name();
173463
173747
  init_connect_git_provider();
173464
173748
  init_output_manager();
173465
- init_command10();
173749
+ init_command11();
173466
173750
  init_get_args();
173467
173751
  init_get_flags_specification();
173468
173752
  init_error2();
@@ -173497,9 +173781,9 @@ var init_git = __esm({
173497
173781
  // src/commands/git/index.ts
173498
173782
  var git_exports = {};
173499
173783
  __export3(git_exports, {
173500
- default: () => main8
173784
+ default: () => main9
173501
173785
  });
173502
- async function main8(client2) {
173786
+ async function main9(client2) {
173503
173787
  let parsedArgs;
173504
173788
  const flagsSpecification = getFlagsSpecification(gitCommand.options);
173505
173789
  try {
@@ -173517,7 +173801,7 @@ async function main8(client2) {
173517
173801
  });
173518
173802
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
173519
173803
  parsedArgs.args.slice(1),
173520
- COMMAND_CONFIG9
173804
+ COMMAND_CONFIG10
173521
173805
  );
173522
173806
  if (parsedArgs.flags["--help"]) {
173523
173807
  telemetry2.trackCliFlagHelp("git", subcommand);
@@ -173532,12 +173816,12 @@ async function main8(client2) {
173532
173816
  telemetry2.trackCliSubcommandDisconnect(subcommandOriginal);
173533
173817
  return disconnect(client2, args2);
173534
173818
  default:
173535
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG9));
173819
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG10));
173536
173820
  output_manager_default.print(help2(gitCommand, { columns: client2.stderr.columns }));
173537
173821
  return 2;
173538
173822
  }
173539
173823
  }
173540
- var COMMAND_CONFIG9;
173824
+ var COMMAND_CONFIG10;
173541
173825
  var init_git2 = __esm({
173542
173826
  "src/commands/git/index.ts"() {
173543
173827
  "use strict";
@@ -173547,12 +173831,12 @@ var init_git2 = __esm({
173547
173831
  init_connect2();
173548
173832
  init_disconnect2();
173549
173833
  init_help();
173550
- init_command10();
173834
+ init_command11();
173551
173835
  init_get_flags_specification();
173552
173836
  init_output_manager();
173553
173837
  init_git();
173554
173838
  init_get_subcommand();
173555
- COMMAND_CONFIG9 = {
173839
+ COMMAND_CONFIG10 = {
173556
173840
  connect: ["connect"],
173557
173841
  disconnect: ["disconnect"]
173558
173842
  };
@@ -173863,9 +174147,9 @@ var init_init2 = __esm({
173863
174147
  // src/commands/init/index.ts
173864
174148
  var init_exports = {};
173865
174149
  __export3(init_exports, {
173866
- default: () => main9
174150
+ default: () => main10
173867
174151
  });
173868
- async function main9(client2) {
174152
+ async function main10(client2) {
173869
174153
  let parsedArgs;
173870
174154
  const flagsSpecification = getFlagsSpecification(initCommand.options);
173871
174155
  try {
@@ -173884,7 +174168,7 @@ async function main9(client2) {
173884
174168
  output_manager_default.print(help2(initCommand, { columns: client2.stderr.columns }));
173885
174169
  return 2;
173886
174170
  }
173887
- const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG10).args;
174171
+ const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG11).args;
173888
174172
  if (parsedArgs.args.length > 3) {
173889
174173
  output_manager_default.error("Too many arguments.");
173890
174174
  return 1;
@@ -173901,7 +174185,7 @@ async function main9(client2) {
173901
174185
  return 1;
173902
174186
  }
173903
174187
  }
173904
- var import_error_utils27, COMMAND_CONFIG10;
174188
+ var import_error_utils27, COMMAND_CONFIG11;
173905
174189
  var init_init3 = __esm({
173906
174190
  "src/commands/init/index.ts"() {
173907
174191
  "use strict";
@@ -173911,11 +174195,11 @@ var init_init3 = __esm({
173911
174195
  init_init();
173912
174196
  import_error_utils27 = __toESM3(require_dist2());
173913
174197
  init_help();
173914
- init_command11();
174198
+ init_command12();
173915
174199
  init_get_flags_specification();
173916
174200
  init_output_manager();
173917
174201
  init_init2();
173918
- COMMAND_CONFIG10 = {
174202
+ COMMAND_CONFIG11 = {
173919
174203
  init: ["init"]
173920
174204
  };
173921
174205
  }
@@ -174005,8 +174289,8 @@ var init_builds = __esm({
174005
174289
  }
174006
174290
  }
174007
174291
  const corner = isLast ? "\u2514\u2500\u2500" : "\u251C\u2500\u2500";
174008
- const main16 = prefix + path11 + finalSize + finalRegion;
174009
- return `${import_chalk92.default.grey(corner)} ${color(main16)}`;
174292
+ const main17 = prefix + path11 + finalSize + finalRegion;
174293
+ return `${import_chalk92.default.grey(corner)} ${color(main17)}`;
174010
174294
  };
174011
174295
  getDirPath = (path11, level = 0, highestLevel = null) => {
174012
174296
  const parts = path11.split("/").slice(0, -1);
@@ -174508,7 +174792,7 @@ var init_inspect4 = __esm({
174508
174792
  init_pkg_name();
174509
174793
  init_sleep();
174510
174794
  init_help();
174511
- init_command12();
174795
+ init_command13();
174512
174796
  init_output_manager();
174513
174797
  init_inspect3();
174514
174798
  }
@@ -175351,7 +175635,7 @@ var init_install2 = __esm({
175351
175635
  init_get_args();
175352
175636
  init_help();
175353
175637
  init_add10();
175354
- init_command13();
175638
+ init_command14();
175355
175639
  init_output_manager();
175356
175640
  init_install();
175357
175641
  }
@@ -175866,7 +176150,7 @@ var init_list6 = __esm({
175866
176150
  init_get_scope();
175867
176151
  init_link2();
175868
176152
  init_get_resources();
175869
- init_command15();
176153
+ init_command16();
175870
176154
  init_get_flags_specification();
175871
176155
  init_get_args();
175872
176156
  init_error2();
@@ -176082,7 +176366,7 @@ var init_remove_integration2 = __esm({
176082
176366
  init_error2();
176083
176367
  init_fetch_marketplace_integrations();
176084
176368
  init_remove_integration();
176085
- init_command15();
176369
+ init_command16();
176086
176370
  init_remove3();
176087
176371
  }
176088
176372
  });
@@ -176090,9 +176374,9 @@ var init_remove_integration2 = __esm({
176090
176374
  // src/commands/integration/index.ts
176091
176375
  var integration_exports = {};
176092
176376
  __export3(integration_exports, {
176093
- default: () => main10
176377
+ default: () => main11
176094
176378
  });
176095
- async function main10(client2) {
176379
+ async function main11(client2) {
176096
176380
  const telemetry2 = new IntegrationTelemetryClient({
176097
176381
  opts: {
176098
176382
  store: client2.telemetryEventStore
@@ -176107,7 +176391,7 @@ async function main10(client2) {
176107
176391
  subcommand,
176108
176392
  subcommandOriginal,
176109
176393
  args: subArgs
176110
- } = getSubcommand(args2.slice(1), COMMAND_CONFIG11);
176394
+ } = getSubcommand(args2.slice(1), COMMAND_CONFIG12);
176111
176395
  const needHelp = flags["--help"];
176112
176396
  function printHelp(command) {
176113
176397
  output_manager_default.print(
@@ -176173,12 +176457,12 @@ async function main10(client2) {
176173
176457
  return remove3(client2);
176174
176458
  }
176175
176459
  default: {
176176
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG11));
176460
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG12));
176177
176461
  return 2;
176178
176462
  }
176179
176463
  }
176180
176464
  }
176181
- var COMMAND_CONFIG11;
176465
+ var COMMAND_CONFIG12;
176182
176466
  var init_integration2 = __esm({
176183
176467
  "src/commands/integration/index.ts"() {
176184
176468
  "use strict";
@@ -176192,11 +176476,11 @@ var init_integration2 = __esm({
176192
176476
  init_help();
176193
176477
  init_add10();
176194
176478
  init_balance2();
176195
- init_command15();
176479
+ init_command16();
176196
176480
  init_list6();
176197
176481
  init_open_integration();
176198
176482
  init_remove_integration2();
176199
- COMMAND_CONFIG11 = {
176483
+ COMMAND_CONFIG12 = {
176200
176484
  add: getCommandAliases(addSubcommand5),
176201
176485
  open: getCommandAliases(openSubcommand),
176202
176486
  list: getCommandAliases(listSubcommand6),
@@ -176603,7 +176887,7 @@ var init_create_threshold2 = __esm({
176603
176887
  init_get_flags_specification();
176604
176888
  init_get_resources();
176605
176889
  init_create_threshold();
176606
- init_command14();
176890
+ init_command15();
176607
176891
  init_get_scope();
176608
176892
  init_fetch_installation_prepayment_info();
176609
176893
  init_update_threshold();
@@ -176864,7 +177148,7 @@ var init_disconnect4 = __esm({
176864
177148
  init_link2();
176865
177149
  init_disconnect3();
176866
177150
  init_types();
176867
- init_command14();
177151
+ init_command15();
176868
177152
  }
176869
177153
  });
176870
177154
 
@@ -177027,7 +177311,7 @@ var init_remove_resource = __esm({
177027
177311
  init_get_resources();
177028
177312
  init_types();
177029
177313
  init_remove4();
177030
- init_command14();
177314
+ init_command15();
177031
177315
  init_disconnect4();
177032
177316
  }
177033
177317
  });
@@ -177035,9 +177319,9 @@ var init_remove_resource = __esm({
177035
177319
  // src/commands/integration-resource/index.ts
177036
177320
  var integration_resource_exports = {};
177037
177321
  __export3(integration_resource_exports, {
177038
- default: () => main11
177322
+ default: () => main12
177039
177323
  });
177040
- async function main11(client2) {
177324
+ async function main12(client2) {
177041
177325
  const telemetry2 = new IntegrationResourceTelemetryClient({
177042
177326
  opts: {
177043
177327
  store: client2.telemetryEventStore
@@ -177050,7 +177334,7 @@ async function main11(client2) {
177050
177334
  );
177051
177335
  const { subcommand, subcommandOriginal } = getSubcommand(
177052
177336
  args2.slice(1),
177053
- COMMAND_CONFIG12
177337
+ COMMAND_CONFIG13
177054
177338
  );
177055
177339
  const needHelp = flags["--help"];
177056
177340
  if (!subcommand && needHelp) {
@@ -177096,12 +177380,12 @@ async function main11(client2) {
177096
177380
  return disconnect2(client2);
177097
177381
  }
177098
177382
  default: {
177099
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG12));
177383
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG13));
177100
177384
  return 2;
177101
177385
  }
177102
177386
  }
177103
177387
  }
177104
- var COMMAND_CONFIG12;
177388
+ var COMMAND_CONFIG13;
177105
177389
  var init_integration_resource2 = __esm({
177106
177390
  "src/commands/integration-resource/index.ts"() {
177107
177391
  "use strict";
@@ -177113,11 +177397,11 @@ var init_integration_resource2 = __esm({
177113
177397
  init_get_subcommand();
177114
177398
  init_integration_resource();
177115
177399
  init_help();
177116
- init_command14();
177400
+ init_command15();
177117
177401
  init_create_threshold2();
177118
177402
  init_disconnect4();
177119
177403
  init_remove_resource();
177120
- COMMAND_CONFIG12 = {
177404
+ COMMAND_CONFIG13 = {
177121
177405
  remove: getCommandAliases(removeSubcommand6),
177122
177406
  disconnect: getCommandAliases(disconnectSubcommand2),
177123
177407
  "create-threshold": getCommandAliases(createThresholdSubcommand)
@@ -177238,7 +177522,7 @@ var init_link4 = __esm({
177238
177522
  init_ensure_link();
177239
177523
  init_repo();
177240
177524
  init_help();
177241
- init_command16();
177525
+ init_command17();
177242
177526
  init_get_flags_specification();
177243
177527
  init_error2();
177244
177528
  init_output_manager();
@@ -177617,7 +177901,7 @@ var init_list8 = __esm({
177617
177901
  init_errors_ts();
177618
177902
  import_error_utils29 = __toESM3(require_dist2());
177619
177903
  init_help();
177620
- init_command17();
177904
+ init_command18();
177621
177905
  init_parse_target();
177622
177906
  init_get_flags_specification();
177623
177907
  init_get_deployment();
@@ -177828,7 +178112,7 @@ var init_logs3 = __esm({
177828
178112
  init_logs2();
177829
178113
  init_help();
177830
178114
  init_list8();
177831
- init_command20();
178115
+ init_command21();
177832
178116
  init_output_manager();
177833
178117
  deprecatedFlags = [
177834
178118
  "--follow",
@@ -178120,7 +178404,7 @@ var init_login3 = __esm({
178120
178404
  init_global_path();
178121
178405
  init_files();
178122
178406
  init_help();
178123
- init_command18();
178407
+ init_command19();
178124
178408
  init_update_current_team_after_login();
178125
178409
  init_get_flags_specification();
178126
178410
  init_error2();
@@ -178269,7 +178553,7 @@ var init_logout2 = __esm({
178269
178553
  init_errors_ts();
178270
178554
  import_error_utils32 = __toESM3(require_dist2());
178271
178555
  init_help();
178272
- init_command19();
178556
+ init_command20();
178273
178557
  init_get_flags_specification();
178274
178558
  init_output_manager();
178275
178559
  init_logout();
@@ -178366,7 +178650,7 @@ var init_pull5 = __esm({
178366
178650
  init_humanize_path();
178367
178651
  init_stamp();
178368
178652
  import_fs_extra23 = __toESM3(require_lib());
178369
- init_command21();
178653
+ init_command22();
178370
178654
  init_get_flags_specification();
178371
178655
  init_get_args();
178372
178656
  init_error2();
@@ -178395,9 +178679,9 @@ var init_microfrontends = __esm({
178395
178679
  // src/commands/microfrontends/index.ts
178396
178680
  var microfrontends_exports = {};
178397
178681
  __export3(microfrontends_exports, {
178398
- default: () => main12
178682
+ default: () => main13
178399
178683
  });
178400
- async function main12(client2) {
178684
+ async function main13(client2) {
178401
178685
  const telemetry2 = new MicrofrontendsTelemetryClient({
178402
178686
  opts: {
178403
178687
  store: client2.telemetryEventStore
@@ -178417,7 +178701,7 @@ async function main12(client2) {
178417
178701
  }
178418
178702
  let { subcommand, subcommandOriginal } = getSubcommand(
178419
178703
  parsedArgs.args.slice(1),
178420
- COMMAND_CONFIG13
178704
+ COMMAND_CONFIG14
178421
178705
  );
178422
178706
  const needHelp = parsedArgs.flags["--help"];
178423
178707
  if (!subcommand && needHelp) {
@@ -178445,14 +178729,14 @@ async function main12(client2) {
178445
178729
  telemetry2.trackCliSubcommandPull(subcommandOriginal);
178446
178730
  return pull2(client2);
178447
178731
  default:
178448
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG13));
178732
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG14));
178449
178733
  output_manager_default.print(
178450
178734
  help2(microfrontendsCommand, { columns: client2.stderr.columns })
178451
178735
  );
178452
178736
  return 2;
178453
178737
  }
178454
178738
  }
178455
- var COMMAND_CONFIG13;
178739
+ var COMMAND_CONFIG14;
178456
178740
  var init_microfrontends2 = __esm({
178457
178741
  "src/commands/microfrontends/index.ts"() {
178458
178742
  "use strict";
@@ -178461,13 +178745,13 @@ var init_microfrontends2 = __esm({
178461
178745
  init_error2();
178462
178746
  init_help();
178463
178747
  init_pull5();
178464
- init_command21();
178748
+ init_command22();
178465
178749
  init_get_flags_specification();
178466
178750
  init_output_manager();
178467
178751
  init_commands();
178468
178752
  init_get_subcommand();
178469
178753
  init_microfrontends();
178470
- COMMAND_CONFIG13 = {
178754
+ COMMAND_CONFIG14 = {
178471
178755
  pull: getCommandAliases(pullSubcommand2)
178472
178756
  };
178473
178757
  }
@@ -178560,7 +178844,7 @@ var init_add12 = __esm({
178560
178844
  init_create_project();
178561
178845
  init_output_manager();
178562
178846
  init_add11();
178563
- init_command22();
178847
+ init_command23();
178564
178848
  init_get_args();
178565
178849
  init_get_flags_specification();
178566
178850
  init_error2();
@@ -178717,7 +179001,7 @@ var init_inspect6 = __esm({
178717
179001
  init_pkg_name();
178718
179002
  init_inspect5();
178719
179003
  init_output_manager();
178720
- init_command22();
179004
+ init_command23();
178721
179005
  init_get_args();
178722
179006
  init_get_flags_specification();
178723
179007
  init_error2();
@@ -178851,7 +179135,7 @@ var init_list10 = __esm({
178851
179135
  init_pkg_name();
178852
179136
  init_list9();
178853
179137
  init_output_manager();
178854
- init_command22();
179138
+ init_command23();
178855
179139
  init_get_args();
178856
179140
  init_get_flags_specification();
178857
179141
  init_error2();
@@ -178960,7 +179244,7 @@ var init_rm10 = __esm({
178960
179244
  init_get_args();
178961
179245
  init_get_flags_specification();
178962
179246
  init_error2();
178963
- init_command22();
179247
+ init_command23();
178964
179248
  e = encodeURIComponent;
178965
179249
  }
178966
179250
  });
@@ -179003,9 +179287,9 @@ var init_project = __esm({
179003
179287
  // src/commands/project/index.ts
179004
179288
  var project_exports = {};
179005
179289
  __export3(project_exports, {
179006
- default: () => main13
179290
+ default: () => main14
179007
179291
  });
179008
- async function main13(client2) {
179292
+ async function main14(client2) {
179009
179293
  const telemetry2 = new ProjectTelemetryClient({
179010
179294
  opts: {
179011
179295
  store: client2.telemetryEventStore
@@ -179023,7 +179307,7 @@ async function main13(client2) {
179023
179307
  }
179024
179308
  let { subcommand, args: args2, subcommandOriginal } = getSubcommand(
179025
179309
  parsedArgs.args.slice(1),
179026
- COMMAND_CONFIG14
179310
+ COMMAND_CONFIG15
179027
179311
  );
179028
179312
  const needHelp = parsedArgs.flags["--help"];
179029
179313
  if (!subcommand && needHelp) {
@@ -179070,12 +179354,12 @@ async function main13(client2) {
179070
179354
  telemetry2.trackCliSubcommandRemove(subcommandOriginal);
179071
179355
  return rm6(client2, args2);
179072
179356
  default:
179073
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG14));
179357
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG15));
179074
179358
  output_manager_default.print(help2(projectCommand, { columns: client2.stderr.columns }));
179075
179359
  return 2;
179076
179360
  }
179077
179361
  }
179078
- var COMMAND_CONFIG14;
179362
+ var COMMAND_CONFIG15;
179079
179363
  var init_project2 = __esm({
179080
179364
  "src/commands/project/index.ts"() {
179081
179365
  "use strict";
@@ -179087,13 +179371,13 @@ var init_project2 = __esm({
179087
179371
  init_inspect6();
179088
179372
  init_list10();
179089
179373
  init_rm10();
179090
- init_command22();
179374
+ init_command23();
179091
179375
  init_get_flags_specification();
179092
179376
  init_project();
179093
179377
  init_output_manager();
179094
179378
  init_commands();
179095
179379
  init_get_subcommand();
179096
- COMMAND_CONFIG14 = {
179380
+ COMMAND_CONFIG15 = {
179097
179381
  inspect: getCommandAliases(inspectSubcommand2),
179098
179382
  list: getCommandAliases(listSubcommand7),
179099
179383
  add: getCommandAliases(addSubcommand6),
@@ -179550,7 +179834,7 @@ var init_promote2 = __esm({
179550
179834
  import_error_utils33 = __toESM3(require_dist2());
179551
179835
  init_request_promote();
179552
179836
  init_status();
179553
- init_command23();
179837
+ init_command24();
179554
179838
  init_help();
179555
179839
  init_get_flags_specification();
179556
179840
  init_promote();
@@ -179854,7 +180138,11 @@ async function redeploy(client2) {
179854
180138
  deployment.readyState === "QUEUED" ? "Queued" : "Building",
179855
180139
  0
179856
180140
  );
179857
- if (deployment.readyState === "READY" && deployment.aliasAssigned) {
180141
+ const project = await getProjectByNameOrId(client2, deployment.projectId);
180142
+ if (project instanceof ProjectNotFound) {
180143
+ throw project;
180144
+ }
180145
+ if (deployment.readyState === "READY" && deployment.aliasAssigned && !project.rollingRelease) {
179858
180146
  output_manager_default.spinner("Completing", 0);
179859
180147
  } else {
179860
180148
  try {
@@ -179874,6 +180162,11 @@ async function redeploy(client2) {
179874
180162
  )) {
179875
180163
  if (event.type === "building") {
179876
180164
  output_manager_default.spinner("Building", 0);
180165
+ } else if (event.type === "ready" && project.rollingRelease) {
180166
+ output_manager_default.spinner("Releasing", 0);
180167
+ output_manager_default.stopSpinner();
180168
+ deployment = event.payload;
180169
+ break;
179877
180170
  } else if (event.type === "ready" && (event.payload.checksState ? event.payload.checksState === "completed" : true)) {
179878
180171
  output_manager_default.spinner("Completing", 0);
179879
180172
  } else if (event.type === "checks-running") {
@@ -179933,11 +180226,13 @@ var init_redeploy2 = __esm({
179933
180226
  init_stamp();
179934
180227
  init_ua();
179935
180228
  init_help();
179936
- init_command25();
180229
+ init_command26();
179937
180230
  init_get_flags_specification();
179938
180231
  init_output_manager();
179939
180232
  init_redeploy();
179940
180233
  init_get_custom_environments();
180234
+ init_get_project_by_id_or_name();
180235
+ init_errors_ts();
179941
180236
  }
179942
180237
  });
179943
180238
 
@@ -180319,7 +180614,7 @@ var init_remove6 = __esm({
180319
180614
  init_error2();
180320
180615
  init_now_error();
180321
180616
  init_help();
180322
- init_command26();
180617
+ init_command27();
180323
180618
  init_get_flags_specification();
180324
180619
  init_remove5();
180325
180620
  init_output_manager();
@@ -180592,7 +180887,7 @@ var init_rollback2 = __esm({
180592
180887
  init_request_rollback();
180593
180888
  init_status2();
180594
180889
  init_help();
180595
- init_command27();
180890
+ init_command28();
180596
180891
  init_get_flags_specification();
180597
180892
  init_rollback();
180598
180893
  init_output_manager();
@@ -180959,7 +181254,7 @@ async function rollingRelease(client2) {
180959
181254
  subcommand,
180960
181255
  args: subcommandArgs,
180961
181256
  subcommandOriginal
180962
- } = getSubcommand(client2.argv.slice(3), COMMAND_CONFIG15);
181257
+ } = getSubcommand(client2.argv.slice(3), COMMAND_CONFIG16);
180963
181258
  const needHelp = client2.argv.includes("--help") || client2.argv.includes("-h");
180964
181259
  if (!subcommand && needHelp) {
180965
181260
  telemetry2.trackCliFlagHelp("rolling-release");
@@ -181148,7 +181443,7 @@ async function rollingRelease(client2) {
181148
181443
  }
181149
181444
  default: {
181150
181445
  output_manager_default.debug(`Invalid subcommand: ${subcommand}`);
181151
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG15));
181446
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG16));
181152
181447
  output_manager_default.print(
181153
181448
  help2(rollingReleaseCommand, { columns: client2.stderr.columns })
181154
181449
  );
@@ -181161,14 +181456,14 @@ async function rollingRelease(client2) {
181161
181456
  return 1;
181162
181457
  }
181163
181458
  }
181164
- var COMMAND_CONFIG15;
181459
+ var COMMAND_CONFIG16;
181165
181460
  var init_rolling_release2 = __esm({
181166
181461
  "src/commands/rolling-release/index.ts"() {
181167
181462
  "use strict";
181168
181463
  init_get_args();
181169
181464
  init_get_flags_specification();
181170
181465
  init_help();
181171
- init_command28();
181466
+ init_command29();
181172
181467
  init_request_rolling_release();
181173
181468
  init_start_rolling_release();
181174
181469
  init_configure_rolling_release();
@@ -181182,7 +181477,7 @@ var init_rolling_release2 = __esm({
181182
181477
  init_get_subcommand();
181183
181478
  init_commands();
181184
181479
  init_get_invalid_subcommand();
181185
- COMMAND_CONFIG15 = {
181480
+ COMMAND_CONFIG16 = {
181186
181481
  configure: getCommandAliases(configureSubcommand),
181187
181482
  start: getCommandAliases(startSubcommand),
181188
181483
  approve: getCommandAliases(approveSubcommand),
@@ -181300,7 +181595,7 @@ var init_list11 = __esm({
181300
181595
  import_chalk121 = __toESM3(require_source());
181301
181596
  init_table();
181302
181597
  init_output_manager();
181303
- init_command29();
181598
+ init_command30();
181304
181599
  init_pkg_name();
181305
181600
  init_ensure_link();
181306
181601
  init_format_project();
@@ -181338,9 +181633,9 @@ var init_target = __esm({
181338
181633
  // src/commands/target/index.ts
181339
181634
  var target_exports = {};
181340
181635
  __export3(target_exports, {
181341
- default: () => main14
181636
+ default: () => main15
181342
181637
  });
181343
- async function main14(client2) {
181638
+ async function main15(client2) {
181344
181639
  let parsedArgs;
181345
181640
  const flagsSpecification = getFlagsSpecification(targetCommand.options);
181346
181641
  try {
@@ -181380,12 +181675,12 @@ async function main14(client2) {
181380
181675
  telemetry2.trackCliSubcommandList(subcommand);
181381
181676
  return await list7(client2, args2);
181382
181677
  default:
181383
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG16));
181678
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG17));
181384
181679
  output_manager_default.print(help2(targetCommand, { columns: client2.stderr.columns }));
181385
181680
  return 2;
181386
181681
  }
181387
181682
  }
181388
- var COMMAND_CONFIG16;
181683
+ var COMMAND_CONFIG17;
181389
181684
  var init_target2 = __esm({
181390
181685
  "src/commands/target/index.ts"() {
181391
181686
  "use strict";
@@ -181393,13 +181688,13 @@ var init_target2 = __esm({
181393
181688
  init_get_invalid_subcommand();
181394
181689
  init_help();
181395
181690
  init_list11();
181396
- init_command29();
181691
+ init_command30();
181397
181692
  init_get_flags_specification();
181398
181693
  init_error2();
181399
181694
  init_output_manager();
181400
181695
  init_target();
181401
181696
  init_commands();
181402
- COMMAND_CONFIG16 = {
181697
+ COMMAND_CONFIG17 = {
181403
181698
  ls: getCommandAliases(listSubcommand8)
181404
181699
  };
181405
181700
  }
@@ -181540,7 +181835,7 @@ var init_list13 = __esm({
181540
181835
  init_get_args();
181541
181836
  init_error2();
181542
181837
  init_get_flags_specification();
181543
- init_command30();
181838
+ init_command31();
181544
181839
  init_output_manager();
181545
181840
  init_list12();
181546
181841
  }
@@ -181739,7 +182034,7 @@ var init_invite2 = __esm({
181739
182034
  init_get_args();
181740
182035
  init_get_flags_specification();
181741
182036
  init_error2();
181742
- init_command30();
182037
+ init_command31();
181743
182038
  validateEmail2 = (data) => email.test(data.trim()) || data.length === 0;
181744
182039
  domains = Array.from(
181745
182040
  /* @__PURE__ */ new Set([
@@ -182040,7 +182335,7 @@ var init_switch2 = __esm({
182040
182335
  init_files();
182041
182336
  init_output_manager();
182042
182337
  init_switch();
182043
- init_command30();
182338
+ init_command31();
182044
182339
  init_get_args();
182045
182340
  init_get_flags_specification();
182046
182341
  init_error2();
@@ -182124,7 +182419,7 @@ async function teams(client2) {
182124
182419
  }
182125
182420
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
182126
182421
  parsedArgs.args.slice(1),
182127
- COMMAND_CONFIG17
182422
+ COMMAND_CONFIG18
182128
182423
  );
182129
182424
  const needHelp = parsedArgs.flags["--help"];
182130
182425
  if (!subcommand && needHelp) {
@@ -182183,7 +182478,7 @@ async function teams(client2) {
182183
182478
  }
182184
182479
  }
182185
182480
  }
182186
- var COMMAND_CONFIG17;
182481
+ var COMMAND_CONFIG18;
182187
182482
  var init_teams2 = __esm({
182188
182483
  "src/commands/teams/index.ts"() {
182189
182484
  "use strict";
@@ -182192,14 +182487,14 @@ var init_teams2 = __esm({
182192
182487
  init_switch2();
182193
182488
  init_invite2();
182194
182489
  init_get_args();
182195
- init_command30();
182490
+ init_command31();
182196
182491
  init_help();
182197
182492
  init_get_flags_specification();
182198
182493
  init_error2();
182199
182494
  init_teams();
182200
182495
  init_output_manager();
182201
182496
  init_get_subcommand();
182202
- COMMAND_CONFIG17 = {
182497
+ COMMAND_CONFIG18 = {
182203
182498
  list: ["ls", "list"],
182204
182499
  switch: ["switch", "change"],
182205
182500
  add: ["create", "add"],
@@ -182368,7 +182663,7 @@ async function telemetry(client2) {
182368
182663
  }
182369
182664
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
182370
182665
  parsedArguments.args.slice(1),
182371
- COMMAND_CONFIG18
182666
+ COMMAND_CONFIG19
182372
182667
  );
182373
182668
  const needHelp = parsedArguments.flags["--help"];
182374
182669
  function printHelp(command) {
@@ -182421,7 +182716,7 @@ async function telemetry(client2) {
182421
182716
  }
182422
182717
  }
182423
182718
  }
182424
- var import_chalk127, COMMAND_CONFIG18;
182719
+ var import_chalk127, COMMAND_CONFIG19;
182425
182720
  var init_telemetry3 = __esm({
182426
182721
  "src/commands/telemetry/index.ts"() {
182427
182722
  "use strict";
@@ -182433,13 +182728,13 @@ var init_telemetry3 = __esm({
182433
182728
  init_enable();
182434
182729
  init_disable();
182435
182730
  init_flush();
182436
- init_command31();
182731
+ init_command32();
182437
182732
  init_get_flags_specification();
182438
182733
  init_telemetry2();
182439
182734
  import_chalk127 = __toESM3(require_source());
182440
182735
  init_output_manager();
182441
182736
  init_commands();
182442
- COMMAND_CONFIG18 = {
182737
+ COMMAND_CONFIG19 = {
182443
182738
  status: getCommandAliases(statusSubcommand3),
182444
182739
  enable: getCommandAliases(enableSubcommand),
182445
182740
  disable: getCommandAliases(disableSubcommand),
@@ -182496,7 +182791,7 @@ var init_whoami2 = __esm({
182496
182791
  "src/commands/whoami/index.ts"() {
182497
182792
  "use strict";
182498
182793
  init_help();
182499
- init_command32();
182794
+ init_command33();
182500
182795
  init_get_scope();
182501
182796
  init_get_args();
182502
182797
  init_get_flags_specification();
@@ -182937,6 +183232,12 @@ var RootTelemetryClient = class extends TelemetryClient {
182937
183232
  value: actual
182938
183233
  });
182939
183234
  }
183235
+ trackCliCommandCache(actual) {
183236
+ this.trackCliCommand({
183237
+ command: "cache",
183238
+ value: actual
183239
+ });
183240
+ }
182940
183241
  trackCliCommandCerts(actual) {
182941
183242
  this.trackCliCommand({
182942
183243
  command: "certs",
@@ -183213,6 +183514,7 @@ var help = () => `
183213
183514
  "(default)"
183214
183515
  )}
183215
183516
  build Build the project locally into './vercel/output'
183517
+ cache [cmd] Manages cache for your current Project
183216
183518
  dev Start a local development server
183217
183519
  env Manages the Environment Variables for your current Project
183218
183520
  git Manage Git provider repository for your current Project
@@ -183352,7 +183654,7 @@ Sentry.init({
183352
183654
  var client;
183353
183655
  var { isTTY: isTTY2 } = process.stdout;
183354
183656
  var apiUrl = "https://api.vercel.com";
183355
- var main15 = async () => {
183657
+ var main16 = async () => {
183356
183658
  if (process.env.FORCE_TTY === "1") {
183357
183659
  isTTY2 = true;
183358
183660
  process.stdout.isTTY = true;
@@ -183738,6 +184040,10 @@ var main15 = async () => {
183738
184040
  telemetry2.trackCliCommandBuild(userSuppliedSubCommand);
183739
184041
  func = (init_build2(), __toCommonJS3(build_exports)).default;
183740
184042
  break;
184043
+ case "cache":
184044
+ telemetry2.trackCliCommandCache(userSuppliedSubCommand);
184045
+ func = (init_cache2(), __toCommonJS3(cache_exports)).default;
184046
+ break;
183741
184047
  case "certs":
183742
184048
  telemetry2.trackCliCommandCerts(userSuppliedSubCommand);
183743
184049
  func = (init_certs2(), __toCommonJS3(certs_exports)).default;
@@ -183950,7 +184256,7 @@ ${err.stack}`);
183950
184256
  };
183951
184257
  process.on("unhandledRejection", handleRejection);
183952
184258
  process.on("uncaughtException", handleUnexpected);
183953
- main15().then(async (exitCode2) => {
184259
+ main16().then(async (exitCode2) => {
183954
184260
  if (isTTY2 && !process.env.NO_UPDATE_NOTIFIER) {
183955
184261
  const latest = getLatestVersion({
183956
184262
  pkg: pkg_default