@shopify/cli 3.82.1 → 3.83.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/{chokidar-TTCYG5AA.js → chokidar-KCZH6DIC.js} +5 -5
  2. package/dist/{chokidar-XUA2BN3J.js → chokidar-XPSJ2FUJ.js} +5 -5
  3. package/dist/{chunk-QDLC5TZP.js → chunk-2ZA3MHM5.js} +3 -3
  4. package/dist/{chunk-LPU2VGJR.js → chunk-3FBDJEGD.js} +6153 -11319
  5. package/dist/{chunk-IHFQ3F23.js → chunk-4BPSIIGV.js} +3 -3
  6. package/dist/{chunk-EE5FOU6D.js → chunk-57SXE5DE.js} +2 -2
  7. package/dist/{chunk-TRPRYAWB.js → chunk-5BJYF6FG.js} +4 -4
  8. package/dist/{chunk-7E5ELMEP.js → chunk-5QFLNCVR.js} +6 -6
  9. package/dist/{chunk-F7J5CUMZ.js → chunk-66VZYBID.js} +4 -4
  10. package/dist/{chunk-JFCQDJFN.js → chunk-7EV36FNO.js} +12 -12
  11. package/dist/{chunk-MOIB2YST.js → chunk-7KLV4YSY.js} +2 -2
  12. package/dist/{chunk-TOYQ6OGF.js → chunk-A6DFWCO7.js} +4 -4
  13. package/dist/{chunk-YPVB6B34.js → chunk-ARXCCKJT.js} +9 -9
  14. package/dist/{chunk-LHLR2V5J.js → chunk-ASWHWSRF.js} +2 -2
  15. package/dist/{chunk-B2IEJ5WW.js → chunk-BZBO3V3A.js} +4 -4
  16. package/dist/{chunk-YN4HBUI3.js → chunk-BZFP2O66.js} +7 -7
  17. package/dist/{chunk-API6SOPE.js → chunk-DDU22ZPL.js} +3 -3
  18. package/dist/{chunk-YJPCY2LS.js → chunk-DFABOPSU.js} +4 -4
  19. package/dist/{chunk-UENXYFT3.js → chunk-DVGCJLCA.js} +12 -10
  20. package/dist/{chunk-CLFWIHUG.js → chunk-FEMALH67.js} +4 -4
  21. package/dist/{chunk-SFDHLWEI.js → chunk-FNYLJESL.js} +4 -4
  22. package/dist/{chunk-MPCIJZRR.js → chunk-JEW6HZHJ.js} +3 -3
  23. package/dist/{chunk-5NCPSAFZ.js → chunk-K5GF4S7D.js} +2 -2
  24. package/dist/{chunk-AE3MLJMV.js → chunk-KPFBSWRK.js} +779 -24
  25. package/dist/{chunk-W7ISQU7I.js → chunk-KSLA767C.js} +2 -2
  26. package/dist/{chunk-HPTCTDPD.js → chunk-NJN55E4K.js} +4 -4
  27. package/dist/{chunk-OSWJJWB4.js → chunk-PPDGMVCL.js} +5 -5
  28. package/dist/{chunk-VOPDBKMR.js → chunk-QNMWKLS4.js} +3 -3
  29. package/dist/{chunk-IXOKLO2J.js → chunk-RDAZS4FZ.js} +8 -8
  30. package/dist/{chunk-MBYV3HFV.js → chunk-SJYNVNUB.js} +3 -3
  31. package/dist/{chunk-2UOPOSAQ.js → chunk-SUA462JY.js} +5 -5
  32. package/dist/{chunk-6HSVIAHC.js → chunk-TB443RFG.js} +14 -12
  33. package/dist/{chunk-M4TCGXII.js → chunk-TLYRIQK7.js} +7 -7
  34. package/dist/chunk-UV5N2VL7.js +39 -0
  35. package/dist/{chunk-7AGM22KG.js → chunk-UZIJLLPI.js} +3 -3
  36. package/dist/{chunk-SRBYTZSG.js → chunk-XI6AXLZO.js} +4 -4
  37. package/dist/{chunk-RBHXB7LY.js → chunk-XOIMWH77.js} +2 -2
  38. package/dist/{chunk-GCPVC7EU.js → chunk-XVZQHSFP.js} +5 -5
  39. package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
  40. package/dist/{chunk-N4LQOIDN.js → chunk-ZQMRVJXG.js} +3 -3
  41. package/dist/cli/commands/auth/logout.js +16 -18
  42. package/dist/cli/commands/auth/logout.test.js +17 -19
  43. package/dist/cli/commands/cache/clear.js +15 -17
  44. package/dist/cli/commands/debug/command-flags.d.ts +1 -1
  45. package/dist/cli/commands/debug/command-flags.js +15 -17
  46. package/dist/cli/commands/docs/generate.js +15 -17
  47. package/dist/cli/commands/docs/generate.test.js +15 -17
  48. package/dist/cli/commands/help.d.ts +2 -2
  49. package/dist/cli/commands/help.js +15 -17
  50. package/dist/cli/commands/kitchen-sink/async.js +16 -18
  51. package/dist/cli/commands/kitchen-sink/async.test.js +16 -18
  52. package/dist/cli/commands/kitchen-sink/index.js +18 -20
  53. package/dist/cli/commands/kitchen-sink/index.test.js +18 -20
  54. package/dist/cli/commands/kitchen-sink/prompts.js +16 -18
  55. package/dist/cli/commands/kitchen-sink/prompts.test.js +16 -18
  56. package/dist/cli/commands/kitchen-sink/static.js +16 -18
  57. package/dist/cli/commands/kitchen-sink/static.test.js +16 -18
  58. package/dist/cli/commands/notifications/generate.js +16 -18
  59. package/dist/cli/commands/notifications/list.d.ts +1 -1
  60. package/dist/cli/commands/notifications/list.js +16 -18
  61. package/dist/cli/commands/search.d.ts +1 -1
  62. package/dist/cli/commands/search.js +16 -18
  63. package/dist/cli/commands/upgrade.js +16 -18
  64. package/dist/cli/commands/version.js +16 -18
  65. package/dist/cli/commands/version.test.js +16 -18
  66. package/dist/cli/services/commands/notifications.js +11 -13
  67. package/dist/cli/services/commands/search.js +7 -9
  68. package/dist/cli/services/commands/search.test.js +7 -9
  69. package/dist/cli/services/commands/version.js +8 -10
  70. package/dist/cli/services/commands/version.test.js +9 -11
  71. package/dist/cli/services/kitchen-sink/async.js +7 -9
  72. package/dist/cli/services/kitchen-sink/prompts.js +7 -9
  73. package/dist/cli/services/kitchen-sink/static.js +7 -9
  74. package/dist/cli/services/upgrade.js +8 -10
  75. package/dist/cli/services/upgrade.test.js +9 -11
  76. package/dist/configs/all.yml +9 -0
  77. package/dist/configs/recommended.yml +9 -0
  78. package/dist/{custom-oclif-loader-SQEUSZSS.js → custom-oclif-loader-XASCYJ7O.js} +7 -9
  79. package/dist/data/filters.json +40 -0
  80. package/dist/data/latest.json +1 -1
  81. package/dist/data/objects.json +28 -16
  82. package/dist/data/tags.json +7 -7
  83. package/dist/data/translations.json +9 -2
  84. package/dist/{chunk-FAITFLRX.js → del-SAZHGAZZ.js} +372 -42
  85. package/dist/{error-handler-EUTRPJGF.js → error-handler-HQBVO3GI.js} +13 -15
  86. package/dist/hooks/postrun.js +11 -13
  87. package/dist/hooks/prerun.js +12 -14
  88. package/dist/{http-proxy-LHSVRGJ5.js → http-proxy-node16-T623PGD4.js} +37 -29
  89. package/dist/index.js +20782 -20289
  90. package/dist/{lib-2ZBT3UR2.js → lib-OSXFX3I2.js} +4 -5
  91. package/dist/{local-DTWKQE2A.js → local-PI2REOYY.js} +7 -9
  92. package/dist/{morph-DFRO3NRL.js → morph-5LWJDWYB.js} +5 -5
  93. package/dist/{node-MZOMVUI6.js → node-NAYZANSZ.js} +17 -19
  94. package/dist/{node-package-manager-NJGCZMAX.js → node-package-manager-RVDETLBX.js} +8 -10
  95. package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
  96. package/dist/tsconfig.tsbuildinfo +1 -1
  97. package/dist/{ui-OUT2NXBE.js → ui-RDFVKEJS.js} +7 -9
  98. package/dist/{workerd-JR3RQRVU.js → workerd-XLT4ZWI5.js} +17 -19
  99. package/oclif.manifest.json +212 -1
  100. package/package.json +14 -12
  101. package/dist/del-4JSTEFDW.js +0 -375
@@ -2,24 +2,26 @@ import {
2
2
  require_merge2,
3
3
  require_out
4
4
  } from "./chunk-CTFDRWUN.js";
5
+ import {
6
+ require_is_glob
7
+ } from "./chunk-7IK72W75.js";
8
+ import {
9
+ require_glob
10
+ } from "./chunk-IG5SOACB.js";
11
+ import "./chunk-SHWOPMLQ.js";
12
+ import {
13
+ require_graceful_fs
14
+ } from "./chunk-75LV6AQS.js";
15
+ import {
16
+ require_indent_string
17
+ } from "./chunk-UV5N2VL7.js";
18
+ import "./chunk-XE5EOEBL.js";
5
19
  import {
6
20
  __commonJS,
7
21
  __require,
8
22
  init_cjs_shims
9
23
  } from "./chunk-PKR7KJ6P.js";
10
24
 
11
- // ../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
12
- var require_slash = __commonJS({
13
- "../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(exports, module) {
14
- "use strict";
15
- init_cjs_shims();
16
- module.exports = (path) => {
17
- let isExtendedLengthPath = /^\\\\\?\\/.test(path), hasNonAscii = /[^\u0000-\u0080]+/.test(path);
18
- return isExtendedLengthPath || hasNonAscii ? path : path.replace(/\\/g, "/");
19
- };
20
- }
21
- });
22
-
23
25
  // ../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js
24
26
  var require_array_union = __commonJS({
25
27
  "../../node_modules/.pnpm/array-union@2.1.0/node_modules/array-union/index.js"(exports, module) {
@@ -407,6 +409,18 @@ var require_ignore = __commonJS({
407
409
  }
408
410
  });
409
411
 
412
+ // ../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js
413
+ var require_slash = __commonJS({
414
+ "../../node_modules/.pnpm/slash@3.0.0/node_modules/slash/index.js"(exports, module) {
415
+ "use strict";
416
+ init_cjs_shims();
417
+ module.exports = (path) => {
418
+ let isExtendedLengthPath = /^\\\\\?\\/.test(path), hasNonAscii = /[^\u0000-\u0080]+/.test(path);
419
+ return isExtendedLengthPath || hasNonAscii ? path : path.replace(/\\/g, "/");
420
+ };
421
+ }
422
+ });
423
+
410
424
  // ../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js
411
425
  var require_gitignore = __commonJS({
412
426
  "../../node_modules/.pnpm/globby@11.1.0/node_modules/globby/gitignore.js"(exports, module) {
@@ -594,39 +608,355 @@ var require_globby = __commonJS({
594
608
  }
595
609
  });
596
610
 
597
- // ../../node_modules/.pnpm/indent-string@4.0.0/node_modules/indent-string/index.js
598
- var require_indent_string = __commonJS({
599
- "../../node_modules/.pnpm/indent-string@4.0.0/node_modules/indent-string/index.js"(exports, module) {
611
+ // ../../node_modules/.pnpm/is-path-cwd@2.2.0/node_modules/is-path-cwd/index.js
612
+ var require_is_path_cwd = __commonJS({
613
+ "../../node_modules/.pnpm/is-path-cwd@2.2.0/node_modules/is-path-cwd/index.js"(exports, module) {
600
614
  "use strict";
601
615
  init_cjs_shims();
602
- module.exports = (string, count = 1, options) => {
603
- if (options = {
604
- indent: " ",
605
- includeEmptyLines: !1,
606
- ...options
607
- }, typeof string != "string")
608
- throw new TypeError(
609
- `Expected \`input\` to be a \`string\`, got \`${typeof string}\``
610
- );
611
- if (typeof count != "number")
612
- throw new TypeError(
613
- `Expected \`count\` to be a \`number\`, got \`${typeof count}\``
614
- );
615
- if (typeof options.indent != "string")
616
- throw new TypeError(
617
- `Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``
618
- );
619
- if (count === 0)
620
- return string;
621
- let regex = options.includeEmptyLines ? /^/gm : /^(?!\s*$)/gm;
622
- return string.replace(regex, options.indent.repeat(count));
616
+ var path = __require("path");
617
+ module.exports = (path_) => {
618
+ let cwd = process.cwd();
619
+ return path_ = path.resolve(path_), process.platform === "win32" && (cwd = cwd.toLowerCase(), path_ = path_.toLowerCase()), path_ === cwd;
620
+ };
621
+ }
622
+ });
623
+
624
+ // ../../node_modules/.pnpm/is-path-inside@3.0.3/node_modules/is-path-inside/index.js
625
+ var require_is_path_inside = __commonJS({
626
+ "../../node_modules/.pnpm/is-path-inside@3.0.3/node_modules/is-path-inside/index.js"(exports, module) {
627
+ "use strict";
628
+ init_cjs_shims();
629
+ var path = __require("path");
630
+ module.exports = (childPath, parentPath) => {
631
+ let relation = path.relative(parentPath, childPath);
632
+ return !!(relation && relation !== ".." && !relation.startsWith(`..${path.sep}`) && relation !== path.resolve(childPath));
633
+ };
634
+ }
635
+ });
636
+
637
+ // ../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js
638
+ var require_rimraf = __commonJS({
639
+ "../../node_modules/.pnpm/rimraf@3.0.2/node_modules/rimraf/rimraf.js"(exports, module) {
640
+ init_cjs_shims();
641
+ var assert = __require("assert"), path = __require("path"), fs = __require("fs"), glob;
642
+ try {
643
+ glob = require_glob();
644
+ } catch {
645
+ }
646
+ var defaultGlobOpts = {
647
+ nosort: !0,
648
+ silent: !0
649
+ }, timeout = 0, isWindows = process.platform === "win32", defaults = (options) => {
650
+ if ([
651
+ "unlink",
652
+ "chmod",
653
+ "stat",
654
+ "lstat",
655
+ "rmdir",
656
+ "readdir"
657
+ ].forEach((m) => {
658
+ options[m] = options[m] || fs[m], m = m + "Sync", options[m] = options[m] || fs[m];
659
+ }), options.maxBusyTries = options.maxBusyTries || 3, options.emfileWait = options.emfileWait || 1e3, options.glob === !1 && (options.disableGlob = !0), options.disableGlob !== !0 && glob === void 0)
660
+ throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");
661
+ options.disableGlob = options.disableGlob || !1, options.glob = options.glob || defaultGlobOpts;
662
+ }, rimraf = (p, options, cb) => {
663
+ typeof options == "function" && (cb = options, options = {}), assert(p, "rimraf: missing path"), assert.equal(typeof p, "string", "rimraf: path should be a string"), assert.equal(typeof cb, "function", "rimraf: callback function required"), assert(options, "rimraf: invalid options argument provided"), assert.equal(typeof options, "object", "rimraf: options should be object"), defaults(options);
664
+ let busyTries = 0, errState = null, n = 0, next = (er) => {
665
+ errState = errState || er, --n === 0 && cb(errState);
666
+ }, afterGlob = (er, results) => {
667
+ if (er)
668
+ return cb(er);
669
+ if (n = results.length, n === 0)
670
+ return cb();
671
+ results.forEach((p2) => {
672
+ let CB = (er2) => {
673
+ if (er2) {
674
+ if ((er2.code === "EBUSY" || er2.code === "ENOTEMPTY" || er2.code === "EPERM") && busyTries < options.maxBusyTries)
675
+ return busyTries++, setTimeout(() => rimraf_(p2, options, CB), busyTries * 100);
676
+ if (er2.code === "EMFILE" && timeout < options.emfileWait)
677
+ return setTimeout(() => rimraf_(p2, options, CB), timeout++);
678
+ er2.code === "ENOENT" && (er2 = null);
679
+ }
680
+ timeout = 0, next(er2);
681
+ };
682
+ rimraf_(p2, options, CB);
683
+ });
684
+ };
685
+ if (options.disableGlob || !glob.hasMagic(p))
686
+ return afterGlob(null, [p]);
687
+ options.lstat(p, (er, stat) => {
688
+ if (!er)
689
+ return afterGlob(null, [p]);
690
+ glob(p, options.glob, afterGlob);
691
+ });
692
+ }, rimraf_ = (p, options, cb) => {
693
+ assert(p), assert(options), assert(typeof cb == "function"), options.lstat(p, (er, st) => {
694
+ if (er && er.code === "ENOENT")
695
+ return cb(null);
696
+ if (er && er.code === "EPERM" && isWindows && fixWinEPERM(p, options, er, cb), st && st.isDirectory())
697
+ return rmdir(p, options, er, cb);
698
+ options.unlink(p, (er2) => {
699
+ if (er2) {
700
+ if (er2.code === "ENOENT")
701
+ return cb(null);
702
+ if (er2.code === "EPERM")
703
+ return isWindows ? fixWinEPERM(p, options, er2, cb) : rmdir(p, options, er2, cb);
704
+ if (er2.code === "EISDIR")
705
+ return rmdir(p, options, er2, cb);
706
+ }
707
+ return cb(er2);
708
+ });
709
+ });
710
+ }, fixWinEPERM = (p, options, er, cb) => {
711
+ assert(p), assert(options), assert(typeof cb == "function"), options.chmod(p, 438, (er2) => {
712
+ er2 ? cb(er2.code === "ENOENT" ? null : er) : options.stat(p, (er3, stats) => {
713
+ er3 ? cb(er3.code === "ENOENT" ? null : er) : stats.isDirectory() ? rmdir(p, options, er, cb) : options.unlink(p, cb);
714
+ });
715
+ });
716
+ }, fixWinEPERMSync = (p, options, er) => {
717
+ assert(p), assert(options);
718
+ try {
719
+ options.chmodSync(p, 438);
720
+ } catch (er2) {
721
+ if (er2.code === "ENOENT")
722
+ return;
723
+ throw er;
724
+ }
725
+ let stats;
726
+ try {
727
+ stats = options.statSync(p);
728
+ } catch (er3) {
729
+ if (er3.code === "ENOENT")
730
+ return;
731
+ throw er;
732
+ }
733
+ stats.isDirectory() ? rmdirSync(p, options, er) : options.unlinkSync(p);
734
+ }, rmdir = (p, options, originalEr, cb) => {
735
+ assert(p), assert(options), assert(typeof cb == "function"), options.rmdir(p, (er) => {
736
+ er && (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM") ? rmkids(p, options, cb) : er && er.code === "ENOTDIR" ? cb(originalEr) : cb(er);
737
+ });
738
+ }, rmkids = (p, options, cb) => {
739
+ assert(p), assert(options), assert(typeof cb == "function"), options.readdir(p, (er, files) => {
740
+ if (er)
741
+ return cb(er);
742
+ let n = files.length;
743
+ if (n === 0)
744
+ return options.rmdir(p, cb);
745
+ let errState;
746
+ files.forEach((f) => {
747
+ rimraf(path.join(p, f), options, (er2) => {
748
+ if (!errState) {
749
+ if (er2)
750
+ return cb(errState = er2);
751
+ --n === 0 && options.rmdir(p, cb);
752
+ }
753
+ });
754
+ });
755
+ });
756
+ }, rimrafSync = (p, options) => {
757
+ options = options || {}, defaults(options), assert(p, "rimraf: missing path"), assert.equal(typeof p, "string", "rimraf: path should be a string"), assert(options, "rimraf: missing options"), assert.equal(typeof options, "object", "rimraf: options should be object");
758
+ let results;
759
+ if (options.disableGlob || !glob.hasMagic(p))
760
+ results = [p];
761
+ else
762
+ try {
763
+ options.lstatSync(p), results = [p];
764
+ } catch {
765
+ results = glob.sync(p, options.glob);
766
+ }
767
+ if (results.length)
768
+ for (let i = 0; i < results.length; i++) {
769
+ let p2 = results[i], st;
770
+ try {
771
+ st = options.lstatSync(p2);
772
+ } catch (er) {
773
+ if (er.code === "ENOENT")
774
+ return;
775
+ er.code === "EPERM" && isWindows && fixWinEPERMSync(p2, options, er);
776
+ }
777
+ try {
778
+ st && st.isDirectory() ? rmdirSync(p2, options, null) : options.unlinkSync(p2);
779
+ } catch (er) {
780
+ if (er.code === "ENOENT")
781
+ return;
782
+ if (er.code === "EPERM")
783
+ return isWindows ? fixWinEPERMSync(p2, options, er) : rmdirSync(p2, options, er);
784
+ if (er.code !== "EISDIR")
785
+ throw er;
786
+ rmdirSync(p2, options, er);
787
+ }
788
+ }
789
+ }, rmdirSync = (p, options, originalEr) => {
790
+ assert(p), assert(options);
791
+ try {
792
+ options.rmdirSync(p);
793
+ } catch (er) {
794
+ if (er.code === "ENOENT")
795
+ return;
796
+ if (er.code === "ENOTDIR")
797
+ throw originalEr;
798
+ (er.code === "ENOTEMPTY" || er.code === "EEXIST" || er.code === "EPERM") && rmkidsSync(p, options);
799
+ }
800
+ }, rmkidsSync = (p, options) => {
801
+ assert(p), assert(options), options.readdirSync(p).forEach((f) => rimrafSync(path.join(p, f), options));
802
+ let retries = isWindows ? 100 : 1, i = 0;
803
+ do {
804
+ let threw = !0;
805
+ try {
806
+ let ret = options.rmdirSync(p, options);
807
+ return threw = !1, ret;
808
+ } finally {
809
+ if (++i < retries && threw)
810
+ continue;
811
+ }
812
+ } while (!0);
813
+ };
814
+ module.exports = rimraf;
815
+ rimraf.sync = rimrafSync;
816
+ }
817
+ });
818
+
819
+ // ../../node_modules/.pnpm/clean-stack@2.2.0/node_modules/clean-stack/index.js
820
+ var require_clean_stack = __commonJS({
821
+ "../../node_modules/.pnpm/clean-stack@2.2.0/node_modules/clean-stack/index.js"(exports, module) {
822
+ "use strict";
823
+ init_cjs_shims();
824
+ var os = __require("os"), extractPathRegex = /\s+at.*(?:\(|\s)(.*)\)?/, pathRegex = /^(?:(?:(?:node|(?:internal\/[\w/]*|.*node_modules\/(?:babel-polyfill|pirates)\/.*)?\w+)\.js:\d+:\d+)|native)/, homeDir = typeof os.homedir > "u" ? "" : os.homedir();
825
+ module.exports = (stack, options) => (options = Object.assign({ pretty: !1 }, options), stack.replace(/\\/g, "/").split(`
826
+ `).filter((line) => {
827
+ let pathMatches = line.match(extractPathRegex);
828
+ if (pathMatches === null || !pathMatches[1])
829
+ return !0;
830
+ let match = pathMatches[1];
831
+ return match.includes(".app/Contents/Resources/electron.asar") || match.includes(".app/Contents/Resources/default_app.asar") ? !1 : !pathRegex.test(match);
832
+ }).filter((line) => line.trim() !== "").map((line) => options.pretty ? line.replace(extractPathRegex, (m, p1) => m.replace(p1, p1.replace(homeDir, "~"))) : line).join(`
833
+ `));
834
+ }
835
+ });
836
+
837
+ // ../../node_modules/.pnpm/aggregate-error@3.1.0/node_modules/aggregate-error/index.js
838
+ var require_aggregate_error = __commonJS({
839
+ "../../node_modules/.pnpm/aggregate-error@3.1.0/node_modules/aggregate-error/index.js"(exports, module) {
840
+ "use strict";
841
+ init_cjs_shims();
842
+ var indentString = require_indent_string(), cleanStack = require_clean_stack(), cleanInternalStack = (stack) => stack.replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g, ""), AggregateError = class extends Error {
843
+ constructor(errors) {
844
+ if (!Array.isArray(errors))
845
+ throw new TypeError(`Expected input to be an Array, got ${typeof errors}`);
846
+ errors = [...errors].map((error) => error instanceof Error ? error : error !== null && typeof error == "object" ? Object.assign(new Error(error.message), error) : new Error(error));
847
+ let message = errors.map((error) => typeof error.stack == "string" ? cleanInternalStack(cleanStack(error.stack)) : String(error)).join(`
848
+ `);
849
+ message = `
850
+ ` + indentString(message, 4), super(message), this.name = "AggregateError", Object.defineProperty(this, "_errors", { value: errors });
851
+ }
852
+ *[Symbol.iterator]() {
853
+ for (let error of this._errors)
854
+ yield error;
855
+ }
623
856
  };
857
+ module.exports = AggregateError;
858
+ }
859
+ });
860
+
861
+ // ../../node_modules/.pnpm/p-map@4.0.0/node_modules/p-map/index.js
862
+ var require_p_map = __commonJS({
863
+ "../../node_modules/.pnpm/p-map@4.0.0/node_modules/p-map/index.js"(exports, module) {
864
+ "use strict";
865
+ init_cjs_shims();
866
+ var AggregateError = require_aggregate_error();
867
+ module.exports = async (iterable, mapper, {
868
+ concurrency = 1 / 0,
869
+ stopOnError = !0
870
+ } = {}) => new Promise((resolve, reject) => {
871
+ if (typeof mapper != "function")
872
+ throw new TypeError("Mapper function is required");
873
+ if (!((Number.isSafeInteger(concurrency) || concurrency === 1 / 0) && concurrency >= 1))
874
+ throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
875
+ let result = [], errors = [], iterator = iterable[Symbol.iterator](), isRejected = !1, isIterableDone = !1, resolvingCount = 0, currentIndex = 0, next = () => {
876
+ if (isRejected)
877
+ return;
878
+ let nextItem = iterator.next(), index = currentIndex;
879
+ if (currentIndex++, nextItem.done) {
880
+ isIterableDone = !0, resolvingCount === 0 && (!stopOnError && errors.length !== 0 ? reject(new AggregateError(errors)) : resolve(result));
881
+ return;
882
+ }
883
+ resolvingCount++, (async () => {
884
+ try {
885
+ let element = await nextItem.value;
886
+ result[index] = await mapper(element, index), resolvingCount--, next();
887
+ } catch (error) {
888
+ stopOnError ? (isRejected = !0, reject(error)) : (errors.push(error), resolvingCount--, next());
889
+ }
890
+ })();
891
+ };
892
+ for (let i = 0; i < concurrency && (next(), !isIterableDone); i++)
893
+ ;
894
+ });
624
895
  }
625
896
  });
626
897
 
627
- export {
628
- require_indent_string,
629
- require_slash,
630
- require_globby
631
- };
632
- //# sourceMappingURL=chunk-FAITFLRX.js.map
898
+ // ../../node_modules/.pnpm/del@6.1.1/node_modules/del/index.js
899
+ var require_del = __commonJS({
900
+ "../../node_modules/.pnpm/del@6.1.1/node_modules/del/index.js"(exports, module) {
901
+ init_cjs_shims();
902
+ var { promisify } = __require("util"), path = __require("path"), globby = require_globby(), isGlob = require_is_glob(), slash = require_slash(), gracefulFs = require_graceful_fs(), isPathCwd = require_is_path_cwd(), isPathInside = require_is_path_inside(), rimraf = require_rimraf(), pMap = require_p_map(), rimrafP = promisify(rimraf), rimrafOptions = {
903
+ glob: !1,
904
+ unlink: gracefulFs.unlink,
905
+ unlinkSync: gracefulFs.unlinkSync,
906
+ chmod: gracefulFs.chmod,
907
+ chmodSync: gracefulFs.chmodSync,
908
+ stat: gracefulFs.stat,
909
+ statSync: gracefulFs.statSync,
910
+ lstat: gracefulFs.lstat,
911
+ lstatSync: gracefulFs.lstatSync,
912
+ rmdir: gracefulFs.rmdir,
913
+ rmdirSync: gracefulFs.rmdirSync,
914
+ readdir: gracefulFs.readdir,
915
+ readdirSync: gracefulFs.readdirSync
916
+ };
917
+ function safeCheck(file, cwd) {
918
+ if (isPathCwd(file))
919
+ throw new Error("Cannot delete the current working directory. Can be overridden with the `force` option.");
920
+ if (!isPathInside(file, cwd))
921
+ throw new Error("Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option.");
922
+ }
923
+ function normalizePatterns(patterns) {
924
+ return patterns = Array.isArray(patterns) ? patterns : [patterns], patterns = patterns.map((pattern) => process.platform === "win32" && isGlob(pattern) === !1 ? slash(pattern) : pattern), patterns;
925
+ }
926
+ module.exports = async (patterns, { force, dryRun, cwd = process.cwd(), onProgress = () => {
927
+ }, ...options } = {}) => {
928
+ options = {
929
+ expandDirectories: !1,
930
+ onlyFiles: !1,
931
+ followSymbolicLinks: !1,
932
+ cwd,
933
+ ...options
934
+ }, patterns = normalizePatterns(patterns);
935
+ let files = (await globby(patterns, options)).sort((a, b) => b.localeCompare(a));
936
+ files.length === 0 && onProgress({
937
+ totalCount: 0,
938
+ deletedCount: 0,
939
+ percent: 1
940
+ });
941
+ let deletedCount = 0, removedFiles = await pMap(files, async (file) => (file = path.resolve(cwd, file), force || safeCheck(file, cwd), dryRun || await rimrafP(file, rimrafOptions), deletedCount += 1, onProgress({
942
+ totalCount: files.length,
943
+ deletedCount,
944
+ percent: deletedCount / files.length
945
+ }), file), options);
946
+ return removedFiles.sort((a, b) => a.localeCompare(b)), removedFiles;
947
+ };
948
+ module.exports.sync = (patterns, { force, dryRun, cwd = process.cwd(), ...options } = {}) => {
949
+ options = {
950
+ expandDirectories: !1,
951
+ onlyFiles: !1,
952
+ followSymbolicLinks: !1,
953
+ cwd,
954
+ ...options
955
+ }, patterns = normalizePatterns(patterns);
956
+ let removedFiles = globby.sync(patterns, options).sort((a, b) => b.localeCompare(a)).map((file) => (file = path.resolve(cwd, file), force || safeCheck(file, cwd), dryRun || rimraf.sync(file, rimrafOptions), file));
957
+ return removedFiles.sort((a, b) => a.localeCompare(b)), removedFiles;
958
+ };
959
+ }
960
+ });
961
+ export default require_del();
962
+ //# sourceMappingURL=del-SAZHGAZZ.js.map
@@ -4,27 +4,25 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-YPVB6B34.js";
7
+ } from "./chunk-ARXCCKJT.js";
8
8
  import "./chunk-SHWOPMLQ.js";
9
- import "./chunk-M4TCGXII.js";
10
- import "./chunk-6HSVIAHC.js";
11
- import "./chunk-YJPCY2LS.js";
9
+ import "./chunk-TLYRIQK7.js";
10
+ import "./chunk-TB443RFG.js";
11
+ import "./chunk-DFABOPSU.js";
12
12
  import "./chunk-25IMI7TH.js";
13
- import "./chunk-EE5FOU6D.js";
14
- import "./chunk-YN4HBUI3.js";
15
- import "./chunk-AE3MLJMV.js";
16
- import "./chunk-HMDWNGIV.js";
17
- import "./chunk-B5EXYCV3.js";
13
+ import "./chunk-57SXE5DE.js";
14
+ import "./chunk-BZFP2O66.js";
15
+ import "./chunk-KPFBSWRK.js";
18
16
  import "./chunk-75LV6AQS.js";
19
- import "./chunk-EG6MBBEN.js";
20
- import "./chunk-LPU2VGJR.js";
17
+ import "./chunk-Y2JP6WFP.js";
18
+ import "./chunk-3FBDJEGD.js";
21
19
  import "./chunk-UMUTXITN.js";
20
+ import "./chunk-HMDWNGIV.js";
22
21
  import "./chunk-G5R6YD27.js";
23
22
  import "./chunk-G2ZZKGSV.js";
24
- import "./chunk-FAITFLRX.js";
23
+ import "./chunk-UV5N2VL7.js";
25
24
  import "./chunk-XE5EOEBL.js";
26
- import "./chunk-CTFDRWUN.js";
27
- import "./chunk-7IK72W75.js";
25
+ import "./chunk-B5EXYCV3.js";
28
26
  import "./chunk-PKR7KJ6P.js";
29
27
  export {
30
28
  addBugsnagMetadata,
@@ -33,4 +31,4 @@ export {
33
31
  registerCleanBugsnagErrorsFromWithinPlugins,
34
32
  sendErrorToBugsnag
35
33
  };
36
- //# sourceMappingURL=error-handler-EUTRPJGF.js.map
34
+ //# sourceMappingURL=error-handler-HQBVO3GI.js.map
@@ -3,30 +3,28 @@ import {
3
3
  } from "../chunk-CP3BRHWK.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-M4TCGXII.js";
7
- import "../chunk-6HSVIAHC.js";
8
- import "../chunk-YJPCY2LS.js";
6
+ } from "../chunk-TLYRIQK7.js";
7
+ import "../chunk-TB443RFG.js";
8
+ import "../chunk-DFABOPSU.js";
9
9
  import "../chunk-25IMI7TH.js";
10
- import "../chunk-EE5FOU6D.js";
11
- import "../chunk-YN4HBUI3.js";
10
+ import "../chunk-57SXE5DE.js";
11
+ import "../chunk-BZFP2O66.js";
12
12
  import {
13
13
  addSensitiveMetadata,
14
14
  getAllSensitiveMetadata,
15
15
  outputDebug,
16
16
  renderWarning
17
- } from "../chunk-AE3MLJMV.js";
18
- import "../chunk-HMDWNGIV.js";
19
- import "../chunk-B5EXYCV3.js";
17
+ } from "../chunk-KPFBSWRK.js";
20
18
  import "../chunk-75LV6AQS.js";
21
- import "../chunk-EG6MBBEN.js";
22
- import "../chunk-LPU2VGJR.js";
19
+ import "../chunk-Y2JP6WFP.js";
20
+ import "../chunk-3FBDJEGD.js";
23
21
  import "../chunk-UMUTXITN.js";
22
+ import "../chunk-HMDWNGIV.js";
24
23
  import "../chunk-G5R6YD27.js";
25
24
  import "../chunk-G2ZZKGSV.js";
26
- import "../chunk-FAITFLRX.js";
25
+ import "../chunk-UV5N2VL7.js";
27
26
  import "../chunk-XE5EOEBL.js";
28
- import "../chunk-CTFDRWUN.js";
29
- import "../chunk-7IK72W75.js";
27
+ import "../chunk-B5EXYCV3.js";
30
28
  import {
31
29
  init_cjs_shims
32
30
  } from "../chunk-PKR7KJ6P.js";
@@ -1,39 +1,37 @@
1
1
  import {
2
2
  getOutputUpdateCLIReminder
3
- } from "../chunk-MPCIJZRR.js";
3
+ } from "../chunk-JEW6HZHJ.js";
4
4
  import {
5
5
  startAnalytics
6
- } from "../chunk-6HSVIAHC.js";
6
+ } from "../chunk-TB443RFG.js";
7
7
  import {
8
8
  fetchNotificationsInBackground
9
- } from "../chunk-7E5ELMEP.js";
10
- import "../chunk-YJPCY2LS.js";
9
+ } from "../chunk-5QFLNCVR.js";
10
+ import "../chunk-DFABOPSU.js";
11
11
  import "../chunk-25IMI7TH.js";
12
12
  import {
13
13
  CLI_KIT_VERSION
14
- } from "../chunk-EE5FOU6D.js";
14
+ } from "../chunk-57SXE5DE.js";
15
15
  import {
16
16
  checkForCachedNewVersion,
17
17
  checkForNewVersion,
18
18
  runAtMinimumInterval
19
- } from "../chunk-YN4HBUI3.js";
19
+ } from "../chunk-BZFP2O66.js";
20
20
  import {
21
21
  isPreReleaseVersion,
22
22
  outputDebug,
23
23
  outputWarn
24
- } from "../chunk-AE3MLJMV.js";
25
- import "../chunk-HMDWNGIV.js";
26
- import "../chunk-B5EXYCV3.js";
24
+ } from "../chunk-KPFBSWRK.js";
27
25
  import "../chunk-75LV6AQS.js";
28
- import "../chunk-EG6MBBEN.js";
29
- import "../chunk-LPU2VGJR.js";
26
+ import "../chunk-Y2JP6WFP.js";
27
+ import "../chunk-3FBDJEGD.js";
30
28
  import "../chunk-UMUTXITN.js";
29
+ import "../chunk-HMDWNGIV.js";
31
30
  import "../chunk-G5R6YD27.js";
32
31
  import "../chunk-G2ZZKGSV.js";
33
- import "../chunk-FAITFLRX.js";
32
+ import "../chunk-UV5N2VL7.js";
34
33
  import "../chunk-XE5EOEBL.js";
35
- import "../chunk-CTFDRWUN.js";
36
- import "../chunk-7IK72W75.js";
34
+ import "../chunk-B5EXYCV3.js";
37
35
  import {
38
36
  init_cjs_shims
39
37
  } from "../chunk-PKR7KJ6P.js";