@shopify/create-app 3.80.7 → 3.81.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 (36) hide show
  1. package/dist/{chunk-3INFDIM3.js → chunk-2YVW3FGK.js} +42 -507
  2. package/dist/{chunk-4CUOCZWA.js → chunk-4S4CSWD6.js} +15 -10
  3. package/dist/{chunk-YD5O6X2N.js → chunk-4WMN57JE.js} +26 -26
  4. package/dist/{chunk-TMCHXNDX.js → chunk-6EPG6YJ6.js} +32 -33
  5. package/dist/{chunk-3WLCDYDH.js → chunk-C4ABWPZH.js} +275 -76
  6. package/dist/{chunk-TJM3YBLQ.js → chunk-CTFDRWUN.js} +15 -12
  7. package/dist/{chunk-25SITN3I.js → chunk-ILI5X6PP.js} +2 -2
  8. package/dist/{chunk-OB3TW53B.js → chunk-TT3RANTU.js} +240 -216
  9. package/dist/{chunk-LQ2ZKVR6.js → chunk-UMUTXITN.js} +87 -4
  10. package/dist/{chunk-3AUF6SFV.js → chunk-UQP4ZLNS.js} +5 -5
  11. package/dist/{chunk-LH5HVQQC.js → chunk-VMUIREUQ.js} +2 -2
  12. package/dist/{chunk-CDBXAE2F.js → chunk-Y2JP6WFP.js} +99 -11
  13. package/dist/{custom-oclif-loader-6FO7YJKC.js → custom-oclif-loader-NCDQWHDP.js} +7 -8
  14. package/dist/{del-KB2YLEEB.js → del-MOZRBB7Y.js} +4 -4
  15. package/dist/{devtools-J4QAI6HR.js → devtools-LDCSRUXB.js} +4 -4
  16. package/dist/{error-handler-4H2Q3GJ6.js → error-handler-DQ6X5YKA.js} +11 -12
  17. package/dist/hooks/postrun.js +9 -10
  18. package/dist/hooks/prerun.js +9 -10
  19. package/dist/{http-proxy-KGLXPNEY.js → http-proxy-LHSVRGJ5.js} +14 -10
  20. package/dist/index.js +11767 -5697
  21. package/dist/index.test.js +10022 -8822
  22. package/dist/lib-UJ7YNLH4.js +11 -0
  23. package/dist/{local-BLTCJNBH.js → local-EXTM5UPB.js} +9 -14
  24. package/dist/{magic-string.es-BSVDQOZI.js → magic-string.es-UZAAPNRE.js} +42 -36
  25. package/dist/{node-package-manager-XGVFWJHO.js → node-package-manager-4LLKYFW5.js} +8 -9
  26. package/dist/{out-5KP5WGIK.js → out-NKJPLKLB.js} +2 -2
  27. package/dist/{path-GWAZZN2N.js → path-COZT77T2.js} +2 -3
  28. package/dist/toml_patch_bg.wasm +0 -0
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/dist/{ui-4M5QZZEG.js → ui-6L3VQT6P.js} +7 -10
  31. package/oclif.manifest.json +1 -1
  32. package/package.json +6 -7
  33. package/dist/chunk-3I3GQNEW.js +0 -95
  34. package/dist/chunk-ZUCWDIGE.js +0 -111
  35. package/dist/lib-TMSQAG3Q.js +0 -11
  36. package/dist/toml-patch-wasm-J5VGG6WG.js +0 -140
@@ -0,0 +1,11 @@
1
+ import {
2
+ require_lib
3
+ } from "./chunk-2YVW3FGK.js";
4
+ import "./chunk-UMUTXITN.js";
5
+ import "./chunk-VMUIREUQ.js";
6
+ import "./chunk-CTFDRWUN.js";
7
+ import "./chunk-7IK72W75.js";
8
+ import "./chunk-G2ZZKGSV.js";
9
+ import "./chunk-PKR7KJ6P.js";
10
+ export default require_lib();
11
+ //# sourceMappingURL=lib-UJ7YNLH4.js.map
@@ -19,17 +19,14 @@ import {
19
19
  isVerbose,
20
20
  macAddress,
21
21
  opentelemetryDomain,
22
- themeToken,
23
- useEmbeddedThemeCLI,
24
- useThemebundling
25
- } from "./chunk-OB3TW53B.js";
26
- import "./chunk-3INFDIM3.js";
27
- import "./chunk-3I3GQNEW.js";
28
- import "./chunk-ZUCWDIGE.js";
29
- import "./chunk-CDBXAE2F.js";
22
+ themeToken
23
+ } from "./chunk-TT3RANTU.js";
24
+ import "./chunk-2YVW3FGK.js";
25
+ import "./chunk-UMUTXITN.js";
26
+ import "./chunk-Y2JP6WFP.js";
30
27
  import "./chunk-75LV6AQS.js";
31
- import "./chunk-LH5HVQQC.js";
32
- import "./chunk-TJM3YBLQ.js";
28
+ import "./chunk-VMUIREUQ.js";
29
+ import "./chunk-CTFDRWUN.js";
33
30
  import "./chunk-7IK72W75.js";
34
31
  import "./chunk-G2ZZKGSV.js";
35
32
  import "./chunk-PKR7KJ6P.js";
@@ -54,8 +51,6 @@ export {
54
51
  isVerbose,
55
52
  macAddress,
56
53
  opentelemetryDomain,
57
- themeToken,
58
- useEmbeddedThemeCLI,
59
- useThemebundling
54
+ themeToken
60
55
  };
61
- //# sourceMappingURL=local-BLTCJNBH.js.map
56
+ //# sourceMappingURL=local-EXTM5UPB.js.map
@@ -2,7 +2,7 @@ import {
2
2
  init_cjs_shims
3
3
  } from "./chunk-PKR7KJ6P.js";
4
4
 
5
- // ../../node_modules/.pnpm/magic-string@0.30.10/node_modules/magic-string/dist/magic-string.es.mjs
5
+ // ../../node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.mjs
6
6
  init_cjs_shims();
7
7
 
8
8
  // ../../node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs
@@ -60,7 +60,7 @@ function encode(decoded) {
60
60
  return writer.flush();
61
61
  }
62
62
 
63
- // ../../node_modules/.pnpm/magic-string@0.30.10/node_modules/magic-string/dist/magic-string.es.mjs
63
+ // ../../node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.mjs
64
64
  var BitSet = class _BitSet {
65
65
  constructor(arg) {
66
66
  this.bits = arg instanceof _BitSet ? arg.bits.slice() : [];
@@ -145,7 +145,7 @@ function getBtoa() {
145
145
  }
146
146
  var btoa = /* @__PURE__ */ getBtoa(), SourceMap = class {
147
147
  constructor(properties) {
148
- this.version = 3, this.file = properties.file, this.sources = properties.sources, this.sourcesContent = properties.sourcesContent, this.names = properties.names, this.mappings = encode(properties.mappings), typeof properties.x_google_ignoreList < "u" && (this.x_google_ignoreList = properties.x_google_ignoreList);
148
+ this.version = 3, this.file = properties.file, this.sources = properties.sources, this.sourcesContent = properties.sourcesContent, this.names = properties.names, this.mappings = encode(properties.mappings), typeof properties.x_google_ignoreList < "u" && (this.x_google_ignoreList = properties.x_google_ignoreList), typeof properties.debugId < "u" && (this.debugId = properties.debugId);
149
149
  }
150
150
  toString() {
151
151
  return JSON.stringify(this);
@@ -217,12 +217,17 @@ var wordRegex = /\w/, Mappings = class {
217
217
  addUneditedChunk(sourceIndex, chunk, original, loc, sourcemapLocations) {
218
218
  let originalCharIndex = chunk.start, first = !0, charInHiresBoundary = !1;
219
219
  for (; originalCharIndex < chunk.end; ) {
220
- if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
221
- let segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
222
- this.hires === "boundary" ? wordRegex.test(original[originalCharIndex]) ? charInHiresBoundary || (this.rawSegments.push(segment), charInHiresBoundary = !0) : (this.rawSegments.push(segment), charInHiresBoundary = !1) : this.rawSegments.push(segment);
220
+ if (original[originalCharIndex] === `
221
+ `)
222
+ loc.line += 1, loc.column = 0, this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, first = !0, charInHiresBoundary = !1;
223
+ else {
224
+ if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
225
+ let segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
226
+ this.hires === "boundary" ? wordRegex.test(original[originalCharIndex]) ? charInHiresBoundary || (this.rawSegments.push(segment), charInHiresBoundary = !0) : (this.rawSegments.push(segment), charInHiresBoundary = !1) : this.rawSegments.push(segment);
227
+ }
228
+ loc.column += 1, this.generatedCodeColumn += 1, first = !1;
223
229
  }
224
- original[originalCharIndex] === `
225
- ` ? (loc.line += 1, loc.column = 0, this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, first = !0) : (loc.column += 1, this.generatedCodeColumn += 1, first = !1), originalCharIndex += 1;
230
+ originalCharIndex += 1;
226
231
  }
227
232
  this.pending = null;
228
233
  }
@@ -259,7 +264,8 @@ var wordRegex = /\w/, Mappings = class {
259
264
  sourcemapLocations: { writable: !0, value: new BitSet() },
260
265
  storedNames: { writable: !0, value: {} },
261
266
  indentStr: { writable: !0, value: void 0 },
262
- ignoreList: { writable: !0, value: options.ignoreList }
267
+ ignoreList: { writable: !0, value: options.ignoreList },
268
+ offset: { writable: !0, value: options.offset || 0 }
263
269
  }), this.byStart[0] = chunk, this.byEnd[string.length] = chunk;
264
270
  }
265
271
  addSourcemapLocation(char) {
@@ -270,19 +276,19 @@ var wordRegex = /\w/, Mappings = class {
270
276
  return this.outro += content, this;
271
277
  }
272
278
  appendLeft(index, content) {
273
- if (typeof content != "string") throw new TypeError("inserted content must be a string");
279
+ if (index = index + this.offset, typeof content != "string") throw new TypeError("inserted content must be a string");
274
280
  this._split(index);
275
281
  let chunk = this.byEnd[index];
276
282
  return chunk ? chunk.appendLeft(content) : this.intro += content, this;
277
283
  }
278
284
  appendRight(index, content) {
279
- if (typeof content != "string") throw new TypeError("inserted content must be a string");
285
+ if (index = index + this.offset, typeof content != "string") throw new TypeError("inserted content must be a string");
280
286
  this._split(index);
281
287
  let chunk = this.byStart[index];
282
288
  return chunk ? chunk.appendRight(content) : this.outro += content, this;
283
289
  }
284
290
  clone() {
285
- let cloned = new _MagicString(this.original, { filename: this.filename }), originalChunk = this.firstChunk, clonedChunk = cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone();
291
+ let cloned = new _MagicString(this.original, { filename: this.filename, offset: this.offset }), originalChunk = this.firstChunk, clonedChunk = cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone();
286
292
  for (; originalChunk; ) {
287
293
  cloned.byStart[clonedChunk.start] = clonedChunk, cloned.byEnd[clonedChunk.end] = clonedChunk;
288
294
  let nextOriginalChunk = originalChunk.next, nextClonedChunk = nextOriginalChunk && nextOriginalChunk.clone();
@@ -370,7 +376,7 @@ var wordRegex = /\w/, Mappings = class {
370
376
  ), warned.insertRight = !0), this.prependRight(index, content);
371
377
  }
372
378
  move(start, end, index) {
373
- if (index >= start && index <= end) throw new Error("Cannot move a selection inside itself");
379
+ if (start = start + this.offset, end = end + this.offset, index = index + this.offset, index >= start && index <= end) throw new Error("Cannot move a selection inside itself");
374
380
  this._split(start), this._split(end), this._split(index);
375
381
  let first = this.byStart[start], last = this.byEnd[end], oldLeft = first.previous, oldRight = last.next, newRight = this.byStart[index];
376
382
  if (!newRight && last === this.lastChunk) return this;
@@ -381,9 +387,11 @@ var wordRegex = /\w/, Mappings = class {
381
387
  return options = options || {}, this.update(start, end, content, { ...options, overwrite: !options.contentOnly });
382
388
  }
383
389
  update(start, end, content, options) {
384
- if (typeof content != "string") throw new TypeError("replacement content must be a string");
385
- for (; start < 0; ) start += this.original.length;
386
- for (; end < 0; ) end += this.original.length;
390
+ if (start = start + this.offset, end = end + this.offset, typeof content != "string") throw new TypeError("replacement content must be a string");
391
+ if (this.original.length !== 0) {
392
+ for (; start < 0; ) start += this.original.length;
393
+ for (; end < 0; ) end += this.original.length;
394
+ }
387
395
  if (end > this.original.length) throw new Error("end is out of bounds");
388
396
  if (start === end)
389
397
  throw new Error(
@@ -421,20 +429,22 @@ var wordRegex = /\w/, Mappings = class {
421
429
  return this.intro = content + this.intro, this;
422
430
  }
423
431
  prependLeft(index, content) {
424
- if (typeof content != "string") throw new TypeError("inserted content must be a string");
432
+ if (index = index + this.offset, typeof content != "string") throw new TypeError("inserted content must be a string");
425
433
  this._split(index);
426
434
  let chunk = this.byEnd[index];
427
435
  return chunk ? chunk.prependLeft(content) : this.intro = content + this.intro, this;
428
436
  }
429
437
  prependRight(index, content) {
430
- if (typeof content != "string") throw new TypeError("inserted content must be a string");
438
+ if (index = index + this.offset, typeof content != "string") throw new TypeError("inserted content must be a string");
431
439
  this._split(index);
432
440
  let chunk = this.byStart[index];
433
441
  return chunk ? chunk.prependRight(content) : this.outro = content + this.outro, this;
434
442
  }
435
443
  remove(start, end) {
436
- for (; start < 0; ) start += this.original.length;
437
- for (; end < 0; ) end += this.original.length;
444
+ if (start = start + this.offset, end = end + this.offset, this.original.length !== 0) {
445
+ for (; start < 0; ) start += this.original.length;
446
+ for (; end < 0; ) end += this.original.length;
447
+ }
438
448
  if (start === end) return this;
439
449
  if (start < 0 || end > this.original.length) throw new Error("Character is out of bounds");
440
450
  if (start > end) throw new Error("end must be greater than start");
@@ -445,8 +455,10 @@ var wordRegex = /\w/, Mappings = class {
445
455
  return this;
446
456
  }
447
457
  reset(start, end) {
448
- for (; start < 0; ) start += this.original.length;
449
- for (; end < 0; ) end += this.original.length;
458
+ if (start = start + this.offset, end = end + this.offset, this.original.length !== 0) {
459
+ for (; start < 0; ) start += this.original.length;
460
+ for (; end < 0; ) end += this.original.length;
461
+ }
450
462
  if (start === end) return this;
451
463
  if (start < 0 || end > this.original.length) throw new Error("Character is out of bounds");
452
464
  if (start > end) throw new Error("end must be greater than start");
@@ -486,9 +498,11 @@ var wordRegex = /\w/, Mappings = class {
486
498
  } while (chunk = chunk.previous);
487
499
  return lineIndex = this.intro.lastIndexOf(n), lineIndex !== -1 ? this.intro.substr(lineIndex + 1) + lineStr : this.intro + lineStr;
488
500
  }
489
- slice(start = 0, end = this.original.length) {
490
- for (; start < 0; ) start += this.original.length;
491
- for (; end < 0; ) end += this.original.length;
501
+ slice(start = 0, end = this.original.length - this.offset) {
502
+ if (start = start + this.offset, end = end + this.offset, this.original.length !== 0) {
503
+ for (; start < 0; ) start += this.original.length;
504
+ for (; end < 0; ) end += this.original.length;
505
+ }
492
506
  let result = "", chunk = this.firstChunk;
493
507
  for (; chunk && (chunk.start > start || chunk.end <= start); ) {
494
508
  if (chunk.start < end && chunk.end >= end)
@@ -605,22 +619,14 @@ var wordRegex = /\w/, Mappings = class {
605
619
  matchAll(searchValue, this.original).forEach((match) => {
606
620
  if (match.index != null) {
607
621
  let replacement2 = getReplacement(match, this.original);
608
- replacement2 !== match[0] && this.overwrite(
609
- match.index,
610
- match.index + match[0].length,
611
- replacement2
612
- );
622
+ replacement2 !== match[0] && this.overwrite(match.index, match.index + match[0].length, replacement2);
613
623
  }
614
624
  });
615
625
  else {
616
626
  let match = this.original.match(searchValue);
617
627
  if (match && match.index != null) {
618
628
  let replacement2 = getReplacement(match, this.original);
619
- replacement2 !== match[0] && this.overwrite(
620
- match.index,
621
- match.index + match[0].length,
622
- replacement2
623
- );
629
+ replacement2 !== match[0] && this.overwrite(match.index, match.index + match[0].length, replacement2);
624
630
  }
625
631
  }
626
632
  return this;
@@ -805,4 +811,4 @@ export {
805
811
  SourceMap,
806
812
  MagicString as default
807
813
  };
808
- //# sourceMappingURL=magic-string.es-BSVDQOZI.js.map
814
+ //# sourceMappingURL=magic-string.es-UZAAPNRE.js.map
@@ -29,15 +29,14 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-3WLCDYDH.js";
33
- import "./chunk-OB3TW53B.js";
34
- import "./chunk-3INFDIM3.js";
35
- import "./chunk-3I3GQNEW.js";
36
- import "./chunk-ZUCWDIGE.js";
37
- import "./chunk-CDBXAE2F.js";
32
+ } from "./chunk-C4ABWPZH.js";
33
+ import "./chunk-TT3RANTU.js";
34
+ import "./chunk-2YVW3FGK.js";
35
+ import "./chunk-UMUTXITN.js";
36
+ import "./chunk-Y2JP6WFP.js";
38
37
  import "./chunk-75LV6AQS.js";
39
- import "./chunk-LH5HVQQC.js";
40
- import "./chunk-TJM3YBLQ.js";
38
+ import "./chunk-VMUIREUQ.js";
39
+ import "./chunk-CTFDRWUN.js";
41
40
  import "./chunk-7IK72W75.js";
42
41
  import "./chunk-G2ZZKGSV.js";
43
42
  import "./chunk-PKR7KJ6P.js";
@@ -73,4 +72,4 @@ export {
73
72
  writePackageJSON,
74
73
  yarnLockfile
75
74
  };
76
- //# sourceMappingURL=node-package-manager-XGVFWJHO.js.map
75
+ //# sourceMappingURL=node-package-manager-4LLKYFW5.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  require_out
3
- } from "./chunk-TJM3YBLQ.js";
3
+ } from "./chunk-CTFDRWUN.js";
4
4
  import "./chunk-7IK72W75.js";
5
5
  import "./chunk-PKR7KJ6P.js";
6
6
  export default require_out();
7
- //# sourceMappingURL=out-5KP5WGIK.js.map
7
+ //# sourceMappingURL=out-NKJPLKLB.js.map
@@ -13,8 +13,7 @@ import {
13
13
  resolvePath,
14
14
  sniffForJson,
15
15
  sniffForPath
16
- } from "./chunk-ZUCWDIGE.js";
17
- import "./chunk-CDBXAE2F.js";
16
+ } from "./chunk-Y2JP6WFP.js";
18
17
  import "./chunk-PKR7KJ6P.js";
19
18
  export {
20
19
  basename,
@@ -32,4 +31,4 @@ export {
32
31
  sniffForJson,
33
32
  sniffForPath
34
33
  };
35
- //# sourceMappingURL=path-GWAZZN2N.js.map
34
+ //# sourceMappingURL=path-COZT77T2.js.map
Binary file