@shopify/cli 3.68.0 → 3.69.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 (124) hide show
  1. package/dist/assets/graphiql/style.css +58 -0
  2. package/dist/assets/hydrogen/starter/CHANGELOG.md +19 -0
  3. package/dist/assets/hydrogen/starter/app/components/Aside.tsx +24 -1
  4. package/dist/assets/hydrogen/starter/app/components/Header.tsx +13 -6
  5. package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +5 -3
  6. package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +10 -25
  7. package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +3 -1
  8. package/dist/assets/hydrogen/starter/package.json +4 -4
  9. package/dist/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
  10. package/dist/{chunk-BFQFJ7IZ.js → chunk-27ILOE3X.js} +93 -5
  11. package/dist/{chunk-G47SEBU3.js → chunk-2KS65IIG.js} +4 -4
  12. package/dist/{chunk-IL455HI5.js → chunk-2MYCKNTK.js} +3 -3
  13. package/dist/{chunk-GDKBDEZV.js → chunk-3ABJXNVW.js} +4 -4
  14. package/dist/{chunk-INEJACZ7.js → chunk-4N3RFONW.js} +3 -3
  15. package/dist/{chunk-RUR45G5U.js → chunk-5CWXBRLN.js} +3 -3
  16. package/dist/{chunk-QIBFYG6F.js → chunk-6LAVKC2D.js} +3 -3
  17. package/dist/{chunk-4H7GRGC6.js → chunk-6X6RXSOY.js} +3 -3
  18. package/dist/{chunk-MXZ6B3TP.js → chunk-6Y4AUHLY.js} +2 -2
  19. package/dist/{chunk-WJBW5QHV.js → chunk-7FIKIM5M.js} +2 -2
  20. package/dist/{chunk-HTDUPJH5.js → chunk-7HUDUSI4.js} +3 -3
  21. package/dist/{chunk-NCUKAORS.js → chunk-7ZKC5ILI.js} +9 -9
  22. package/dist/{chunk-LAPJDMM4.js → chunk-A3JXD7N7.js} +2 -2
  23. package/dist/{chunk-FKQTUQ3O.js → chunk-BSDFEZQG.js} +5 -5
  24. package/dist/{chunk-JAQZDU4S.js → chunk-C5PPIQTU.js} +2 -2
  25. package/dist/{chunk-XCGES3AJ.js → chunk-CKBSX6XG.js} +3 -3
  26. package/dist/{chunk-A3DV6VXO.js → chunk-E4UK3DDW.js} +2 -2
  27. package/dist/{chunk-CLB5CEKJ.js → chunk-ERVB6ERU.js} +3 -3
  28. package/dist/{chunk-DD5ULVKP.js → chunk-FCPMBTDR.js} +3 -3
  29. package/dist/{chunk-JJOZP7G6.js → chunk-FGJNGEQU.js} +3 -3
  30. package/dist/{chunk-WUA6LTEH.js → chunk-GZPZCHO4.js} +8 -8
  31. package/dist/{chunk-6IS7OFWG.js → chunk-M7RSCDR3.js} +5 -5
  32. package/dist/{chunk-ZJZ3SGOJ.js → chunk-MW2MPXIP.js} +2 -2
  33. package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
  34. package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
  35. package/dist/{chunk-EUBA2XGP.js → chunk-NDBAW6KJ.js} +7 -7
  36. package/dist/{chunk-7PUJMPXN.js → chunk-OBGMH362.js} +142 -860
  37. package/dist/{chunk-OBX5DIH4.js → chunk-OFXRW54F.js} +4 -4
  38. package/dist/{chunk-NZDBLGNM.js → chunk-P7JUHQKL.js} +1 -2
  39. package/dist/{chunk-VVY6VJR6.js → chunk-QNT2C5AG.js} +3 -3
  40. package/dist/{chunk-C4FBYE7F.js → chunk-STUT2ORI.js} +4 -4
  41. package/dist/{chunk-YKH4ILAB.js → chunk-T5NVZ7CN.js} +76 -77
  42. package/dist/{chunk-JR6ZN4TY.js → chunk-TCFVEGET.js} +5 -5
  43. package/dist/{chunk-UCYJX4VB.js → chunk-TW5OG5SK.js} +2 -2
  44. package/dist/{chunk-E2OAY724.js → chunk-UBD3BPIF.js} +2 -2
  45. package/dist/{chunk-DMM6NVLV.js → chunk-VOAOZJT3.js} +4 -4
  46. package/dist/{chunk-5VZ6BLBM.js → chunk-VU6JM57U.js} +3 -3
  47. package/dist/{chunk-D72SCNZ2.js → chunk-XQBHX6FC.js} +139 -37
  48. package/dist/{chunk-FIAUTHMT.js → chunk-YC5ZCSKV.js} +2 -2
  49. package/dist/{chunk-JAH3NBCG.js → chunk-YYE7F3MT.js} +4 -4
  50. package/dist/cli/commands/auth/logout.js +15 -17
  51. package/dist/cli/commands/auth/logout.test.js +16 -18
  52. package/dist/cli/commands/debug/command-flags.js +14 -16
  53. package/dist/cli/commands/demo/catalog.js +15 -17
  54. package/dist/cli/commands/demo/generate-file.js +15 -17
  55. package/dist/cli/commands/demo/index.js +15 -17
  56. package/dist/cli/commands/demo/print-ai-prompt.js +15 -17
  57. package/dist/cli/commands/docs/generate.js +14 -16
  58. package/dist/cli/commands/docs/generate.test.js +14 -16
  59. package/dist/cli/commands/help.js +14 -16
  60. package/dist/cli/commands/kitchen-sink/async.js +15 -17
  61. package/dist/cli/commands/kitchen-sink/async.test.js +15 -17
  62. package/dist/cli/commands/kitchen-sink/index.js +17 -19
  63. package/dist/cli/commands/kitchen-sink/index.test.js +17 -19
  64. package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
  65. package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -17
  66. package/dist/cli/commands/kitchen-sink/static.js +15 -17
  67. package/dist/cli/commands/kitchen-sink/static.test.js +15 -17
  68. package/dist/cli/commands/search.js +15 -17
  69. package/dist/cli/commands/upgrade.js +15 -17
  70. package/dist/cli/commands/version.js +15 -17
  71. package/dist/cli/commands/version.test.js +15 -17
  72. package/dist/cli/services/commands/search.js +7 -9
  73. package/dist/cli/services/commands/search.test.js +7 -9
  74. package/dist/cli/services/commands/version.js +8 -10
  75. package/dist/cli/services/commands/version.test.js +9 -11
  76. package/dist/cli/services/demo.js +7 -9
  77. package/dist/cli/services/demo.test.js +7 -9
  78. package/dist/cli/services/kitchen-sink/async.js +7 -9
  79. package/dist/cli/services/kitchen-sink/prompts.js +7 -9
  80. package/dist/cli/services/kitchen-sink/static.js +7 -9
  81. package/dist/cli/services/upgrade.js +8 -10
  82. package/dist/cli/services/upgrade.test.js +10 -12
  83. package/dist/{constants-TR6ABVLJ.js → constants-T7JXE5K7.js} +2 -2
  84. package/dist/{custom-oclif-loader-Y5TLP3GI.js → custom-oclif-loader-5V334D6O.js} +9 -11
  85. package/dist/{del-EL3PLWCY.js → del-7ZS2Z64N.js} +4 -4
  86. package/dist/{error-handler-EORUUIBK.js → error-handler-HMFDDM23.js} +13 -15
  87. package/dist/hooks/postrun.js +14 -15
  88. package/dist/hooks/prerun.js +12 -14
  89. package/dist/index.js +4573 -3762
  90. package/dist/{lib-4WCTNKJK.js → lib-JHUCJTHS.js} +5 -6
  91. package/dist/{local-4NQ3UGM2.js → local-AL4CN3PY.js} +7 -11
  92. package/dist/{morph-WDFBUXWF.js → morph-QZYXTRWT.js} +11 -11
  93. package/dist/{node-NWOSUD3V.js → node-V4CKO2VA.js} +18 -20
  94. package/dist/{node-package-manager-D7JIOBLM.js → node-package-manager-OQVXGQ6S.js} +8 -10
  95. package/dist/out-ZDSLKX4N.js +7 -0
  96. package/dist/{system-WDT2XUAD.js → system-L7GYVRHB.js} +7 -9
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/dist/{ui-JUVEDXYN.js → ui-TYMS2HPU.js} +7 -9
  99. package/dist/{workerd-VWTWLJIV.js → workerd-3T7EKFXS.js} +17 -19
  100. package/oclif.manifest.json +30 -49
  101. package/package.json +19 -8
  102. package/dist/assets/auth-error.html +0 -23
  103. package/dist/assets/empty-url.html +0 -23
  104. package/dist/assets/favicon.svg +0 -26
  105. package/dist/assets/missing-code.html +0 -23
  106. package/dist/assets/missing-state.html +0 -23
  107. package/dist/assets/style.css +0 -58
  108. package/dist/assets/success.html +0 -20
  109. package/dist/chunk-2AW6NZQ5.js +0 -101
  110. package/dist/chunk-QETDXAFX.js +0 -106
  111. package/dist/lib-H3ZZGS7I.js +0 -1322
  112. package/dist/out-66YUO4CT.js +0 -7
  113. package/dist/templates/theme-extension/assets/thumbs-up.png +0 -0
  114. package/dist/templates/theme-extension/blocks/star_rating.liquid.raw +0 -21
  115. package/dist/templates/theme-extension/locales/en.default.json +0 -10
  116. package/dist/templates/theme-extension/shopify.extension.toml.liquid +0 -3
  117. package/dist/templates/theme-extension/snippets/stars.liquid.raw +0 -10
  118. package/dist/templates/ui-extensions/projects/product_subscription/package.json.liquid +0 -25
  119. package/dist/templates/ui-extensions/projects/product_subscription/shopify.extension.toml.liquid +0 -3
  120. package/dist/templates/ui-extensions/projects/product_subscription/src/index.liquid +0 -46
  121. package/dist/templates/ui-extensions/projects/web_pixel_extension/README.md +0 -23
  122. package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +0 -9
  123. package/dist/templates/ui-extensions/projects/web_pixel_extension/shopify.extension.toml.liquid +0 -16
  124. package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +0 -10
@@ -2,11 +2,11 @@ import {
2
2
  require_normalize_path
3
3
  } from "./chunk-PMUQTGZJ.js";
4
4
  import {
5
- require_braces,
6
5
  require_glob_parent,
7
6
  require_is_glob,
8
- require_picomatch
9
- } from "./chunk-ZFVK6EQX.js";
7
+ require_picomatch,
8
+ require_to_regex_range
9
+ } from "./chunk-NB4NLOEJ.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __require,
@@ -209,6 +209,559 @@ var require_anymatch = __commonJS({
209
209
  }
210
210
  });
211
211
 
212
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.js
213
+ var require_utils = __commonJS({
214
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/utils.js"(exports) {
215
+ "use strict";
216
+ init_cjs_shims();
217
+ exports.isInteger = (num) => typeof num == "number" ? Number.isInteger(num) : typeof num == "string" && num.trim() !== "" ? Number.isInteger(Number(num)) : !1;
218
+ exports.find = (node, type) => node.nodes.find((node2) => node2.type === type);
219
+ exports.exceedsLimit = (min, max, step = 1, limit) => limit === !1 || !exports.isInteger(min) || !exports.isInteger(max) ? !1 : (Number(max) - Number(min)) / Number(step) >= limit;
220
+ exports.escapeNode = (block, n = 0, type) => {
221
+ let node = block.nodes[n];
222
+ node && (type && node.type === type || node.type === "open" || node.type === "close") && node.escaped !== !0 && (node.value = "\\" + node.value, node.escaped = !0);
223
+ };
224
+ exports.encloseBrace = (node) => node.type !== "brace" || node.commas >> 0 + node.ranges >> 0 ? !1 : (node.invalid = !0, !0);
225
+ exports.isInvalidBrace = (block) => block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 : !(block.commas >> 0 + block.ranges >> 0) || block.open !== !0 || block.close !== !0 ? (block.invalid = !0, !0) : !1;
226
+ exports.isOpenOrClose = (node) => node.type === "open" || node.type === "close" ? !0 : node.open === !0 || node.close === !0;
227
+ exports.reduce = (nodes) => nodes.reduce((acc, node) => (node.type === "text" && acc.push(node.value), node.type === "range" && (node.type = "text"), acc), []);
228
+ exports.flatten = (...args) => {
229
+ let result = [], flat = (arr) => {
230
+ for (let i = 0; i < arr.length; i++) {
231
+ let ele = arr[i];
232
+ Array.isArray(ele) ? flat(ele, result) : ele !== void 0 && result.push(ele);
233
+ }
234
+ return result;
235
+ };
236
+ return flat(args), result;
237
+ };
238
+ }
239
+ });
240
+
241
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js
242
+ var require_stringify = __commonJS({
243
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/stringify.js"(exports, module) {
244
+ "use strict";
245
+ init_cjs_shims();
246
+ var utils = require_utils();
247
+ module.exports = (ast, options = {}) => {
248
+ let stringify = (node, parent = {}) => {
249
+ let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent), invalidNode = node.invalid === !0 && options.escapeInvalid === !0, output = "";
250
+ if (node.value)
251
+ return (invalidBlock || invalidNode) && utils.isOpenOrClose(node) ? "\\" + node.value : node.value;
252
+ if (node.value)
253
+ return node.value;
254
+ if (node.nodes)
255
+ for (let child of node.nodes)
256
+ output += stringify(child);
257
+ return output;
258
+ };
259
+ return stringify(ast);
260
+ };
261
+ }
262
+ });
263
+
264
+ // ../../node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js
265
+ var require_fill_range = __commonJS({
266
+ "../../node_modules/.pnpm/fill-range@7.0.1/node_modules/fill-range/index.js"(exports, module) {
267
+ "use strict";
268
+ init_cjs_shims();
269
+ var util = __require("util"), toRegexRange = require_to_regex_range(), isObject = (val) => val !== null && typeof val == "object" && !Array.isArray(val), transform = (toNumber) => (value) => toNumber === !0 ? Number(value) : String(value), isValidValue = (value) => typeof value == "number" || typeof value == "string" && value !== "", isNumber = (num) => Number.isInteger(+num), zeros = (input) => {
270
+ let value = `${input}`, index = -1;
271
+ if (value[0] === "-" && (value = value.slice(1)), value === "0")
272
+ return !1;
273
+ for (; value[++index] === "0"; )
274
+ ;
275
+ return index > 0;
276
+ }, stringify = (start, end, options) => typeof start == "string" || typeof end == "string" ? !0 : options.stringify === !0, pad = (input, maxLength, toNumber) => {
277
+ if (maxLength > 0) {
278
+ let dash = input[0] === "-" ? "-" : "";
279
+ dash && (input = input.slice(1)), input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0");
280
+ }
281
+ return toNumber === !1 ? String(input) : input;
282
+ }, toMaxLen = (input, maxLength) => {
283
+ let negative = input[0] === "-" ? "-" : "";
284
+ for (negative && (input = input.slice(1), maxLength--); input.length < maxLength; )
285
+ input = "0" + input;
286
+ return negative ? "-" + input : input;
287
+ }, toSequence = (parts, options) => {
288
+ parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0), parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
289
+ let prefix = options.capture ? "" : "?:", positives = "", negatives = "", result;
290
+ return parts.positives.length && (positives = parts.positives.join("|")), parts.negatives.length && (negatives = `-(${prefix}${parts.negatives.join("|")})`), positives && negatives ? result = `${positives}|${negatives}` : result = positives || negatives, options.wrap ? `(${prefix}${result})` : result;
291
+ }, toRange = (a, b, isNumbers, options) => {
292
+ if (isNumbers)
293
+ return toRegexRange(a, b, { wrap: !1, ...options });
294
+ let start = String.fromCharCode(a);
295
+ if (a === b)
296
+ return start;
297
+ let stop = String.fromCharCode(b);
298
+ return `[${start}-${stop}]`;
299
+ }, toRegex = (start, end, options) => {
300
+ if (Array.isArray(start)) {
301
+ let wrap = options.wrap === !0, prefix = options.capture ? "" : "?:";
302
+ return wrap ? `(${prefix}${start.join("|")})` : start.join("|");
303
+ }
304
+ return toRegexRange(start, end, options);
305
+ }, rangeError = (...args) => new RangeError("Invalid range arguments: " + util.inspect(...args)), invalidRange = (start, end, options) => {
306
+ if (options.strictRanges === !0)
307
+ throw rangeError([start, end]);
308
+ return [];
309
+ }, invalidStep = (step, options) => {
310
+ if (options.strictRanges === !0)
311
+ throw new TypeError(`Expected step "${step}" to be a number`);
312
+ return [];
313
+ }, fillNumbers = (start, end, step = 1, options = {}) => {
314
+ let a = Number(start), b = Number(end);
315
+ if (!Number.isInteger(a) || !Number.isInteger(b)) {
316
+ if (options.strictRanges === !0)
317
+ throw rangeError([start, end]);
318
+ return [];
319
+ }
320
+ a === 0 && (a = 0), b === 0 && (b = 0);
321
+ let descending = a > b, startString = String(start), endString = String(end), stepString = String(step);
322
+ step = Math.max(Math.abs(step), 1);
323
+ let padded = zeros(startString) || zeros(endString) || zeros(stepString), maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0, toNumber = padded === !1 && stringify(start, end, options) === !1, format = options.transform || transform(toNumber);
324
+ if (options.toRegex && step === 1)
325
+ return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), !0, options);
326
+ let parts = { negatives: [], positives: [] }, push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num)), range = [], index = 0;
327
+ for (; descending ? a >= b : a <= b; )
328
+ options.toRegex === !0 && step > 1 ? push(a) : range.push(pad(format(a, index), maxLen, toNumber)), a = descending ? a - step : a + step, index++;
329
+ return options.toRegex === !0 ? step > 1 ? toSequence(parts, options) : toRegex(range, null, { wrap: !1, ...options }) : range;
330
+ }, fillLetters = (start, end, step = 1, options = {}) => {
331
+ if (!isNumber(start) && start.length > 1 || !isNumber(end) && end.length > 1)
332
+ return invalidRange(start, end, options);
333
+ let format = options.transform || ((val) => String.fromCharCode(val)), a = `${start}`.charCodeAt(0), b = `${end}`.charCodeAt(0), descending = a > b, min = Math.min(a, b), max = Math.max(a, b);
334
+ if (options.toRegex && step === 1)
335
+ return toRange(min, max, !1, options);
336
+ let range = [], index = 0;
337
+ for (; descending ? a >= b : a <= b; )
338
+ range.push(format(a, index)), a = descending ? a - step : a + step, index++;
339
+ return options.toRegex === !0 ? toRegex(range, null, { wrap: !1, options }) : range;
340
+ }, fill = (start, end, step, options = {}) => {
341
+ if (end == null && isValidValue(start))
342
+ return [start];
343
+ if (!isValidValue(start) || !isValidValue(end))
344
+ return invalidRange(start, end, options);
345
+ if (typeof step == "function")
346
+ return fill(start, end, 1, { transform: step });
347
+ if (isObject(step))
348
+ return fill(start, end, 0, step);
349
+ let opts = { ...options };
350
+ return opts.capture === !0 && (opts.wrap = !0), step = step || opts.step || 1, isNumber(step) ? isNumber(start) && isNumber(end) ? fillNumbers(start, end, step, opts) : fillLetters(start, end, Math.max(Math.abs(step), 1), opts) : step != null && !isObject(step) ? invalidStep(step, opts) : fill(start, end, 1, step);
351
+ };
352
+ module.exports = fill;
353
+ }
354
+ });
355
+
356
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js
357
+ var require_compile = __commonJS({
358
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/compile.js"(exports, module) {
359
+ "use strict";
360
+ init_cjs_shims();
361
+ var fill = require_fill_range(), utils = require_utils(), compile = (ast, options = {}) => {
362
+ let walk = (node, parent = {}) => {
363
+ let invalidBlock = utils.isInvalidBrace(parent), invalidNode = node.invalid === !0 && options.escapeInvalid === !0, invalid = invalidBlock === !0 || invalidNode === !0, prefix = options.escapeInvalid === !0 ? "\\" : "", output = "";
364
+ if (node.isOpen === !0 || node.isClose === !0)
365
+ return prefix + node.value;
366
+ if (node.type === "open")
367
+ return invalid ? prefix + node.value : "(";
368
+ if (node.type === "close")
369
+ return invalid ? prefix + node.value : ")";
370
+ if (node.type === "comma")
371
+ return node.prev.type === "comma" ? "" : invalid ? node.value : "|";
372
+ if (node.value)
373
+ return node.value;
374
+ if (node.nodes && node.ranges > 0) {
375
+ let args = utils.reduce(node.nodes), range = fill(...args, { ...options, wrap: !1, toRegex: !0 });
376
+ if (range.length !== 0)
377
+ return args.length > 1 && range.length > 1 ? `(${range})` : range;
378
+ }
379
+ if (node.nodes)
380
+ for (let child of node.nodes)
381
+ output += walk(child, node);
382
+ return output;
383
+ };
384
+ return walk(ast);
385
+ };
386
+ module.exports = compile;
387
+ }
388
+ });
389
+
390
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js
391
+ var require_expand = __commonJS({
392
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/expand.js"(exports, module) {
393
+ "use strict";
394
+ init_cjs_shims();
395
+ var fill = require_fill_range(), stringify = require_stringify(), utils = require_utils(), append = (queue = "", stash = "", enclose = !1) => {
396
+ let result = [];
397
+ if (queue = [].concat(queue), stash = [].concat(stash), !stash.length)
398
+ return queue;
399
+ if (!queue.length)
400
+ return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash;
401
+ for (let item of queue)
402
+ if (Array.isArray(item))
403
+ for (let value of item)
404
+ result.push(append(value, stash, enclose));
405
+ else
406
+ for (let ele of stash)
407
+ enclose === !0 && typeof ele == "string" && (ele = `{${ele}}`), result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele);
408
+ return utils.flatten(result);
409
+ }, expand = (ast, options = {}) => {
410
+ let rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit, walk = (node, parent = {}) => {
411
+ node.queue = [];
412
+ let p = parent, q = parent.queue;
413
+ for (; p.type !== "brace" && p.type !== "root" && p.parent; )
414
+ p = p.parent, q = p.queue;
415
+ if (node.invalid || node.dollar) {
416
+ q.push(append(q.pop(), stringify(node, options)));
417
+ return;
418
+ }
419
+ if (node.type === "brace" && node.invalid !== !0 && node.nodes.length === 2) {
420
+ q.push(append(q.pop(), ["{}"]));
421
+ return;
422
+ }
423
+ if (node.nodes && node.ranges > 0) {
424
+ let args = utils.reduce(node.nodes);
425
+ if (utils.exceedsLimit(...args, options.step, rangeLimit))
426
+ throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
427
+ let range = fill(...args, options);
428
+ range.length === 0 && (range = stringify(node, options)), q.push(append(q.pop(), range)), node.nodes = [];
429
+ return;
430
+ }
431
+ let enclose = utils.encloseBrace(node), queue = node.queue, block = node;
432
+ for (; block.type !== "brace" && block.type !== "root" && block.parent; )
433
+ block = block.parent, queue = block.queue;
434
+ for (let i = 0; i < node.nodes.length; i++) {
435
+ let child = node.nodes[i];
436
+ if (child.type === "comma" && node.type === "brace") {
437
+ i === 1 && queue.push(""), queue.push("");
438
+ continue;
439
+ }
440
+ if (child.type === "close") {
441
+ q.push(append(q.pop(), queue, enclose));
442
+ continue;
443
+ }
444
+ if (child.value && child.type !== "open") {
445
+ queue.push(append(queue.pop(), child.value));
446
+ continue;
447
+ }
448
+ child.nodes && walk(child, node);
449
+ }
450
+ return queue;
451
+ };
452
+ return utils.flatten(walk(ast));
453
+ };
454
+ module.exports = expand;
455
+ }
456
+ });
457
+
458
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js
459
+ var require_constants = __commonJS({
460
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/constants.js"(exports, module) {
461
+ "use strict";
462
+ init_cjs_shims();
463
+ module.exports = {
464
+ MAX_LENGTH: 1024 * 64,
465
+ // Digits
466
+ CHAR_0: "0",
467
+ /* 0 */
468
+ CHAR_9: "9",
469
+ /* 9 */
470
+ // Alphabet chars.
471
+ CHAR_UPPERCASE_A: "A",
472
+ /* A */
473
+ CHAR_LOWERCASE_A: "a",
474
+ /* a */
475
+ CHAR_UPPERCASE_Z: "Z",
476
+ /* Z */
477
+ CHAR_LOWERCASE_Z: "z",
478
+ /* z */
479
+ CHAR_LEFT_PARENTHESES: "(",
480
+ /* ( */
481
+ CHAR_RIGHT_PARENTHESES: ")",
482
+ /* ) */
483
+ CHAR_ASTERISK: "*",
484
+ /* * */
485
+ // Non-alphabetic chars.
486
+ CHAR_AMPERSAND: "&",
487
+ /* & */
488
+ CHAR_AT: "@",
489
+ /* @ */
490
+ CHAR_BACKSLASH: "\\",
491
+ /* \ */
492
+ CHAR_BACKTICK: "`",
493
+ /* ` */
494
+ CHAR_CARRIAGE_RETURN: "\r",
495
+ /* \r */
496
+ CHAR_CIRCUMFLEX_ACCENT: "^",
497
+ /* ^ */
498
+ CHAR_COLON: ":",
499
+ /* : */
500
+ CHAR_COMMA: ",",
501
+ /* , */
502
+ CHAR_DOLLAR: "$",
503
+ /* . */
504
+ CHAR_DOT: ".",
505
+ /* . */
506
+ CHAR_DOUBLE_QUOTE: '"',
507
+ /* " */
508
+ CHAR_EQUAL: "=",
509
+ /* = */
510
+ CHAR_EXCLAMATION_MARK: "!",
511
+ /* ! */
512
+ CHAR_FORM_FEED: "\f",
513
+ /* \f */
514
+ CHAR_FORWARD_SLASH: "/",
515
+ /* / */
516
+ CHAR_HASH: "#",
517
+ /* # */
518
+ CHAR_HYPHEN_MINUS: "-",
519
+ /* - */
520
+ CHAR_LEFT_ANGLE_BRACKET: "<",
521
+ /* < */
522
+ CHAR_LEFT_CURLY_BRACE: "{",
523
+ /* { */
524
+ CHAR_LEFT_SQUARE_BRACKET: "[",
525
+ /* [ */
526
+ CHAR_LINE_FEED: `
527
+ `,
528
+ /* \n */
529
+ CHAR_NO_BREAK_SPACE: "\xA0",
530
+ /* \u00A0 */
531
+ CHAR_PERCENT: "%",
532
+ /* % */
533
+ CHAR_PLUS: "+",
534
+ /* + */
535
+ CHAR_QUESTION_MARK: "?",
536
+ /* ? */
537
+ CHAR_RIGHT_ANGLE_BRACKET: ">",
538
+ /* > */
539
+ CHAR_RIGHT_CURLY_BRACE: "}",
540
+ /* } */
541
+ CHAR_RIGHT_SQUARE_BRACKET: "]",
542
+ /* ] */
543
+ CHAR_SEMICOLON: ";",
544
+ /* ; */
545
+ CHAR_SINGLE_QUOTE: "'",
546
+ /* ' */
547
+ CHAR_SPACE: " ",
548
+ /* */
549
+ CHAR_TAB: " ",
550
+ /* \t */
551
+ CHAR_UNDERSCORE: "_",
552
+ /* _ */
553
+ CHAR_VERTICAL_LINE: "|",
554
+ /* | */
555
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF"
556
+ /* \uFEFF */
557
+ };
558
+ }
559
+ });
560
+
561
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js
562
+ var require_parse = __commonJS({
563
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/lib/parse.js"(exports, module) {
564
+ "use strict";
565
+ init_cjs_shims();
566
+ var stringify = require_stringify(), {
567
+ MAX_LENGTH,
568
+ CHAR_BACKSLASH,
569
+ /* \ */
570
+ CHAR_BACKTICK,
571
+ /* ` */
572
+ CHAR_COMMA,
573
+ /* , */
574
+ CHAR_DOT,
575
+ /* . */
576
+ CHAR_LEFT_PARENTHESES,
577
+ /* ( */
578
+ CHAR_RIGHT_PARENTHESES,
579
+ /* ) */
580
+ CHAR_LEFT_CURLY_BRACE,
581
+ /* { */
582
+ CHAR_RIGHT_CURLY_BRACE,
583
+ /* } */
584
+ CHAR_LEFT_SQUARE_BRACKET,
585
+ /* [ */
586
+ CHAR_RIGHT_SQUARE_BRACKET,
587
+ /* ] */
588
+ CHAR_DOUBLE_QUOTE,
589
+ /* " */
590
+ CHAR_SINGLE_QUOTE,
591
+ /* ' */
592
+ CHAR_NO_BREAK_SPACE,
593
+ CHAR_ZERO_WIDTH_NOBREAK_SPACE
594
+ } = require_constants(), parse = (input, options = {}) => {
595
+ if (typeof input != "string")
596
+ throw new TypeError("Expected a string");
597
+ let opts = options || {}, max = typeof opts.maxLength == "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
598
+ if (input.length > max)
599
+ throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
600
+ let ast = { type: "root", input, nodes: [] }, stack = [ast], block = ast, prev = ast, brackets = 0, length = input.length, index = 0, depth = 0, value, memo = {}, advance = () => input[index++], push = (node) => {
601
+ if (node.type === "text" && prev.type === "dot" && (prev.type = "text"), prev && prev.type === "text" && node.type === "text") {
602
+ prev.value += node.value;
603
+ return;
604
+ }
605
+ return block.nodes.push(node), node.parent = block, node.prev = prev, prev = node, node;
606
+ };
607
+ for (push({ type: "bos" }); index < length; )
608
+ if (block = stack[stack.length - 1], value = advance(), !(value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE)) {
609
+ if (value === CHAR_BACKSLASH) {
610
+ push({ type: "text", value: (options.keepEscaping ? value : "") + advance() });
611
+ continue;
612
+ }
613
+ if (value === CHAR_RIGHT_SQUARE_BRACKET) {
614
+ push({ type: "text", value: "\\" + value });
615
+ continue;
616
+ }
617
+ if (value === CHAR_LEFT_SQUARE_BRACKET) {
618
+ brackets++;
619
+ let closed = !0, next;
620
+ for (; index < length && (next = advance()); ) {
621
+ if (value += next, next === CHAR_LEFT_SQUARE_BRACKET) {
622
+ brackets++;
623
+ continue;
624
+ }
625
+ if (next === CHAR_BACKSLASH) {
626
+ value += advance();
627
+ continue;
628
+ }
629
+ if (next === CHAR_RIGHT_SQUARE_BRACKET && (brackets--, brackets === 0))
630
+ break;
631
+ }
632
+ push({ type: "text", value });
633
+ continue;
634
+ }
635
+ if (value === CHAR_LEFT_PARENTHESES) {
636
+ block = push({ type: "paren", nodes: [] }), stack.push(block), push({ type: "text", value });
637
+ continue;
638
+ }
639
+ if (value === CHAR_RIGHT_PARENTHESES) {
640
+ if (block.type !== "paren") {
641
+ push({ type: "text", value });
642
+ continue;
643
+ }
644
+ block = stack.pop(), push({ type: "text", value }), block = stack[stack.length - 1];
645
+ continue;
646
+ }
647
+ if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
648
+ let open = value, next;
649
+ for (options.keepQuotes !== !0 && (value = ""); index < length && (next = advance()); ) {
650
+ if (next === CHAR_BACKSLASH) {
651
+ value += next + advance();
652
+ continue;
653
+ }
654
+ if (next === open) {
655
+ options.keepQuotes === !0 && (value += next);
656
+ break;
657
+ }
658
+ value += next;
659
+ }
660
+ push({ type: "text", value });
661
+ continue;
662
+ }
663
+ if (value === CHAR_LEFT_CURLY_BRACE) {
664
+ depth++;
665
+ let brace = {
666
+ type: "brace",
667
+ open: !0,
668
+ close: !1,
669
+ dollar: prev.value && prev.value.slice(-1) === "$" || block.dollar === !0,
670
+ depth,
671
+ commas: 0,
672
+ ranges: 0,
673
+ nodes: []
674
+ };
675
+ block = push(brace), stack.push(block), push({ type: "open", value });
676
+ continue;
677
+ }
678
+ if (value === CHAR_RIGHT_CURLY_BRACE) {
679
+ if (block.type !== "brace") {
680
+ push({ type: "text", value });
681
+ continue;
682
+ }
683
+ let type = "close";
684
+ block = stack.pop(), block.close = !0, push({ type, value }), depth--, block = stack[stack.length - 1];
685
+ continue;
686
+ }
687
+ if (value === CHAR_COMMA && depth > 0) {
688
+ if (block.ranges > 0) {
689
+ block.ranges = 0;
690
+ let open = block.nodes.shift();
691
+ block.nodes = [open, { type: "text", value: stringify(block) }];
692
+ }
693
+ push({ type: "comma", value }), block.commas++;
694
+ continue;
695
+ }
696
+ if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
697
+ let siblings = block.nodes;
698
+ if (depth === 0 || siblings.length === 0) {
699
+ push({ type: "text", value });
700
+ continue;
701
+ }
702
+ if (prev.type === "dot") {
703
+ if (block.range = [], prev.value += value, prev.type = "range", block.nodes.length !== 3 && block.nodes.length !== 5) {
704
+ block.invalid = !0, block.ranges = 0, prev.type = "text";
705
+ continue;
706
+ }
707
+ block.ranges++, block.args = [];
708
+ continue;
709
+ }
710
+ if (prev.type === "range") {
711
+ siblings.pop();
712
+ let before = siblings[siblings.length - 1];
713
+ before.value += prev.value + value, prev = before, block.ranges--;
714
+ continue;
715
+ }
716
+ push({ type: "dot", value });
717
+ continue;
718
+ }
719
+ push({ type: "text", value });
720
+ }
721
+ do
722
+ if (block = stack.pop(), block.type !== "root") {
723
+ block.nodes.forEach((node) => {
724
+ node.nodes || (node.type === "open" && (node.isOpen = !0), node.type === "close" && (node.isClose = !0), node.nodes || (node.type = "text"), node.invalid = !0);
725
+ });
726
+ let parent = stack[stack.length - 1], index2 = parent.nodes.indexOf(block);
727
+ parent.nodes.splice(index2, 1, ...block.nodes);
728
+ }
729
+ while (stack.length > 0);
730
+ return push({ type: "eos" }), ast;
731
+ };
732
+ module.exports = parse;
733
+ }
734
+ });
735
+
736
+ // ../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js
737
+ var require_braces = __commonJS({
738
+ "../../node_modules/.pnpm/braces@3.0.2/node_modules/braces/index.js"(exports, module) {
739
+ "use strict";
740
+ init_cjs_shims();
741
+ var stringify = require_stringify(), compile = require_compile(), expand = require_expand(), parse = require_parse(), braces = (input, options = {}) => {
742
+ let output = [];
743
+ if (Array.isArray(input))
744
+ for (let pattern of input) {
745
+ let result = braces.create(pattern, options);
746
+ Array.isArray(result) ? output.push(...result) : output.push(result);
747
+ }
748
+ else
749
+ output = [].concat(braces.create(input, options));
750
+ return options && options.expand === !0 && options.nodupes === !0 && (output = [...new Set(output)]), output;
751
+ };
752
+ braces.parse = (input, options = {}) => parse(input, options);
753
+ braces.stringify = (input, options = {}) => stringify(typeof input == "string" ? braces.parse(input, options) : input, options);
754
+ braces.compile = (input, options = {}) => (typeof input == "string" && (input = braces.parse(input, options)), compile(input, options));
755
+ braces.expand = (input, options = {}) => {
756
+ typeof input == "string" && (input = braces.parse(input, options));
757
+ let result = expand(input, options);
758
+ return options.noempty === !0 && (result = result.filter(Boolean)), options.nodupes === !0 && (result = [...new Set(result)]), result;
759
+ };
760
+ braces.create = (input, options = {}) => input === "" || input.length < 3 ? [input] : options.expand !== !0 ? braces.compile(input, options) : braces.expand(input, options);
761
+ module.exports = braces;
762
+ }
763
+ });
764
+
212
765
  // ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
213
766
  var require_binary_extensions = __commonJS({
214
767
  "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json"(exports, module) {
@@ -497,7 +1050,7 @@ var require_is_binary_path = __commonJS({
497
1050
  });
498
1051
 
499
1052
  // ../../node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js
500
- var require_constants = __commonJS({
1053
+ var require_constants2 = __commonJS({
501
1054
  "../../node_modules/.pnpm/chokidar@3.5.3/node_modules/chokidar/lib/constants.js"(exports) {
502
1055
  "use strict";
503
1056
  init_cjs_shims();
@@ -580,7 +1133,7 @@ var require_nodefs_handler = __commonJS({
580
1133
  STR_END,
581
1134
  BRACE_START,
582
1135
  STAR
583
- } = require_constants(), THROTTLE_MODE_WATCH = "watch", open = promisify(fs.open), stat = promisify(fs.stat), lstat = promisify(fs.lstat), close = promisify(fs.close), fsrealpath = promisify(fs.realpath), statMethods = { lstat, stat }, foreach = (val, fn) => {
1136
+ } = require_constants2(), THROTTLE_MODE_WATCH = "watch", open = promisify(fs.open), stat = promisify(fs.stat), lstat = promisify(fs.lstat), close = promisify(fs.close), fsrealpath = promisify(fs.realpath), statMethods = { lstat, stat }, foreach = (val, fn) => {
584
1137
  val instanceof Set ? val.forEach(fn) : fn(val);
585
1138
  }, addAndConvert = (main, prop, item) => {
586
1139
  let container = main[prop];
@@ -914,7 +1467,7 @@ var require_fsevents_handler = __commonJS({
914
1467
  FUNCTION_TYPE,
915
1468
  EMPTY_FN,
916
1469
  IDENTITY_FN
917
- } = require_constants(), Depth = (value) => isNaN(value) ? {} : { depth: value }, stat = promisify(fs.stat), lstat = promisify(fs.lstat), realpath = promisify(fs.realpath), statMethods = { stat, lstat }, FSEventsWatchers = /* @__PURE__ */ new Map(), consolidateThreshhold = 10, wrongEventFlags = /* @__PURE__ */ new Set([
1470
+ } = require_constants2(), Depth = (value) => isNaN(value) ? {} : { depth: value }, stat = promisify(fs.stat), lstat = promisify(fs.lstat), realpath = promisify(fs.realpath), statMethods = { stat, lstat }, FSEventsWatchers = /* @__PURE__ */ new Map(), consolidateThreshhold = 10, wrongEventFlags = /* @__PURE__ */ new Set([
918
1471
  69888,
919
1472
  70400,
920
1473
  71424,
@@ -1205,7 +1758,7 @@ var require_chokidar = __commonJS({
1205
1758
  isWindows,
1206
1759
  isMacos,
1207
1760
  isIBMi
1208
- } = require_constants(), stat = promisify(fs.stat), readdir = promisify(fs.readdir), arrify = (value = []) => Array.isArray(value) ? value : [value], flatten = (list, result = []) => (list.forEach((item) => {
1761
+ } = require_constants2(), stat = promisify(fs.stat), readdir = promisify(fs.readdir), arrify = (value = []) => Array.isArray(value) ? value : [value], flatten = (list, result = []) => (list.forEach((item) => {
1209
1762
  Array.isArray(item) ? flatten(item, result) : result.push(item);
1210
1763
  }), result), unifyPaths = (paths_) => {
1211
1764
  let paths = flatten(arrify(paths_));
@@ -1628,4 +2181,14 @@ var require_chokidar = __commonJS({
1628
2181
  }
1629
2182
  });
1630
2183
  export default require_chokidar();
1631
- //# sourceMappingURL=chokidar-4TKDAB27.js.map
2184
+ /*! Bundled license information:
2185
+
2186
+ fill-range/index.js:
2187
+ (*!
2188
+ * fill-range <https://github.com/jonschlinkert/fill-range>
2189
+ *
2190
+ * Copyright (c) 2014-present, Jon Schlinkert.
2191
+ * Licensed under the MIT License.
2192
+ *)
2193
+ */
2194
+ //# sourceMappingURL=chokidar-OESTCX4H.js.map