@shopify/cli 3.82.0 → 3.83.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 (99) 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-LPU2VGJR.js → chunk-3FBDJEGD.js} +6153 -11319
  4. package/dist/{chunk-YUXFQXPK.js → chunk-3UWCIMCN.js} +8 -8
  5. package/dist/{chunk-AJDONTSK.js → chunk-4PTDVIME.js} +3 -3
  6. package/dist/{chunk-FYDURVQO.js → chunk-5X5Y3IET.js} +5 -5
  7. package/dist/{chunk-F7J5CUMZ.js → chunk-66VZYBID.js} +4 -4
  8. package/dist/{chunk-RLS2ONCK.js → chunk-7I7D2AB7.js} +2 -2
  9. package/dist/{chunk-R2LEUYIF.js → chunk-7J6ZE55N.js} +4 -4
  10. package/dist/{chunk-HOYO6JKN.js → chunk-7XAQKXYH.js} +3 -3
  11. package/dist/{chunk-EEYW5FSA.js → chunk-BCMTVG7I.js} +4 -4
  12. package/dist/{chunk-3Q5VPXT5.js → chunk-D5BJW27F.js} +778 -23
  13. package/dist/{chunk-KB5GMUHY.js → chunk-DEDYC4OS.js} +6 -6
  14. package/dist/{chunk-CFNCXOAV.js → chunk-DQ7IVWF5.js} +2 -2
  15. package/dist/{chunk-ZBSES4JU.js → chunk-DUVXMFQV.js} +3 -3
  16. package/dist/{chunk-XYELYAVC.js → chunk-EMB6CXID.js} +5 -5
  17. package/dist/{chunk-VWOOMRYF.js → chunk-FLP2CHCV.js} +4 -4
  18. package/dist/{chunk-QIECGUO5.js → chunk-FX4FEEOP.js} +3 -3
  19. package/dist/{chunk-MFC6MLP7.js → chunk-G3NP7WGS.js} +3 -3
  20. package/dist/{chunk-UQXK6QDK.js → chunk-HB6JA5JP.js} +3 -3
  21. package/dist/{chunk-TCCRXQUU.js → chunk-JYGYXNTS.js} +3 -3
  22. package/dist/{chunk-74CFIJBV.js → chunk-K7E7R4WS.js} +3 -3
  23. package/dist/{chunk-7ZNBHIYT.js → chunk-KQ6EUJSO.js} +5 -5
  24. package/dist/{chunk-KUAANQ7T.js → chunk-KTDX7ILI.js} +4 -4
  25. package/dist/{chunk-WDBIXJF6.js → chunk-LNKEJMFC.js} +2 -2
  26. package/dist/{chunk-JLJTVUDK.js → chunk-LPFXBJSA.js} +13 -11
  27. package/dist/{chunk-25WAB7NJ.js → chunk-LPVUYMVK.js} +2 -2
  28. package/dist/{chunk-PRSTYBLZ.js → chunk-MUUMCGTU.js} +3 -3
  29. package/dist/{chunk-JLKSXSVY.js → chunk-NCY3OOON.js} +3 -3
  30. package/dist/{chunk-BSTZYPZU.js → chunk-NYME2DVS.js} +12 -12
  31. package/dist/{chunk-MSSZWK63.js → chunk-NZV3PGJI.js} +4 -4
  32. package/dist/{chunk-6C6ZDQRA.js → chunk-P2OGMB6O.js} +3 -3
  33. package/dist/{chunk-6AJRDC5C.js → chunk-Q5MC6CL3.js} +6 -6
  34. package/dist/{chunk-YUBYB2KK.js → chunk-TEGDYNIU.js} +12 -10
  35. package/dist/chunk-UV5N2VL7.js +39 -0
  36. package/dist/{chunk-YPSBMB7C.js → chunk-VTBFHPET.js} +2 -2
  37. package/dist/{chunk-MWVORSD7.js → chunk-XG23534A.js} +8 -8
  38. package/dist/{chunk-7MYG46RI.js → chunk-XHDAKO3K.js} +7 -7
  39. package/dist/{chunk-QEIHQ2YM.js → chunk-YBKI4WVT.js} +2 -2
  40. package/dist/cli/commands/auth/logout.js +15 -17
  41. package/dist/cli/commands/auth/logout.test.js +16 -18
  42. package/dist/cli/commands/cache/clear.js +14 -16
  43. package/dist/cli/commands/debug/command-flags.d.ts +1 -1
  44. package/dist/cli/commands/debug/command-flags.js +14 -16
  45. package/dist/cli/commands/docs/generate.js +14 -16
  46. package/dist/cli/commands/docs/generate.test.js +14 -16
  47. package/dist/cli/commands/help.d.ts +2 -2
  48. package/dist/cli/commands/help.js +14 -16
  49. package/dist/cli/commands/kitchen-sink/async.js +15 -17
  50. package/dist/cli/commands/kitchen-sink/async.test.js +15 -17
  51. package/dist/cli/commands/kitchen-sink/index.js +17 -19
  52. package/dist/cli/commands/kitchen-sink/index.test.js +17 -19
  53. package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
  54. package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -17
  55. package/dist/cli/commands/kitchen-sink/static.js +15 -17
  56. package/dist/cli/commands/kitchen-sink/static.test.js +15 -17
  57. package/dist/cli/commands/notifications/generate.js +15 -17
  58. package/dist/cli/commands/notifications/list.d.ts +1 -1
  59. package/dist/cli/commands/notifications/list.js +15 -17
  60. package/dist/cli/commands/search.d.ts +1 -1
  61. package/dist/cli/commands/search.js +15 -17
  62. package/dist/cli/commands/upgrade.js +15 -17
  63. package/dist/cli/commands/version.js +15 -17
  64. package/dist/cli/commands/version.test.js +15 -17
  65. package/dist/cli/services/commands/notifications.js +10 -12
  66. package/dist/cli/services/commands/search.js +6 -8
  67. package/dist/cli/services/commands/search.test.js +6 -8
  68. package/dist/cli/services/commands/version.js +7 -9
  69. package/dist/cli/services/commands/version.test.js +8 -10
  70. package/dist/cli/services/kitchen-sink/async.js +6 -8
  71. package/dist/cli/services/kitchen-sink/prompts.js +6 -8
  72. package/dist/cli/services/kitchen-sink/static.js +6 -8
  73. package/dist/cli/services/upgrade.js +7 -9
  74. package/dist/cli/services/upgrade.test.js +8 -10
  75. package/dist/configs/all.yml +9 -0
  76. package/dist/configs/recommended.yml +9 -0
  77. package/dist/{custom-oclif-loader-BEAC6M5I.js → custom-oclif-loader-4SQWZCJO.js} +6 -8
  78. package/dist/data/filters.json +40 -0
  79. package/dist/data/latest.json +1 -1
  80. package/dist/data/objects.json +28 -16
  81. package/dist/data/tags.json +7 -7
  82. package/dist/data/translations.json +9 -2
  83. package/dist/{chunk-FAITFLRX.js → del-SAZHGAZZ.js} +372 -42
  84. package/dist/{error-handler-AW3QCINN.js → error-handler-AU7YI2YV.js} +12 -14
  85. package/dist/hooks/postrun.js +10 -12
  86. package/dist/hooks/prerun.js +11 -13
  87. package/dist/{http-proxy-LHSVRGJ5.js → http-proxy-node16-T623PGD4.js} +37 -29
  88. package/dist/index.js +20794 -20296
  89. package/dist/{lib-2ZBT3UR2.js → lib-OSXFX3I2.js} +4 -5
  90. package/dist/{local-ZIKS25AW.js → local-4S6IAIPU.js} +6 -8
  91. package/dist/{morph-DFRO3NRL.js → morph-5LWJDWYB.js} +5 -5
  92. package/dist/{node-GHBQEWAW.js → node-S5IAFUYU.js} +16 -18
  93. package/dist/{node-package-manager-T3RQZ6EF.js → node-package-manager-4KNYIZWV.js} +7 -9
  94. package/dist/tsconfig.tsbuildinfo +1 -1
  95. package/dist/{ui-NKEN4MZY.js → ui-ALLFW3C3.js} +6 -8
  96. package/dist/{workerd-BCMLUCF7.js → workerd-7B5KK6HK.js} +16 -18
  97. package/oclif.manifest.json +212 -1
  98. package/package.json +14 -12
  99. package/dist/del-4JSTEFDW.js +0 -375
@@ -1008,7 +1008,7 @@
1008
1008
  ],
1009
1009
  "summary": "Splits an array's items across multiple pages.",
1010
1010
  "name": "paginate",
1011
- "syntax": "{% paginate array by page_size %}\n {% for item in array %}\n forloop_content\n {% endfor %}\n{% endpaginate %}",
1011
+ "syntax": "{% paginate array by page_size %}\n {% for item in array %}\n forloop_content\n {% endfor %}\n{% endpaginate %}\n\nThe `paginate` tag allows the user to paginate to the 25,000th item in the array and no further. To reach items further in\nthe array the array should be filtered further before paginating. See\n[Pagination Limits](/themes/best-practices/performance/platform#pagination-limits) for more information.",
1012
1012
  "syntax_keywords": [
1013
1013
  {
1014
1014
  "keyword": "array",
@@ -1016,7 +1016,7 @@
1016
1016
  },
1017
1017
  {
1018
1018
  "keyword": "page_size",
1019
- "description": "The number of array items to include per page, between 1 and 50."
1019
+ "description": "The number of array items to include per page, between 1 and 250."
1020
1020
  },
1021
1021
  {
1022
1022
  "keyword": "item",
@@ -1040,7 +1040,7 @@
1040
1040
  },
1041
1041
  {
1042
1042
  "name": "Paginating setting arrays",
1043
- "description": "To allow the pagination of `product_list` and `collection_list` settings to operate independently from other paginated lists on a page, these lists use a pagination query parameter with a unique key. The key is automatically assigned by the `paginate` tag, and you don't need to reference the key in your code. However, you can access the key using [`paginate.page_param`](/docs/api/liquid/objects/paginate#paginate-page_param).\n\n> Tip:\n> To paginate two arrays independently without refreshing the entire page, you can use the [Section Rendering API](/api/section-rendering).\n",
1043
+ "description": "To allow the pagination of `product_list` and `collection_list` settings to operate independently from other paginated lists on a page, these lists use a pagination query parameter with a unique key. The key is automatically assigned by the `paginate` tag, and you don't need to reference the key in your code. However, you can access the key using [`paginate.page_param`](/docs/api/liquid/objects/paginate#paginate-page_param).\n\n> Tip:\n> To paginate two arrays independently without refreshing the entire page, you can use the [Section Rendering API](/docs/api/ajax/section-rendering).\n",
1044
1044
  "syntax": "",
1045
1045
  "path": "/",
1046
1046
  "raw_liquid": "",
@@ -1050,10 +1050,10 @@
1050
1050
  },
1051
1051
  {
1052
1052
  "name": "Limit data fetching",
1053
- "description": "Limiting the number of iterations through an array with the `paginate` tag can be more performant than using the [`limit` parameter](/docs/api/liquid/tags/for#for-limit) of the `for` tag. The `limit` parameter sets the number of iterations executed, but not the amount of information fetched server-side.\n\nFor example, referencing `collection.products` will fetch information up to the first 50 products, regardless of the forloop's `limit` parameter. Use `paginate` and set a `page_size` to limit the amount of data fetched, and opt not to display any pagination controls.\n",
1053
+ "description": "The [`limit` parameter](/docs/api/liquid/tags/for#for-limit) of the `for` tag controls the number of iterations, but not the amount of information fetched. Using the `paginate` tag with a matching `page_size` can reduce the data queried, leading to faster server response times. \n\nFor example, referencing `collection.products` will fetch up to 50 products by default, regardless of the forloop's `limit` parameter. Use `paginate` and set a `page_size` to limit the amount of data fetched, and opt not to display any pagination controls.\n\nMore data than requested in a specific section may be returned. Because of this, make sure to include both `paginate` and `limit` when using this technique.\n",
1054
1054
  "syntax": "",
1055
1055
  "path": "/collections/all",
1056
- "raw_liquid": "{% paginate collection.products by 4 %}\n {% for product in collection.products -%}\n {{ product.title }}\n {%- endfor %}\n{% endpaginate -%}\n\n<!-- Less performant method -->\n{% for product in collection.products limit: 4 -%}\n {{ product.title }}\n{%- endfor -%}",
1056
+ "raw_liquid": "{% paginate collection.products by 4 %}\n {% for product in collection.products limit: 4 -%}\n {{ product.title }}\n {%- endfor %}\n{% endpaginate -%}\n\n<!-- Less performant method -->\n{% for product in collection.products limit: 4 -%}\n {{ product.title }}\n{%- endfor -%}",
1057
1057
  "parameter": false,
1058
1058
  "display_type": "text",
1059
1059
  "show_data_tab": true
@@ -1074,7 +1074,7 @@
1074
1074
  "category": "theme",
1075
1075
  "deprecated": false,
1076
1076
  "deprecation_reason": "",
1077
- "description": "Each section, block or snippet can have only one `{% javascript %}` tag.\n\nTo learn more about how Javascript that's defined between the `javascript` tags is loaded and run, refer to the documentation for [javascript tags](/storefronts/themes/best-practices/javascript-and-stylesheet-tags#javascript).\n> Caution:\n> Liquid isn't rendered inside of `{% javascript %}` tags. Including Liquid code can cause syntax errors.",
1077
+ "description": "Each section, block or snippet can have only one `{% javascript %}` tag.\n\nTo learn more about how JavaScript that's defined between the `javascript` tags is loaded and run, refer to the documentation for [javascript tags](/storefronts/themes/best-practices/javascript-and-stylesheet-tags#javascript).\n> Caution:\n> Liquid isn't rendered inside of `{% javascript %}` tags. Including Liquid code can cause syntax errors.",
1078
1078
  "parameters": [],
1079
1079
  "summary": "JavaScript code included in [section](/storefronts/themes/architecture/sections), [block](/storefronts/themes/architecture/blocks) and [snippet](/storefronts/themes/architecture/snippets) files.",
1080
1080
  "name": "javascript",
@@ -1121,7 +1121,7 @@
1121
1121
  "deprecation_reason": "",
1122
1122
  "description": "Each section, block or snippet can have only one `{% stylesheet %}` tag.\n\nTo learn more about how CSS that's defined between the `stylesheet` tags is loaded and run, refer to the documentation for [stylesheet tags](/storefronts/themes/best-practices/javascript-and-stylesheet-tags#stylesheet).\n> Caution:\n> Liquid isn't rendered inside of `{% stylesheet %}` tags. Including Liquid code can cause syntax errors.",
1123
1123
  "parameters": [],
1124
- "summary": "CSS styles included in [section](/storefronts/themes/architecture/sections), [block](/storefronts/themes/architecture/blocks) and [snippet](/storefronts/themes/architecture/snippets) files.",
1124
+ "summary": "CSS styles included in [section](/storefronts/themes/architecture/sections), [block](/storefronts/themes/architecture/blocks), and [snippet](/storefronts/themes/architecture/snippets) files.",
1125
1125
  "name": "stylesheet",
1126
1126
  "syntax": "{% stylesheet %}\n css_styles\n{% endstylesheet %}",
1127
1127
  "syntax_keywords": [
@@ -16,8 +16,15 @@
16
16
  },
17
17
  "patternProperties": {
18
18
  ".*_html$": {
19
- "type": "string",
20
- "description": "Translation string that contains HTML. The '_html' suffix prevents the HTML content from being escaped."
19
+ "oneOf": [
20
+ {
21
+ "type": "string",
22
+ "description": "A string that can contain HTML content, typically used for translations that include HTML tags."
23
+ },
24
+ {
25
+ "$ref": "#/definitions/pluralizedString"
26
+ }
27
+ ]
21
28
  }
22
29
  },
23
30
  "definitions": {
@@ -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-MWVORSD7.js";
7
+ } from "./chunk-XG23534A.js";
8
8
  import "./chunk-SHWOPMLQ.js";
9
- import "./chunk-7MYG46RI.js";
10
- import "./chunk-JLJTVUDK.js";
11
- import "./chunk-QIECGUO5.js";
9
+ import "./chunk-XHDAKO3K.js";
10
+ import "./chunk-LPFXBJSA.js";
11
+ import "./chunk-FX4FEEOP.js";
12
12
  import "./chunk-25IMI7TH.js";
13
- import "./chunk-CFNCXOAV.js";
14
- import "./chunk-6AJRDC5C.js";
15
- import "./chunk-3Q5VPXT5.js";
16
- import "./chunk-HMDWNGIV.js";
17
- import "./chunk-B5EXYCV3.js";
13
+ import "./chunk-DQ7IVWF5.js";
14
+ import "./chunk-Q5MC6CL3.js";
15
+ import "./chunk-D5BJW27F.js";
18
16
  import "./chunk-75LV6AQS.js";
19
17
  import "./chunk-EG6MBBEN.js";
20
- import "./chunk-LPU2VGJR.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-AW3QCINN.js.map
34
+ //# sourceMappingURL=error-handler-AU7YI2YV.js.map
@@ -3,30 +3,28 @@ import {
3
3
  } from "../chunk-CP3BRHWK.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-7MYG46RI.js";
7
- import "../chunk-JLJTVUDK.js";
8
- import "../chunk-QIECGUO5.js";
6
+ } from "../chunk-XHDAKO3K.js";
7
+ import "../chunk-LPFXBJSA.js";
8
+ import "../chunk-FX4FEEOP.js";
9
9
  import "../chunk-25IMI7TH.js";
10
- import "../chunk-CFNCXOAV.js";
11
- import "../chunk-6AJRDC5C.js";
10
+ import "../chunk-DQ7IVWF5.js";
11
+ import "../chunk-Q5MC6CL3.js";
12
12
  import {
13
13
  addSensitiveMetadata,
14
14
  getAllSensitiveMetadata,
15
15
  outputDebug,
16
16
  renderWarning
17
- } from "../chunk-3Q5VPXT5.js";
18
- import "../chunk-HMDWNGIV.js";
19
- import "../chunk-B5EXYCV3.js";
17
+ } from "../chunk-D5BJW27F.js";
20
18
  import "../chunk-75LV6AQS.js";
21
19
  import "../chunk-EG6MBBEN.js";
22
- import "../chunk-LPU2VGJR.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-AJDONTSK.js";
3
+ } from "../chunk-4PTDVIME.js";
4
4
  import {
5
5
  startAnalytics
6
- } from "../chunk-JLJTVUDK.js";
6
+ } from "../chunk-LPFXBJSA.js";
7
7
  import {
8
8
  fetchNotificationsInBackground
9
- } from "../chunk-KB5GMUHY.js";
10
- import "../chunk-QIECGUO5.js";
9
+ } from "../chunk-DEDYC4OS.js";
10
+ import "../chunk-FX4FEEOP.js";
11
11
  import "../chunk-25IMI7TH.js";
12
12
  import {
13
13
  CLI_KIT_VERSION
14
- } from "../chunk-CFNCXOAV.js";
14
+ } from "../chunk-DQ7IVWF5.js";
15
15
  import {
16
16
  checkForCachedNewVersion,
17
17
  checkForNewVersion,
18
18
  runAtMinimumInterval
19
- } from "../chunk-6AJRDC5C.js";
19
+ } from "../chunk-Q5MC6CL3.js";
20
20
  import {
21
21
  isPreReleaseVersion,
22
22
  outputDebug,
23
23
  outputWarn
24
- } from "../chunk-3Q5VPXT5.js";
25
- import "../chunk-HMDWNGIV.js";
26
- import "../chunk-B5EXYCV3.js";
24
+ } from "../chunk-D5BJW27F.js";
27
25
  import "../chunk-75LV6AQS.js";
28
26
  import "../chunk-EG6MBBEN.js";
29
- import "../chunk-LPU2VGJR.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";