@shopify/cli 3.86.1 → 3.87.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 (101) hide show
  1. package/README.md +2 -1
  2. package/dist/assets/dev-console/extensions/dev-console/assets/index-0hw3R_TS.css +1 -0
  3. package/dist/assets/dev-console/index.html +2 -2
  4. package/dist/{chunk-2LK4JXAI.js → chunk-43MAAODZ.js} +29 -17
  5. package/dist/{chunk-B7H344JI.js → chunk-4RMT22ZG.js} +116 -97
  6. package/dist/{chunk-QZSPMSF2.js → chunk-4X3OSIUW.js} +18 -6
  7. package/dist/{chunk-AU6C5SPW.js → chunk-6CKI4ZVA.js} +8 -8
  8. package/dist/{chunk-NOHJOQVR.js → chunk-77FBLQSY.js} +3 -3
  9. package/dist/{chunk-K45JWD7H.js → chunk-DX2IC6MA.js} +25 -8
  10. package/dist/chunk-EZQWZ57B.js +53 -0
  11. package/dist/{chunk-YXTZTRRV.js → chunk-FBDL6M34.js} +4 -4
  12. package/dist/{chunk-HUR6MF6D.js → chunk-GK3L6WCO.js} +8 -8
  13. package/dist/{chunk-4MSYMXAX.js → chunk-GPKHDSF5.js} +2 -2
  14. package/dist/{chunk-A5RXDG36.js → chunk-GV3VXLHN.js} +7 -7
  15. package/dist/{chunk-KCMYZRDH.js → chunk-H3HXI5FI.js} +5 -5
  16. package/dist/{chunk-MZWHWEIR.js → chunk-H5JSK6HV.js} +2 -2
  17. package/dist/{chunk-AM4QB5OM.js → chunk-HMDWNGIV.js} +100 -206
  18. package/dist/{chunk-6VIQUXXO.js → chunk-HMJUSDS7.js} +2 -2
  19. package/dist/{chunk-GNW7DUJ5.js → chunk-ILCR5V7H.js} +2 -2
  20. package/dist/{chunk-AXMPBUZL.js → chunk-JJ3N36EZ.js} +3 -3
  21. package/dist/{chunk-6FH6AJI5.js → chunk-KUJQ4AB6.js} +103 -2
  22. package/dist/{chunk-ZKG22PUU.js → chunk-KW37WO42.js} +4 -4
  23. package/dist/{chunk-PANEHHGV.js → chunk-LMVYXPIS.js} +22 -9
  24. package/dist/{chunk-52OB52S5.js → chunk-LVH6EINO.js} +5 -5
  25. package/dist/{chunk-VGDJLENI.js → chunk-LWFYEQVC.js} +4 -4
  26. package/dist/{chunk-J4HWHB57.js → chunk-MJ2CC5UF.js} +4 -4
  27. package/dist/{chunk-E7SRX5ME.js → chunk-NKJY5K45.js} +4 -4
  28. package/dist/{chunk-YRJLM3MZ.js → chunk-PE3YDRXC.js} +2 -2
  29. package/dist/{chunk-4WBTBFNC.js → chunk-PU7263L3.js} +4 -4
  30. package/dist/{chunk-2WTSZOXI.js → chunk-PW5V2LBK.js} +3 -3
  31. package/dist/{chunk-PBZI5MOK.js → chunk-QIIIG73M.js} +61 -187
  32. package/dist/{chunk-SQNWVF3V.js → chunk-R7GPNRH3.js} +2 -2
  33. package/dist/{chunk-RQD77XVF.js → chunk-TVAQLJIT.js} +3 -3
  34. package/dist/{chunk-CZE7TCFI.js → chunk-TY4JIQTU.js} +3 -3
  35. package/dist/{chunk-IPWP4QG4.js → chunk-U4EHUN6F.js} +5 -5
  36. package/dist/{chunk-UB7QY2VF.js → chunk-U6SKVYZN.js} +3 -3
  37. package/dist/{chunk-J6JPAWCE.js → chunk-UQLUAYP7.js} +2 -2
  38. package/dist/{chunk-AAHIUMCI.js → chunk-VDMWZFUE.js} +3 -3
  39. package/dist/{chunk-X2YIODUW.js → chunk-VLBE545G.js} +15 -1237
  40. package/dist/{chunk-TDSRWKL2.js → chunk-VQVENW26.js} +6 -6
  41. package/dist/{chunk-NAPXIWWP.js → chunk-VRRM2VMH.js} +6 -6
  42. package/dist/{chunk-F2V6FX7R.js → chunk-WM77PTR2.js} +4 -4
  43. package/dist/chunk-XB6A45UN.js +80 -0
  44. package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
  45. package/dist/{chunk-PPM7JU6X.js → chunk-ZWG6Y7VK.js} +3 -3
  46. package/dist/cli/commands/auth/login.js +16 -13
  47. package/dist/cli/commands/auth/login.test.js +18 -15
  48. package/dist/cli/commands/auth/logout.js +16 -13
  49. package/dist/cli/commands/auth/logout.test.js +18 -15
  50. package/dist/cli/commands/cache/clear.js +16 -13
  51. package/dist/cli/commands/debug/command-flags.js +16 -13
  52. package/dist/cli/commands/docs/generate.js +16 -13
  53. package/dist/cli/commands/docs/generate.test.js +17 -14
  54. package/dist/cli/commands/help.js +16 -13
  55. package/dist/cli/commands/kitchen-sink/async.js +17 -14
  56. package/dist/cli/commands/kitchen-sink/async.test.js +18 -15
  57. package/dist/cli/commands/kitchen-sink/index.js +19 -16
  58. package/dist/cli/commands/kitchen-sink/index.test.js +20 -17
  59. package/dist/cli/commands/kitchen-sink/prompts.js +17 -14
  60. package/dist/cli/commands/kitchen-sink/prompts.test.js +18 -15
  61. package/dist/cli/commands/kitchen-sink/static.js +17 -14
  62. package/dist/cli/commands/kitchen-sink/static.test.js +18 -15
  63. package/dist/cli/commands/notifications/generate.js +17 -14
  64. package/dist/cli/commands/notifications/list.js +17 -14
  65. package/dist/cli/commands/search.js +17 -14
  66. package/dist/cli/commands/upgrade.js +17 -14
  67. package/dist/cli/commands/upgrade.test.js +1 -1
  68. package/dist/cli/commands/version.js +17 -14
  69. package/dist/cli/commands/version.test.js +18 -15
  70. package/dist/cli/services/commands/notifications.js +12 -9
  71. package/dist/cli/services/commands/search.js +8 -5
  72. package/dist/cli/services/commands/search.test.js +9 -6
  73. package/dist/cli/services/commands/version.js +9 -6
  74. package/dist/cli/services/commands/version.test.js +11 -8
  75. package/dist/cli/services/kitchen-sink/async.js +8 -5
  76. package/dist/cli/services/kitchen-sink/prompts.js +8 -5
  77. package/dist/cli/services/kitchen-sink/static.js +8 -5
  78. package/dist/cli/services/upgrade.js +9 -6
  79. package/dist/cli/services/upgrade.test.js +11 -8
  80. package/dist/{custom-oclif-loader-IB5J422L.js → custom-oclif-loader-QBK7WNIL.js} +18 -11
  81. package/dist/{del-DIPVIUR3.js → del-E4LJOSMR.js} +6 -6
  82. package/dist/{error-handler-CU4DBAA4.js → error-handler-YWRJD3ZX.js} +14 -11
  83. package/dist/hooks/postrun.js +14 -72
  84. package/dist/hooks/prerun.js +13 -10
  85. package/dist/{http-proxy-node16-K5X7BUK5.js → http-proxy-node16-VGGP6PLA.js} +5 -5
  86. package/dist/index.js +2878 -1671
  87. package/dist/{lib-EMZRCLCJ.js → lib-G7Q5M6VX.js} +4 -3
  88. package/dist/{local-PYV7PNUD.js → local-DU2CZ6Z3.js} +8 -5
  89. package/dist/{magic-string.es-UZAAPNRE.js → magic-string.es-S5HKFBJX.js} +5 -6
  90. package/dist/{morph-EGK76SED.js → morph-37GC7LQM.js} +16 -20
  91. package/dist/{node-package-manager-BCGA26RH.js → node-package-manager-W22PEMMM.js} +9 -6
  92. package/dist/{npa-LHT53SWR.js → npa-E675GQOI.js} +5 -3
  93. package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
  94. package/dist/tsconfig.tsbuildinfo +1 -1
  95. package/dist/{ui-7POT36Q5.js → ui-GTBNK773.js} +8 -5
  96. package/dist/{workerd-UA5IB4IF.js → workerd-CT4T6SDW.js} +18 -17
  97. package/oclif.manifest.json +95 -127
  98. package/package.json +8 -8
  99. package/dist/assets/dev-console/extensions/dev-console/assets/index-BteeGmYf.css +0 -1
  100. package/dist/chunk-IWFYXDPH.js +0 -109
  101. /package/dist/assets/dev-console/extensions/dev-console/assets/{index-Cj8WCHlM.js → index-C12jKScn.js} +0 -0
@@ -1,21 +1,26 @@
1
1
  import {
2
2
  require_ansi_styles,
3
- require_brace_expansion,
4
- require_lib,
5
- require_semver
6
- } from "./chunk-X2YIODUW.js";
3
+ require_lib
4
+ } from "./chunk-VLBE545G.js";
7
5
  import {
8
6
  require_has_flag
9
7
  } from "./chunk-UMUTXITN.js";
10
8
  import {
9
+ require_semver
10
+ } from "./chunk-HMDWNGIV.js";
11
+ import {
12
+ require_brace_expansion,
11
13
  require_source_map
12
- } from "./chunk-6FH6AJI5.js";
14
+ } from "./chunk-KUJQ4AB6.js";
13
15
  import {
14
16
  require_lib as require_lib2
15
17
  } from "./chunk-Q2H6D2MH.js";
16
18
  import {
17
19
  require_graceful_fs
18
20
  } from "./chunk-6ONJEX7Y.js";
21
+ import {
22
+ require_out
23
+ } from "./chunk-CTFDRWUN.js";
19
24
  import {
20
25
  cwd,
21
26
  delimiter,
@@ -24,7 +29,7 @@ import {
24
29
  normalizePath,
25
30
  relativizePath,
26
31
  sniffForPath
27
- } from "./chunk-EG6MBBEN.js";
32
+ } from "./chunk-Y2JP6WFP.js";
28
33
  import {
29
34
  __commonJS,
30
35
  __esm,
@@ -21807,36 +21812,36 @@ var require_templates = __commonJS({
21807
21812
  }
21808
21813
  return results;
21809
21814
  }
21810
- function buildStyle(chalk2, styles6) {
21815
+ function buildStyle(chalk2, styles5) {
21811
21816
  let enabled = {};
21812
- for (let layer of styles6)
21817
+ for (let layer of styles5)
21813
21818
  for (let style of layer.styles)
21814
21819
  enabled[style[0]] = layer.inverse ? null : style.slice(1);
21815
21820
  let current = chalk2;
21816
- for (let [styleName, styles7] of Object.entries(enabled))
21817
- if (Array.isArray(styles7)) {
21821
+ for (let [styleName, styles6] of Object.entries(enabled))
21822
+ if (Array.isArray(styles6)) {
21818
21823
  if (!(styleName in current))
21819
21824
  throw new Error(`Unknown Chalk style: ${styleName}`);
21820
- current = styles7.length > 0 ? current[styleName](...styles7) : current[styleName];
21825
+ current = styles6.length > 0 ? current[styleName](...styles6) : current[styleName];
21821
21826
  }
21822
21827
  return current;
21823
21828
  }
21824
21829
  module.exports = (chalk2, temporary) => {
21825
- let styles6 = [], chunks = [], chunk = [];
21830
+ let styles5 = [], chunks = [], chunk = [];
21826
21831
  if (temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {
21827
21832
  if (escapeCharacter)
21828
21833
  chunk.push(unescape3(escapeCharacter));
21829
21834
  else if (style) {
21830
21835
  let string = chunk.join("");
21831
- chunk = [], chunks.push(styles6.length === 0 ? string : buildStyle(chalk2, styles6)(string)), styles6.push({ inverse, styles: parseStyle(style) });
21836
+ chunk = [], chunks.push(styles5.length === 0 ? string : buildStyle(chalk2, styles5)(string)), styles5.push({ inverse, styles: parseStyle(style) });
21832
21837
  } else if (close) {
21833
- if (styles6.length === 0)
21838
+ if (styles5.length === 0)
21834
21839
  throw new Error("Found extraneous } in Chalk template literal");
21835
- chunks.push(buildStyle(chalk2, styles6)(chunk.join(""))), chunk = [], styles6.pop();
21840
+ chunks.push(buildStyle(chalk2, styles5)(chunk.join(""))), chunk = [], styles5.pop();
21836
21841
  } else
21837
21842
  chunk.push(character);
21838
- }), chunks.push(chunk.join("")), styles6.length > 0) {
21839
- let errMessage = `Chalk template literal is missing ${styles6.length} closing bracket${styles6.length === 1 ? "" : "s"} (\`}\`)`;
21843
+ }), chunks.push(chunk.join("")), styles5.length > 0) {
21844
+ let errMessage = `Chalk template literal is missing ${styles5.length} closing bracket${styles5.length === 1 ? "" : "s"} (\`}\`)`;
21840
21845
  throw new Error(errMessage);
21841
21846
  }
21842
21847
  return chunks.join("");
@@ -21849,7 +21854,7 @@ var require_source = __commonJS({
21849
21854
  "../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module) {
21850
21855
  "use strict";
21851
21856
  init_cjs_shims();
21852
- var ansiStyles4 = require_ansi_styles(), { stdout: stdoutColor2, stderr: stderrColor2 } = require_supports_color(), {
21857
+ var ansiStyles3 = require_ansi_styles(), { stdout: stdoutColor2, stderr: stderrColor2 } = require_supports_color(), {
21853
21858
  stringReplaceAll: stringReplaceAll2,
21854
21859
  stringEncaseCRLFWithFirstIndex: stringEncaseCRLFWithFirstIndex2
21855
21860
  } = require_util2(), { isArray } = Array, levelMapping2 = [
@@ -21857,7 +21862,7 @@ var require_source = __commonJS({
21857
21862
  "ansi",
21858
21863
  "ansi256",
21859
21864
  "ansi16m"
21860
- ], styles6 = /* @__PURE__ */ Object.create(null), applyOptions2 = (object, options = {}) => {
21865
+ ], styles5 = /* @__PURE__ */ Object.create(null), applyOptions2 = (object, options = {}) => {
21861
21866
  if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3))
21862
21867
  throw new Error("The `level` option should be an integer from 0 to 3");
21863
21868
  let colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
@@ -21875,14 +21880,14 @@ var require_source = __commonJS({
21875
21880
  function Chalk(options) {
21876
21881
  return chalkFactory2(options);
21877
21882
  }
21878
- for (let [styleName, style] of Object.entries(ansiStyles4))
21879
- styles6[styleName] = {
21883
+ for (let [styleName, style] of Object.entries(ansiStyles3))
21884
+ styles5[styleName] = {
21880
21885
  get() {
21881
21886
  let builder = createBuilder2(this, createStyler2(style.open, style.close, this._styler), this._isEmpty);
21882
21887
  return Object.defineProperty(this, styleName, { value: builder }), builder;
21883
21888
  }
21884
21889
  };
21885
- styles6.visible = {
21890
+ styles5.visible = {
21886
21891
  get() {
21887
21892
  let builder = createBuilder2(this, this._styler, !0);
21888
21893
  return Object.defineProperty(this, "visible", { value: builder }), builder;
@@ -21890,22 +21895,22 @@ var require_source = __commonJS({
21890
21895
  };
21891
21896
  var usedModels2 = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
21892
21897
  for (let model of usedModels2)
21893
- styles6[model] = {
21898
+ styles5[model] = {
21894
21899
  get() {
21895
21900
  let { level } = this;
21896
21901
  return function(...arguments_) {
21897
- let styler = createStyler2(ansiStyles4.color[levelMapping2[level]][model](...arguments_), ansiStyles4.color.close, this._styler);
21902
+ let styler = createStyler2(ansiStyles3.color[levelMapping2[level]][model](...arguments_), ansiStyles3.color.close, this._styler);
21898
21903
  return createBuilder2(this, styler, this._isEmpty);
21899
21904
  };
21900
21905
  }
21901
21906
  };
21902
21907
  for (let model of usedModels2) {
21903
21908
  let bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
21904
- styles6[bgModel] = {
21909
+ styles5[bgModel] = {
21905
21910
  get() {
21906
21911
  let { level } = this;
21907
21912
  return function(...arguments_) {
21908
- let styler = createStyler2(ansiStyles4.bgColor[levelMapping2[level]][model](...arguments_), ansiStyles4.bgColor.close, this._styler);
21913
+ let styler = createStyler2(ansiStyles3.bgColor[levelMapping2[level]][model](...arguments_), ansiStyles3.bgColor.close, this._styler);
21909
21914
  return createBuilder2(this, styler, this._isEmpty);
21910
21915
  };
21911
21916
  }
@@ -21913,7 +21918,7 @@ var require_source = __commonJS({
21913
21918
  }
21914
21919
  var proto2 = Object.defineProperties(() => {
21915
21920
  }, {
21916
- ...styles6,
21921
+ ...styles5,
21917
21922
  level: {
21918
21923
  enumerable: !0,
21919
21924
  get() {
@@ -21960,7 +21965,7 @@ var require_source = __commonJS({
21960
21965
  );
21961
21966
  return template === void 0 && (template = require_templates()), template(chalk3, parts.join(""));
21962
21967
  };
21963
- Object.defineProperties(Chalk.prototype, styles6);
21968
+ Object.defineProperties(Chalk.prototype, styles5);
21964
21969
  var chalk2 = Chalk();
21965
21970
  chalk2.supportsColor = stdoutColor2;
21966
21971
  chalk2.stderr = Chalk({ level: stderrColor2 ? stderrColor2.level : 0 });
@@ -24553,6 +24558,7 @@ minimatch.escape = escape;
24553
24558
  minimatch.unescape = unescape2;
24554
24559
 
24555
24560
  // ../cli-kit/dist/public/node/fs.js
24561
+ var import_fast_glob = __toESM(require_out(), 1);
24556
24562
  import { mkdirSync as fsMkdirSync, readFileSync as fsReadFileSync, writeFileSync as fsWriteFileSync, appendFileSync as fsAppendFileSync, statSync as fsStatSync, createReadStream as fsCreateReadStream, createWriteStream as fsCreateWriteStream, constants as fsConstants, existsSync as fsFileExistsSync, unlinkSync as fsUnlinkSync, accessSync, statSync } from "fs";
24557
24563
  import { mkdir as fsMkdir, writeFile as fsWriteFile, readFile as fsReadFile, realpath as fsRealPath, appendFile as fsAppendFile, mkdtemp as fsMkdtemp, stat as fsStat, lstat as fsLstat, chmod as fsChmod, access as fsAccess, rename as fsRename, unlink as fsUnlink, readdir as fsReaddir } from "fs/promises";
24558
24564
  async function inTemporaryDirectory(callback) {
@@ -24605,12 +24611,15 @@ function removeFileSync(path8) {
24605
24611
  outputDebug(outputContent`Sync-removing file at ${outputToken.path(path8)}...`), removeSync(path8);
24606
24612
  }
24607
24613
  async function rmdir(path8, options = {}) {
24608
- let { default: del } = await import("./del-DIPVIUR3.js");
24614
+ let { default: del } = await import("./del-E4LJOSMR.js");
24609
24615
  outputDebug(outputContent`Removing directory at ${outputToken.path(path8)}...`), await del(path8, { force: options.force });
24610
24616
  }
24611
24617
  async function isDirectory(path8) {
24612
24618
  return outputDebug(outputContent`Checking if ${outputToken.path(path8)} is a directory...`), (await fsLstat(path8)).isDirectory();
24613
24619
  }
24620
+ function isDirectorySync(path8) {
24621
+ return outputDebug(outputContent`Checking if ${outputToken.path(path8)} is a directory...`), fsStatSync(path8).isDirectory();
24622
+ }
24614
24623
  async function fileSize(path8) {
24615
24624
  return outputDebug(outputContent`Getting the size of file file at ${outputToken.path(path8)}...`), (await fsStat(path8)).size;
24616
24625
  }
@@ -24689,6 +24698,10 @@ async function glob(pattern, options) {
24689
24698
  let { default: fastGlob } = await import("./out-NKJPLKLB.js"), overridenOptions = options;
24690
24699
  return options?.dot == null && (overridenOptions = { ...options, dot: !0 }), fastGlob(pattern, overridenOptions);
24691
24700
  }
24701
+ function globSync(pattern, options) {
24702
+ let overridenOptions = options;
24703
+ return options?.dot == null && (overridenOptions = { ...options, dot: !0 }), import_fast_glob.default.sync(pattern, overridenOptions);
24704
+ }
24692
24705
  async function findPathUp(matcher, options) {
24693
24706
  let got = await findUp(matcher, options);
24694
24707
  return got ? normalizePath(got) : void 0;
@@ -27525,13 +27538,10 @@ init_cjs_shims();
27525
27538
  // ../../node_modules/.pnpm/strip-ansi@7.1.0/node_modules/strip-ansi/index.js
27526
27539
  init_cjs_shims();
27527
27540
 
27528
- // ../../node_modules/.pnpm/ansi-regex@6.1.0/node_modules/ansi-regex/index.js
27541
+ // ../../node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
27529
27542
  init_cjs_shims();
27530
27543
  function ansiRegex({ onlyFirst = !1 } = {}) {
27531
- let pattern = [
27532
- "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))",
27533
- "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"
27534
- ].join("|");
27544
+ let pattern = "(?:\\u001B\\][\\s\\S]*?(?:\\u0007|\\u001B\\u005C|\\u009C))|[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
27535
27545
  return new RegExp(pattern, onlyFirst ? void 0 : "g");
27536
27546
  }
27537
27547
 
@@ -27602,7 +27612,7 @@ init_cjs_shims();
27602
27612
  // ../../node_modules/.pnpm/wrap-ansi@8.1.0/node_modules/wrap-ansi/index.js
27603
27613
  init_cjs_shims();
27604
27614
 
27605
- // ../../node_modules/.pnpm/ansi-styles@6.2.1/node_modules/ansi-styles/index.js
27615
+ // ../../node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
27606
27616
  init_cjs_shims();
27607
27617
  var wrapAnsi162 = (offset = 0) => (code) => `\x1B[${code + offset}m`, wrapAnsi2562 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m2 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, styles3 = {
27608
27618
  modifier: {
@@ -27682,11 +27692,13 @@ function assembleStyles2() {
27682
27692
  enumerable: !1
27683
27693
  }), styles3.color.close = "\x1B[39m", styles3.bgColor.close = "\x1B[49m", styles3.color.ansi = wrapAnsi162(), styles3.color.ansi256 = wrapAnsi2562(), styles3.color.ansi16m = wrapAnsi16m2(), styles3.bgColor.ansi = wrapAnsi162(10), styles3.bgColor.ansi256 = wrapAnsi2562(10), styles3.bgColor.ansi16m = wrapAnsi16m2(10), Object.defineProperties(styles3, {
27684
27694
  rgbToAnsi256: {
27685
- value: (red, green, blue) => red === green && green === blue ? red < 8 ? 16 : red > 248 ? 231 : Math.round((red - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5),
27695
+ value(red, green, blue) {
27696
+ return red === green && green === blue ? red < 8 ? 16 : red > 248 ? 231 : Math.round((red - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
27697
+ },
27686
27698
  enumerable: !1
27687
27699
  },
27688
27700
  hexToRgb: {
27689
- value: (hex) => {
27701
+ value(hex) {
27690
27702
  let matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
27691
27703
  if (!matches)
27692
27704
  return [0, 0, 0];
@@ -27708,7 +27720,7 @@ function assembleStyles2() {
27708
27720
  enumerable: !1
27709
27721
  },
27710
27722
  ansi256ToAnsi: {
27711
- value: (code) => {
27723
+ value(code) {
27712
27724
  if (code < 8)
27713
27725
  return 30 + code;
27714
27726
  if (code < 16)
@@ -27838,147 +27850,6 @@ function isFullwidthCodePoint(codePoint) {
27838
27850
  131072 <= codePoint && codePoint <= 262141) : !1;
27839
27851
  }
27840
27852
 
27841
- // ../../node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
27842
- init_cjs_shims();
27843
- var wrapAnsi163 = (offset = 0) => (code) => `\x1B[${code + offset}m`, wrapAnsi2563 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m3 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, styles4 = {
27844
- modifier: {
27845
- reset: [0, 0],
27846
- // 21 isn't widely supported and 22 does the same thing
27847
- bold: [1, 22],
27848
- dim: [2, 22],
27849
- italic: [3, 23],
27850
- underline: [4, 24],
27851
- overline: [53, 55],
27852
- inverse: [7, 27],
27853
- hidden: [8, 28],
27854
- strikethrough: [9, 29]
27855
- },
27856
- color: {
27857
- black: [30, 39],
27858
- red: [31, 39],
27859
- green: [32, 39],
27860
- yellow: [33, 39],
27861
- blue: [34, 39],
27862
- magenta: [35, 39],
27863
- cyan: [36, 39],
27864
- white: [37, 39],
27865
- // Bright color
27866
- blackBright: [90, 39],
27867
- gray: [90, 39],
27868
- // Alias of `blackBright`
27869
- grey: [90, 39],
27870
- // Alias of `blackBright`
27871
- redBright: [91, 39],
27872
- greenBright: [92, 39],
27873
- yellowBright: [93, 39],
27874
- blueBright: [94, 39],
27875
- magentaBright: [95, 39],
27876
- cyanBright: [96, 39],
27877
- whiteBright: [97, 39]
27878
- },
27879
- bgColor: {
27880
- bgBlack: [40, 49],
27881
- bgRed: [41, 49],
27882
- bgGreen: [42, 49],
27883
- bgYellow: [43, 49],
27884
- bgBlue: [44, 49],
27885
- bgMagenta: [45, 49],
27886
- bgCyan: [46, 49],
27887
- bgWhite: [47, 49],
27888
- // Bright color
27889
- bgBlackBright: [100, 49],
27890
- bgGray: [100, 49],
27891
- // Alias of `bgBlackBright`
27892
- bgGrey: [100, 49],
27893
- // Alias of `bgBlackBright`
27894
- bgRedBright: [101, 49],
27895
- bgGreenBright: [102, 49],
27896
- bgYellowBright: [103, 49],
27897
- bgBlueBright: [104, 49],
27898
- bgMagentaBright: [105, 49],
27899
- bgCyanBright: [106, 49],
27900
- bgWhiteBright: [107, 49]
27901
- }
27902
- }, modifierNames3 = Object.keys(styles4.modifier), foregroundColorNames3 = Object.keys(styles4.color), backgroundColorNames3 = Object.keys(styles4.bgColor), colorNames3 = [...foregroundColorNames3, ...backgroundColorNames3];
27903
- function assembleStyles3() {
27904
- let codes = /* @__PURE__ */ new Map();
27905
- for (let [groupName, group] of Object.entries(styles4)) {
27906
- for (let [styleName, style] of Object.entries(group))
27907
- styles4[styleName] = {
27908
- open: `\x1B[${style[0]}m`,
27909
- close: `\x1B[${style[1]}m`
27910
- }, group[styleName] = styles4[styleName], codes.set(style[0], style[1]);
27911
- Object.defineProperty(styles4, groupName, {
27912
- value: group,
27913
- enumerable: !1
27914
- });
27915
- }
27916
- return Object.defineProperty(styles4, "codes", {
27917
- value: codes,
27918
- enumerable: !1
27919
- }), styles4.color.close = "\x1B[39m", styles4.bgColor.close = "\x1B[49m", styles4.color.ansi = wrapAnsi163(), styles4.color.ansi256 = wrapAnsi2563(), styles4.color.ansi16m = wrapAnsi16m3(), styles4.bgColor.ansi = wrapAnsi163(10), styles4.bgColor.ansi256 = wrapAnsi2563(10), styles4.bgColor.ansi16m = wrapAnsi16m3(10), Object.defineProperties(styles4, {
27920
- rgbToAnsi256: {
27921
- value(red, green, blue) {
27922
- return red === green && green === blue ? red < 8 ? 16 : red > 248 ? 231 : Math.round((red - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
27923
- },
27924
- enumerable: !1
27925
- },
27926
- hexToRgb: {
27927
- value(hex) {
27928
- let matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
27929
- if (!matches)
27930
- return [0, 0, 0];
27931
- let [colorString] = matches;
27932
- colorString.length === 3 && (colorString = [...colorString].map((character) => character + character).join(""));
27933
- let integer = Number.parseInt(colorString, 16);
27934
- return [
27935
- /* eslint-disable no-bitwise */
27936
- integer >> 16 & 255,
27937
- integer >> 8 & 255,
27938
- integer & 255
27939
- /* eslint-enable no-bitwise */
27940
- ];
27941
- },
27942
- enumerable: !1
27943
- },
27944
- hexToAnsi256: {
27945
- value: (hex) => styles4.rgbToAnsi256(...styles4.hexToRgb(hex)),
27946
- enumerable: !1
27947
- },
27948
- ansi256ToAnsi: {
27949
- value(code) {
27950
- if (code < 8)
27951
- return 30 + code;
27952
- if (code < 16)
27953
- return 90 + (code - 8);
27954
- let red, green, blue;
27955
- if (code >= 232)
27956
- red = ((code - 232) * 10 + 8) / 255, green = red, blue = red;
27957
- else {
27958
- code -= 16;
27959
- let remainder = code % 36;
27960
- red = Math.floor(code / 36) / 5, green = Math.floor(remainder / 6) / 5, blue = remainder % 6 / 5;
27961
- }
27962
- let value = Math.max(red, green, blue) * 2;
27963
- if (value === 0)
27964
- return 30;
27965
- let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
27966
- return value === 2 && (result += 60), result;
27967
- },
27968
- enumerable: !1
27969
- },
27970
- rgbToAnsi: {
27971
- value: (red, green, blue) => styles4.ansi256ToAnsi(styles4.rgbToAnsi256(red, green, blue)),
27972
- enumerable: !1
27973
- },
27974
- hexToAnsi: {
27975
- value: (hex) => styles4.ansi256ToAnsi(styles4.hexToAnsi256(hex)),
27976
- enumerable: !1
27977
- }
27978
- }), styles4;
27979
- }
27980
- var ansiStyles3 = assembleStyles3(), ansi_styles_default3 = ansiStyles3;
27981
-
27982
27853
  // ../../node_modules/.pnpm/slice-ansi@5.0.0/node_modules/slice-ansi/index.js
27983
27854
  var astralRegex = /^[\uD800-\uDBFF][\uDC00-\uDFFF]$/, ESCAPES2 = [
27984
27855
  "\x1B",
@@ -27989,7 +27860,7 @@ var astralRegex = /^[\uD800-\uDBFF][\uDC00-\uDFFF]$/, ESCAPES2 = [
27989
27860
  for (let ansiCode of ansiCodes) {
27990
27861
  let ansiCodeOrigin = ansiCode;
27991
27862
  ansiCode.includes(";") && (ansiCode = ansiCode.split(";")[0][0] + "0");
27992
- let item = ansi_styles_default3.codes.get(Number.parseInt(ansiCode, 10));
27863
+ let item = ansi_styles_default2.codes.get(Number.parseInt(ansiCode, 10));
27993
27864
  if (item) {
27994
27865
  let indexEscape = ansiCodes.indexOf(item.toString());
27995
27866
  indexEscape === -1 ? output2.push(wrapAnsi2(isEscapes ? item : ansiCodeOrigin)) : ansiCodes.splice(indexEscape, 1);
@@ -28000,7 +27871,7 @@ var astralRegex = /^[\uD800-\uDBFF][\uDC00-\uDFFF]$/, ESCAPES2 = [
28000
27871
  output2.push(wrapAnsi2(ansiCodeOrigin));
28001
27872
  }
28002
27873
  if (isEscapes && (output2 = output2.filter((element, index) => output2.indexOf(element) === index), endAnsiCode !== void 0)) {
28003
- let fistEscapeCode = wrapAnsi2(ansi_styles_default3.codes.get(Number.parseInt(endAnsiCode, 10)));
27874
+ let fistEscapeCode = wrapAnsi2(ansi_styles_default2.codes.get(Number.parseInt(endAnsiCode, 10)));
28004
27875
  output2 = output2.reduce((current, next) => next === fistEscapeCode ? [next, ...current] : [...current, next], []);
28005
27876
  }
28006
27877
  return output2.join("");
@@ -28186,9 +28057,9 @@ var applyPositionStyles = (node, style) => {
28186
28057
  }
28187
28058
  }, applyGapStyles = (node, style) => {
28188
28059
  "gap" in style && node.setGap(Yoga.GUTTER_ALL, style.gap ?? 0), "columnGap" in style && node.setGap(Yoga.GUTTER_COLUMN, style.columnGap ?? 0), "rowGap" in style && node.setGap(Yoga.GUTTER_ROW, style.rowGap ?? 0);
28189
- }, styles5 = (node, style = {}) => {
28060
+ }, styles4 = (node, style = {}) => {
28190
28061
  applyPositionStyles(node, style), applyMarginStyles(node, style), applyPaddingStyles(node, style), applyFlexStyles(node, style), applyDimensionStyles(node, style), applyDisplayStyles(node, style), applyBorderStyles(node, style), applyGapStyles(node, style);
28191
- }, styles_default = styles5;
28062
+ }, styles_default = styles4;
28192
28063
 
28193
28064
  // ../../node_modules/.pnpm/ink@4.4.1_@types+react@17.0.2_react@18.3.1/node_modules/ink/build/reconciler.js
28194
28065
  if (process10.env.DEV === "true")
@@ -30336,7 +30207,7 @@ function errorMessageImpliesEnvironmentIssue(message) {
30336
30207
 
30337
30208
  // ../cli-kit/dist/public/node/abort.js
30338
30209
  init_cjs_shims();
30339
- var import_node_abort_controller = __toESM(require_node_abort_controller()), AbortController = class extends import_node_abort_controller.AbortController {
30210
+ var import_node_abort_controller = __toESM(require_node_abort_controller(), 1), AbortController = class extends import_node_abort_controller.AbortController {
30340
30211
  }, AbortSignal = class extends import_node_abort_controller.AbortSignal {
30341
30212
  };
30342
30213
 
@@ -30367,7 +30238,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
30367
30238
  try {
30368
30239
  await getAndSet();
30369
30240
  } catch (error) {
30370
- let { sendErrorToBugsnag } = await import("./error-handler-CU4DBAA4.js");
30241
+ let { sendErrorToBugsnag } = await import("./error-handler-YWRJD3ZX.js");
30371
30242
  await sendErrorToBugsnag(error, "unexpected_error");
30372
30243
  }
30373
30244
  }, durationStack = [];
@@ -32111,8 +31982,9 @@ export {
32111
31982
  require_scheduler,
32112
31983
  require_react_reconciler,
32113
31984
  require_constants,
31985
+ ansiRegex,
32114
31986
  stripAnsi,
32115
- ansi_styles_default3 as ansi_styles_default,
31987
+ ansi_styles_default2 as ansi_styles_default,
32116
31988
  sliceAnsi,
32117
31989
  indentString,
32118
31990
  require_cli_boxes,
@@ -32286,6 +32158,7 @@ export {
32286
32158
  removeFileSync,
32287
32159
  rmdir,
32288
32160
  isDirectory,
32161
+ isDirectorySync,
32289
32162
  fileSize,
32290
32163
  fileSizeSync,
32291
32164
  unlinkFileSync,
@@ -32302,6 +32175,7 @@ export {
32302
32175
  fileExistsSync,
32303
32176
  generateRandomNameForSubdirectory,
32304
32177
  glob,
32178
+ globSync,
32305
32179
  findPathUp,
32306
32180
  matchGlob,
32307
32181
  readdir,
@@ -32418,4 +32292,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32418
32292
  * LICENSE file in the root directory of this source tree.
32419
32293
  *)
32420
32294
  */
32421
- //# sourceMappingURL=chunk-PBZI5MOK.js.map
32295
+ //# sourceMappingURL=chunk-QIIIG73M.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.86.1";
7
+ var CLI_KIT_VERSION = "3.87.0";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-SQNWVF3V.js.map
12
+ //# sourceMappingURL=chunk-R7GPNRH3.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-K45JWD7H.js";
3
+ } from "./chunk-DX2IC6MA.js";
4
4
  import {
5
5
  require_lib
6
- } from "./chunk-X2YIODUW.js";
6
+ } from "./chunk-VLBE545G.js";
7
7
  import {
8
8
  __toESM,
9
9
  init_cjs_shims
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
46
46
  export {
47
47
  HelpCommand
48
48
  };
49
- //# sourceMappingURL=chunk-RQD77XVF.js.map
49
+ //# sourceMappingURL=chunk-TVAQLJIT.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-MZWHWEIR.js";
3
+ } from "./chunk-H5JSK6HV.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-K45JWD7H.js";
6
+ } from "./chunk-DX2IC6MA.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkAsync
27
27
  };
28
- //# sourceMappingURL=chunk-CZE7TCFI.js.map
28
+ //# sourceMappingURL=chunk-TY4JIQTU.js.map
@@ -2,13 +2,13 @@ import {
2
2
  fetchNotifications,
3
3
  getNotifications,
4
4
  stringifyFilters
5
- } from "./chunk-NAPXIWWP.js";
5
+ } from "./chunk-VRRM2VMH.js";
6
6
  import {
7
7
  randomUUID
8
- } from "./chunk-PANEHHGV.js";
8
+ } from "./chunk-LMVYXPIS.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-SQNWVF3V.js";
11
+ } from "./chunk-R7GPNRH3.js";
12
12
  import {
13
13
  outputInfo,
14
14
  renderSelectPrompt,
@@ -16,7 +16,7 @@ import {
16
16
  renderTable,
17
17
  renderTextPrompt,
18
18
  writeFile
19
- } from "./chunk-PBZI5MOK.js";
19
+ } from "./chunk-QIIIG73M.js";
20
20
  import {
21
21
  init_cjs_shims
22
22
  } from "./chunk-PKR7KJ6P.js";
@@ -103,4 +103,4 @@ export {
103
103
  generate,
104
104
  list
105
105
  };
106
- //# sourceMappingURL=chunk-IPWP4QG4.js.map
106
+ //# sourceMappingURL=chunk-U4EHUN6F.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-SQNWVF3V.js";
3
+ } from "./chunk-R7GPNRH3.js";
4
4
  import {
5
5
  outputResult
6
- } from "./chunk-PBZI5MOK.js";
6
+ } from "./chunk-QIIIG73M.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -17,4 +17,4 @@ async function versionService() {
17
17
  export {
18
18
  versionService
19
19
  };
20
- //# sourceMappingURL=chunk-UB7QY2VF.js.map
20
+ //# sourceMappingURL=chunk-U6SKVYZN.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-PBZI5MOK.js";
4
+ } from "./chunk-QIIIG73M.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-J6JPAWCE.js.map
36
+ //# sourceMappingURL=chunk-UQLUAYP7.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-QZSPMSF2.js";
3
+ } from "./chunk-4X3OSIUW.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-PBZI5MOK.js";
9
+ } from "./chunk-QIIIG73M.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ export {
25
25
  cliInstallCommand,
26
26
  getOutputUpdateCLIReminder
27
27
  };
28
- //# sourceMappingURL=chunk-AAHIUMCI.js.map
28
+ //# sourceMappingURL=chunk-VDMWZFUE.js.map