vercel 44.0.0 → 44.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 (2) hide show
  1. package/dist/index.js +1005 -473
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -4071,14 +4071,14 @@ var require_templates = __commonJS2({
4071
4071
  }
4072
4072
  return results;
4073
4073
  }
4074
- function buildStyle(chalk123, styles) {
4074
+ function buildStyle(chalk124, styles) {
4075
4075
  const enabled = {};
4076
4076
  for (const layer of styles) {
4077
4077
  for (const style of layer.styles) {
4078
4078
  enabled[style[0]] = layer.inverse ? null : style.slice(1);
4079
4079
  }
4080
4080
  }
4081
- let current = chalk123;
4081
+ let current = chalk124;
4082
4082
  for (const [styleName, styles2] of Object.entries(enabled)) {
4083
4083
  if (!Array.isArray(styles2)) {
4084
4084
  continue;
@@ -4090,7 +4090,7 @@ var require_templates = __commonJS2({
4090
4090
  }
4091
4091
  return current;
4092
4092
  }
4093
- module2.exports = (chalk123, temporary) => {
4093
+ module2.exports = (chalk124, temporary) => {
4094
4094
  const styles = [];
4095
4095
  const chunks = [];
4096
4096
  let chunk = [];
@@ -4100,13 +4100,13 @@ var require_templates = __commonJS2({
4100
4100
  } else if (style) {
4101
4101
  const string = chunk.join("");
4102
4102
  chunk = [];
4103
- chunks.push(styles.length === 0 ? string : buildStyle(chalk123, styles)(string));
4103
+ chunks.push(styles.length === 0 ? string : buildStyle(chalk124, styles)(string));
4104
4104
  styles.push({ inverse, styles: parseStyle(style) });
4105
4105
  } else if (close2) {
4106
4106
  if (styles.length === 0) {
4107
4107
  throw new Error("Found extraneous } in Chalk template literal");
4108
4108
  }
4109
- chunks.push(buildStyle(chalk123, styles)(chunk.join("")));
4109
+ chunks.push(buildStyle(chalk124, styles)(chunk.join("")));
4110
4110
  chunk = [];
4111
4111
  styles.pop();
4112
4112
  } else {
@@ -4154,16 +4154,16 @@ var require_source = __commonJS2({
4154
4154
  }
4155
4155
  };
4156
4156
  var chalkFactory = (options) => {
4157
- const chalk124 = {};
4158
- applyOptions(chalk124, options);
4159
- chalk124.template = (...arguments_) => chalkTag(chalk124.template, ...arguments_);
4160
- Object.setPrototypeOf(chalk124, Chalk.prototype);
4161
- Object.setPrototypeOf(chalk124.template, chalk124);
4162
- chalk124.template.constructor = () => {
4157
+ const chalk125 = {};
4158
+ applyOptions(chalk125, options);
4159
+ chalk125.template = (...arguments_) => chalkTag(chalk125.template, ...arguments_);
4160
+ Object.setPrototypeOf(chalk125, Chalk.prototype);
4161
+ Object.setPrototypeOf(chalk125.template, chalk125);
4162
+ chalk125.template.constructor = () => {
4163
4163
  throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
4164
4164
  };
4165
- chalk124.template.Instance = ChalkClass;
4166
- return chalk124.template;
4165
+ chalk125.template.Instance = ChalkClass;
4166
+ return chalk125.template;
4167
4167
  };
4168
4168
  function Chalk(options) {
4169
4169
  return chalkFactory(options);
@@ -4274,7 +4274,7 @@ var require_source = __commonJS2({
4274
4274
  return openAll + string + closeAll;
4275
4275
  };
4276
4276
  var template;
4277
- var chalkTag = (chalk124, ...strings) => {
4277
+ var chalkTag = (chalk125, ...strings) => {
4278
4278
  const [firstString] = strings;
4279
4279
  if (!isArray(firstString) || !isArray(firstString.raw)) {
4280
4280
  return strings.join(" ");
@@ -4290,14 +4290,14 @@ var require_source = __commonJS2({
4290
4290
  if (template === void 0) {
4291
4291
  template = require_templates();
4292
4292
  }
4293
- return template(chalk124, parts.join(""));
4293
+ return template(chalk125, parts.join(""));
4294
4294
  };
4295
4295
  Object.defineProperties(Chalk.prototype, styles);
4296
- var chalk123 = Chalk();
4297
- chalk123.supportsColor = stdoutColor;
4298
- chalk123.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
4299
- chalk123.stderr.supportsColor = stderrColor;
4300
- module2.exports = chalk123;
4296
+ var chalk124 = Chalk();
4297
+ chalk124.supportsColor = stdoutColor;
4298
+ chalk124.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
4299
+ chalk124.stderr.supportsColor = stderrColor;
4300
+ module2.exports = chalk124;
4301
4301
  }
4302
4302
  });
4303
4303
 
@@ -7208,14 +7208,14 @@ var require_templates2 = __commonJS2({
7208
7208
  }
7209
7209
  return results;
7210
7210
  }
7211
- function buildStyle(chalk123, styles) {
7211
+ function buildStyle(chalk124, styles) {
7212
7212
  const enabled = {};
7213
7213
  for (const layer of styles) {
7214
7214
  for (const style of layer.styles) {
7215
7215
  enabled[style[0]] = layer.inverse ? null : style.slice(1);
7216
7216
  }
7217
7217
  }
7218
- let current = chalk123;
7218
+ let current = chalk124;
7219
7219
  for (const styleName of Object.keys(enabled)) {
7220
7220
  if (Array.isArray(enabled[styleName])) {
7221
7221
  if (!(styleName in current)) {
@@ -7230,7 +7230,7 @@ var require_templates2 = __commonJS2({
7230
7230
  }
7231
7231
  return current;
7232
7232
  }
7233
- module2.exports = (chalk123, tmp) => {
7233
+ module2.exports = (chalk124, tmp) => {
7234
7234
  const styles = [];
7235
7235
  const chunks = [];
7236
7236
  let chunk = [];
@@ -7240,13 +7240,13 @@ var require_templates2 = __commonJS2({
7240
7240
  } else if (style) {
7241
7241
  const str = chunk.join("");
7242
7242
  chunk = [];
7243
- chunks.push(styles.length === 0 ? str : buildStyle(chalk123, styles)(str));
7243
+ chunks.push(styles.length === 0 ? str : buildStyle(chalk124, styles)(str));
7244
7244
  styles.push({ inverse, styles: parseStyle(style) });
7245
7245
  } else if (close2) {
7246
7246
  if (styles.length === 0) {
7247
7247
  throw new Error("Found extraneous } in Chalk template literal");
7248
7248
  }
7249
- chunks.push(buildStyle(chalk123, styles)(chunk.join("")));
7249
+ chunks.push(buildStyle(chalk124, styles)(chunk.join("")));
7250
7250
  chunk = [];
7251
7251
  styles.pop();
7252
7252
  } else {
@@ -7283,16 +7283,16 @@ var require_chalk = __commonJS2({
7283
7283
  }
7284
7284
  function Chalk(options) {
7285
7285
  if (!this || !(this instanceof Chalk) || this.template) {
7286
- const chalk123 = {};
7287
- applyOptions(chalk123, options);
7288
- chalk123.template = function() {
7286
+ const chalk124 = {};
7287
+ applyOptions(chalk124, options);
7288
+ chalk124.template = function() {
7289
7289
  const args2 = [].slice.call(arguments);
7290
- return chalkTag.apply(null, [chalk123.template].concat(args2));
7290
+ return chalkTag.apply(null, [chalk124.template].concat(args2));
7291
7291
  };
7292
- Object.setPrototypeOf(chalk123, Chalk.prototype);
7293
- Object.setPrototypeOf(chalk123.template, chalk123);
7294
- chalk123.template.constructor = Chalk;
7295
- return chalk123.template;
7292
+ Object.setPrototypeOf(chalk124, Chalk.prototype);
7293
+ Object.setPrototypeOf(chalk124.template, chalk124);
7294
+ chalk124.template.constructor = Chalk;
7295
+ return chalk124.template;
7296
7296
  }
7297
7297
  applyOptions(this, options);
7298
7298
  }
@@ -7411,7 +7411,7 @@ var require_chalk = __commonJS2({
7411
7411
  ansiStyles.dim.open = originalDim;
7412
7412
  return str;
7413
7413
  }
7414
- function chalkTag(chalk123, strings) {
7414
+ function chalkTag(chalk124, strings) {
7415
7415
  if (!Array.isArray(strings)) {
7416
7416
  return [].slice.call(arguments, 1).join(" ");
7417
7417
  }
@@ -7421,7 +7421,7 @@ var require_chalk = __commonJS2({
7421
7421
  parts.push(String(args2[i - 1]).replace(/[{}\\]/g, "\\$&"));
7422
7422
  parts.push(String(strings.raw[i]));
7423
7423
  }
7424
- return template(chalk123, parts.join(""));
7424
+ return template(chalk124, parts.join(""));
7425
7425
  }
7426
7426
  Object.defineProperties(Chalk.prototype, styles);
7427
7427
  module2.exports = Chalk();
@@ -9372,21 +9372,21 @@ var require_cli_spinners = __commonJS2({
9372
9372
  var require_log_symbols = __commonJS2({
9373
9373
  "../../node_modules/.pnpm/log-symbols@2.2.0/node_modules/log-symbols/index.js"(exports2, module2) {
9374
9374
  "use strict";
9375
- var chalk123 = require_chalk();
9375
+ var chalk124 = require_chalk();
9376
9376
  var isSupported = process.platform !== "win32" || process.env.CI || process.env.TERM === "xterm-256color";
9377
- var main15 = {
9378
- info: chalk123.blue("\u2139"),
9379
- success: chalk123.green("\u2714"),
9380
- warning: chalk123.yellow("\u26A0"),
9381
- error: chalk123.red("\u2716")
9377
+ var main17 = {
9378
+ info: chalk124.blue("\u2139"),
9379
+ success: chalk124.green("\u2714"),
9380
+ warning: chalk124.yellow("\u26A0"),
9381
+ error: chalk124.red("\u2716")
9382
9382
  };
9383
9383
  var fallbacks = {
9384
- info: chalk123.blue("i"),
9385
- success: chalk123.green("\u221A"),
9386
- warning: chalk123.yellow("\u203C"),
9387
- error: chalk123.red("\xD7")
9384
+ info: chalk124.blue("i"),
9385
+ success: chalk124.green("\u221A"),
9386
+ warning: chalk124.yellow("\u203C"),
9387
+ error: chalk124.red("\xD7")
9388
9388
  };
9389
- module2.exports = isSupported ? main15 : fallbacks;
9389
+ module2.exports = isSupported ? main17 : fallbacks;
9390
9390
  }
9391
9391
  });
9392
9392
 
@@ -9780,7 +9780,7 @@ var require_wcwidth = __commonJS2({
9780
9780
  var require_ora = __commonJS2({
9781
9781
  "../../node_modules/.pnpm/ora@3.4.0/node_modules/ora/index.js"(exports2, module2) {
9782
9782
  "use strict";
9783
- var chalk123 = require_chalk();
9783
+ var chalk124 = require_chalk();
9784
9784
  var cliCursor = require_cli_cursor();
9785
9785
  var cliSpinners = require_cli_spinners();
9786
9786
  var logSymbols = require_log_symbols();
@@ -9869,7 +9869,7 @@ var require_ora = __commonJS2({
9869
9869
  const { frames } = this.spinner;
9870
9870
  let frame = frames[this.frameIndex];
9871
9871
  if (this.color) {
9872
- frame = chalk123[this.color](frame);
9872
+ frame = chalk124[this.color](frame);
9873
9873
  }
9874
9874
  this.frameIndex = ++this.frameIndex % frames.length;
9875
9875
  const fullPrefixText = typeof this.prefixText === "string" ? this.prefixText + " " : "";
@@ -12422,7 +12422,7 @@ var require_path = __commonJS2({
12422
12422
  function isAbsolute2(path11) {
12423
12423
  return path11.charAt(0) === "/";
12424
12424
  }
12425
- function join23(...args2) {
12425
+ function join24(...args2) {
12426
12426
  return normalizePath6(args2.join("/"));
12427
12427
  }
12428
12428
  function dirname8(path11) {
@@ -12447,7 +12447,7 @@ var require_path = __commonJS2({
12447
12447
  exports2.basename = basename9;
12448
12448
  exports2.dirname = dirname8;
12449
12449
  exports2.isAbsolute = isAbsolute2;
12450
- exports2.join = join23;
12450
+ exports2.join = join24;
12451
12451
  exports2.normalizePath = normalizePath6;
12452
12452
  exports2.relative = relative7;
12453
12453
  exports2.resolve = resolve13;
@@ -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();
@@ -33328,9 +33378,52 @@ var init_command20 = __esm({
33328
33378
  }
33329
33379
  });
33330
33380
 
33381
+ // src/commands/microfrontends/command.ts
33382
+ var pullSubcommand2, microfrontendsCommand;
33383
+ var init_command22 = __esm({
33384
+ "src/commands/microfrontends/command.ts"() {
33385
+ "use strict";
33386
+ init_pkg_name();
33387
+ pullSubcommand2 = {
33388
+ name: "pull",
33389
+ aliases: [],
33390
+ description: "Pull a Vercel Microfrontends configuration into your project",
33391
+ arguments: [],
33392
+ options: [
33393
+ {
33394
+ name: "dpl",
33395
+ shorthand: null,
33396
+ deprecated: false,
33397
+ type: String,
33398
+ description: "The deploymentId to use for pulling the microfrontends configuration"
33399
+ }
33400
+ ],
33401
+ examples: [
33402
+ {
33403
+ name: "Pull a microfrontends configuration",
33404
+ value: `${packageName} microfrontends pull`
33405
+ },
33406
+ {
33407
+ name: "Pull a microfrontends configuration for a specific deployment",
33408
+ value: `${packageName} microfrontends pull --dpl=<deployment-id>`
33409
+ }
33410
+ ]
33411
+ };
33412
+ microfrontendsCommand = {
33413
+ name: "microfrontends",
33414
+ aliases: ["mf"],
33415
+ description: "Manages your microfrontends",
33416
+ arguments: [],
33417
+ subcommands: [pullSubcommand2],
33418
+ options: [],
33419
+ examples: []
33420
+ };
33421
+ }
33422
+ });
33423
+
33331
33424
  // src/commands/project/command.ts
33332
33425
  var addSubcommand6, inspectSubcommand2, listSubcommand7, removeSubcommand8, projectCommand;
33333
- var init_command21 = __esm({
33426
+ var init_command23 = __esm({
33334
33427
  "src/commands/project/command.ts"() {
33335
33428
  "use strict";
33336
33429
  init_pkg_name();
@@ -33430,7 +33523,7 @@ var init_command21 = __esm({
33430
33523
 
33431
33524
  // src/commands/promote/command.ts
33432
33525
  var statusSubcommand, promoteCommand;
33433
- var init_command22 = __esm({
33526
+ var init_command24 = __esm({
33434
33527
  "src/commands/promote/command.ts"() {
33435
33528
  "use strict";
33436
33529
  init_pkg_name();
@@ -33499,7 +33592,7 @@ var init_command22 = __esm({
33499
33592
 
33500
33593
  // src/commands/pull/command.ts
33501
33594
  var pullCommand;
33502
- var init_command23 = __esm({
33595
+ var init_command25 = __esm({
33503
33596
  "src/commands/pull/command.ts"() {
33504
33597
  "use strict";
33505
33598
  init_pkg_name();
@@ -33571,7 +33664,7 @@ var init_command23 = __esm({
33571
33664
 
33572
33665
  // src/commands/redeploy/command.ts
33573
33666
  var redeployCommand;
33574
- var init_command24 = __esm({
33667
+ var init_command26 = __esm({
33575
33668
  "src/commands/redeploy/command.ts"() {
33576
33669
  "use strict";
33577
33670
  init_pkg_name();
@@ -33622,7 +33715,7 @@ var init_command24 = __esm({
33622
33715
 
33623
33716
  // src/commands/remove/command.ts
33624
33717
  var removeCommand;
33625
- var init_command25 = __esm({
33718
+ var init_command27 = __esm({
33626
33719
  "src/commands/remove/command.ts"() {
33627
33720
  "use strict";
33628
33721
  init_pkg_name();
@@ -33672,7 +33765,7 @@ var init_command25 = __esm({
33672
33765
 
33673
33766
  // src/commands/rollback/command.ts
33674
33767
  var statusSubcommand2, rollbackCommand;
33675
- var init_command26 = __esm({
33768
+ var init_command28 = __esm({
33676
33769
  "src/commands/rollback/command.ts"() {
33677
33770
  "use strict";
33678
33771
  init_pkg_name();
@@ -33733,7 +33826,7 @@ var init_command26 = __esm({
33733
33826
 
33734
33827
  // src/commands/rolling-release/command.ts
33735
33828
  var configureSubcommand, startSubcommand, approveSubcommand, abortSubcommand, completeSubcommand, fetchSubcommand, rollingReleaseCommand;
33736
- var init_command27 = __esm({
33829
+ var init_command29 = __esm({
33737
33830
  "src/commands/rolling-release/command.ts"() {
33738
33831
  "use strict";
33739
33832
  init_arg_common();
@@ -33927,7 +34020,7 @@ var init_command27 = __esm({
33927
34020
 
33928
34021
  // src/commands/target/command.ts
33929
34022
  var listSubcommand8, targetCommand;
33930
- var init_command28 = __esm({
34023
+ var init_command30 = __esm({
33931
34024
  "src/commands/target/command.ts"() {
33932
34025
  "use strict";
33933
34026
  init_pkg_name();
@@ -33958,7 +34051,7 @@ var init_command28 = __esm({
33958
34051
 
33959
34052
  // src/commands/teams/command.ts
33960
34053
  var addSubcommand7, listSubcommand9, switchSubcommand, inviteSubcommand, teamsCommand;
33961
- var init_command29 = __esm({
34054
+ var init_command31 = __esm({
33962
34055
  "src/commands/teams/command.ts"() {
33963
34056
  "use strict";
33964
34057
  init_pkg_name();
@@ -34049,7 +34142,7 @@ var init_command29 = __esm({
34049
34142
 
34050
34143
  // src/commands/telemetry/command.ts
34051
34144
  var statusSubcommand3, enableSubcommand, flushSubcommand, disableSubcommand, telemetryCommand;
34052
- var init_command30 = __esm({
34145
+ var init_command32 = __esm({
34053
34146
  "src/commands/telemetry/command.ts"() {
34054
34147
  "use strict";
34055
34148
  statusSubcommand3 = {
@@ -34104,7 +34197,7 @@ var init_command30 = __esm({
34104
34197
 
34105
34198
  // src/commands/whoami/command.ts
34106
34199
  var whoamiCommand;
34107
- var init_command31 = __esm({
34200
+ var init_command33 = __esm({
34108
34201
  "src/commands/whoami/command.ts"() {
34109
34202
  "use strict";
34110
34203
  init_pkg_name();
@@ -34126,7 +34219,7 @@ var init_command31 = __esm({
34126
34219
 
34127
34220
  // src/commands/blob/command.ts
34128
34221
  var listSubcommand10, putSubcommand, delSubcommand, copySubcommand, addStoreSubcommand, removeStoreSubcommand, getStoreSubcommand, storeSubcommand, blobCommand;
34129
- var init_command32 = __esm({
34222
+ var init_command34 = __esm({
34130
34223
  "src/commands/blob/command.ts"() {
34131
34224
  "use strict";
34132
34225
  listSubcommand10 = {
@@ -34403,12 +34496,15 @@ var init_commands = __esm({
34403
34496
  init_command30();
34404
34497
  init_command31();
34405
34498
  init_command32();
34499
+ init_command33();
34500
+ init_command34();
34406
34501
  init_output_manager();
34407
34502
  commandsStructs = [
34408
34503
  aliasCommand,
34409
34504
  blobCommand,
34410
34505
  bisectCommand,
34411
34506
  buildCommand,
34507
+ cacheCommand,
34412
34508
  certsCommand,
34413
34509
  deployCommand,
34414
34510
  devCommand,
@@ -34426,6 +34522,7 @@ var init_commands = __esm({
34426
34522
  loginCommand,
34427
34523
  logoutCommand,
34428
34524
  logsCommand,
34525
+ microfrontendsCommand,
34429
34526
  projectCommand,
34430
34527
  promoteCommand,
34431
34528
  pullCommand,
@@ -35749,14 +35846,14 @@ var require_templates3 = __commonJS2({
35749
35846
  }
35750
35847
  return results;
35751
35848
  }
35752
- function buildStyle(chalk123, styles) {
35849
+ function buildStyle(chalk124, styles) {
35753
35850
  const enabled = {};
35754
35851
  for (const layer of styles) {
35755
35852
  for (const style of layer.styles) {
35756
35853
  enabled[style[0]] = layer.inverse ? null : style.slice(1);
35757
35854
  }
35758
35855
  }
35759
- let current = chalk123;
35856
+ let current = chalk124;
35760
35857
  for (const [styleName, styles2] of Object.entries(enabled)) {
35761
35858
  if (!Array.isArray(styles2)) {
35762
35859
  continue;
@@ -35768,7 +35865,7 @@ var require_templates3 = __commonJS2({
35768
35865
  }
35769
35866
  return current;
35770
35867
  }
35771
- module2.exports = (chalk123, temporary) => {
35868
+ module2.exports = (chalk124, temporary) => {
35772
35869
  const styles = [];
35773
35870
  const chunks = [];
35774
35871
  let chunk = [];
@@ -35778,13 +35875,13 @@ var require_templates3 = __commonJS2({
35778
35875
  } else if (style) {
35779
35876
  const string = chunk.join("");
35780
35877
  chunk = [];
35781
- chunks.push(styles.length === 0 ? string : buildStyle(chalk123, styles)(string));
35878
+ chunks.push(styles.length === 0 ? string : buildStyle(chalk124, styles)(string));
35782
35879
  styles.push({ inverse, styles: parseStyle(style) });
35783
35880
  } else if (close2) {
35784
35881
  if (styles.length === 0) {
35785
35882
  throw new Error("Found extraneous } in Chalk template literal");
35786
35883
  }
35787
- chunks.push(buildStyle(chalk123, styles)(chunk.join("")));
35884
+ chunks.push(buildStyle(chalk124, styles)(chunk.join("")));
35788
35885
  chunk = [];
35789
35886
  styles.pop();
35790
35887
  } else {
@@ -35832,16 +35929,16 @@ var require_source2 = __commonJS2({
35832
35929
  }
35833
35930
  };
35834
35931
  var chalkFactory = (options) => {
35835
- const chalk124 = {};
35836
- applyOptions(chalk124, options);
35837
- chalk124.template = (...arguments_) => chalkTag(chalk124.template, ...arguments_);
35838
- Object.setPrototypeOf(chalk124, Chalk.prototype);
35839
- Object.setPrototypeOf(chalk124.template, chalk124);
35840
- chalk124.template.constructor = () => {
35932
+ const chalk125 = {};
35933
+ applyOptions(chalk125, options);
35934
+ chalk125.template = (...arguments_) => chalkTag(chalk125.template, ...arguments_);
35935
+ Object.setPrototypeOf(chalk125, Chalk.prototype);
35936
+ Object.setPrototypeOf(chalk125.template, chalk125);
35937
+ chalk125.template.constructor = () => {
35841
35938
  throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
35842
35939
  };
35843
- chalk124.template.Instance = ChalkClass;
35844
- return chalk124.template;
35940
+ chalk125.template.Instance = ChalkClass;
35941
+ return chalk125.template;
35845
35942
  };
35846
35943
  function Chalk(options) {
35847
35944
  return chalkFactory(options);
@@ -35952,7 +36049,7 @@ var require_source2 = __commonJS2({
35952
36049
  return openAll + string + closeAll;
35953
36050
  };
35954
36051
  var template;
35955
- var chalkTag = (chalk124, ...strings) => {
36052
+ var chalkTag = (chalk125, ...strings) => {
35956
36053
  const [firstString] = strings;
35957
36054
  if (!isArray(firstString) || !isArray(firstString.raw)) {
35958
36055
  return strings.join(" ");
@@ -35968,14 +36065,14 @@ var require_source2 = __commonJS2({
35968
36065
  if (template === void 0) {
35969
36066
  template = require_templates3();
35970
36067
  }
35971
- return template(chalk124, parts.join(""));
36068
+ return template(chalk125, parts.join(""));
35972
36069
  };
35973
36070
  Object.defineProperties(Chalk.prototype, styles);
35974
- var chalk123 = Chalk();
35975
- chalk123.supportsColor = stdoutColor;
35976
- chalk123.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
35977
- chalk123.stderr.supportsColor = stderrColor;
35978
- module2.exports = chalk123;
36071
+ var chalk124 = Chalk();
36072
+ chalk124.supportsColor = stdoutColor;
36073
+ chalk124.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
36074
+ chalk124.stderr.supportsColor = stderrColor;
36075
+ module2.exports = chalk124;
35979
36076
  }
35980
36077
  });
35981
36078
 
@@ -37454,7 +37551,7 @@ var require_figures = __commonJS2({
37454
37551
  "use strict";
37455
37552
  var escapeStringRegexp = require_escape_string_regexp();
37456
37553
  var { platform } = process;
37457
- var main15 = {
37554
+ var main17 = {
37458
37555
  tick: "\u2714",
37459
37556
  cross: "\u2716",
37460
37557
  star: "\u2605",
@@ -37540,12 +37637,12 @@ var require_figures = __commonJS2({
37540
37637
  hamburger: "\u2261",
37541
37638
  smiley: "\u263A",
37542
37639
  mustache: "\u250C\u2500\u2510",
37543
- heart: main15.heart,
37640
+ heart: main17.heart,
37544
37641
  nodejs: "\u2666",
37545
- arrowUp: main15.arrowUp,
37546
- arrowDown: main15.arrowDown,
37547
- arrowLeft: main15.arrowLeft,
37548
- arrowRight: main15.arrowRight,
37642
+ arrowUp: main17.arrowUp,
37643
+ arrowDown: main17.arrowDown,
37644
+ arrowLeft: main17.arrowLeft,
37645
+ arrowRight: main17.arrowRight,
37549
37646
  radioOn: "(*)",
37550
37647
  radioOff: "( )",
37551
37648
  checkboxOn: "[\xD7]",
@@ -37573,14 +37670,14 @@ var require_figures = __commonJS2({
37573
37670
  sevenEighths: "7/8"
37574
37671
  };
37575
37672
  if (platform === "linux") {
37576
- main15.questionMarkPrefix = "?";
37673
+ main17.questionMarkPrefix = "?";
37577
37674
  }
37578
- var figures4 = platform === "win32" ? windows : main15;
37675
+ var figures4 = platform === "win32" ? windows : main17;
37579
37676
  var fn2 = (string) => {
37580
- if (figures4 === main15) {
37677
+ if (figures4 === main17) {
37581
37678
  return string;
37582
37679
  }
37583
- for (const [key, value] of Object.entries(main15)) {
37680
+ for (const [key, value] of Object.entries(main17)) {
37584
37681
  if (value === figures4[key]) {
37585
37682
  continue;
37586
37683
  }
@@ -37589,7 +37686,7 @@ var require_figures = __commonJS2({
37589
37686
  return string;
37590
37687
  };
37591
37688
  module2.exports = Object.assign(fn2, figures4);
37592
- module2.exports.main = main15;
37689
+ module2.exports.main = main17;
37593
37690
  module2.exports.windows = windows;
37594
37691
  }
37595
37692
  });
@@ -43869,7 +43966,7 @@ var require_write_json_file = __commonJS2({
43869
43966
  };
43870
43967
  var readFile6 = (fp) => pify(fs15.readFile)(fp, "utf8").catch(() => {
43871
43968
  });
43872
- var main15 = (fp, data, opts) => {
43969
+ var main17 = (fp, data, opts) => {
43873
43970
  return (opts.detectIndent ? readFile6(fp) : Promise.resolve()).then((str) => {
43874
43971
  const indent = str ? detectIndent(str).indent : opts.indent;
43875
43972
  const json = JSON.stringify(data, opts.replacer, indent);
@@ -43894,7 +43991,7 @@ var require_write_json_file = __commonJS2({
43894
43991
  `, { mode: opts.mode });
43895
43992
  };
43896
43993
  module2.exports = (fp, data, opts) => {
43897
- return makeDir(path11.dirname(fp), { fs: fs15 }).then(() => init3(main15, fp, data, opts));
43994
+ return makeDir(path11.dirname(fp), { fs: fs15 }).then(() => init3(main17, fp, data, opts));
43898
43995
  };
43899
43996
  module2.exports.sync = (fp, data, opts) => {
43900
43997
  makeDir.sync(path11.dirname(fp), { fs: fs15 });
@@ -46101,7 +46198,7 @@ var require_hashes = __commonJS2({
46101
46198
  });
46102
46199
  module2.exports = __toCommonJS4(hashes_exports);
46103
46200
  var import_crypto3 = require("crypto");
46104
- var import_fs_extra24 = __toESM4(require_lib8());
46201
+ var import_fs_extra25 = __toESM4(require_lib8());
46105
46202
  var import_async_sema = require_lib9();
46106
46203
  function hash(buf) {
46107
46204
  return (0, import_crypto3.createHash)("sha1").update(buf).digest("hex");
@@ -46120,17 +46217,17 @@ var require_hashes = __commonJS2({
46120
46217
  await Promise.all(
46121
46218
  files.map(async (name) => {
46122
46219
  await semaphore.acquire();
46123
- const stat2 = await import_fs_extra24.default.lstat(name);
46220
+ const stat2 = await import_fs_extra25.default.lstat(name);
46124
46221
  const mode = stat2.mode;
46125
46222
  let data;
46126
46223
  const isDirectory2 = stat2.isDirectory();
46127
46224
  let h;
46128
46225
  if (!isDirectory2) {
46129
46226
  if (stat2.isSymbolicLink()) {
46130
- const link4 = await import_fs_extra24.default.readlink(name);
46227
+ const link4 = await import_fs_extra25.default.readlink(name);
46131
46228
  data = Buffer.from(link4, "utf8");
46132
46229
  } else {
46133
- data = await import_fs_extra24.default.readFile(name);
46230
+ data = await import_fs_extra25.default.readFile(name);
46134
46231
  }
46135
46232
  h = hash(data);
46136
46233
  }
@@ -54910,14 +55007,14 @@ var require_utils12 = __commonJS2({
54910
55007
  });
54911
55008
  module2.exports = __toCommonJS4(utils_exports);
54912
55009
  var import_node_fs3 = __toESM4(require("fs"), 1);
54913
- var import_node_path5 = require("path");
55010
+ var import_node_path6 = require("path");
54914
55011
  var CONFIGURATION_FILENAMES = [
54915
55012
  "microfrontends.jsonc",
54916
55013
  "microfrontends.json"
54917
55014
  ];
54918
55015
  function findConfig({ dir }) {
54919
55016
  for (const filename of CONFIGURATION_FILENAMES) {
54920
- const maybeConfig = (0, import_node_path5.join)(dir, filename);
55017
+ const maybeConfig = (0, import_node_path6.join)(dir, filename);
54921
55018
  if (import_node_fs3.default.existsSync(maybeConfig)) {
54922
55019
  return maybeConfig;
54923
55020
  }
@@ -55144,7 +55241,7 @@ var require_utils13 = __commonJS2({
55144
55241
  var import_pkg5 = require_pkg();
55145
55242
  var import_build_utils18 = require("@vercel/build-utils");
55146
55243
  var import_async_sema = require_lib9();
55147
- var import_fs_extra24 = require_lib8();
55244
+ var import_fs_extra25 = require_lib8();
55148
55245
  var import_readdir_recursive = __toESM4(require_readdir_recursive());
55149
55246
  var import_utils4 = require_utils12();
55150
55247
  var semaphore = new import_async_sema.Sema(10);
@@ -55183,7 +55280,7 @@ var require_utils13 = __commonJS2({
55183
55280
  return {};
55184
55281
  }
55185
55282
  try {
55186
- const jsonString = await (0, import_fs_extra24.readFile)(filePath, "utf8");
55283
+ const jsonString = await (0, import_fs_extra25.readFile)(filePath, "utf8");
55187
55284
  return JSON.parse(jsonString);
55188
55285
  } catch (e2) {
55189
55286
  console.error(e2);
@@ -55192,7 +55289,7 @@ var require_utils13 = __commonJS2({
55192
55289
  }
55193
55290
  var maybeRead = async function(path11, default_) {
55194
55291
  try {
55195
- return await (0, import_fs_extra24.readFile)(path11, "utf8");
55292
+ return await (0, import_fs_extra25.readFile)(path11, "utf8");
55196
55293
  } catch (err) {
55197
55294
  return default_;
55198
55295
  }
@@ -55226,7 +55323,7 @@ var require_utils13 = __commonJS2({
55226
55323
  );
55227
55324
  await Promise.all(
55228
55325
  vcConfigFilePaths.map(async (p) => {
55229
- const configJson = await (0, import_fs_extra24.readFile)(p, "utf8");
55326
+ const configJson = await (0, import_fs_extra25.readFile)(p, "utf8");
55230
55327
  const config2 = JSON.parse(configJson);
55231
55328
  if (!config2.filePathMap)
55232
55329
  return;
@@ -56587,7 +56684,7 @@ var require_BufferList = __commonJS2({
56587
56684
  this.head = this.tail = null;
56588
56685
  this.length = 0;
56589
56686
  };
56590
- BufferList.prototype.join = function join23(s) {
56687
+ BufferList.prototype.join = function join24(s) {
56591
56688
  if (this.length === 0)
56592
56689
  return "";
56593
56690
  var p = this.head;
@@ -60341,7 +60438,7 @@ var require_create_deployment = __commonJS2({
60341
60438
  default: () => buildCreateDeployment
60342
60439
  });
60343
60440
  module2.exports = __toCommonJS4(create_deployment_exports);
60344
- var import_fs_extra24 = require_lib8();
60441
+ var import_fs_extra25 = require_lib8();
60345
60442
  var import_path41 = require("path");
60346
60443
  var import_hashes = require_hashes();
60347
60444
  var import_upload = require_upload();
@@ -60374,7 +60471,7 @@ var require_create_deployment = __commonJS2({
60374
60471
  message: "Options object must include a `token`"
60375
60472
  });
60376
60473
  }
60377
- clientOptions.isDirectory = !Array.isArray(path11) && (0, import_fs_extra24.lstatSync)(path11).isDirectory();
60474
+ clientOptions.isDirectory = !Array.isArray(path11) && (0, import_fs_extra25.lstatSync)(path11).isDirectory();
60378
60475
  if (Array.isArray(path11)) {
60379
60476
  for (const filePath of path11) {
60380
60477
  if (!(0, import_path41.isAbsolute)(filePath)) {
@@ -67112,7 +67209,7 @@ var require_util4 = __commonJS2({
67112
67209
  return path11;
67113
67210
  }
67114
67211
  exports2.normalize = normalize4;
67115
- function join23(aRoot, aPath) {
67212
+ function join24(aRoot, aPath) {
67116
67213
  if (aRoot === "") {
67117
67214
  aRoot = ".";
67118
67215
  }
@@ -67144,7 +67241,7 @@ var require_util4 = __commonJS2({
67144
67241
  }
67145
67242
  return joined;
67146
67243
  }
67147
- exports2.join = join23;
67244
+ exports2.join = join24;
67148
67245
  exports2.isAbsolute = function(aPath) {
67149
67246
  return aPath.charAt(0) === "/" || urlRegexp.test(aPath);
67150
67247
  };
@@ -67317,7 +67414,7 @@ var require_util4 = __commonJS2({
67317
67414
  parsed.path = parsed.path.substring(0, index + 1);
67318
67415
  }
67319
67416
  }
67320
- sourceURL = join23(urlGenerate(parsed), sourceURL);
67417
+ sourceURL = join24(urlGenerate(parsed), sourceURL);
67321
67418
  }
67322
67419
  return normalize4(sourceURL);
67323
67420
  }
@@ -69120,7 +69217,7 @@ var require_escodegen = __commonJS2({
69120
69217
  function noEmptySpace() {
69121
69218
  return space ? space : " ";
69122
69219
  }
69123
- function join23(left, right) {
69220
+ function join24(left, right) {
69124
69221
  var leftSource, rightSource, leftCharCode, rightCharCode;
69125
69222
  leftSource = toSourceNodeWhenNeeded(left).toString();
69126
69223
  if (leftSource.length === 0) {
@@ -69451,8 +69548,8 @@ var require_escodegen = __commonJS2({
69451
69548
  } else {
69452
69549
  result.push(that.generateExpression(stmt.left, Precedence.Call, E_TTT));
69453
69550
  }
69454
- result = join23(result, operator);
69455
- result = [join23(
69551
+ result = join24(result, operator);
69552
+ result = [join24(
69456
69553
  result,
69457
69554
  that.generateExpression(stmt.right, Precedence.Assignment, E_TTT)
69458
69555
  ), ")"];
@@ -69595,11 +69692,11 @@ var require_escodegen = __commonJS2({
69595
69692
  var result, fragment;
69596
69693
  result = ["class"];
69597
69694
  if (stmt.id) {
69598
- result = join23(result, this.generateExpression(stmt.id, Precedence.Sequence, E_TTT));
69695
+ result = join24(result, this.generateExpression(stmt.id, Precedence.Sequence, E_TTT));
69599
69696
  }
69600
69697
  if (stmt.superClass) {
69601
- fragment = join23("extends", this.generateExpression(stmt.superClass, Precedence.Unary, E_TTT));
69602
- result = join23(result, fragment);
69698
+ fragment = join24("extends", this.generateExpression(stmt.superClass, Precedence.Unary, E_TTT));
69699
+ result = join24(result, fragment);
69603
69700
  }
69604
69701
  result.push(space);
69605
69702
  result.push(this.generateStatement(stmt.body, S_TFFT));
@@ -69612,9 +69709,9 @@ var require_escodegen = __commonJS2({
69612
69709
  return escapeDirective(stmt.directive) + this.semicolon(flags);
69613
69710
  },
69614
69711
  DoWhileStatement: function(stmt, flags) {
69615
- var result = join23("do", this.maybeBlock(stmt.body, S_TFFF));
69712
+ var result = join24("do", this.maybeBlock(stmt.body, S_TFFF));
69616
69713
  result = this.maybeBlockSuffix(stmt.body, result);
69617
- return join23(result, [
69714
+ return join24(result, [
69618
69715
  "while" + space + "(",
69619
69716
  this.generateExpression(stmt.test, Precedence.Sequence, E_TTT),
69620
69717
  ")" + this.semicolon(flags)
@@ -69650,11 +69747,11 @@ var require_escodegen = __commonJS2({
69650
69747
  ExportDefaultDeclaration: function(stmt, flags) {
69651
69748
  var result = ["export"], bodyFlags;
69652
69749
  bodyFlags = flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF;
69653
- result = join23(result, "default");
69750
+ result = join24(result, "default");
69654
69751
  if (isStatement(stmt.declaration)) {
69655
- result = join23(result, this.generateStatement(stmt.declaration, bodyFlags));
69752
+ result = join24(result, this.generateStatement(stmt.declaration, bodyFlags));
69656
69753
  } else {
69657
- result = join23(result, this.generateExpression(stmt.declaration, Precedence.Assignment, E_TTT) + this.semicolon(flags));
69754
+ result = join24(result, this.generateExpression(stmt.declaration, Precedence.Assignment, E_TTT) + this.semicolon(flags));
69658
69755
  }
69659
69756
  return result;
69660
69757
  },
@@ -69662,15 +69759,15 @@ var require_escodegen = __commonJS2({
69662
69759
  var result = ["export"], bodyFlags, that = this;
69663
69760
  bodyFlags = flags & F_SEMICOLON_OPT ? S_TFFT : S_TFFF;
69664
69761
  if (stmt.declaration) {
69665
- return join23(result, this.generateStatement(stmt.declaration, bodyFlags));
69762
+ return join24(result, this.generateStatement(stmt.declaration, bodyFlags));
69666
69763
  }
69667
69764
  if (stmt.specifiers) {
69668
69765
  if (stmt.specifiers.length === 0) {
69669
- result = join23(result, "{" + space + "}");
69766
+ result = join24(result, "{" + space + "}");
69670
69767
  } else if (stmt.specifiers[0].type === Syntax.ExportBatchSpecifier) {
69671
- result = join23(result, this.generateExpression(stmt.specifiers[0], Precedence.Sequence, E_TTT));
69768
+ result = join24(result, this.generateExpression(stmt.specifiers[0], Precedence.Sequence, E_TTT));
69672
69769
  } else {
69673
- result = join23(result, "{");
69770
+ result = join24(result, "{");
69674
69771
  withIndent(function(indent2) {
69675
69772
  var i, iz;
69676
69773
  result.push(newline);
@@ -69688,7 +69785,7 @@ var require_escodegen = __commonJS2({
69688
69785
  result.push(base + "}");
69689
69786
  }
69690
69787
  if (stmt.source) {
69691
- result = join23(result, [
69788
+ result = join24(result, [
69692
69789
  "from" + space,
69693
69790
  // ModuleSpecifier
69694
69791
  this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
@@ -69776,7 +69873,7 @@ var require_escodegen = __commonJS2({
69776
69873
  ];
69777
69874
  cursor = 0;
69778
69875
  if (stmt.specifiers[cursor].type === Syntax.ImportDefaultSpecifier) {
69779
- result = join23(result, [
69876
+ result = join24(result, [
69780
69877
  this.generateExpression(stmt.specifiers[cursor], Precedence.Sequence, E_TTT)
69781
69878
  ]);
69782
69879
  ++cursor;
@@ -69786,7 +69883,7 @@ var require_escodegen = __commonJS2({
69786
69883
  result.push(",");
69787
69884
  }
69788
69885
  if (stmt.specifiers[cursor].type === Syntax.ImportNamespaceSpecifier) {
69789
- result = join23(result, [
69886
+ result = join24(result, [
69790
69887
  space,
69791
69888
  this.generateExpression(stmt.specifiers[cursor], Precedence.Sequence, E_TTT)
69792
69889
  ]);
@@ -69815,7 +69912,7 @@ var require_escodegen = __commonJS2({
69815
69912
  }
69816
69913
  }
69817
69914
  }
69818
- result = join23(result, [
69915
+ result = join24(result, [
69819
69916
  "from" + space,
69820
69917
  // ModuleSpecifier
69821
69918
  this.generateExpression(stmt.source, Precedence.Sequence, E_TTT),
@@ -69869,7 +69966,7 @@ var require_escodegen = __commonJS2({
69869
69966
  return result;
69870
69967
  },
69871
69968
  ThrowStatement: function(stmt, flags) {
69872
- return [join23(
69969
+ return [join24(
69873
69970
  "throw",
69874
69971
  this.generateExpression(stmt.argument, Precedence.Sequence, E_TTT)
69875
69972
  ), this.semicolon(flags)];
@@ -69880,7 +69977,7 @@ var require_escodegen = __commonJS2({
69880
69977
  result = this.maybeBlockSuffix(stmt.block, result);
69881
69978
  if (stmt.handlers) {
69882
69979
  for (i = 0, iz = stmt.handlers.length; i < iz; ++i) {
69883
- result = join23(result, this.generateStatement(stmt.handlers[i], S_TFFF));
69980
+ result = join24(result, this.generateStatement(stmt.handlers[i], S_TFFF));
69884
69981
  if (stmt.finalizer || i + 1 !== iz) {
69885
69982
  result = this.maybeBlockSuffix(stmt.handlers[i].body, result);
69886
69983
  }
@@ -69888,7 +69985,7 @@ var require_escodegen = __commonJS2({
69888
69985
  } else {
69889
69986
  guardedHandlers = stmt.guardedHandlers || [];
69890
69987
  for (i = 0, iz = guardedHandlers.length; i < iz; ++i) {
69891
- result = join23(result, this.generateStatement(guardedHandlers[i], S_TFFF));
69988
+ result = join24(result, this.generateStatement(guardedHandlers[i], S_TFFF));
69892
69989
  if (stmt.finalizer || i + 1 !== iz) {
69893
69990
  result = this.maybeBlockSuffix(guardedHandlers[i].body, result);
69894
69991
  }
@@ -69896,13 +69993,13 @@ var require_escodegen = __commonJS2({
69896
69993
  if (stmt.handler) {
69897
69994
  if (Array.isArray(stmt.handler)) {
69898
69995
  for (i = 0, iz = stmt.handler.length; i < iz; ++i) {
69899
- result = join23(result, this.generateStatement(stmt.handler[i], S_TFFF));
69996
+ result = join24(result, this.generateStatement(stmt.handler[i], S_TFFF));
69900
69997
  if (stmt.finalizer || i + 1 !== iz) {
69901
69998
  result = this.maybeBlockSuffix(stmt.handler[i].body, result);
69902
69999
  }
69903
70000
  }
69904
70001
  } else {
69905
- result = join23(result, this.generateStatement(stmt.handler, S_TFFF));
70002
+ result = join24(result, this.generateStatement(stmt.handler, S_TFFF));
69906
70003
  if (stmt.finalizer) {
69907
70004
  result = this.maybeBlockSuffix(stmt.handler.body, result);
69908
70005
  }
@@ -69910,7 +70007,7 @@ var require_escodegen = __commonJS2({
69910
70007
  }
69911
70008
  }
69912
70009
  if (stmt.finalizer) {
69913
- result = join23(result, ["finally", this.maybeBlock(stmt.finalizer, S_TFFF)]);
70010
+ result = join24(result, ["finally", this.maybeBlock(stmt.finalizer, S_TFFF)]);
69914
70011
  }
69915
70012
  return result;
69916
70013
  },
@@ -69944,7 +70041,7 @@ var require_escodegen = __commonJS2({
69944
70041
  withIndent(function() {
69945
70042
  if (stmt.test) {
69946
70043
  result = [
69947
- join23("case", that.generateExpression(stmt.test, Precedence.Sequence, E_TTT)),
70044
+ join24("case", that.generateExpression(stmt.test, Precedence.Sequence, E_TTT)),
69948
70045
  ":"
69949
70046
  ];
69950
70047
  } else {
@@ -69992,9 +70089,9 @@ var require_escodegen = __commonJS2({
69992
70089
  result.push(this.maybeBlock(stmt.consequent, S_TFFF));
69993
70090
  result = this.maybeBlockSuffix(stmt.consequent, result);
69994
70091
  if (stmt.alternate.type === Syntax.IfStatement) {
69995
- result = join23(result, ["else ", this.generateStatement(stmt.alternate, bodyFlags)]);
70092
+ result = join24(result, ["else ", this.generateStatement(stmt.alternate, bodyFlags)]);
69996
70093
  } else {
69997
- result = join23(result, join23("else", this.maybeBlock(stmt.alternate, bodyFlags)));
70094
+ result = join24(result, join24("else", this.maybeBlock(stmt.alternate, bodyFlags)));
69998
70095
  }
69999
70096
  } else {
70000
70097
  result.push(this.maybeBlock(stmt.consequent, bodyFlags));
@@ -70095,7 +70192,7 @@ var require_escodegen = __commonJS2({
70095
70192
  },
70096
70193
  ReturnStatement: function(stmt, flags) {
70097
70194
  if (stmt.argument) {
70098
- return [join23(
70195
+ return [join24(
70099
70196
  "return",
70100
70197
  this.generateExpression(stmt.argument, Precedence.Sequence, E_TTT)
70101
70198
  ), this.semicolon(flags)];
@@ -70184,14 +70281,14 @@ var require_escodegen = __commonJS2({
70184
70281
  if (leftSource.charCodeAt(leftSource.length - 1) === 47 && esutils.code.isIdentifierPartES5(expr.operator.charCodeAt(0))) {
70185
70282
  result = [fragment, noEmptySpace(), expr.operator];
70186
70283
  } else {
70187
- result = join23(fragment, expr.operator);
70284
+ result = join24(fragment, expr.operator);
70188
70285
  }
70189
70286
  fragment = this.generateExpression(expr.right, rightPrecedence, flags);
70190
70287
  if (expr.operator === "/" && fragment.toString().charAt(0) === "/" || expr.operator.slice(-1) === "<" && fragment.toString().slice(0, 3) === "!--") {
70191
70288
  result.push(noEmptySpace());
70192
70289
  result.push(fragment);
70193
70290
  } else {
70194
- result = join23(result, fragment);
70291
+ result = join24(result, fragment);
70195
70292
  }
70196
70293
  if (expr.operator === "in" && !(flags & F_ALLOW_IN)) {
70197
70294
  return ["(", result, ")"];
@@ -70231,7 +70328,7 @@ var require_escodegen = __commonJS2({
70231
70328
  var result, length, i, iz, itemFlags;
70232
70329
  length = expr["arguments"].length;
70233
70330
  itemFlags = flags & F_ALLOW_UNPARATH_NEW && !parentheses && length === 0 ? E_TFT : E_TFF;
70234
- result = join23(
70331
+ result = join24(
70235
70332
  "new",
70236
70333
  this.generateExpression(expr.callee, Precedence.New, itemFlags)
70237
70334
  );
@@ -70281,11 +70378,11 @@ var require_escodegen = __commonJS2({
70281
70378
  var result, fragment, rightCharCode, leftSource, leftCharCode;
70282
70379
  fragment = this.generateExpression(expr.argument, Precedence.Unary, E_TTT);
70283
70380
  if (space === "") {
70284
- result = join23(expr.operator, fragment);
70381
+ result = join24(expr.operator, fragment);
70285
70382
  } else {
70286
70383
  result = [expr.operator];
70287
70384
  if (expr.operator.length > 2) {
70288
- result = join23(result, fragment);
70385
+ result = join24(result, fragment);
70289
70386
  } else {
70290
70387
  leftSource = toSourceNodeWhenNeeded(result).toString();
70291
70388
  leftCharCode = leftSource.charCodeAt(leftSource.length - 1);
@@ -70308,7 +70405,7 @@ var require_escodegen = __commonJS2({
70308
70405
  result = "yield";
70309
70406
  }
70310
70407
  if (expr.argument) {
70311
- result = join23(
70408
+ result = join24(
70312
70409
  result,
70313
70410
  this.generateExpression(expr.argument, Precedence.Yield, E_TTT)
70314
70411
  );
@@ -70316,7 +70413,7 @@ var require_escodegen = __commonJS2({
70316
70413
  return parenthesize(result, Precedence.Yield, precedence);
70317
70414
  },
70318
70415
  AwaitExpression: function(expr, precedence, flags) {
70319
- var result = join23(
70416
+ var result = join24(
70320
70417
  expr.all ? "await*" : "await",
70321
70418
  this.generateExpression(expr.argument, Precedence.Await, E_TTT)
70322
70419
  );
@@ -70399,11 +70496,11 @@ var require_escodegen = __commonJS2({
70399
70496
  var result, fragment;
70400
70497
  result = ["class"];
70401
70498
  if (expr.id) {
70402
- result = join23(result, this.generateExpression(expr.id, Precedence.Sequence, E_TTT));
70499
+ result = join24(result, this.generateExpression(expr.id, Precedence.Sequence, E_TTT));
70403
70500
  }
70404
70501
  if (expr.superClass) {
70405
- fragment = join23("extends", this.generateExpression(expr.superClass, Precedence.Unary, E_TTT));
70406
- result = join23(result, fragment);
70502
+ fragment = join24("extends", this.generateExpression(expr.superClass, Precedence.Unary, E_TTT));
70503
+ result = join24(result, fragment);
70407
70504
  }
70408
70505
  result.push(space);
70409
70506
  result.push(this.generateStatement(expr.body, S_TFFT));
@@ -70418,7 +70515,7 @@ var require_escodegen = __commonJS2({
70418
70515
  }
70419
70516
  if (expr.kind === "get" || expr.kind === "set") {
70420
70517
  fragment = [
70421
- join23(expr.kind, this.generatePropertyKey(expr.key, expr.computed)),
70518
+ join24(expr.kind, this.generatePropertyKey(expr.key, expr.computed)),
70422
70519
  this.generateFunctionBody(expr.value)
70423
70520
  ];
70424
70521
  } else {
@@ -70428,7 +70525,7 @@ var require_escodegen = __commonJS2({
70428
70525
  this.generateFunctionBody(expr.value)
70429
70526
  ];
70430
70527
  }
70431
- return join23(result, fragment);
70528
+ return join24(result, fragment);
70432
70529
  },
70433
70530
  Property: function(expr, precedence, flags) {
70434
70531
  if (expr.kind === "get" || expr.kind === "set") {
@@ -70623,7 +70720,7 @@ var require_escodegen = __commonJS2({
70623
70720
  for (i = 0, iz = expr.blocks.length; i < iz; ++i) {
70624
70721
  fragment = that.generateExpression(expr.blocks[i], Precedence.Sequence, E_TTT);
70625
70722
  if (i > 0 || extra.moz.comprehensionExpressionStartsWithAssignment) {
70626
- result = join23(result, fragment);
70723
+ result = join24(result, fragment);
70627
70724
  } else {
70628
70725
  result.push(fragment);
70629
70726
  }
@@ -70631,13 +70728,13 @@ var require_escodegen = __commonJS2({
70631
70728
  });
70632
70729
  }
70633
70730
  if (expr.filter) {
70634
- result = join23(result, "if" + space);
70731
+ result = join24(result, "if" + space);
70635
70732
  fragment = this.generateExpression(expr.filter, Precedence.Sequence, E_TTT);
70636
- result = join23(result, ["(", fragment, ")"]);
70733
+ result = join24(result, ["(", fragment, ")"]);
70637
70734
  }
70638
70735
  if (!extra.moz.comprehensionExpressionStartsWithAssignment) {
70639
70736
  fragment = this.generateExpression(expr.body, Precedence.Assignment, E_TTT);
70640
- result = join23(result, fragment);
70737
+ result = join24(result, fragment);
70641
70738
  }
70642
70739
  result.push(expr.type === Syntax.GeneratorExpression ? ")" : "]");
70643
70740
  return result;
@@ -70653,8 +70750,8 @@ var require_escodegen = __commonJS2({
70653
70750
  } else {
70654
70751
  fragment = this.generateExpression(expr.left, Precedence.Call, E_TTT);
70655
70752
  }
70656
- fragment = join23(fragment, expr.of ? "of" : "in");
70657
- fragment = join23(fragment, this.generateExpression(expr.right, Precedence.Sequence, E_TTT));
70753
+ fragment = join24(fragment, expr.of ? "of" : "in");
70754
+ fragment = join24(fragment, this.generateExpression(expr.right, Precedence.Sequence, E_TTT));
70658
70755
  return ["for" + space + "(", fragment, ")"];
70659
70756
  },
70660
70757
  SpreadElement: function(expr, precedence, flags) {
@@ -91073,7 +91170,7 @@ var require_isexe = __commonJS2({
91073
91170
  var require_lib11 = __commonJS2({
91074
91171
  "../../node_modules/.pnpm/which@3.0.0/node_modules/which/lib/index.js"(exports2, module2) {
91075
91172
  var isexe = require_isexe();
91076
- var { join: join23, delimiter: delimiter3, sep: sep3, posix: posix2 } = require("path");
91173
+ var { join: join24, delimiter: delimiter3, sep: sep3, posix: posix2 } = require("path");
91077
91174
  var isWindows = process.platform === "win32";
91078
91175
  var rSlash = new RegExp(`[${posix2.sep}${sep3 === posix2.sep ? "" : sep3}]`.replace(/(\\)/g, "\\$1"));
91079
91176
  var rRel = new RegExp(`^\\.${rSlash.source}`);
@@ -91102,7 +91199,7 @@ var require_lib11 = __commonJS2({
91102
91199
  var getPathPart = (raw, cmd2) => {
91103
91200
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
91104
91201
  const prefix = !pathPart && rRel.test(cmd2) ? cmd2.slice(0, 2) : "";
91105
- return prefix + join23(pathPart, cmd2);
91202
+ return prefix + join24(pathPart, cmd2);
91106
91203
  };
91107
91204
  var which2 = async (cmd2, opt = {}) => {
91108
91205
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd2, opt);
@@ -100573,7 +100670,7 @@ var init_list4 = __esm({
100573
100670
  init_get_command_flags();
100574
100671
  init_get_args();
100575
100672
  init_get_flags_specification();
100576
- init_command32();
100673
+ init_command34();
100577
100674
  init_pkg_name();
100578
100675
  init_list3();
100579
100676
  init_error2();
@@ -100783,7 +100880,7 @@ var init_put2 = __esm({
100783
100880
  blob2 = __toESM3(require("@vercel/blob"));
100784
100881
  init_get_args();
100785
100882
  init_get_flags_specification();
100786
- init_command32();
100883
+ init_command34();
100787
100884
  import_node_fs = require("fs");
100788
100885
  import_error_utils12 = __toESM3(require_dist2());
100789
100886
  import_node_path = require("path");
@@ -100856,7 +100953,7 @@ var init_del2 = __esm({
100856
100953
  blob3 = __toESM3(require("@vercel/blob"));
100857
100954
  init_get_args();
100858
100955
  init_get_flags_specification();
100859
- init_command32();
100956
+ init_command34();
100860
100957
  init_del();
100861
100958
  init_error2();
100862
100959
  init_pkg_name();
@@ -100975,7 +101072,7 @@ var init_copy2 = __esm({
100975
101072
  blob4 = __toESM3(require("@vercel/blob"));
100976
101073
  init_get_args();
100977
101074
  init_get_flags_specification();
100978
- init_command32();
101075
+ init_command34();
100979
101076
  init_copy();
100980
101077
  init_pkg_name();
100981
101078
  }
@@ -118922,7 +119019,7 @@ var require_detect_file_system_api = __commonJS2({
118922
119019
  });
118923
119020
  module2.exports = __toCommonJS4(detect_file_system_api_exports);
118924
119021
  var import_semver4 = __toESM4(require_semver2());
118925
- var import__91 = require_dist20();
119022
+ var import__96 = require_dist20();
118926
119023
  async function detectFileSystemAPI2({
118927
119024
  files,
118928
119025
  projectSettings,
@@ -118988,7 +119085,7 @@ var require_detect_file_system_api = __commonJS2({
118988
119085
  };
118989
119086
  }
118990
119087
  const invalidBuilder = builders.find(({ use }) => {
118991
- const valid = (0, import__91.isOfficialRuntime)("go", use) || (0, import__91.isOfficialRuntime)("python", use) || (0, import__91.isOfficialRuntime)("ruby", use) || (0, import__91.isOfficialRuntime)("node", use) || (0, import__91.isOfficialRuntime)("next", use) || (0, import__91.isOfficialRuntime)("static", use) || (0, import__91.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);
118992
119089
  return !valid;
118993
119090
  });
118994
119091
  if (invalidBuilder) {
@@ -119001,7 +119098,7 @@ var require_detect_file_system_api = __commonJS2({
119001
119098
  for (const lang of ["go", "python", "ruby"]) {
119002
119099
  for (const { use } of builders) {
119003
119100
  const plugin = "vercel-plugin-" + lang;
119004
- if ((0, import__91.isOfficialRuntime)(lang, use) && !deps[plugin]) {
119101
+ if ((0, import__96.isOfficialRuntime)(lang, use) && !deps[plugin]) {
119005
119102
  return {
119006
119103
  metadata,
119007
119104
  fsApiBuilder: null,
@@ -119058,7 +119155,7 @@ var require_detect_file_system_api = __commonJS2({
119058
119155
  }
119059
119156
  }
119060
119157
  const frontendBuilder = builders.find(
119061
- ({ use }) => (0, import__91.isOfficialRuntime)("next", use) || (0, import__91.isOfficialRuntime)("static", use) || (0, import__91.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)
119062
119159
  );
119063
119160
  const config2 = frontendBuilder?.config || {};
119064
119161
  const withTag = tag ? `@${tag}` : "";
@@ -126809,7 +126906,7 @@ var init_store_add2 = __esm({
126809
126906
  init_pkg_name();
126810
126907
  init_get_flags_specification();
126811
126908
  init_get_args();
126812
- init_command32();
126909
+ init_command34();
126813
126910
  init_store_add();
126814
126911
  init_error2();
126815
126912
  }
@@ -126885,7 +126982,7 @@ var init_store_remove = __esm({
126885
126982
  init_error2();
126886
126983
  init_output_manager();
126887
126984
  init_get_flags_specification();
126888
- init_command32();
126985
+ init_command34();
126889
126986
  init_get_args();
126890
126987
  init_link2();
126891
126988
  }
@@ -129306,7 +129403,7 @@ var init_store_get2 = __esm({
129306
129403
  init_get_args();
129307
129404
  init_get_flags_specification();
129308
129405
  init_link2();
129309
- init_command32();
129406
+ init_command34();
129310
129407
  import_date_fns = __toESM3(require_date_fns());
129311
129408
  import_chalk40 = __toESM3(require_source());
129312
129409
  init_store_get();
@@ -129385,7 +129482,7 @@ var init_store2 = __esm({
129385
129482
  init_get_invalid_subcommand();
129386
129483
  init_get_subcommand();
129387
129484
  init_help();
129388
- init_command32();
129485
+ init_command34();
129389
129486
  init_get_flags_specification();
129390
129487
  init_output_manager();
129391
129488
  init_commands();
@@ -129543,7 +129640,7 @@ var init_token = __esm({
129543
129640
  import_node_path2 = require("path");
129544
129641
  init_diff_env_files();
129545
129642
  init_get_flags_specification();
129546
- init_command32();
129643
+ init_command34();
129547
129644
  init_get_args();
129548
129645
  init_pkg_name();
129549
129646
  init_cmd();
@@ -129661,7 +129758,7 @@ var init_blob2 = __esm({
129661
129758
  init_get_subcommand();
129662
129759
  init_help();
129663
129760
  init_list4();
129664
- init_command32();
129761
+ init_command34();
129665
129762
  init_get_flags_specification();
129666
129763
  init_output_manager();
129667
129764
  init_commands();
@@ -144506,7 +144603,7 @@ var init_pull2 = __esm({
144506
144603
  init_format_project();
144507
144604
  init_output_manager();
144508
144605
  init_pull();
144509
- init_command9();
144606
+ init_command10();
144510
144607
  init_get_args();
144511
144608
  init_get_flags_specification();
144512
144609
  init_error2();
@@ -145237,7 +145334,7 @@ var init_pull4 = __esm({
145237
145334
  init_ensure_link();
145238
145335
  init_humanize_path();
145239
145336
  init_help();
145240
- init_command23();
145337
+ init_command25();
145241
145338
  init_parse_target();
145242
145339
  init_get_flags_specification();
145243
145340
  init_error2();
@@ -145972,6 +146069,223 @@ var init_build2 = __esm({
145972
146069
  }
145973
146070
  });
145974
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
+
145975
146289
  // src/util/certs/create-cert-from-file.ts
145976
146290
  async function createCertFromFile(client2, keyPath, certPath, caPath) {
145977
146291
  output_manager_default.spinner("Adding your custom certificate");
@@ -146152,7 +146466,7 @@ var init_add2 = __esm({
146152
146466
  init_create_cert_for_cns();
146153
146467
  init_pkg_name();
146154
146468
  init_add();
146155
- init_command4();
146469
+ init_command5();
146156
146470
  init_get_flags_specification();
146157
146471
  init_get_args();
146158
146472
  init_error2();
@@ -146450,7 +146764,7 @@ var init_issue2 = __esm({
146450
146764
  init_pkg_name();
146451
146765
  init_output_manager();
146452
146766
  init_issue();
146453
- init_command4();
146767
+ init_command5();
146454
146768
  init_get_flags_specification();
146455
146769
  init_get_args();
146456
146770
  init_error2();
@@ -146613,7 +146927,7 @@ var init_ls3 = __esm({
146613
146927
  init_pkg_name();
146614
146928
  init_output_manager();
146615
146929
  init_ls2();
146616
- init_command4();
146930
+ init_command5();
146617
146931
  init_get_flags_specification();
146618
146932
  init_get_args();
146619
146933
  init_error2();
@@ -146814,7 +147128,7 @@ var init_rm2 = __esm({
146814
147128
  init_pkg_name();
146815
147129
  init_output_manager();
146816
147130
  init_remove2();
146817
- init_command4();
147131
+ init_command5();
146818
147132
  init_get_flags_specification();
146819
147133
  init_get_args();
146820
147134
  init_error2();
@@ -146860,9 +147174,9 @@ var init_certs = __esm({
146860
147174
  // src/commands/certs/index.ts
146861
147175
  var certs_exports = {};
146862
147176
  __export3(certs_exports, {
146863
- default: () => main4
147177
+ default: () => main5
146864
147178
  });
146865
- async function main4(client2) {
147179
+ async function main5(client2) {
146866
147180
  const { telemetryEventStore } = client2;
146867
147181
  const telemetry2 = new CertsTelemetryClient({
146868
147182
  opts: {
@@ -146881,7 +147195,7 @@ async function main4(client2) {
146881
147195
  }
146882
147196
  const { subcommand, subcommandOriginal, args: args2 } = getSubcommand(
146883
147197
  parsedArgs.args.slice(1),
146884
- COMMAND_CONFIG4
147198
+ COMMAND_CONFIG5
146885
147199
  );
146886
147200
  const needHelp = parsedArgs.flags["--help"];
146887
147201
  if (!subcommand && needHelp) {
@@ -146933,7 +147247,7 @@ async function main4(client2) {
146933
147247
  return 2;
146934
147248
  }
146935
147249
  }
146936
- var COMMAND_CONFIG4;
147250
+ var COMMAND_CONFIG5;
146937
147251
  var init_certs2 = __esm({
146938
147252
  "src/commands/certs/index.ts"() {
146939
147253
  "use strict";
@@ -146944,13 +147258,13 @@ var init_certs2 = __esm({
146944
147258
  init_issue2();
146945
147259
  init_ls3();
146946
147260
  init_rm2();
146947
- init_command4();
147261
+ init_command5();
146948
147262
  init_help();
146949
147263
  init_get_flags_specification();
146950
147264
  init_output_manager();
146951
147265
  init_certs();
146952
147266
  init_commands();
146953
- COMMAND_CONFIG4 = {
147267
+ COMMAND_CONFIG5 = {
146954
147268
  add: getCommandAliases(addSubcommand),
146955
147269
  issue: getCommandAliases(issueSubcommand),
146956
147270
  ls: getCommandAliases(listSubcommand2),
@@ -147502,7 +147816,7 @@ var init_logs = __esm({
147502
147816
  import_split2 = __toESM3(require_split2());
147503
147817
  import_url14 = require("url");
147504
147818
  init_events();
147505
- init_command20();
147819
+ init_command21();
147506
147820
  init_output_manager();
147507
147821
  runtimeLogSpinnerMessage = `waiting for new logs...`;
147508
147822
  dateTimeFormat = "HH:mm:ss.SS";
@@ -148344,7 +148658,7 @@ var init_deploy = __esm({
148344
148658
  "src/util/telemetry/commands/deploy/index.ts"() {
148345
148659
  "use strict";
148346
148660
  init_telemetry();
148347
- init_command5();
148661
+ init_command6();
148348
148662
  import_client10 = __toESM3(require_dist7());
148349
148663
  DeployTelemetryClient = class extends TelemetryClient {
148350
148664
  trackCliArgumentProjectPath(projectPaths) {
@@ -148584,7 +148898,7 @@ var init_deploy2 = __esm({
148584
148898
  init_project_settings();
148585
148899
  init_validate_paths();
148586
148900
  init_help();
148587
- init_command5();
148901
+ init_command6();
148588
148902
  init_parse_target();
148589
148903
  init_deploy();
148590
148904
  init_output_manager();
@@ -168807,9 +169121,9 @@ var init_dev2 = __esm({
168807
169121
  // src/commands/dev/index.ts
168808
169122
  var dev_exports = {};
168809
169123
  __export3(dev_exports, {
168810
- default: () => main5
169124
+ default: () => main6
168811
169125
  });
168812
- async function main5(client2) {
169126
+ async function main6(client2) {
168813
169127
  if (process.env.__VERCEL_DEV_RUNNING) {
168814
169128
  output_manager_default.error(
168815
169129
  `${cmd(
@@ -168848,7 +169162,7 @@ async function main5(client2) {
168848
169162
  output_manager_default.print(help2(devCommand, { columns: client2.stderr.columns }));
168849
169163
  return 2;
168850
169164
  }
168851
- const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG5).args;
169165
+ const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG6).args;
168852
169166
  if ("--confirm" in parsedArgs.flags) {
168853
169167
  output_manager_default.warn("`--confirm` is deprecated, please use `--yes` instead");
168854
169168
  parsedArgs.flags["--yes"] = parsedArgs.flags["--confirm"];
@@ -168917,7 +169231,7 @@ ${errMeta}`;
168917
169231
  }
168918
169232
  return err.stack;
168919
169233
  }
168920
- var import_path37, import_chalk65, import_error_utils23, COMMAND_CONFIG5;
169234
+ var import_path37, import_chalk65, import_error_utils23, COMMAND_CONFIG6;
168921
169235
  var init_dev3 = __esm({
168922
169236
  "src/commands/dev/index.ts"() {
168923
169237
  "use strict";
@@ -168936,11 +169250,11 @@ var init_dev3 = __esm({
168936
169250
  init_errors_ts();
168937
169251
  import_error_utils23 = __toESM3(require_dist2());
168938
169252
  init_help();
168939
- init_command6();
169253
+ init_command7();
168940
169254
  init_get_flags_specification();
168941
169255
  init_output_manager();
168942
169256
  init_dev2();
168943
- COMMAND_CONFIG5 = {
169257
+ COMMAND_CONFIG6 = {
168944
169258
  dev: ["dev"]
168945
169259
  };
168946
169260
  }
@@ -169290,7 +169604,7 @@ var init_add4 = __esm({
169290
169604
  init_pkg_name();
169291
169605
  init_output_manager();
169292
169606
  init_add3();
169293
- init_command7();
169607
+ init_command8();
169294
169608
  init_get_args();
169295
169609
  init_get_flags_specification();
169296
169610
  init_error2();
@@ -169437,7 +169751,7 @@ var init_import2 = __esm({
169437
169751
  init_pkg_name();
169438
169752
  init_output_manager();
169439
169753
  init_import();
169440
- init_command7();
169754
+ init_command8();
169441
169755
  init_get_args();
169442
169756
  init_get_flags_specification();
169443
169757
  init_error2();
@@ -169763,7 +170077,7 @@ var init_ls5 = __esm({
169763
170077
  init_pkg_name();
169764
170078
  init_output_manager();
169765
170079
  init_ls4();
169766
- init_command7();
170080
+ init_command8();
169767
170081
  init_get_args();
169768
170082
  init_get_flags_specification();
169769
170083
  init_error2();
@@ -169910,7 +170224,7 @@ var init_rm4 = __esm({
169910
170224
  init_pkg_name();
169911
170225
  init_output_manager();
169912
170226
  init_rm3();
169913
- init_command7();
170227
+ init_command8();
169914
170228
  init_get_args();
169915
170229
  init_get_flags_specification();
169916
170230
  init_error2();
@@ -169976,7 +170290,7 @@ async function dns(client2) {
169976
170290
  });
169977
170291
  const { subcommand, subcommandOriginal, args: args2 } = getSubcommand(
169978
170292
  parsedArgs.args.slice(1),
169979
- COMMAND_CONFIG6
170293
+ COMMAND_CONFIG7
169980
170294
  );
169981
170295
  const needHelp = parsedArgs.flags["--help"];
169982
170296
  if (!subcommand && needHelp) {
@@ -170024,7 +170338,7 @@ async function dns(client2) {
170024
170338
  return ls3(client2, args2);
170025
170339
  }
170026
170340
  }
170027
- var COMMAND_CONFIG6;
170341
+ var COMMAND_CONFIG7;
170028
170342
  var init_dns2 = __esm({
170029
170343
  "src/commands/dns/index.ts"() {
170030
170344
  "use strict";
@@ -170035,13 +170349,13 @@ var init_dns2 = __esm({
170035
170349
  init_import2();
170036
170350
  init_ls5();
170037
170351
  init_rm4();
170038
- init_command7();
170352
+ init_command8();
170039
170353
  init_help();
170040
170354
  init_get_flags_specification();
170041
170355
  init_output_manager();
170042
170356
  init_dns();
170043
170357
  init_commands();
170044
- COMMAND_CONFIG6 = {
170358
+ COMMAND_CONFIG7 = {
170045
170359
  add: getCommandAliases(addSubcommand2),
170046
170360
  import: getCommandAliases(importSubcommand),
170047
170361
  ls: getCommandAliases(listSubcommand3),
@@ -170398,7 +170712,7 @@ var init_add6 = __esm({
170398
170712
  init_code();
170399
170713
  init_output_manager();
170400
170714
  init_add5();
170401
- init_command8();
170715
+ init_command9();
170402
170716
  init_get_args();
170403
170717
  init_get_flags_specification();
170404
170718
  init_error2();
@@ -170599,7 +170913,7 @@ var init_buy2 = __esm({
170599
170913
  init_pkg_name();
170600
170914
  init_output_manager();
170601
170915
  init_buy();
170602
- init_command8();
170916
+ init_command9();
170603
170917
  init_get_args();
170604
170918
  init_get_flags_specification();
170605
170919
  init_error2();
@@ -170858,7 +171172,7 @@ var init_transfer_in2 = __esm({
170858
171172
  init_pkg_name();
170859
171173
  init_transfer_in();
170860
171174
  init_output_manager();
170861
- init_command8();
171175
+ init_command9();
170862
171176
  init_get_args();
170863
171177
  init_get_flags_specification();
170864
171178
  init_error2();
@@ -171131,7 +171445,7 @@ var init_inspect2 = __esm({
171131
171445
  init_get_domain_registrar();
171132
171446
  init_inspect();
171133
171447
  init_output_manager();
171134
- init_command8();
171448
+ init_command9();
171135
171449
  init_get_args();
171136
171450
  init_get_flags_specification();
171137
171451
  init_error2();
@@ -171265,7 +171579,7 @@ var init_ls7 = __esm({
171265
171579
  init_get_domain_registrar();
171266
171580
  init_output_manager();
171267
171581
  init_ls6();
171268
- init_command8();
171582
+ init_command9();
171269
171583
  init_get_args();
171270
171584
  init_get_flags_specification();
171271
171585
  init_error2();
@@ -171584,7 +171898,7 @@ var init_rm6 = __esm({
171584
171898
  init_pkg_name();
171585
171899
  init_output_manager();
171586
171900
  init_rm5();
171587
- init_command8();
171901
+ init_command9();
171588
171902
  init_get_args();
171589
171903
  init_get_flags_specification();
171590
171904
  init_error2();
@@ -171862,7 +172176,7 @@ var init_move2 = __esm({
171862
172176
  init_pkg_name();
171863
172177
  init_output_manager();
171864
172178
  init_move();
171865
- init_command8();
172179
+ init_command9();
171866
172180
  init_get_args();
171867
172181
  init_get_flags_specification();
171868
172182
  init_error2();
@@ -171925,9 +172239,9 @@ var init_domains = __esm({
171925
172239
  // src/commands/domains/index.ts
171926
172240
  var domains_exports = {};
171927
172241
  __export3(domains_exports, {
171928
- default: () => main6
172242
+ default: () => main7
171929
172243
  });
171930
- async function main6(client2) {
172244
+ async function main7(client2) {
171931
172245
  let parsedArgs;
171932
172246
  const flagsSpecification = getFlagsSpecification(domainsCommand.options);
171933
172247
  try {
@@ -171945,7 +172259,7 @@ async function main6(client2) {
171945
172259
  });
171946
172260
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
171947
172261
  parsedArgs.args.slice(1),
171948
- COMMAND_CONFIG7
172262
+ COMMAND_CONFIG8
171949
172263
  );
171950
172264
  const needHelp = parsedArgs.flags["--help"];
171951
172265
  if (!subcommand && needHelp) {
@@ -172011,7 +172325,7 @@ async function main6(client2) {
172011
172325
  return ls4(client2, args2);
172012
172326
  }
172013
172327
  }
172014
- var COMMAND_CONFIG7;
172328
+ var COMMAND_CONFIG8;
172015
172329
  var init_domains2 = __esm({
172016
172330
  "src/commands/domains/index.ts"() {
172017
172331
  "use strict";
@@ -172025,12 +172339,12 @@ var init_domains2 = __esm({
172025
172339
  init_ls7();
172026
172340
  init_rm6();
172027
172341
  init_move2();
172028
- init_command8();
172342
+ init_command9();
172029
172343
  init_help();
172030
172344
  init_get_flags_specification();
172031
172345
  init_domains();
172032
172346
  init_output_manager();
172033
- COMMAND_CONFIG7 = {
172347
+ COMMAND_CONFIG8 = {
172034
172348
  add: ["add"],
172035
172349
  buy: ["buy"],
172036
172350
  inspect: ["inspect"],
@@ -172393,7 +172707,7 @@ var init_add8 = __esm({
172393
172707
  init_get_args();
172394
172708
  init_get_flags_specification();
172395
172709
  init_error2();
172396
- init_command9();
172710
+ init_command10();
172397
172711
  init_link2();
172398
172712
  }
172399
172713
  });
@@ -172593,7 +172907,7 @@ var init_ls9 = __esm({
172593
172907
  init_format_project();
172594
172908
  init_output_manager();
172595
172909
  init_ls8();
172596
- init_command9();
172910
+ init_command10();
172597
172911
  init_get_args();
172598
172912
  init_get_flags_specification();
172599
172913
  init_error2();
@@ -172784,7 +173098,7 @@ var init_rm8 = __esm({
172784
173098
  init_get_custom_environments();
172785
173099
  init_rm7();
172786
173100
  init_output_manager();
172787
- init_command9();
173101
+ init_command10();
172788
173102
  init_get_args();
172789
173103
  init_get_flags_specification();
172790
173104
  init_error2();
@@ -172830,9 +173144,9 @@ var init_env = __esm({
172830
173144
  // src/commands/env/index.ts
172831
173145
  var env_exports = {};
172832
173146
  __export3(env_exports, {
172833
- default: () => main7
173147
+ default: () => main8
172834
173148
  });
172835
- async function main7(client2) {
173149
+ async function main8(client2) {
172836
173150
  const telemetry2 = new EnvTelemetryClient({
172837
173151
  opts: {
172838
173152
  store: client2.telemetryEventStore
@@ -172851,7 +173165,7 @@ async function main7(client2) {
172851
173165
  const subArgs = parsedArgs.args.slice(1);
172852
173166
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
172853
173167
  subArgs,
172854
- COMMAND_CONFIG8
173168
+ COMMAND_CONFIG9
172855
173169
  );
172856
173170
  const needHelp = parsedArgs.flags["--help"];
172857
173171
  if (!subcommand && needHelp) {
@@ -172898,12 +173212,12 @@ async function main7(client2) {
172898
173212
  telemetry2.trackCliSubcommandPull(subcommandOriginal);
172899
173213
  return pull(client2, args2);
172900
173214
  default:
172901
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG8));
173215
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG9));
172902
173216
  output_manager_default.print(help2(envCommand, { columns: client2.stderr.columns }));
172903
173217
  return 2;
172904
173218
  }
172905
173219
  }
172906
- var COMMAND_CONFIG8;
173220
+ var COMMAND_CONFIG9;
172907
173221
  var init_env2 = __esm({
172908
173222
  "src/commands/env/index.ts"() {
172909
173223
  "use strict";
@@ -172916,12 +173230,12 @@ var init_env2 = __esm({
172916
173230
  init_ls9();
172917
173231
  init_pull2();
172918
173232
  init_rm8();
172919
- init_command9();
173233
+ init_command10();
172920
173234
  init_get_flags_specification();
172921
173235
  init_output_manager();
172922
173236
  init_env();
172923
173237
  init_commands();
172924
- COMMAND_CONFIG8 = {
173238
+ COMMAND_CONFIG9 = {
172925
173239
  ls: getCommandAliases(listSubcommand5),
172926
173240
  add: getCommandAliases(addSubcommand4),
172927
173241
  rm: getCommandAliases(removeSubcommand5),
@@ -173314,7 +173628,7 @@ var init_connect2 = __esm({
173314
173628
  init_get_args();
173315
173629
  init_get_flags_specification();
173316
173630
  init_error2();
173317
- init_command10();
173631
+ init_command11();
173318
173632
  init_ensure_link();
173319
173633
  }
173320
173634
  });
@@ -173417,7 +173731,7 @@ var init_disconnect2 = __esm({
173417
173731
  init_pkg_name();
173418
173732
  init_connect_git_provider();
173419
173733
  init_output_manager();
173420
- init_command10();
173734
+ init_command11();
173421
173735
  init_get_args();
173422
173736
  init_get_flags_specification();
173423
173737
  init_error2();
@@ -173452,9 +173766,9 @@ var init_git = __esm({
173452
173766
  // src/commands/git/index.ts
173453
173767
  var git_exports = {};
173454
173768
  __export3(git_exports, {
173455
- default: () => main8
173769
+ default: () => main9
173456
173770
  });
173457
- async function main8(client2) {
173771
+ async function main9(client2) {
173458
173772
  let parsedArgs;
173459
173773
  const flagsSpecification = getFlagsSpecification(gitCommand.options);
173460
173774
  try {
@@ -173472,7 +173786,7 @@ async function main8(client2) {
173472
173786
  });
173473
173787
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
173474
173788
  parsedArgs.args.slice(1),
173475
- COMMAND_CONFIG9
173789
+ COMMAND_CONFIG10
173476
173790
  );
173477
173791
  if (parsedArgs.flags["--help"]) {
173478
173792
  telemetry2.trackCliFlagHelp("git", subcommand);
@@ -173487,12 +173801,12 @@ async function main8(client2) {
173487
173801
  telemetry2.trackCliSubcommandDisconnect(subcommandOriginal);
173488
173802
  return disconnect(client2, args2);
173489
173803
  default:
173490
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG9));
173804
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG10));
173491
173805
  output_manager_default.print(help2(gitCommand, { columns: client2.stderr.columns }));
173492
173806
  return 2;
173493
173807
  }
173494
173808
  }
173495
- var COMMAND_CONFIG9;
173809
+ var COMMAND_CONFIG10;
173496
173810
  var init_git2 = __esm({
173497
173811
  "src/commands/git/index.ts"() {
173498
173812
  "use strict";
@@ -173502,12 +173816,12 @@ var init_git2 = __esm({
173502
173816
  init_connect2();
173503
173817
  init_disconnect2();
173504
173818
  init_help();
173505
- init_command10();
173819
+ init_command11();
173506
173820
  init_get_flags_specification();
173507
173821
  init_output_manager();
173508
173822
  init_git();
173509
173823
  init_get_subcommand();
173510
- COMMAND_CONFIG9 = {
173824
+ COMMAND_CONFIG10 = {
173511
173825
  connect: ["connect"],
173512
173826
  disconnect: ["disconnect"]
173513
173827
  };
@@ -173818,9 +174132,9 @@ var init_init2 = __esm({
173818
174132
  // src/commands/init/index.ts
173819
174133
  var init_exports = {};
173820
174134
  __export3(init_exports, {
173821
- default: () => main9
174135
+ default: () => main10
173822
174136
  });
173823
- async function main9(client2) {
174137
+ async function main10(client2) {
173824
174138
  let parsedArgs;
173825
174139
  const flagsSpecification = getFlagsSpecification(initCommand.options);
173826
174140
  try {
@@ -173839,7 +174153,7 @@ async function main9(client2) {
173839
174153
  output_manager_default.print(help2(initCommand, { columns: client2.stderr.columns }));
173840
174154
  return 2;
173841
174155
  }
173842
- const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG10).args;
174156
+ const args2 = getSubcommand(parsedArgs.args.slice(1), COMMAND_CONFIG11).args;
173843
174157
  if (parsedArgs.args.length > 3) {
173844
174158
  output_manager_default.error("Too many arguments.");
173845
174159
  return 1;
@@ -173856,7 +174170,7 @@ async function main9(client2) {
173856
174170
  return 1;
173857
174171
  }
173858
174172
  }
173859
- var import_error_utils27, COMMAND_CONFIG10;
174173
+ var import_error_utils27, COMMAND_CONFIG11;
173860
174174
  var init_init3 = __esm({
173861
174175
  "src/commands/init/index.ts"() {
173862
174176
  "use strict";
@@ -173866,11 +174180,11 @@ var init_init3 = __esm({
173866
174180
  init_init();
173867
174181
  import_error_utils27 = __toESM3(require_dist2());
173868
174182
  init_help();
173869
- init_command11();
174183
+ init_command12();
173870
174184
  init_get_flags_specification();
173871
174185
  init_output_manager();
173872
174186
  init_init2();
173873
- COMMAND_CONFIG10 = {
174187
+ COMMAND_CONFIG11 = {
173874
174188
  init: ["init"]
173875
174189
  };
173876
174190
  }
@@ -173960,8 +174274,8 @@ var init_builds = __esm({
173960
174274
  }
173961
174275
  }
173962
174276
  const corner = isLast ? "\u2514\u2500\u2500" : "\u251C\u2500\u2500";
173963
- const main15 = prefix + path11 + finalSize + finalRegion;
173964
- return `${import_chalk92.default.grey(corner)} ${color(main15)}`;
174277
+ const main17 = prefix + path11 + finalSize + finalRegion;
174278
+ return `${import_chalk92.default.grey(corner)} ${color(main17)}`;
173965
174279
  };
173966
174280
  getDirPath = (path11, level = 0, highestLevel = null) => {
173967
174281
  const parts = path11.split("/").slice(0, -1);
@@ -174463,7 +174777,7 @@ var init_inspect4 = __esm({
174463
174777
  init_pkg_name();
174464
174778
  init_sleep();
174465
174779
  init_help();
174466
- init_command12();
174780
+ init_command13();
174467
174781
  init_output_manager();
174468
174782
  init_inspect3();
174469
174783
  }
@@ -175306,7 +175620,7 @@ var init_install2 = __esm({
175306
175620
  init_get_args();
175307
175621
  init_help();
175308
175622
  init_add10();
175309
- init_command13();
175623
+ init_command14();
175310
175624
  init_output_manager();
175311
175625
  init_install();
175312
175626
  }
@@ -175821,7 +176135,7 @@ var init_list6 = __esm({
175821
176135
  init_get_scope();
175822
176136
  init_link2();
175823
176137
  init_get_resources();
175824
- init_command15();
176138
+ init_command16();
175825
176139
  init_get_flags_specification();
175826
176140
  init_get_args();
175827
176141
  init_error2();
@@ -176037,7 +176351,7 @@ var init_remove_integration2 = __esm({
176037
176351
  init_error2();
176038
176352
  init_fetch_marketplace_integrations();
176039
176353
  init_remove_integration();
176040
- init_command15();
176354
+ init_command16();
176041
176355
  init_remove3();
176042
176356
  }
176043
176357
  });
@@ -176045,9 +176359,9 @@ var init_remove_integration2 = __esm({
176045
176359
  // src/commands/integration/index.ts
176046
176360
  var integration_exports = {};
176047
176361
  __export3(integration_exports, {
176048
- default: () => main10
176362
+ default: () => main11
176049
176363
  });
176050
- async function main10(client2) {
176364
+ async function main11(client2) {
176051
176365
  const telemetry2 = new IntegrationTelemetryClient({
176052
176366
  opts: {
176053
176367
  store: client2.telemetryEventStore
@@ -176062,7 +176376,7 @@ async function main10(client2) {
176062
176376
  subcommand,
176063
176377
  subcommandOriginal,
176064
176378
  args: subArgs
176065
- } = getSubcommand(args2.slice(1), COMMAND_CONFIG11);
176379
+ } = getSubcommand(args2.slice(1), COMMAND_CONFIG12);
176066
176380
  const needHelp = flags["--help"];
176067
176381
  function printHelp(command) {
176068
176382
  output_manager_default.print(
@@ -176128,12 +176442,12 @@ async function main10(client2) {
176128
176442
  return remove3(client2);
176129
176443
  }
176130
176444
  default: {
176131
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG11));
176445
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG12));
176132
176446
  return 2;
176133
176447
  }
176134
176448
  }
176135
176449
  }
176136
- var COMMAND_CONFIG11;
176450
+ var COMMAND_CONFIG12;
176137
176451
  var init_integration2 = __esm({
176138
176452
  "src/commands/integration/index.ts"() {
176139
176453
  "use strict";
@@ -176147,11 +176461,11 @@ var init_integration2 = __esm({
176147
176461
  init_help();
176148
176462
  init_add10();
176149
176463
  init_balance2();
176150
- init_command15();
176464
+ init_command16();
176151
176465
  init_list6();
176152
176466
  init_open_integration();
176153
176467
  init_remove_integration2();
176154
- COMMAND_CONFIG11 = {
176468
+ COMMAND_CONFIG12 = {
176155
176469
  add: getCommandAliases(addSubcommand5),
176156
176470
  open: getCommandAliases(openSubcommand),
176157
176471
  list: getCommandAliases(listSubcommand6),
@@ -176558,7 +176872,7 @@ var init_create_threshold2 = __esm({
176558
176872
  init_get_flags_specification();
176559
176873
  init_get_resources();
176560
176874
  init_create_threshold();
176561
- init_command14();
176875
+ init_command15();
176562
176876
  init_get_scope();
176563
176877
  init_fetch_installation_prepayment_info();
176564
176878
  init_update_threshold();
@@ -176819,7 +177133,7 @@ var init_disconnect4 = __esm({
176819
177133
  init_link2();
176820
177134
  init_disconnect3();
176821
177135
  init_types();
176822
- init_command14();
177136
+ init_command15();
176823
177137
  }
176824
177138
  });
176825
177139
 
@@ -176982,7 +177296,7 @@ var init_remove_resource = __esm({
176982
177296
  init_get_resources();
176983
177297
  init_types();
176984
177298
  init_remove4();
176985
- init_command14();
177299
+ init_command15();
176986
177300
  init_disconnect4();
176987
177301
  }
176988
177302
  });
@@ -176990,9 +177304,9 @@ var init_remove_resource = __esm({
176990
177304
  // src/commands/integration-resource/index.ts
176991
177305
  var integration_resource_exports = {};
176992
177306
  __export3(integration_resource_exports, {
176993
- default: () => main11
177307
+ default: () => main12
176994
177308
  });
176995
- async function main11(client2) {
177309
+ async function main12(client2) {
176996
177310
  const telemetry2 = new IntegrationResourceTelemetryClient({
176997
177311
  opts: {
176998
177312
  store: client2.telemetryEventStore
@@ -177005,7 +177319,7 @@ async function main11(client2) {
177005
177319
  );
177006
177320
  const { subcommand, subcommandOriginal } = getSubcommand(
177007
177321
  args2.slice(1),
177008
- COMMAND_CONFIG12
177322
+ COMMAND_CONFIG13
177009
177323
  );
177010
177324
  const needHelp = flags["--help"];
177011
177325
  if (!subcommand && needHelp) {
@@ -177051,12 +177365,12 @@ async function main11(client2) {
177051
177365
  return disconnect2(client2);
177052
177366
  }
177053
177367
  default: {
177054
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG12));
177368
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG13));
177055
177369
  return 2;
177056
177370
  }
177057
177371
  }
177058
177372
  }
177059
- var COMMAND_CONFIG12;
177373
+ var COMMAND_CONFIG13;
177060
177374
  var init_integration_resource2 = __esm({
177061
177375
  "src/commands/integration-resource/index.ts"() {
177062
177376
  "use strict";
@@ -177068,11 +177382,11 @@ var init_integration_resource2 = __esm({
177068
177382
  init_get_subcommand();
177069
177383
  init_integration_resource();
177070
177384
  init_help();
177071
- init_command14();
177385
+ init_command15();
177072
177386
  init_create_threshold2();
177073
177387
  init_disconnect4();
177074
177388
  init_remove_resource();
177075
- COMMAND_CONFIG12 = {
177389
+ COMMAND_CONFIG13 = {
177076
177390
  remove: getCommandAliases(removeSubcommand6),
177077
177391
  disconnect: getCommandAliases(disconnectSubcommand2),
177078
177392
  "create-threshold": getCommandAliases(createThresholdSubcommand)
@@ -177193,7 +177507,7 @@ var init_link4 = __esm({
177193
177507
  init_ensure_link();
177194
177508
  init_repo();
177195
177509
  init_help();
177196
- init_command16();
177510
+ init_command17();
177197
177511
  init_get_flags_specification();
177198
177512
  init_error2();
177199
177513
  init_output_manager();
@@ -177572,7 +177886,7 @@ var init_list8 = __esm({
177572
177886
  init_errors_ts();
177573
177887
  import_error_utils29 = __toESM3(require_dist2());
177574
177888
  init_help();
177575
- init_command17();
177889
+ init_command18();
177576
177890
  init_parse_target();
177577
177891
  init_get_flags_specification();
177578
177892
  init_get_deployment();
@@ -177783,7 +178097,7 @@ var init_logs3 = __esm({
177783
178097
  init_logs2();
177784
178098
  init_help();
177785
178099
  init_list8();
177786
- init_command20();
178100
+ init_command21();
177787
178101
  init_output_manager();
177788
178102
  deprecatedFlags = [
177789
178103
  "--follow",
@@ -178075,7 +178389,7 @@ var init_login3 = __esm({
178075
178389
  init_global_path();
178076
178390
  init_files();
178077
178391
  init_help();
178078
- init_command18();
178392
+ init_command19();
178079
178393
  init_update_current_team_after_login();
178080
178394
  init_get_flags_specification();
178081
178395
  init_error2();
@@ -178224,7 +178538,7 @@ var init_logout2 = __esm({
178224
178538
  init_errors_ts();
178225
178539
  import_error_utils32 = __toESM3(require_dist2());
178226
178540
  init_help();
178227
- init_command19();
178541
+ init_command20();
178228
178542
  init_get_flags_specification();
178229
178543
  init_output_manager();
178230
178544
  init_logout();
@@ -178232,6 +178546,202 @@ var init_logout2 = __esm({
178232
178546
  }
178233
178547
  });
178234
178548
 
178549
+ // src/commands/microfrontends/pull.ts
178550
+ async function pull2(client2) {
178551
+ const link4 = await ensureLink("microfrontends", client2, client2.cwd);
178552
+ if (typeof link4 === "number") {
178553
+ return link4;
178554
+ }
178555
+ const { project, org, repoRoot } = link4;
178556
+ let currentDirectory;
178557
+ if (repoRoot) {
178558
+ currentDirectory = (0, import_node_path5.join)(repoRoot, project.rootDirectory || "");
178559
+ } else {
178560
+ currentDirectory = client2.cwd;
178561
+ }
178562
+ client2.config.currentTeam = org.type === "team" ? org.id : void 0;
178563
+ const { contextName } = await getScope(client2);
178564
+ output_manager_default.spinner(
178565
+ `Fetching microfrontends configuration in ${import_chalk107.default.bold(contextName)}`
178566
+ );
178567
+ let parsedArgs;
178568
+ const flagsSpecification = getFlagsSpecification(pullSubcommand2.options);
178569
+ try {
178570
+ parsedArgs = parseArguments(client2.argv.slice(2), flagsSpecification, {
178571
+ permissive: true
178572
+ });
178573
+ } catch (error3) {
178574
+ printError(error3);
178575
+ return 1;
178576
+ }
178577
+ const dpl = parsedArgs.flags["--dpl"] ?? project.targets?.production?.id ?? project.latestDeployments?.[0]?.id;
178578
+ if (!dpl) {
178579
+ output_manager_default.stopSpinner();
178580
+ output_manager_default.error(`No deployment found for project ${import_chalk107.default.bold(project.name)}`);
178581
+ return 1;
178582
+ }
178583
+ const microfrontendsConfigUrl = `/v1/microfrontends/${dpl}/config`;
178584
+ try {
178585
+ const { config: config2 } = await client2.fetch(microfrontendsConfigUrl, {
178586
+ method: "GET"
178587
+ });
178588
+ const sanitizedConfig = {
178589
+ ...config2,
178590
+ applications: Object.fromEntries(
178591
+ Object.entries(config2.applications).map(([name, app]) => [
178592
+ name,
178593
+ {
178594
+ ...app,
178595
+ projectId: void 0
178596
+ // remove projectId
178597
+ }
178598
+ ])
178599
+ )
178600
+ };
178601
+ output_manager_default.stopSpinner();
178602
+ const path11 = (0, import_node_path5.join)(currentDirectory, VERCEL_DIR3, VERCEL_DIR_MICROFRONTENDS);
178603
+ await (0, import_fs_extra23.outputJSON)(path11, sanitizedConfig, {
178604
+ spaces: 2
178605
+ });
178606
+ const microfrontendsStamp = stamp_default();
178607
+ output_manager_default.print(
178608
+ `${prependEmoji(
178609
+ `Downloaded microfrontends configuration to ${import_chalk107.default.bold(
178610
+ humanizePath(
178611
+ (0, import_node_path5.join)(currentDirectory, VERCEL_DIR3, VERCEL_DIR_MICROFRONTENDS)
178612
+ )
178613
+ )} ${import_chalk107.default.gray(microfrontendsStamp())}`,
178614
+ emoji("success")
178615
+ )}
178616
+ `
178617
+ );
178618
+ return 0;
178619
+ } catch (error3) {
178620
+ output_manager_default.stopSpinner();
178621
+ printError(error3);
178622
+ return 1;
178623
+ }
178624
+ }
178625
+ var import_chalk107, import_node_path5, import_fs_extra23, VERCEL_DIR3, VERCEL_DIR_MICROFRONTENDS;
178626
+ var init_pull5 = __esm({
178627
+ "src/commands/microfrontends/pull.ts"() {
178628
+ "use strict";
178629
+ import_chalk107 = __toESM3(require_source());
178630
+ import_node_path5 = require("path");
178631
+ init_output_manager();
178632
+ init_get_scope();
178633
+ init_ensure_link();
178634
+ init_emoji();
178635
+ init_humanize_path();
178636
+ init_stamp();
178637
+ import_fs_extra23 = __toESM3(require_lib());
178638
+ init_command22();
178639
+ init_get_flags_specification();
178640
+ init_get_args();
178641
+ init_error2();
178642
+ VERCEL_DIR3 = ".vercel";
178643
+ VERCEL_DIR_MICROFRONTENDS = "microfrontends.json";
178644
+ }
178645
+ });
178646
+
178647
+ // src/util/telemetry/commands/microfrontends/index.ts
178648
+ var MicrofrontendsTelemetryClient;
178649
+ var init_microfrontends = __esm({
178650
+ "src/util/telemetry/commands/microfrontends/index.ts"() {
178651
+ "use strict";
178652
+ init_telemetry();
178653
+ MicrofrontendsTelemetryClient = class extends TelemetryClient {
178654
+ trackCliSubcommandPull(actual) {
178655
+ this.trackCliSubcommand({
178656
+ subcommand: "pull",
178657
+ value: actual
178658
+ });
178659
+ }
178660
+ };
178661
+ }
178662
+ });
178663
+
178664
+ // src/commands/microfrontends/index.ts
178665
+ var microfrontends_exports = {};
178666
+ __export3(microfrontends_exports, {
178667
+ default: () => main13
178668
+ });
178669
+ async function main13(client2) {
178670
+ const telemetry2 = new MicrofrontendsTelemetryClient({
178671
+ opts: {
178672
+ store: client2.telemetryEventStore
178673
+ }
178674
+ });
178675
+ let parsedArgs;
178676
+ const flagsSpecification = getFlagsSpecification(
178677
+ microfrontendsCommand.options
178678
+ );
178679
+ try {
178680
+ parsedArgs = parseArguments(client2.argv.slice(2), flagsSpecification, {
178681
+ permissive: true
178682
+ });
178683
+ } catch (error3) {
178684
+ printError(error3);
178685
+ return 1;
178686
+ }
178687
+ let { subcommand, subcommandOriginal } = getSubcommand(
178688
+ parsedArgs.args.slice(1),
178689
+ COMMAND_CONFIG14
178690
+ );
178691
+ const needHelp = parsedArgs.flags["--help"];
178692
+ if (!subcommand && needHelp) {
178693
+ telemetry2.trackCliFlagHelp("microfrontends");
178694
+ output_manager_default.print(
178695
+ help2(microfrontendsCommand, { columns: client2.stderr.columns })
178696
+ );
178697
+ return 2;
178698
+ }
178699
+ function printHelp(command) {
178700
+ output_manager_default.print(
178701
+ help2(command, {
178702
+ parent: microfrontendsCommand,
178703
+ columns: client2.stderr.columns
178704
+ })
178705
+ );
178706
+ return 2;
178707
+ }
178708
+ switch (subcommand) {
178709
+ case "pull":
178710
+ if (needHelp) {
178711
+ telemetry2.trackCliFlagHelp("microfrontends", subcommandOriginal);
178712
+ return printHelp(pullSubcommand2);
178713
+ }
178714
+ telemetry2.trackCliSubcommandPull(subcommandOriginal);
178715
+ return pull2(client2);
178716
+ default:
178717
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG14));
178718
+ output_manager_default.print(
178719
+ help2(microfrontendsCommand, { columns: client2.stderr.columns })
178720
+ );
178721
+ return 2;
178722
+ }
178723
+ }
178724
+ var COMMAND_CONFIG14;
178725
+ var init_microfrontends2 = __esm({
178726
+ "src/commands/microfrontends/index.ts"() {
178727
+ "use strict";
178728
+ init_get_args();
178729
+ init_get_invalid_subcommand();
178730
+ init_error2();
178731
+ init_help();
178732
+ init_pull5();
178733
+ init_command22();
178734
+ init_get_flags_specification();
178735
+ init_output_manager();
178736
+ init_commands();
178737
+ init_get_subcommand();
178738
+ init_microfrontends();
178739
+ COMMAND_CONFIG14 = {
178740
+ pull: getCommandAliases(pullSubcommand2)
178741
+ };
178742
+ }
178743
+ });
178744
+
178235
178745
  // src/util/telemetry/commands/project/add.ts
178236
178746
  var ProjectAddTelemetryClient;
178237
178747
  var init_add11 = __esm({
@@ -178269,12 +178779,12 @@ async function add6(client2, argv) {
178269
178779
  const { args: args2 } = parsedArgs;
178270
178780
  if (args2.length !== 1) {
178271
178781
  output_manager_default.error(
178272
- `Invalid number of arguments. Usage: ${import_chalk107.default.cyan(
178782
+ `Invalid number of arguments. Usage: ${import_chalk108.default.cyan(
178273
178783
  `${getCommandName("project add <name>")}`
178274
178784
  )}`
178275
178785
  );
178276
178786
  if (args2.length > 1) {
178277
- const example = import_chalk107.default.cyan(
178787
+ const example = import_chalk108.default.cyan(
178278
178788
  `${getCommandName(`project add "${args2.join(" ")}"`)}`
178279
178789
  );
178280
178790
  output_manager_default.log(
@@ -178302,24 +178812,24 @@ async function add6(client2, argv) {
178302
178812
  const elapsed2 = (0, import_ms22.default)(Date.now() - start);
178303
178813
  const { contextName } = await getScope(client2);
178304
178814
  output_manager_default.log(
178305
- `${import_chalk107.default.cyan("Success!")} Project ${import_chalk107.default.bold(
178815
+ `${import_chalk108.default.cyan("Success!")} Project ${import_chalk108.default.bold(
178306
178816
  name.toLowerCase()
178307
- )} added (${import_chalk107.default.bold(contextName)}) ${import_chalk107.default.gray(`[${elapsed2}]`)}`
178817
+ )} added (${import_chalk108.default.bold(contextName)}) ${import_chalk108.default.gray(`[${elapsed2}]`)}`
178308
178818
  );
178309
178819
  return 0;
178310
178820
  }
178311
- var import_chalk107, import_ms22;
178821
+ var import_chalk108, import_ms22;
178312
178822
  var init_add12 = __esm({
178313
178823
  "src/commands/project/add.ts"() {
178314
178824
  "use strict";
178315
- import_chalk107 = __toESM3(require_source());
178825
+ import_chalk108 = __toESM3(require_source());
178316
178826
  import_ms22 = __toESM3(require_ms());
178317
178827
  init_errors_ts();
178318
178828
  init_pkg_name();
178319
178829
  init_create_project();
178320
178830
  init_output_manager();
178321
178831
  init_add11();
178322
- init_command21();
178832
+ init_command23();
178323
178833
  init_get_args();
178324
178834
  init_get_flags_specification();
178325
178835
  init_error2();
@@ -178411,7 +178921,7 @@ async function inspect4(client2, argv) {
178411
178921
  telemetry2.trackCliFlagYes(parsedArgs.flags["--yes"]);
178412
178922
  if (args2.length !== 0 && args2.length !== 1) {
178413
178923
  output_manager_default.error(
178414
- `Invalid number of arguments. Usage: ${import_chalk108.default.cyan(
178924
+ `Invalid number of arguments. Usage: ${import_chalk109.default.cyan(
178415
178925
  `${getCommandName("project inspect <name>")}`
178416
178926
  )}`
178417
178927
  );
@@ -178426,57 +178936,57 @@ async function inspect4(client2, argv) {
178426
178936
  });
178427
178937
  const org = await getTeamById(client2, project.accountId);
178428
178938
  const projectSlugLink = formatProject(org.slug, project.name);
178429
- output_manager_default.log(`Found Project ${projectSlugLink} ${import_chalk108.default.gray(inspectStamp())}`);
178939
+ output_manager_default.log(`Found Project ${projectSlugLink} ${import_chalk109.default.gray(inspectStamp())}`);
178430
178940
  output_manager_default.print("\n");
178431
- output_manager_default.print(import_chalk108.default.bold(" General\n\n"));
178432
- output_manager_default.print(` ${import_chalk108.default.cyan("ID")} ${project.id}
178941
+ output_manager_default.print(import_chalk109.default.bold(" General\n\n"));
178942
+ output_manager_default.print(` ${import_chalk109.default.cyan("ID")} ${project.id}
178433
178943
  `);
178434
- output_manager_default.print(` ${import_chalk108.default.cyan("Name")} ${project.name}
178944
+ output_manager_default.print(` ${import_chalk109.default.cyan("Name")} ${project.name}
178435
178945
  `);
178436
- output_manager_default.print(` ${import_chalk108.default.cyan("Owner")} ${org.name}
178946
+ output_manager_default.print(` ${import_chalk109.default.cyan("Owner")} ${org.name}
178437
178947
  `);
178438
178948
  output_manager_default.print(
178439
- ` ${import_chalk108.default.cyan("Created At")} ${formatDate(project.createdAt)}
178949
+ ` ${import_chalk109.default.cyan("Created At")} ${formatDate(project.createdAt)}
178440
178950
  `
178441
178951
  );
178442
178952
  output_manager_default.print(
178443
- ` ${import_chalk108.default.cyan("Root Directory")} ${project.rootDirectory ?? "."}
178953
+ ` ${import_chalk109.default.cyan("Root Directory")} ${project.rootDirectory ?? "."}
178444
178954
  `
178445
178955
  );
178446
178956
  output_manager_default.print(
178447
- ` ${import_chalk108.default.cyan("Node.js Version")} ${project.nodeVersion}
178957
+ ` ${import_chalk109.default.cyan("Node.js Version")} ${project.nodeVersion}
178448
178958
  `
178449
178959
  );
178450
178960
  const framework = import_frameworks7.frameworkList.find((f) => f.slug === project.framework);
178451
178961
  output_manager_default.print("\n");
178452
- output_manager_default.print(import_chalk108.default.bold(" Framework Settings\n\n"));
178453
- output_manager_default.print(` ${import_chalk108.default.cyan("Framework Preset")} ${framework?.name}
178962
+ output_manager_default.print(import_chalk109.default.bold(" Framework Settings\n\n"));
178963
+ output_manager_default.print(` ${import_chalk109.default.cyan("Framework Preset")} ${framework?.name}
178454
178964
  `);
178455
178965
  output_manager_default.print(
178456
- ` ${import_chalk108.default.cyan("Build Command")} ${project.buildCommand ?? import_chalk108.default.dim(framework?.settings?.buildCommand.placeholder ?? "None")}
178966
+ ` ${import_chalk109.default.cyan("Build Command")} ${project.buildCommand ?? import_chalk109.default.dim(framework?.settings?.buildCommand.placeholder ?? "None")}
178457
178967
  `
178458
178968
  );
178459
178969
  output_manager_default.print(
178460
- ` ${import_chalk108.default.cyan("Output Directory")} ${project.outputDirectory ?? import_chalk108.default.dim(framework?.settings?.outputDirectory.placeholder ?? "None")}
178970
+ ` ${import_chalk109.default.cyan("Output Directory")} ${project.outputDirectory ?? import_chalk109.default.dim(framework?.settings?.outputDirectory.placeholder ?? "None")}
178461
178971
  `
178462
178972
  );
178463
178973
  output_manager_default.print(
178464
- ` ${import_chalk108.default.cyan("Install Command")} ${project.installCommand ?? import_chalk108.default.dim(framework?.settings?.installCommand.placeholder ?? "None")}
178974
+ ` ${import_chalk109.default.cyan("Install Command")} ${project.installCommand ?? import_chalk109.default.dim(framework?.settings?.installCommand.placeholder ?? "None")}
178465
178975
  `
178466
178976
  );
178467
178977
  output_manager_default.print("\n");
178468
178978
  return 0;
178469
178979
  }
178470
- var import_chalk108, import_frameworks7;
178980
+ var import_chalk109, import_frameworks7;
178471
178981
  var init_inspect6 = __esm({
178472
178982
  "src/commands/project/inspect.ts"() {
178473
178983
  "use strict";
178474
- import_chalk108 = __toESM3(require_source());
178984
+ import_chalk109 = __toESM3(require_source());
178475
178985
  import_frameworks7 = __toESM3(require_frameworks());
178476
178986
  init_pkg_name();
178477
178987
  init_inspect5();
178478
178988
  init_output_manager();
178479
- init_command21();
178989
+ init_command23();
178480
178990
  init_get_args();
178481
178991
  init_get_flags_specification();
178482
178992
  init_error2();
@@ -178530,7 +179040,7 @@ async function list6(client2, argv) {
178530
179040
  const { args: args2, flags: opts } = parsedArgs;
178531
179041
  if (args2.length !== 0) {
178532
179042
  output_manager_default.error(
178533
- `Invalid number of arguments. Usage: ${import_chalk109.default.cyan(
179043
+ `Invalid number of arguments. Usage: ${import_chalk110.default.cyan(
178534
179044
  `${getCommandName("project ls")}`
178535
179045
  )}`
178536
179046
  );
@@ -178538,7 +179048,7 @@ async function list6(client2, argv) {
178538
179048
  }
178539
179049
  const start = Date.now();
178540
179050
  const { contextName } = await getScope(client2);
178541
- output_manager_default.spinner(`Fetching projects in ${import_chalk109.default.bold(contextName)}`);
179051
+ output_manager_default.spinner(`Fetching projects in ${import_chalk110.default.bold(contextName)}`);
178542
179052
  let projectsUrl = "/v9/projects?limit=20";
178543
179053
  const deprecated = opts["--update-required"] || false;
178544
179054
  telemetryClient.trackCliFlagUpdateRequired(deprecated);
@@ -178559,7 +179069,7 @@ async function list6(client2, argv) {
178559
179069
  output_manager_default.stopSpinner();
178560
179070
  const elapsed2 = (0, import_ms23.default)(Date.now() - start);
178561
179071
  output_manager_default.log(
178562
- `${projectList.length > 0 ? "Projects" : "No projects"} found under ${import_chalk109.default.bold(contextName)} ${deprecated ? "that are using a deprecated Node.js version" : "\b"} ${import_chalk109.default.gray(`[${elapsed2}]`)}`
179072
+ `${projectList.length > 0 ? "Projects" : "No projects"} found under ${import_chalk110.default.bold(contextName)} ${deprecated ? "that are using a deprecated Node.js version" : "\b"} ${import_chalk110.default.gray(`[${elapsed2}]`)}`
178563
179073
  );
178564
179074
  if (projectList.length > 0) {
178565
179075
  const tablePrint = table(
@@ -178569,12 +179079,12 @@ async function list6(client2, argv) {
178569
179079
  "Latest Production URL",
178570
179080
  "Updated",
178571
179081
  "Node Version"
178572
- ].map((header) => import_chalk109.default.bold(import_chalk109.default.cyan(header))),
179082
+ ].map((header) => import_chalk110.default.bold(import_chalk110.default.cyan(header))),
178573
179083
  ...projectList.flatMap((project) => [
178574
179084
  [
178575
- import_chalk109.default.bold(project.name),
179085
+ import_chalk110.default.bold(project.name),
178576
179086
  getLatestProdUrl(project),
178577
- import_chalk109.default.gray((0, import_ms23.default)(Date.now() - project.updatedAt)),
179087
+ import_chalk110.default.gray((0, import_ms23.default)(Date.now() - project.updatedAt)),
178578
179088
  project.nodeVersion ?? ""
178579
179089
  ]
178580
179090
  ])
@@ -178599,18 +179109,18 @@ function getLatestProdUrl(project) {
178599
179109
  return `https://${alias2}`;
178600
179110
  return "--";
178601
179111
  }
178602
- var import_ms23, import_chalk109;
179112
+ var import_ms23, import_chalk110;
178603
179113
  var init_list10 = __esm({
178604
179114
  "src/commands/project/list.ts"() {
178605
179115
  "use strict";
178606
179116
  import_ms23 = __toESM3(require_ms());
178607
- import_chalk109 = __toESM3(require_source());
179117
+ import_chalk110 = __toESM3(require_source());
178608
179118
  init_table();
178609
179119
  init_get_command_flags();
178610
179120
  init_pkg_name();
178611
179121
  init_list9();
178612
179122
  init_output_manager();
178613
- init_command21();
179123
+ init_command23();
178614
179124
  init_get_args();
178615
179125
  init_get_flags_specification();
178616
179126
  init_error2();
@@ -178655,7 +179165,7 @@ async function rm6(client2, argv) {
178655
179165
  const { args: args2 } = parsedArgs;
178656
179166
  if (args2.length !== 1) {
178657
179167
  output_manager_default.error(
178658
- `Invalid number of arguments. Usage: ${import_chalk110.default.cyan(
179168
+ `Invalid number of arguments. Usage: ${import_chalk111.default.cyan(
178659
179169
  `${getCommandName("project rm <name>")}`
178660
179170
  )}`
178661
179171
  );
@@ -178685,7 +179195,7 @@ async function rm6(client2, argv) {
178685
179195
  }
178686
179196
  const elapsed2 = (0, import_ms24.default)(Date.now() - start);
178687
179197
  output_manager_default.log(
178688
- `${import_chalk110.default.cyan("Success!")} Project ${import_chalk110.default.bold(name)} removed ${import_chalk110.default.gray(
179198
+ `${import_chalk111.default.cyan("Success!")} Project ${import_chalk111.default.bold(name)} removed ${import_chalk111.default.gray(
178689
179199
  `[${elapsed2}]`
178690
179200
  )}`
178691
179201
  );
@@ -178694,22 +179204,22 @@ async function rm6(client2, argv) {
178694
179204
  async function readConfirmation3(client2, projectName) {
178695
179205
  output_manager_default.print(
178696
179206
  prependEmoji(
178697
- `The project ${import_chalk110.default.bold(projectName)} will be removed permanently.
179207
+ `The project ${import_chalk111.default.bold(projectName)} will be removed permanently.
178698
179208
  It will also delete everything under the project including deployments.
178699
179209
  `,
178700
179210
  emoji("warning")
178701
179211
  )
178702
179212
  );
178703
179213
  return await client2.input.confirm(
178704
- `${import_chalk110.default.bold.red("Are you sure?")}`,
179214
+ `${import_chalk111.default.bold.red("Are you sure?")}`,
178705
179215
  false
178706
179216
  );
178707
179217
  }
178708
- var import_chalk110, import_ms24, e;
179218
+ var import_chalk111, import_ms24, e;
178709
179219
  var init_rm10 = __esm({
178710
179220
  "src/commands/project/rm.ts"() {
178711
179221
  "use strict";
178712
- import_chalk110 = __toESM3(require_source());
179222
+ import_chalk111 = __toESM3(require_source());
178713
179223
  import_ms24 = __toESM3(require_ms());
178714
179224
  init_emoji();
178715
179225
  init_errors_ts();
@@ -178719,7 +179229,7 @@ var init_rm10 = __esm({
178719
179229
  init_get_args();
178720
179230
  init_get_flags_specification();
178721
179231
  init_error2();
178722
- init_command21();
179232
+ init_command23();
178723
179233
  e = encodeURIComponent;
178724
179234
  }
178725
179235
  });
@@ -178762,9 +179272,9 @@ var init_project = __esm({
178762
179272
  // src/commands/project/index.ts
178763
179273
  var project_exports = {};
178764
179274
  __export3(project_exports, {
178765
- default: () => main12
179275
+ default: () => main14
178766
179276
  });
178767
- async function main12(client2) {
179277
+ async function main14(client2) {
178768
179278
  const telemetry2 = new ProjectTelemetryClient({
178769
179279
  opts: {
178770
179280
  store: client2.telemetryEventStore
@@ -178782,7 +179292,7 @@ async function main12(client2) {
178782
179292
  }
178783
179293
  let { subcommand, args: args2, subcommandOriginal } = getSubcommand(
178784
179294
  parsedArgs.args.slice(1),
178785
- COMMAND_CONFIG13
179295
+ COMMAND_CONFIG15
178786
179296
  );
178787
179297
  const needHelp = parsedArgs.flags["--help"];
178788
179298
  if (!subcommand && needHelp) {
@@ -178829,12 +179339,12 @@ async function main12(client2) {
178829
179339
  telemetry2.trackCliSubcommandRemove(subcommandOriginal);
178830
179340
  return rm6(client2, args2);
178831
179341
  default:
178832
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG13));
179342
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG15));
178833
179343
  output_manager_default.print(help2(projectCommand, { columns: client2.stderr.columns }));
178834
179344
  return 2;
178835
179345
  }
178836
179346
  }
178837
- var COMMAND_CONFIG13;
179347
+ var COMMAND_CONFIG15;
178838
179348
  var init_project2 = __esm({
178839
179349
  "src/commands/project/index.ts"() {
178840
179350
  "use strict";
@@ -178846,13 +179356,13 @@ var init_project2 = __esm({
178846
179356
  init_inspect6();
178847
179357
  init_list10();
178848
179358
  init_rm10();
178849
- init_command21();
179359
+ init_command23();
178850
179360
  init_get_flags_specification();
178851
179361
  init_project();
178852
179362
  init_output_manager();
178853
179363
  init_commands();
178854
179364
  init_get_subcommand();
178855
- COMMAND_CONFIG13 = {
179365
+ COMMAND_CONFIG15 = {
178856
179366
  inspect: getCommandAliases(inspectSubcommand2),
178857
179367
  list: getCommandAliases(listSubcommand7),
178858
179368
  add: getCommandAliases(addSubcommand6),
@@ -178877,7 +179387,7 @@ async function getProjectByDeployment({
178877
179387
  let team;
178878
179388
  try {
178879
179389
  output_manager_default?.spinner(
178880
- `Fetching deployment "${deployId}" in ${import_chalk111.default.bold(contextName)}\u2026`
179390
+ `Fetching deployment "${deployId}" in ${import_chalk112.default.bold(contextName)}\u2026`
178881
179391
  );
178882
179392
  const [teamResult, deploymentResult] = await Promise.allSettled([
178883
179393
  config2.currentTeam ? getTeamById(client2, config2.currentTeam) : void 0,
@@ -178894,12 +179404,12 @@ async function getProjectByDeployment({
178894
179404
  team = teamResult.value;
178895
179405
  deployment = deploymentResult.value;
178896
179406
  output_manager_default?.log(
178897
- `Fetching deployment "${deployId}" in ${import_chalk111.default.bold(contextName)}\u2026`
179407
+ `Fetching deployment "${deployId}" in ${import_chalk112.default.bold(contextName)}\u2026`
178898
179408
  );
178899
179409
  if (deployment.team?.id) {
178900
179410
  if (!team || deployment.team.id !== team.id) {
178901
179411
  const err = new Error(
178902
- team ? `Deployment doesn't belong to current team ${import_chalk111.default.bold(
179412
+ team ? `Deployment doesn't belong to current team ${import_chalk112.default.bold(
178903
179413
  contextName
178904
179414
  )}` : `Deployment belongs to a different team`
178905
179415
  );
@@ -178908,7 +179418,7 @@ async function getProjectByDeployment({
178908
179418
  }
178909
179419
  } else if (team) {
178910
179420
  const err = new Error(
178911
- `Deployment doesn't belong to current team ${import_chalk111.default.bold(contextName)}`
179421
+ `Deployment doesn't belong to current team ${import_chalk112.default.bold(contextName)}`
178912
179422
  );
178913
179423
  err.code = "ERR_INVALID_TEAM";
178914
179424
  throw err;
@@ -178929,11 +179439,11 @@ async function getProjectByDeployment({
178929
179439
  output_manager_default?.stopSpinner();
178930
179440
  }
178931
179441
  }
178932
- var import_chalk111;
179442
+ var import_chalk112;
178933
179443
  var init_get_project_by_deployment = __esm({
178934
179444
  "src/util/projects/get-project-by-deployment.ts"() {
178935
179445
  "use strict";
178936
- import_chalk111 = __toESM3(require_source());
179446
+ import_chalk112 = __toESM3(require_source());
178937
179447
  init_get_deployment();
178938
179448
  init_get_project_by_id_or_name();
178939
179449
  init_get_scope();
@@ -178947,21 +179457,21 @@ var init_get_project_by_deployment = __esm({
178947
179457
  // src/util/alias/render-alias-status.ts
178948
179458
  function renderAliasStatus(status2) {
178949
179459
  if (status2 === "completed") {
178950
- return import_chalk112.default.green(status2);
179460
+ return import_chalk113.default.green(status2);
178951
179461
  }
178952
179462
  if (status2 === "failed") {
178953
- return import_chalk112.default.red(status2);
179463
+ return import_chalk113.default.red(status2);
178954
179464
  }
178955
179465
  if (status2 === "skipped") {
178956
- return import_chalk112.default.gray(status2);
179466
+ return import_chalk113.default.gray(status2);
178957
179467
  }
178958
- return import_chalk112.default.yellow(status2);
179468
+ return import_chalk113.default.yellow(status2);
178959
179469
  }
178960
- var import_chalk112;
179470
+ var import_chalk113;
178961
179471
  var init_render_alias_status = __esm({
178962
179472
  "src/util/alias/render-alias-status.ts"() {
178963
179473
  "use strict";
178964
- import_chalk112 = __toESM3(require_source());
179474
+ import_chalk113 = __toESM3(require_source());
178965
179475
  }
178966
179476
  });
178967
179477
 
@@ -179068,7 +179578,7 @@ async function promoteStatus({
179068
179578
  }
179069
179579
  if (requestedAt < recentThreshold || Date.now() >= promoteTimeout) {
179070
179580
  output_manager_default.log(
179071
- `The promotion exceeded its deadline - rerun ${import_chalk113.default.bold(
179581
+ `The promotion exceeded its deadline - rerun ${import_chalk114.default.bold(
179072
179582
  `${packageName} promote ${toDeploymentId}`
179073
179583
  )} to try again`
179074
179584
  );
@@ -179132,26 +179642,26 @@ async function renderJobSucceeded({
179132
179642
  let deploymentInfo = "";
179133
179643
  try {
179134
179644
  const deployment = await getDeployment(client2, contextName, toDeploymentId);
179135
- deploymentInfo = `${import_chalk113.default.bold(deployment.url)} (${toDeploymentId})`;
179645
+ deploymentInfo = `${import_chalk114.default.bold(deployment.url)} (${toDeploymentId})`;
179136
179646
  } catch (err) {
179137
179647
  output_manager_default.debug(
179138
179648
  `Failed to get deployment url for ${toDeploymentId}: ${err?.toString() || err}`
179139
179649
  );
179140
- deploymentInfo = import_chalk113.default.bold(toDeploymentId);
179650
+ deploymentInfo = import_chalk114.default.bold(toDeploymentId);
179141
179651
  }
179142
179652
  const duration = performingPromote ? elapsed(Date.now() - requestedAt) : "";
179143
179653
  output_manager_default.log(
179144
- `Success! ${import_chalk113.default.bold(
179654
+ `Success! ${import_chalk114.default.bold(
179145
179655
  project.name
179146
179656
  )} was promoted to ${deploymentInfo} ${duration}`
179147
179657
  );
179148
179658
  return 0;
179149
179659
  }
179150
- var import_chalk113, import_ms25;
179660
+ var import_chalk114, import_ms25;
179151
179661
  var init_status = __esm({
179152
179662
  "src/commands/promote/status.ts"() {
179153
179663
  "use strict";
179154
- import_chalk113 = __toESM3(require_source());
179664
+ import_chalk114 = __toESM3(require_source());
179155
179665
  init_elapsed();
179156
179666
  init_format_date();
179157
179667
  init_get_deployment();
@@ -179208,7 +179718,7 @@ async function requestPromote({
179208
179718
  }
179209
179719
  );
179210
179720
  output_manager_default.log(
179211
- `Successfully created new deployment of ${import_chalk114.default.bold(project.name)} at ${newDeployment.inspectorUrl}`
179721
+ `Successfully created new deployment of ${import_chalk115.default.bold(project.name)} at ${newDeployment.inspectorUrl}`
179212
179722
  );
179213
179723
  return 0;
179214
179724
  }
@@ -179229,7 +179739,7 @@ async function requestPromote({
179229
179739
  }
179230
179740
  if (timeout !== void 0 && (0, import_ms26.default)(timeout) === 0) {
179231
179741
  output_manager_default.log(
179232
- `Successfully requested promote of ${import_chalk114.default.bold(project.name)} to ${deployment.url} (${deployment.id})`
179742
+ `Successfully requested promote of ${import_chalk115.default.bold(project.name)} to ${deployment.url} (${deployment.id})`
179233
179743
  );
179234
179744
  output_manager_default.log(`To check promote status, run ${getCommandName("promote")}.`);
179235
179745
  return 0;
@@ -179242,11 +179752,11 @@ async function requestPromote({
179242
179752
  timeout
179243
179753
  });
179244
179754
  }
179245
- var import_chalk114, import_ms26;
179755
+ var import_chalk115, import_ms26;
179246
179756
  var init_request_promote = __esm({
179247
179757
  "src/commands/promote/request-promote.ts"() {
179248
179758
  "use strict";
179249
- import_chalk114 = __toESM3(require_source());
179759
+ import_chalk115 = __toESM3(require_source());
179250
179760
  init_pkg_name();
179251
179761
  init_get_project_by_deployment();
179252
179762
  import_ms26 = __toESM3(require_ms());
@@ -179309,7 +179819,7 @@ var init_promote2 = __esm({
179309
179819
  import_error_utils33 = __toESM3(require_dist2());
179310
179820
  init_request_promote();
179311
179821
  init_status();
179312
- init_command22();
179822
+ init_command24();
179313
179823
  init_help();
179314
179824
  init_get_flags_specification();
179315
179825
  init_promote();
@@ -179407,7 +179917,7 @@ async function getDeploymentByIdOrURL({
179407
179917
  let team;
179408
179918
  try {
179409
179919
  output_manager_default.spinner(
179410
- `Fetching deployment "${deployIdOrUrl}" in ${import_chalk115.default.bold(contextName)}\u2026`
179920
+ `Fetching deployment "${deployIdOrUrl}" in ${import_chalk116.default.bold(contextName)}\u2026`
179411
179921
  );
179412
179922
  const [teamResult, deploymentResult] = await Promise.allSettled([
179413
179923
  config2.currentTeam ? getTeamById(client2, config2.currentTeam) : void 0,
@@ -179424,7 +179934,7 @@ async function getDeploymentByIdOrURL({
179424
179934
  team = teamResult.value;
179425
179935
  deployment = deploymentResult.value;
179426
179936
  output_manager_default.log(
179427
- `Fetching deployment "${deployIdOrUrl}" in ${import_chalk115.default.bold(contextName)}\u2026`
179937
+ `Fetching deployment "${deployIdOrUrl}" in ${import_chalk116.default.bold(contextName)}\u2026`
179428
179938
  );
179429
179939
  } finally {
179430
179940
  output_manager_default.stopSpinner();
@@ -179432,7 +179942,7 @@ async function getDeploymentByIdOrURL({
179432
179942
  if (deployment.team?.id) {
179433
179943
  if (!team || deployment.team.id !== team.id) {
179434
179944
  const err = new Error(
179435
- team ? `Deployment doesn't belong to current team ${import_chalk115.default.bold(
179945
+ team ? `Deployment doesn't belong to current team ${import_chalk116.default.bold(
179436
179946
  contextName
179437
179947
  )}` : `Deployment belongs to a different team`
179438
179948
  );
@@ -179441,18 +179951,18 @@ async function getDeploymentByIdOrURL({
179441
179951
  }
179442
179952
  } else if (team) {
179443
179953
  const err = new Error(
179444
- `Deployment doesn't belong to current team ${import_chalk115.default.bold(contextName)}`
179954
+ `Deployment doesn't belong to current team ${import_chalk116.default.bold(contextName)}`
179445
179955
  );
179446
179956
  err.code = "ERR_INVALID_TEAM";
179447
179957
  throw err;
179448
179958
  }
179449
179959
  return deployment;
179450
179960
  }
179451
- var import_chalk115;
179961
+ var import_chalk116;
179452
179962
  var init_get_deployment_by_id_or_url = __esm({
179453
179963
  "src/util/deploy/get-deployment-by-id-or-url.ts"() {
179454
179964
  "use strict";
179455
- import_chalk115 = __toESM3(require_source());
179965
+ import_chalk116 = __toESM3(require_source());
179456
179966
  init_get_deployment();
179457
179967
  init_get_team_by_id();
179458
179968
  init_is_valid_name();
@@ -179591,14 +180101,14 @@ async function redeploy(client2) {
179591
180101
  }
179592
180102
  output_manager_default.print(
179593
180103
  `${prependEmoji(
179594
- `Inspect: ${import_chalk116.default.bold(deployment.inspectorUrl)} ${deployStamp()}`,
180104
+ `Inspect: ${import_chalk117.default.bold(deployment.inspectorUrl)} ${deployStamp()}`,
179595
180105
  emoji("inspect")
179596
180106
  )}
179597
180107
  `
179598
180108
  );
179599
180109
  output_manager_default.print(
179600
180110
  prependEmoji(
179601
- `${isProdDeployment ? "Production" : "Preview"}: ${import_chalk116.default.bold(
180111
+ `${isProdDeployment ? "Production" : "Preview"}: ${import_chalk117.default.bold(
179602
180112
  previewUrl
179603
180113
  )} ${deployStamp()}`,
179604
180114
  emoji("success")
@@ -179668,17 +180178,17 @@ async function redeploy(client2) {
179668
180178
  output_manager_default.prettyError(err);
179669
180179
  if ((0, import_error_utils34.isErrnoException)(err) && err.code === "ERR_INVALID_TEAM") {
179670
180180
  output_manager_default.error(
179671
- `Use ${import_chalk116.default.bold("vc switch")} to change your current team`
180181
+ `Use ${import_chalk117.default.bold("vc switch")} to change your current team`
179672
180182
  );
179673
180183
  }
179674
180184
  return 1;
179675
180185
  }
179676
180186
  }
179677
- var import_chalk116, import_client13, import_error_utils34;
180187
+ var import_chalk117, import_client13, import_error_utils34;
179678
180188
  var init_redeploy2 = __esm({
179679
180189
  "src/commands/redeploy/index.ts"() {
179680
180190
  "use strict";
179681
- import_chalk116 = __toESM3(require_source());
180191
+ import_chalk117 = __toESM3(require_source());
179682
180192
  import_client13 = __toESM3(require_dist7());
179683
180193
  init_emoji();
179684
180194
  init_get_args();
@@ -179692,7 +180202,7 @@ var init_redeploy2 = __esm({
179692
180202
  init_stamp();
179693
180203
  init_ua();
179694
180204
  init_help();
179695
- init_command24();
180205
+ init_command26();
179696
180206
  init_get_flags_specification();
179697
180207
  init_output_manager();
179698
180208
  init_redeploy();
@@ -179885,7 +180395,7 @@ async function remove5(client2) {
179885
180395
  }
179886
180396
  const { contextName } = await getScope(client2);
179887
180397
  output_manager_default.spinner(
179888
- `Fetching deployment(s) ${ids.map((id) => `"${id}"`).join(" ")} in ${import_chalk117.default.bold(contextName)}`
180398
+ `Fetching deployment(s) ${ids.map((id) => `"${id}"`).join(" ")} in ${import_chalk118.default.bold(contextName)}`
179889
180399
  );
179890
180400
  let aliases;
179891
180401
  let projects;
@@ -179951,7 +180461,7 @@ async function remove5(client2) {
179951
180461
  });
179952
180462
  if (deployments.length === 0 && projects.length === 0) {
179953
180463
  const safeUnaliased = parsedArgs.flags["--safe"] ? "unaliased" : "any";
179954
- const stylizedIds = ids.map((id) => import_chalk117.default.bold(`"${id}"`)).join(", ");
180464
+ const stylizedIds = ids.map((id) => import_chalk118.default.bold(`"${id}"`)).join(", ");
179955
180465
  const commandName = getCommandName("projects ls");
179956
180466
  log2(
179957
180467
  `Could not find ${safeUnaliased} deployments or projects matching ${stylizedIds}. Run ${commandName} to list.`
@@ -179959,7 +180469,7 @@ async function remove5(client2) {
179959
180469
  return 1;
179960
180470
  }
179961
180471
  log2(
179962
- `Found ${deploymentsAndProjects(deployments, projects)} for removal in ${import_chalk117.default.bold(contextName)} ${elapsed(Date.now() - findStart)}`
180472
+ `Found ${deploymentsAndProjects(deployments, projects)} for removal in ${import_chalk118.default.bold(contextName)} ${elapsed(Date.now() - findStart)}`
179963
180473
  );
179964
180474
  if (deployments.length > 200) {
179965
180475
  output_manager_default.warn(
@@ -179986,11 +180496,11 @@ async function remove5(client2) {
179986
180496
  `Removed ${deploymentsAndProjects(deployments, projects)} ${elapsed(Date.now() - start)}`
179987
180497
  );
179988
180498
  deployments.forEach((depl) => {
179989
- output_manager_default.print(`${import_chalk117.default.gray("-")} ${import_chalk117.default.bold(depl.url)}
180499
+ output_manager_default.print(`${import_chalk118.default.gray("-")} ${import_chalk118.default.bold(depl.url)}
179990
180500
  `);
179991
180501
  });
179992
180502
  projects.forEach((project) => {
179993
- output_manager_default.print(`${import_chalk117.default.gray("-")} ${import_chalk117.default.bold(project.name)}
180503
+ output_manager_default.print(`${import_chalk118.default.gray("-")} ${import_chalk118.default.bold(project.name)}
179994
180504
  `);
179995
180505
  });
179996
180506
  return 0;
@@ -180007,8 +180517,8 @@ function readConfirmation4(deployments, projects) {
180007
180517
  );
180008
180518
  const deploymentTable = table(
180009
180519
  deployments.map((depl) => {
180010
- const time = import_chalk117.default.gray(`${(0, import_ms28.default)(Date.now() - depl.createdAt)} ago`);
180011
- const url3 = depl.url ? import_chalk117.default.underline(`https://${depl.url}`) : "";
180520
+ const time = import_chalk118.default.gray(`${(0, import_ms28.default)(Date.now() - depl.createdAt)} ago`);
180521
+ const url3 = depl.url ? import_chalk118.default.underline(`https://${depl.url}`) : "";
180012
180522
  return [` ${depl.id}`, url3, time];
180013
180523
  }),
180014
180524
  { align: ["l", "r", "l"], hsep: 6 }
@@ -180019,7 +180529,7 @@ function readConfirmation4(deployments, projects) {
180019
180529
  for (const depl of deployments) {
180020
180530
  for (const { alias: alias2 } of depl.aliases) {
180021
180531
  output_manager_default.warn(
180022
- `${import_chalk117.default.underline(`https://${alias2}`)} is an alias for ${import_chalk117.default.bold(depl.url)} and will be removed`
180532
+ `${import_chalk118.default.underline(`https://${alias2}`)} is an alias for ${import_chalk118.default.bold(depl.url)} and will be removed`
180023
180533
  );
180024
180534
  }
180025
180535
  }
@@ -180033,12 +180543,12 @@ function readConfirmation4(deployments, projects) {
180033
180543
  `
180034
180544
  );
180035
180545
  for (const project of projects) {
180036
- output_manager_default.print(`${import_chalk117.default.gray("-")} ${import_chalk117.default.bold(project.name)}
180546
+ output_manager_default.print(`${import_chalk118.default.gray("-")} ${import_chalk118.default.bold(project.name)}
180037
180547
  `);
180038
180548
  }
180039
180549
  }
180040
180550
  output_manager_default.print(
180041
- `${import_chalk117.default.bold.red("> Are you sure?")} ${import_chalk117.default.gray("(y/N) ")}`
180551
+ `${import_chalk118.default.bold.red("> Are you sure?")} ${import_chalk118.default.gray("(y/N) ")}`
180042
180552
  );
180043
180553
  process.stdin.on("data", (d) => {
180044
180554
  process.stdin.pause();
@@ -180055,11 +180565,11 @@ function deploymentsAndProjects(deployments, projects, conjunction = "and") {
180055
180565
  }
180056
180566
  return `${(0, import_pluralize11.default)("deployment", deployments.length, true)} ${conjunction} ${(0, import_pluralize11.default)("project", projects.length, true)}`;
180057
180567
  }
180058
- var import_chalk117, import_ms28, import_pluralize11;
180568
+ var import_chalk118, import_ms28, import_pluralize11;
180059
180569
  var init_remove6 = __esm({
180060
180570
  "src/commands/remove/index.ts"() {
180061
180571
  "use strict";
180062
- import_chalk117 = __toESM3(require_source());
180572
+ import_chalk118 = __toESM3(require_source());
180063
180573
  import_ms28 = __toESM3(require_ms());
180064
180574
  import_pluralize11 = __toESM3(require_pluralize());
180065
180575
  init_table();
@@ -180078,7 +180588,7 @@ var init_remove6 = __esm({
180078
180588
  init_error2();
180079
180589
  init_now_error();
180080
180590
  init_help();
180081
- init_command25();
180591
+ init_command27();
180082
180592
  init_get_flags_specification();
180083
180593
  init_remove5();
180084
180594
  init_output_manager();
@@ -180155,7 +180665,7 @@ async function rollbackStatus({
180155
180665
  }
180156
180666
  if (requestedAt < recentThreshold || Date.now() >= rollbackTimeout) {
180157
180667
  output_manager_default.log(
180158
- `The rollback exceeded its deadline - rerun ${import_chalk118.default.bold(
180668
+ `The rollback exceeded its deadline - rerun ${import_chalk119.default.bold(
180159
180669
  `${packageName} rollback ${toDeploymentId}`
180160
180670
  )} to try again`
180161
180671
  );
@@ -180219,26 +180729,26 @@ async function renderJobSucceeded2({
180219
180729
  let deploymentInfo = "";
180220
180730
  try {
180221
180731
  const deployment = await getDeployment(client2, contextName, toDeploymentId);
180222
- deploymentInfo = `${import_chalk118.default.bold(deployment.url)} (${toDeploymentId})`;
180732
+ deploymentInfo = `${import_chalk119.default.bold(deployment.url)} (${toDeploymentId})`;
180223
180733
  } catch (err) {
180224
180734
  output_manager_default.debug(
180225
180735
  `Failed to get deployment url for ${toDeploymentId}: ${err?.toString() || err}`
180226
180736
  );
180227
- deploymentInfo = import_chalk118.default.bold(toDeploymentId);
180737
+ deploymentInfo = import_chalk119.default.bold(toDeploymentId);
180228
180738
  }
180229
180739
  const duration = performingRollback ? elapsed(Date.now() - requestedAt) : "";
180230
180740
  output_manager_default.log(
180231
- `Success! ${import_chalk118.default.bold(
180741
+ `Success! ${import_chalk119.default.bold(
180232
180742
  project.name
180233
180743
  )} was rolled back to ${deploymentInfo} ${duration}`
180234
180744
  );
180235
180745
  return 0;
180236
180746
  }
180237
- var import_chalk118, import_ms29;
180747
+ var import_chalk119, import_ms29;
180238
180748
  var init_status2 = __esm({
180239
180749
  "src/commands/rollback/status.ts"() {
180240
180750
  "use strict";
180241
- import_chalk118 = __toESM3(require_source());
180751
+ import_chalk119 = __toESM3(require_source());
180242
180752
  init_elapsed();
180243
180753
  init_format_date();
180244
180754
  init_get_deployment();
@@ -180270,7 +180780,7 @@ async function requestRollback({
180270
180780
  });
180271
180781
  if (timeout !== void 0 && (0, import_ms30.default)(timeout) === 0) {
180272
180782
  output_manager_default.log(
180273
- `Successfully requested rollback of ${import_chalk119.default.bold(project.name)} to ${deployment.url} (${deployment.id})`
180783
+ `Successfully requested rollback of ${import_chalk120.default.bold(project.name)} to ${deployment.url} (${deployment.id})`
180274
180784
  );
180275
180785
  output_manager_default.log(`To check rollback status, run ${getCommandName("rollback")}.`);
180276
180786
  return 0;
@@ -180283,11 +180793,11 @@ async function requestRollback({
180283
180793
  timeout
180284
180794
  });
180285
180795
  }
180286
- var import_chalk119, import_ms30;
180796
+ var import_chalk120, import_ms30;
180287
180797
  var init_request_rollback = __esm({
180288
180798
  "src/commands/rollback/request-rollback.ts"() {
180289
180799
  "use strict";
180290
- import_chalk119 = __toESM3(require_source());
180800
+ import_chalk120 = __toESM3(require_source());
180291
180801
  init_pkg_name();
180292
180802
  init_get_project_by_deployment();
180293
180803
  import_ms30 = __toESM3(require_ms());
@@ -180351,7 +180861,7 @@ var init_rollback2 = __esm({
180351
180861
  init_request_rollback();
180352
180862
  init_status2();
180353
180863
  init_help();
180354
- init_command26();
180864
+ init_command28();
180355
180865
  init_get_flags_specification();
180356
180866
  init_rollback();
180357
180867
  init_output_manager();
@@ -180718,7 +181228,7 @@ async function rollingRelease(client2) {
180718
181228
  subcommand,
180719
181229
  args: subcommandArgs,
180720
181230
  subcommandOriginal
180721
- } = getSubcommand(client2.argv.slice(3), COMMAND_CONFIG14);
181231
+ } = getSubcommand(client2.argv.slice(3), COMMAND_CONFIG16);
180722
181232
  const needHelp = client2.argv.includes("--help") || client2.argv.includes("-h");
180723
181233
  if (!subcommand && needHelp) {
180724
181234
  telemetry2.trackCliFlagHelp("rolling-release");
@@ -180907,7 +181417,7 @@ async function rollingRelease(client2) {
180907
181417
  }
180908
181418
  default: {
180909
181419
  output_manager_default.debug(`Invalid subcommand: ${subcommand}`);
180910
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG14));
181420
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG16));
180911
181421
  output_manager_default.print(
180912
181422
  help2(rollingReleaseCommand, { columns: client2.stderr.columns })
180913
181423
  );
@@ -180920,14 +181430,14 @@ async function rollingRelease(client2) {
180920
181430
  return 1;
180921
181431
  }
180922
181432
  }
180923
- var COMMAND_CONFIG14;
181433
+ var COMMAND_CONFIG16;
180924
181434
  var init_rolling_release2 = __esm({
180925
181435
  "src/commands/rolling-release/index.ts"() {
180926
181436
  "use strict";
180927
181437
  init_get_args();
180928
181438
  init_get_flags_specification();
180929
181439
  init_help();
180930
- init_command27();
181440
+ init_command29();
180931
181441
  init_request_rolling_release();
180932
181442
  init_start_rolling_release();
180933
181443
  init_configure_rolling_release();
@@ -180941,7 +181451,7 @@ var init_rolling_release2 = __esm({
180941
181451
  init_get_subcommand();
180942
181452
  init_commands();
180943
181453
  init_get_invalid_subcommand();
180944
- COMMAND_CONFIG14 = {
181454
+ COMMAND_CONFIG16 = {
180945
181455
  configure: getCommandAliases(configureSubcommand),
180946
181456
  start: getCommandAliases(startSubcommand),
180947
181457
  approve: getCommandAliases(approveSubcommand),
@@ -180957,17 +181467,17 @@ function formatBranchMatcher(branchMatcher) {
180957
181467
  if (branchMatcher?.type === "equals") {
180958
181468
  return branchMatcher.pattern;
180959
181469
  } else if (branchMatcher?.type === "startsWith") {
180960
- return `${branchMatcher.pattern}${import_chalk120.default.dim("*")}`;
181470
+ return `${branchMatcher.pattern}${import_chalk121.default.dim("*")}`;
180961
181471
  } else if (branchMatcher?.type === "endsWith") {
180962
- return `${import_chalk120.default.dim("*")}${branchMatcher.pattern}`;
181472
+ return `${import_chalk121.default.dim("*")}${branchMatcher.pattern}`;
180963
181473
  }
180964
- return import_chalk120.default.dim("No branch configuration");
181474
+ return import_chalk121.default.dim("No branch configuration");
180965
181475
  }
180966
181476
  async function list7(client2, argv) {
180967
181477
  const { cwd } = client2;
180968
181478
  if (argv.length !== 0) {
180969
181479
  output_manager_default.error(
180970
- `Invalid number of arguments. Usage: ${import_chalk120.default.cyan(
181480
+ `Invalid number of arguments. Usage: ${import_chalk121.default.cyan(
180971
181481
  `${getCommandName("target ls")}`
180972
181482
  )}`
180973
181483
  );
@@ -180991,12 +181501,12 @@ async function list7(client2, argv) {
180991
181501
  const elapsed2 = (0, import_ms32.default)(Date.now() - start);
180992
181502
  result = withDefaultEnvironmentsIncluded(result);
180993
181503
  output_manager_default.log(
180994
- `${result.length} Environment${result.length === 1 ? "" : "s"} found under ${projectSlugLink} ${import_chalk120.default.gray(`[${elapsed2}]`)}`
181504
+ `${result.length} Environment${result.length === 1 ? "" : "s"} found under ${projectSlugLink} ${import_chalk121.default.gray(`[${elapsed2}]`)}`
180995
181505
  );
180996
181506
  const tablePrint = table(
180997
181507
  [
180998
181508
  ["Target Name", "Branch Tracking", "Type", "Updated"].map(
180999
- (header) => import_chalk120.default.bold(import_chalk120.default.cyan(header))
181509
+ (header) => import_chalk121.default.bold(import_chalk121.default.cyan(header))
181000
181510
  ),
181001
181511
  ...result.flatMap((target) => {
181002
181512
  return [
@@ -181004,7 +181514,7 @@ async function list7(client2, argv) {
181004
181514
  formatEnvironment(link4.org.slug, link4.project.name, target),
181005
181515
  BRANCH_TRACKING_MAP[target.type](link4.project, target),
181006
181516
  TYPE_MAP[target.type],
181007
- import_chalk120.default.gray(
181517
+ import_chalk121.default.gray(
181008
181518
  target.updatedAt > 0 ? (0, import_ms32.default)(Date.now() - target.updatedAt) : "-"
181009
181519
  )
181010
181520
  ]
@@ -181051,15 +181561,15 @@ function withDefaultEnvironmentsIncluded(environments) {
181051
181561
  ...environments.slice().sort((a, b) => a.slug.localeCompare(b.slug))
181052
181562
  ];
181053
181563
  }
181054
- var import_ms32, import_chalk120, TYPE_MAP, BRANCH_TRACKING_MAP;
181564
+ var import_ms32, import_chalk121, TYPE_MAP, BRANCH_TRACKING_MAP;
181055
181565
  var init_list11 = __esm({
181056
181566
  "src/commands/target/list.ts"() {
181057
181567
  "use strict";
181058
181568
  import_ms32 = __toESM3(require_ms());
181059
- import_chalk120 = __toESM3(require_source());
181569
+ import_chalk121 = __toESM3(require_source());
181060
181570
  init_table();
181061
181571
  init_output_manager();
181062
- init_command28();
181572
+ init_command30();
181063
181573
  init_pkg_name();
181064
181574
  init_ensure_link();
181065
181575
  init_format_project();
@@ -181071,8 +181581,8 @@ var init_list11 = __esm({
181071
181581
  };
181072
181582
  BRANCH_TRACKING_MAP = {
181073
181583
  production: (project) => project.link?.productionBranch ?? "main",
181074
- preview: (_, env) => env.slug === "preview" ? import_chalk120.default.dim("All unassigned git branches") : formatBranchMatcher(env.branchMatcher),
181075
- development: () => import_chalk120.default.dim("Accessible via CLI")
181584
+ preview: (_, env) => env.slug === "preview" ? import_chalk121.default.dim("All unassigned git branches") : formatBranchMatcher(env.branchMatcher),
181585
+ development: () => import_chalk121.default.dim("Accessible via CLI")
181076
181586
  };
181077
181587
  }
181078
181588
  });
@@ -181097,9 +181607,9 @@ var init_target = __esm({
181097
181607
  // src/commands/target/index.ts
181098
181608
  var target_exports = {};
181099
181609
  __export3(target_exports, {
181100
- default: () => main13
181610
+ default: () => main15
181101
181611
  });
181102
- async function main13(client2) {
181612
+ async function main15(client2) {
181103
181613
  let parsedArgs;
181104
181614
  const flagsSpecification = getFlagsSpecification(targetCommand.options);
181105
181615
  try {
@@ -181139,12 +181649,12 @@ async function main13(client2) {
181139
181649
  telemetry2.trackCliSubcommandList(subcommand);
181140
181650
  return await list7(client2, args2);
181141
181651
  default:
181142
- output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG15));
181652
+ output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG17));
181143
181653
  output_manager_default.print(help2(targetCommand, { columns: client2.stderr.columns }));
181144
181654
  return 2;
181145
181655
  }
181146
181656
  }
181147
- var COMMAND_CONFIG15;
181657
+ var COMMAND_CONFIG17;
181148
181658
  var init_target2 = __esm({
181149
181659
  "src/commands/target/index.ts"() {
181150
181660
  "use strict";
@@ -181152,13 +181662,13 @@ var init_target2 = __esm({
181152
181662
  init_get_invalid_subcommand();
181153
181663
  init_help();
181154
181664
  init_list11();
181155
- init_command28();
181665
+ init_command30();
181156
181666
  init_get_flags_specification();
181157
181667
  init_error2();
181158
181668
  init_output_manager();
181159
181669
  init_target();
181160
181670
  init_commands();
181161
- COMMAND_CONFIG15 = {
181671
+ COMMAND_CONFIG17 = {
181162
181672
  ls: getCommandAliases(listSubcommand8)
181163
181673
  };
181164
181674
  }
@@ -181267,7 +181777,7 @@ async function list8(client2, argv) {
181267
181777
  client2.stdout.write("\n");
181268
181778
  const teamTable = table(
181269
181779
  [
181270
- ["id", "email / name"].map((str) => (0, import_chalk121.gray)(str)),
181780
+ ["id", "email / name"].map((str) => (0, import_chalk122.gray)(str)),
181271
181781
  ...teamList.map((team) => [team.value, team.name])
181272
181782
  ],
181273
181783
  { hsep: 5 }
@@ -181284,13 +181794,13 @@ async function list8(client2, argv) {
181284
181794
  }
181285
181795
  return 0;
181286
181796
  }
181287
- var import_chalk121;
181797
+ var import_chalk122;
181288
181798
  var init_list13 = __esm({
181289
181799
  "src/commands/teams/list.ts"() {
181290
181800
  "use strict";
181291
181801
  init_chars();
181292
181802
  init_table();
181293
- import_chalk121 = __toESM3(require_source());
181803
+ import_chalk122 = __toESM3(require_source());
181294
181804
  init_get_user();
181295
181805
  init_get_teams();
181296
181806
  init_pkg_name();
@@ -181299,7 +181809,7 @@ var init_list13 = __esm({
181299
181809
  init_get_args();
181300
181810
  init_error2();
181301
181811
  init_get_flags_specification();
181302
- init_command29();
181812
+ init_command31();
181303
181813
  init_output_manager();
181304
181814
  init_list12();
181305
181815
  }
@@ -181385,7 +181895,7 @@ Please select a team scope using ${getCommandName(
181385
181895
  return 1;
181386
181896
  }
181387
181897
  output_manager_default.log(
181388
- introMsg || `Inviting team members to ${import_chalk122.default.bold(currentTeam.name)}`
181898
+ introMsg || `Inviting team members to ${import_chalk123.default.bold(currentTeam.name)}`
181389
181899
  );
181390
181900
  telemetry2.trackCliArgumentEmail(emails);
181391
181901
  if (emails.length > 0) {
@@ -181405,10 +181915,10 @@ Please select a team scope using ${getCommandName(
181405
181915
  throw err;
181406
181916
  }
181407
181917
  output_manager_default.log(
181408
- `${import_chalk122.default.cyan(chars_default.tick)} ${email3}${userInfo ? ` (${userInfo})` : ""} ${elapsed2()}`
181918
+ `${import_chalk123.default.cyan(chars_default.tick)} ${email3}${userInfo ? ` (${userInfo})` : ""} ${elapsed2()}`
181409
181919
  );
181410
181920
  } else {
181411
- output_manager_default.log(`${import_chalk122.default.red(`\u2716 ${email3}`)} ${import_chalk122.default.gray("[invalid]")}`);
181921
+ output_manager_default.log(`${import_chalk123.default.red(`\u2716 ${email3}`)} ${import_chalk123.default.gray("[invalid]")}`);
181412
181922
  }
181413
181923
  }
181414
181924
  return 0;
@@ -181441,15 +181951,15 @@ Please select a team scope using ${getCommandName(
181441
181951
  );
181442
181952
  email2 = `${email2}${username ? ` (${username})` : ""} ${elapsed2()}`;
181443
181953
  emails.push(email2);
181444
- output_manager_default.log(`${import_chalk122.default.cyan(chars_default.tick)} ${sentEmailPrefix}${email2}`);
181954
+ output_manager_default.log(`${import_chalk123.default.cyan(chars_default.tick)} ${sentEmailPrefix}${email2}`);
181445
181955
  if (hasError) {
181446
181956
  hasError = false;
181447
181957
  process.stderr.write(eraseLines(emails.length + 2));
181448
181958
  output_manager_default.log(
181449
- introMsg || `Inviting team members to ${import_chalk122.default.bold(currentTeam.name)}`
181959
+ introMsg || `Inviting team members to ${import_chalk123.default.bold(currentTeam.name)}`
181450
181960
  );
181451
181961
  for (const email3 of emails) {
181452
- output_manager_default.log(`${import_chalk122.default.cyan(chars_default.tick)} ${inviteUserPrefix}${email3}`);
181962
+ output_manager_default.log(`${import_chalk123.default.cyan(chars_default.tick)} ${inviteUserPrefix}${email3}`);
181453
181963
  }
181454
181964
  }
181455
181965
  } catch (err) {
@@ -181458,7 +181968,7 @@ Please select a team scope using ${getCommandName(
181458
181968
  output_manager_default.error((0, import_error_utils36.errorToString)(err));
181459
181969
  hasError = true;
181460
181970
  for (const email3 of emails) {
181461
- output_manager_default.log(`${import_chalk122.default.cyan(chars_default.tick)} ${sentEmailPrefix}${email3}`);
181971
+ output_manager_default.log(`${import_chalk123.default.cyan(chars_default.tick)} ${sentEmailPrefix}${email3}`);
181462
181972
  }
181463
181973
  }
181464
181974
  }
@@ -181471,16 +181981,16 @@ Please select a team scope using ${getCommandName(
181471
181981
  } else {
181472
181982
  output_manager_default.success(`Invited ${n} teammate${n > 1 ? "s" : ""}`);
181473
181983
  for (const email3 of emails) {
181474
- output_manager_default.log(`${import_chalk122.default.cyan(chars_default.tick)} ${inviteUserPrefix}${email3}`);
181984
+ output_manager_default.log(`${import_chalk123.default.cyan(chars_default.tick)} ${inviteUserPrefix}${email3}`);
181475
181985
  }
181476
181986
  }
181477
181987
  return 0;
181478
181988
  }
181479
- var import_chalk122, import_error_utils36, validateEmail2, domains;
181989
+ var import_chalk123, import_error_utils36, validateEmail2, domains;
181480
181990
  var init_invite2 = __esm({
181481
181991
  "src/commands/teams/invite.ts"() {
181482
181992
  "use strict";
181483
- import_chalk122 = __toESM3(require_source());
181993
+ import_chalk123 = __toESM3(require_source());
181484
181994
  init_cmd();
181485
181995
  init_stamp();
181486
181996
  init_param();
@@ -181498,7 +182008,7 @@ var init_invite2 = __esm({
181498
182008
  init_get_args();
181499
182009
  init_get_flags_specification();
181500
182010
  init_error2();
181501
- init_command29();
182011
+ init_command31();
181502
182012
  validateEmail2 = (data) => email.test(data.trim()) || data.length === 0;
181503
182013
  domains = Array.from(
181504
182014
  /* @__PURE__ */ new Set([
@@ -181556,7 +182066,7 @@ async function add7(client2) {
181556
182066
  let team;
181557
182067
  let elapsed2;
181558
182068
  output_manager_default.log(
181559
- `Pick a team identifier for its URL (e.g.: ${import_chalk123.default.cyan(
182069
+ `Pick a team identifier for its URL (e.g.: ${import_chalk124.default.cyan(
181560
182070
  "`vercel.com/acme`"
181561
182071
  )})`
181562
182072
  );
@@ -181587,7 +182097,7 @@ async function add7(client2) {
181587
182097
  output_manager_default.stopSpinner();
181588
182098
  process.stdout.write(eraseLines(2));
181589
182099
  output_manager_default.success(`Team created ${elapsed2()}`);
181590
- output_manager_default.log(`${import_chalk123.default.cyan(`${chars_default.tick} `) + teamUrlPrefix + slug}
182100
+ output_manager_default.log(`${import_chalk124.default.cyan(`${chars_default.tick} `) + teamUrlPrefix + slug}
181591
182101
  `);
181592
182102
  output_manager_default.log("Pick a display name for your team");
181593
182103
  let name;
@@ -181610,7 +182120,7 @@ async function add7(client2) {
181610
182120
  process.stdout.write(eraseLines(2));
181611
182121
  team = Object.assign(team, res);
181612
182122
  output_manager_default.success(`Team name saved ${elapsed2()}`);
181613
- output_manager_default.log(`${import_chalk123.default.cyan(`${chars_default.tick} `) + teamNamePrefix + team.name}
182123
+ output_manager_default.log(`${import_chalk124.default.cyan(`${chars_default.tick} `) + teamNamePrefix + team.name}
181614
182124
  `);
181615
182125
  output_manager_default.spinner("Saving");
181616
182126
  client2.config.currentTeam = team.id;
@@ -181624,11 +182134,11 @@ async function add7(client2) {
181624
182134
  });
181625
182135
  return 0;
181626
182136
  }
181627
- var import_chalk123, import_error_utils37, validateSlug, validateName, teamUrlPrefix, teamNamePrefix;
182137
+ var import_chalk124, import_error_utils37, validateSlug, validateName, teamUrlPrefix, teamNamePrefix;
181628
182138
  var init_add13 = __esm({
181629
182139
  "src/commands/teams/add.ts"() {
181630
182140
  "use strict";
181631
- import_chalk123 = __toESM3(require_source());
182141
+ import_chalk124 = __toESM3(require_source());
181632
182142
  init_stamp();
181633
182143
  init_erase_lines();
181634
182144
  init_chars();
@@ -181641,7 +182151,7 @@ var init_add13 = __esm({
181641
182151
  init_output_manager();
181642
182152
  validateSlug = (value) => /^[a-z]+[a-z0-9_-]*$/.test(value);
181643
182153
  validateName = (value) => /^[ a-zA-Z0-9_-]+$/.test(value);
181644
- teamUrlPrefix = "Team URL".padEnd(14) + import_chalk123.default.gray("vercel.com/");
182154
+ teamUrlPrefix = "Team URL".padEnd(14) + import_chalk124.default.gray("vercel.com/");
181645
182155
  teamNamePrefix = "Team Name".padEnd(14);
181646
182156
  }
181647
182157
  });
@@ -181700,7 +182210,7 @@ async function change(client2, argv) {
181700
182210
  let title9 = `${team.name} (${team.slug})`;
181701
182211
  const selected = team.id === currentTeam?.id;
181702
182212
  if (selected) {
181703
- title9 += ` ${import_chalk124.default.bold("(current)")}`;
182213
+ title9 += ` ${import_chalk125.default.bold("(current)")}`;
181704
182214
  }
181705
182215
  if (team.limited) {
181706
182216
  title9 += ` ${emoji("locked")}`;
@@ -181712,7 +182222,7 @@ async function change(client2, argv) {
181712
182222
  selected
181713
182223
  };
181714
182224
  });
181715
- let suffix = personalScopeSelected ? ` ${import_chalk124.default.bold("(current)")}` : "";
182225
+ let suffix = personalScopeSelected ? ` ${import_chalk125.default.bold("(current)")}` : "";
181716
182226
  if (user.limited) {
181717
182227
  suffix += ` ${emoji("locked")}`;
181718
182228
  }
@@ -181758,14 +182268,14 @@ async function change(client2, argv) {
181758
182268
  }
181759
182269
  updateCurrentTeam(config2);
181760
182270
  output_manager_default.success(
181761
- `Your account (${import_chalk124.default.bold(user.username)}) is now active!`
182271
+ `Your account (${import_chalk125.default.bold(user.username)}) is now active!`
181762
182272
  );
181763
182273
  return 0;
181764
182274
  }
181765
182275
  const newTeam = teams2.find((team) => team.slug === desiredSlug);
181766
182276
  if (!newTeam) {
181767
182277
  output_manager_default.error(
181768
- `You do not have permission to access scope ${import_chalk124.default.bold(desiredSlug)}.`
182278
+ `You do not have permission to access scope ${import_chalk125.default.bold(desiredSlug)}.`
181769
182279
  );
181770
182280
  return 1;
181771
182281
  }
@@ -181783,15 +182293,15 @@ async function change(client2, argv) {
181783
182293
  }
181784
182294
  updateCurrentTeam(config2, newTeam);
181785
182295
  output_manager_default.success(
181786
- `The team ${import_chalk124.default.bold(newTeam.name)} (${newTeam.slug}) is now active!`
182296
+ `The team ${import_chalk125.default.bold(newTeam.name)} (${newTeam.slug}) is now active!`
181787
182297
  );
181788
182298
  return 0;
181789
182299
  }
181790
- var import_chalk124, updateCurrentTeam;
182300
+ var import_chalk125, updateCurrentTeam;
181791
182301
  var init_switch2 = __esm({
181792
182302
  "src/commands/teams/switch.ts"() {
181793
182303
  "use strict";
181794
- import_chalk124 = __toESM3(require_source());
182304
+ import_chalk125 = __toESM3(require_source());
181795
182305
  init_emoji();
181796
182306
  init_get_user();
181797
182307
  init_get_teams();
@@ -181799,7 +182309,7 @@ var init_switch2 = __esm({
181799
182309
  init_files();
181800
182310
  init_output_manager();
181801
182311
  init_switch();
181802
- init_command29();
182312
+ init_command31();
181803
182313
  init_get_args();
181804
182314
  init_get_flags_specification();
181805
182315
  init_error2();
@@ -181883,7 +182393,7 @@ async function teams(client2) {
181883
182393
  }
181884
182394
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
181885
182395
  parsedArgs.args.slice(1),
181886
- COMMAND_CONFIG16
182396
+ COMMAND_CONFIG18
181887
182397
  );
181888
182398
  const needHelp = parsedArgs.flags["--help"];
181889
182399
  if (!subcommand && needHelp) {
@@ -181942,7 +182452,7 @@ async function teams(client2) {
181942
182452
  }
181943
182453
  }
181944
182454
  }
181945
- var COMMAND_CONFIG16;
182455
+ var COMMAND_CONFIG18;
181946
182456
  var init_teams2 = __esm({
181947
182457
  "src/commands/teams/index.ts"() {
181948
182458
  "use strict";
@@ -181951,14 +182461,14 @@ var init_teams2 = __esm({
181951
182461
  init_switch2();
181952
182462
  init_invite2();
181953
182463
  init_get_args();
181954
- init_command29();
182464
+ init_command31();
181955
182465
  init_help();
181956
182466
  init_get_flags_specification();
181957
182467
  init_error2();
181958
182468
  init_teams();
181959
182469
  init_output_manager();
181960
182470
  init_get_subcommand();
181961
- COMMAND_CONFIG16 = {
182471
+ COMMAND_CONFIG18 = {
181962
182472
  list: ["ls", "list"],
181963
182473
  switch: ["switch", "change"],
181964
182474
  add: ["create", "add"],
@@ -181970,13 +182480,13 @@ var init_teams2 = __esm({
181970
182480
  // src/commands/telemetry/status.ts
181971
182481
  async function status(client2) {
181972
182482
  const enabled = client2.config.telemetry?.enabled !== false;
181973
- const status2 = enabled ? import_chalk125.default.green("Enabled") : import_chalk125.default.red("Disabled");
182483
+ const status2 = enabled ? import_chalk126.default.green("Enabled") : import_chalk126.default.red("Disabled");
181974
182484
  output_manager_default.print("\n");
181975
- output_manager_default.log(`${import_chalk125.default.bold("Telemetry status")}: ${status2}
182485
+ output_manager_default.log(`${import_chalk126.default.bold("Telemetry status")}: ${status2}
181976
182486
  `);
181977
182487
  const learnMoreMessage = `
181978
182488
 
181979
- Learn more: ${import_chalk125.default.cyan("https://vercel.com/docs/cli/about-telemetry")}`;
182489
+ Learn more: ${import_chalk126.default.cyan("https://vercel.com/docs/cli/about-telemetry")}`;
181980
182490
  if (enabled) {
181981
182491
  output_manager_default.log(`You have opted in to Vercel CLI telemetry${learnMoreMessage}`);
181982
182492
  } else {
@@ -181987,11 +182497,11 @@ Learn more: ${import_chalk125.default.cyan("https://vercel.com/docs/cli/about-te
181987
182497
  }
181988
182498
  return 0;
181989
182499
  }
181990
- var import_chalk125;
182500
+ var import_chalk126;
181991
182501
  var init_status3 = __esm({
181992
182502
  "src/commands/telemetry/status.ts"() {
181993
182503
  "use strict";
181994
- import_chalk125 = __toESM3(require_source());
182504
+ import_chalk126 = __toESM3(require_source());
181995
182505
  init_output_manager();
181996
182506
  }
181997
182507
  });
@@ -182127,7 +182637,7 @@ async function telemetry(client2) {
182127
182637
  }
182128
182638
  const { subcommand, args: args2, subcommandOriginal } = getSubcommand(
182129
182639
  parsedArguments.args.slice(1),
182130
- COMMAND_CONFIG17
182640
+ COMMAND_CONFIG19
182131
182641
  );
182132
182642
  const needHelp = parsedArguments.flags["--help"];
182133
182643
  function printHelp(command) {
@@ -182172,7 +182682,7 @@ async function telemetry(client2) {
182172
182682
  default: {
182173
182683
  const errorMessage = parsedArguments.args.length !== 2 ? "Invalid number of arguments" : "Invalid subcommand";
182174
182684
  output_manager_default.print(
182175
- `${import_chalk126.default.red("Error")}: ${errorMessage}. See help instructions for usage:
182685
+ `${import_chalk127.default.red("Error")}: ${errorMessage}. See help instructions for usage:
182176
182686
  `
182177
182687
  );
182178
182688
  output_manager_default.print(help2(telemetryCommand, { columns: client2.stderr.columns }));
@@ -182180,7 +182690,7 @@ async function telemetry(client2) {
182180
182690
  }
182181
182691
  }
182182
182692
  }
182183
- var import_chalk126, COMMAND_CONFIG17;
182693
+ var import_chalk127, COMMAND_CONFIG19;
182184
182694
  var init_telemetry3 = __esm({
182185
182695
  "src/commands/telemetry/index.ts"() {
182186
182696
  "use strict";
@@ -182192,13 +182702,13 @@ var init_telemetry3 = __esm({
182192
182702
  init_enable();
182193
182703
  init_disable();
182194
182704
  init_flush();
182195
- init_command30();
182705
+ init_command32();
182196
182706
  init_get_flags_specification();
182197
182707
  init_telemetry2();
182198
- import_chalk126 = __toESM3(require_source());
182708
+ import_chalk127 = __toESM3(require_source());
182199
182709
  init_output_manager();
182200
182710
  init_commands();
182201
- COMMAND_CONFIG17 = {
182711
+ COMMAND_CONFIG19 = {
182202
182712
  status: getCommandAliases(statusSubcommand3),
182203
182713
  enable: getCommandAliases(enableSubcommand),
182204
182714
  disable: getCommandAliases(disableSubcommand),
@@ -182255,7 +182765,7 @@ var init_whoami2 = __esm({
182255
182765
  "src/commands/whoami/index.ts"() {
182256
182766
  "use strict";
182257
182767
  init_help();
182258
- init_command31();
182768
+ init_command33();
182259
182769
  init_get_scope();
182260
182770
  init_get_args();
182261
182771
  init_get_flags_specification();
@@ -182269,8 +182779,8 @@ var init_whoami2 = __esm({
182269
182779
  var import_error_utils38 = __toESM3(require_dist2());
182270
182780
  var import_path40 = require("path");
182271
182781
  var import_fs8 = require("fs");
182272
- var import_fs_extra23 = __toESM3(require_lib());
182273
- var import_chalk127 = __toESM3(require_source());
182782
+ var import_fs_extra24 = __toESM3(require_lib());
182783
+ var import_chalk128 = __toESM3(require_source());
182274
182784
  var import_epipebomb = __toESM3(require_epipebomb());
182275
182785
 
182276
182786
  // src/util/get-latest-version/index.ts
@@ -182696,6 +183206,12 @@ var RootTelemetryClient = class extends TelemetryClient {
182696
183206
  value: actual
182697
183207
  });
182698
183208
  }
183209
+ trackCliCommandCache(actual) {
183210
+ this.trackCliCommand({
183211
+ command: "cache",
183212
+ value: actual
183213
+ });
183214
+ }
182699
183215
  trackCliCommandCerts(actual) {
182700
183216
  this.trackCliCommand({
182701
183217
  command: "certs",
@@ -182804,6 +183320,12 @@ var RootTelemetryClient = class extends TelemetryClient {
182804
183320
  value: actual
182805
183321
  });
182806
183322
  }
183323
+ trackCliCommandMicrofrontends(actual) {
183324
+ this.trackCliCommand({
183325
+ command: "microfrontends",
183326
+ value: actual
183327
+ });
183328
+ }
182807
183329
  trackCliCommandProject(actual) {
182808
183330
  this.trackCliCommand({
182809
183331
  command: "project",
@@ -182966,6 +183488,7 @@ var help = () => `
182966
183488
  "(default)"
182967
183489
  )}
182968
183490
  build Build the project locally into './vercel/output'
183491
+ cache [cmd] Manages cache for your current Project
182969
183492
  dev Start a local development server
182970
183493
  env Manages the Environment Variables for your current Project
182971
183494
  git Manage Git provider repository for your current Project
@@ -182992,6 +183515,7 @@ var help = () => `
182992
183515
  dns [name] Manages your DNS records
182993
183516
  domains [name] Manages your domain names
182994
183517
  logs [url] Displays the logs for a deployment
183518
+ microfrontends Manages your microfrontends
182995
183519
  projects Manages your Projects
182996
183520
  rm | remove [id] Removes a deployment
182997
183521
  teams Manages your teams
@@ -183091,7 +183615,7 @@ try {
183091
183615
  originalError(msg);
183092
183616
  };
183093
183617
  }
183094
- var VERCEL_DIR3 = global_path_default();
183618
+ var VERCEL_DIR4 = global_path_default();
183095
183619
  var VERCEL_CONFIG_PATH = getConfigFilePath();
183096
183620
  var VERCEL_AUTH_CONFIG_PATH = getAuthConfigFilePath();
183097
183621
  var GLOBAL_COMMANDS = /* @__PURE__ */ new Set(["help"]);
@@ -183104,7 +183628,7 @@ Sentry.init({
183104
183628
  var client;
183105
183629
  var { isTTY: isTTY2 } = process.stdout;
183106
183630
  var apiUrl = "https://api.vercel.com";
183107
- var main14 = async () => {
183631
+ var main16 = async () => {
183108
183632
  if (process.env.FORCE_TTY === "1") {
183109
183633
  isTTY2 = true;
183110
183634
  process.stdout.isTTY = true;
@@ -183155,13 +183679,13 @@ var main14 = async () => {
183155
183679
  const betaCommands = [];
183156
183680
  if (betaCommands.includes(targetOrSubcommand)) {
183157
183681
  output_manager_default.print(
183158
- `${import_chalk127.default.grey(
183682
+ `${import_chalk128.default.grey(
183159
183683
  `${getTitleName()} CLI ${pkg_default.version} ${targetOrSubcommand} (beta) \u2014 https://vercel.com/feedback`
183160
183684
  )}
183161
183685
  `
183162
183686
  );
183163
183687
  } else {
183164
- output_manager_default.print(`${import_chalk127.default.grey(`${getTitleName()} CLI ${pkg_default.version}`)}
183688
+ output_manager_default.print(`${import_chalk128.default.grey(`${getTitleName()} CLI ${pkg_default.version}`)}
183165
183689
  `);
183166
183690
  }
183167
183691
  if (!targetOrSubcommand && parsedArgs.flags["--version"]) {
@@ -183175,11 +183699,11 @@ var main14 = async () => {
183175
183699
  return 2;
183176
183700
  }
183177
183701
  try {
183178
- await (0, import_fs_extra23.mkdirp)(VERCEL_DIR3);
183702
+ await (0, import_fs_extra24.mkdirp)(VERCEL_DIR4);
183179
183703
  } catch (err) {
183180
183704
  output_manager_default.error(
183181
183705
  `An unexpected error occurred while trying to create the global directory "${humanizePath(
183182
- VERCEL_DIR3
183706
+ VERCEL_DIR4
183183
183707
  )}" ${(0, import_error_utils38.errorToString)(err)}`
183184
183708
  );
183185
183709
  return 1;
@@ -183343,7 +183867,7 @@ var main14 = async () => {
183343
183867
  printError(error3);
183344
183868
  return 1;
183345
183869
  }
183346
- output_manager_default.debug(`Saved credentials in "${humanizePath(VERCEL_DIR3)}"`);
183870
+ output_manager_default.debug(`Saved credentials in "${humanizePath(VERCEL_DIR4)}"`);
183347
183871
  } else {
183348
183872
  output_manager_default.prettyError({
183349
183873
  message: `No existing credentials found. Please run ${getCommandName("login")} or pass ${param("--token")}`,
@@ -183490,6 +184014,10 @@ var main14 = async () => {
183490
184014
  telemetry2.trackCliCommandBuild(userSuppliedSubCommand);
183491
184015
  func = (init_build2(), __toCommonJS3(build_exports)).default;
183492
184016
  break;
184017
+ case "cache":
184018
+ telemetry2.trackCliCommandCache(userSuppliedSubCommand);
184019
+ func = (init_cache2(), __toCommonJS3(cache_exports)).default;
184020
+ break;
183493
184021
  case "certs":
183494
184022
  telemetry2.trackCliCommandCerts(userSuppliedSubCommand);
183495
184023
  func = (init_certs2(), __toCommonJS3(certs_exports)).default;
@@ -183559,6 +184087,10 @@ var main14 = async () => {
183559
184087
  telemetry2.trackCliCommandLogout(userSuppliedSubCommand);
183560
184088
  func = (init_logout2(), __toCommonJS3(logout_exports)).default;
183561
184089
  break;
184090
+ case "microfrontends":
184091
+ telemetry2.trackCliCommandMicrofrontends(userSuppliedSubCommand);
184092
+ func = (init_microfrontends2(), __toCommonJS3(microfrontends_exports)).default;
184093
+ break;
183562
184094
  case "project":
183563
184095
  telemetry2.trackCliCommandProject(userSuppliedSubCommand);
183564
184096
  func = (init_project2(), __toCommonJS3(project_exports)).default;
@@ -183698,27 +184230,27 @@ ${err.stack}`);
183698
184230
  };
183699
184231
  process.on("unhandledRejection", handleRejection);
183700
184232
  process.on("uncaughtException", handleUnexpected);
183701
- main14().then(async (exitCode2) => {
184233
+ main16().then(async (exitCode2) => {
183702
184234
  if (isTTY2 && !process.env.NO_UPDATE_NOTIFIER) {
183703
184235
  const latest = getLatestVersion({
183704
184236
  pkg: pkg_default
183705
184237
  });
183706
184238
  if (latest) {
183707
184239
  const changelog = "https://github.com/vercel/vercel/releases";
183708
- const errorMsg = exitCode2 && exitCode2 !== 2 ? import_chalk127.default.magenta(
184240
+ const errorMsg = exitCode2 && exitCode2 !== 2 ? import_chalk128.default.magenta(
183709
184241
  `
183710
184242
 
183711
- The latest update ${import_chalk127.default.italic(
184243
+ The latest update ${import_chalk128.default.italic(
183712
184244
  "may"
183713
184245
  )} fix any errors that occurred.`
183714
184246
  ) : "";
183715
184247
  output_manager_default.print(
183716
184248
  box(
183717
- `Update available! ${import_chalk127.default.gray(`v${pkg_default.version}`)} \u226B ${import_chalk127.default.green(
184249
+ `Update available! ${import_chalk128.default.gray(`v${pkg_default.version}`)} \u226B ${import_chalk128.default.green(
183718
184250
  `v${latest}`
183719
184251
  )}
183720
184252
  Changelog: ${output_manager_default.link(changelog, changelog, { fallback: false })}
183721
- Run ${import_chalk127.default.cyan(cmd(await getUpdateCommand()))} to update.${errorMsg}`
184253
+ Run ${import_chalk128.default.cyan(cmd(await getUpdateCommand()))} to update.${errorMsg}`
183722
184254
  )
183723
184255
  );
183724
184256
  output_manager_default.print("\n\n");