@shopify/create-app 3.80.6 → 3.81.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 (36) hide show
  1. package/dist/{chunk-I2T7RMPE.js → chunk-24FFN3UF.js} +26 -26
  2. package/dist/{chunk-3INFDIM3.js → chunk-2YVW3FGK.js} +42 -507
  3. package/dist/{chunk-3HCB5FCE.js → chunk-7O563I7I.js} +275 -76
  4. package/dist/{chunk-TJM3YBLQ.js → chunk-CTFDRWUN.js} +15 -12
  5. package/dist/{chunk-25SITN3I.js → chunk-ILI5X6PP.js} +2 -2
  6. package/dist/{chunk-LUDVCV3T.js → chunk-NQJJHSZI.js} +5 -5
  7. package/dist/{chunk-LDEHFRUQ.js → chunk-PTSAUW2T.js} +15 -10
  8. package/dist/{chunk-NRDSLF6O.js → chunk-QU7DXDZR.js} +243 -219
  9. package/dist/{chunk-LQ2ZKVR6.js → chunk-UMUTXITN.js} +87 -4
  10. package/dist/{chunk-LH5HVQQC.js → chunk-VMUIREUQ.js} +2 -2
  11. package/dist/{chunk-CDBXAE2F.js → chunk-Y2JP6WFP.js} +99 -11
  12. package/dist/{chunk-4EUXP4ED.js → chunk-YTTZ5B56.js} +32 -33
  13. package/dist/{custom-oclif-loader-SD7F6FMU.js → custom-oclif-loader-ZSOO2BP2.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-2FLOQDU4.js → error-handler-6K7FR77V.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 +11742 -5691
  21. package/dist/index.test.js +10022 -8822
  22. package/dist/lib-UJ7YNLH4.js +11 -0
  23. package/dist/{local-DLZ7G4Q5.js → local-BYAIQCJB.js} +9 -14
  24. package/dist/{magic-string.es-BSVDQOZI.js → magic-string.es-UZAAPNRE.js} +42 -36
  25. package/dist/{node-package-manager-EFQ7S3IA.js → node-package-manager-ZN2SJLTP.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-OSSJNNUO.js → ui-RJQBCWRN.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
@@ -1,6 +1,3 @@
1
- import {
2
- require_supports_color
3
- } from "./chunk-3I3GQNEW.js";
4
1
  import {
5
2
  __commonJS,
6
3
  __require,
@@ -334,6 +331,90 @@ var require_browser = __commonJS({
334
331
  }
335
332
  });
336
333
 
334
+ // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
335
+ var require_has_flag = __commonJS({
336
+ "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
337
+ "use strict";
338
+ init_cjs_shims();
339
+ module.exports = (flag, argv = process.argv) => {
340
+ let prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--", position = argv.indexOf(prefix + flag), terminatorPosition = argv.indexOf("--");
341
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
342
+ };
343
+ }
344
+ });
345
+
346
+ // ../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js
347
+ var require_supports_color = __commonJS({
348
+ "../../node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/index.js"(exports, module) {
349
+ "use strict";
350
+ init_cjs_shims();
351
+ var os = __require("os"), tty = __require("tty"), hasFlag = require_has_flag(), { env } = process, flagForceColor;
352
+ hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never") ? flagForceColor = 0 : (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) && (flagForceColor = 1);
353
+ function envForceColor() {
354
+ if ("FORCE_COLOR" in env)
355
+ return env.FORCE_COLOR === "true" ? 1 : env.FORCE_COLOR === "false" ? 0 : env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
356
+ }
357
+ function translateLevel(level) {
358
+ return level === 0 ? !1 : {
359
+ level,
360
+ hasBasic: !0,
361
+ has256: level >= 2,
362
+ has16m: level >= 3
363
+ };
364
+ }
365
+ function supportsColor(haveStream, { streamIsTTY, sniffFlags = !0 } = {}) {
366
+ let noFlagForceColor = envForceColor();
367
+ noFlagForceColor !== void 0 && (flagForceColor = noFlagForceColor);
368
+ let forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
369
+ if (forceColor === 0)
370
+ return 0;
371
+ if (sniffFlags) {
372
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor"))
373
+ return 3;
374
+ if (hasFlag("color=256"))
375
+ return 2;
376
+ }
377
+ if (haveStream && !streamIsTTY && forceColor === void 0)
378
+ return 0;
379
+ let min = forceColor || 0;
380
+ if (env.TERM === "dumb")
381
+ return min;
382
+ if (process.platform === "win32") {
383
+ let osRelease = os.release().split(".");
384
+ return Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586 ? Number(osRelease[2]) >= 14931 ? 3 : 2 : 1;
385
+ }
386
+ if ("CI" in env)
387
+ return ["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship" ? 1 : min;
388
+ if ("TEAMCITY_VERSION" in env)
389
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
390
+ if (env.COLORTERM === "truecolor")
391
+ return 3;
392
+ if ("TERM_PROGRAM" in env) {
393
+ let version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
394
+ switch (env.TERM_PROGRAM) {
395
+ case "iTerm.app":
396
+ return version >= 3 ? 3 : 2;
397
+ case "Apple_Terminal":
398
+ return 2;
399
+ }
400
+ }
401
+ return /-256(color)?$/i.test(env.TERM) ? 2 : /^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM) || "COLORTERM" in env ? 1 : min;
402
+ }
403
+ function getSupportLevel(stream, options = {}) {
404
+ let level = supportsColor(stream, {
405
+ streamIsTTY: stream && stream.isTTY,
406
+ ...options
407
+ });
408
+ return translateLevel(level);
409
+ }
410
+ module.exports = {
411
+ supportsColor: getSupportLevel,
412
+ stdout: getSupportLevel({ isTTY: tty.isatty(1) }),
413
+ stderr: getSupportLevel({ isTTY: tty.isatty(2) })
414
+ };
415
+ }
416
+ });
417
+
337
418
  // ../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/node.js
338
419
  var require_node = __commonJS({
339
420
  "../../node_modules/.pnpm/debug@4.4.0_supports-color@8.1.1/node_modules/debug/src/node.js"(exports, module) {
@@ -490,7 +571,9 @@ var require_src = __commonJS({
490
571
  });
491
572
 
492
573
  export {
574
+ require_has_flag,
493
575
  require_ms,
576
+ require_supports_color,
494
577
  require_src
495
578
  };
496
- //# sourceMappingURL=chunk-LQ2ZKVR6.js.map
579
+ //# sourceMappingURL=chunk-UMUTXITN.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  require_merge2,
3
3
  require_out
4
- } from "./chunk-TJM3YBLQ.js";
4
+ } from "./chunk-CTFDRWUN.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require,
@@ -666,4 +666,4 @@ export {
666
666
  require_globby,
667
667
  require_indent_string
668
668
  };
669
- //# sourceMappingURL=chunk-LH5HVQQC.js.map
669
+ //# sourceMappingURL=chunk-VMUIREUQ.js.map
@@ -1,7 +1,40 @@
1
1
  import {
2
+ __commonJS,
3
+ __require,
4
+ __toESM,
2
5
  init_cjs_shims
3
6
  } from "./chunk-PKR7KJ6P.js";
4
7
 
8
+ // ../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js
9
+ var require_commondir = __commonJS({
10
+ "../../node_modules/.pnpm/commondir@1.0.1/node_modules/commondir/index.js"(exports, module) {
11
+ init_cjs_shims();
12
+ var path2 = __require("path");
13
+ module.exports = function(basedir, relfiles) {
14
+ if (relfiles)
15
+ var files = relfiles.map(function(r) {
16
+ return path2.resolve(basedir, r);
17
+ });
18
+ else
19
+ var files = basedir;
20
+ var res = files.slice(1).reduce(function(ps, file) {
21
+ if (!file.match(/^([A-Za-z]:)?\/|\\/))
22
+ throw new Error("relative path without a basedir");
23
+ for (var xs = file.split(/\/+|\\+/), i = 0; ps[i] === xs[i] && i < Math.min(ps.length, xs.length); i++) ;
24
+ return ps.slice(0, i);
25
+ }, files[0].split(/\/+|\\+/));
26
+ return res.length > 1 ? res.join("/") : "/";
27
+ };
28
+ }
29
+ });
30
+
31
+ // ../cli-kit/dist/public/node/path.js
32
+ init_cjs_shims();
33
+ var import_commondir = __toESM(require_commondir(), 1);
34
+
35
+ // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
36
+ init_cjs_shims();
37
+
5
38
  // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/shared/pathe.ff20891b.mjs
6
39
  init_cjs_shims();
7
40
  var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
@@ -91,18 +124,73 @@ var basename = function(p, extension) {
91
124
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
92
125
  };
93
126
 
94
- // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
95
- init_cjs_shims();
127
+ // ../cli-kit/dist/public/node/path.js
128
+ import { fileURLToPath } from "url";
129
+ function joinPath(...paths) {
130
+ return join(...paths);
131
+ }
132
+ function normalizePath(path2) {
133
+ return normalize(path2);
134
+ }
135
+ function resolvePath(...paths) {
136
+ return resolve(...paths);
137
+ }
138
+ function relativePath(from, to) {
139
+ return relative(from, to);
140
+ }
141
+ function isAbsolutePath(path2) {
142
+ return isAbsolute(path2);
143
+ }
144
+ function dirname2(path2) {
145
+ return dirname(path2);
146
+ }
147
+ function basename2(path2, ext) {
148
+ return basename(path2, ext);
149
+ }
150
+ function extname2(path2) {
151
+ return extname(path2);
152
+ }
153
+ function relativizePath(path2, dir = cwd2()) {
154
+ let result = (0, import_commondir.default)([path2, dir]), relativePath2 = relative(dir, path2), relativeComponents = relativePath2.split("/").filter((component) => component === "..").length;
155
+ return result === "/" || relativePath2 === "" || relativeComponents > 2 ? path2 : relativePath2;
156
+ }
157
+ function isSubpath(mainPath, subpath) {
158
+ let relativePath2 = relative(mainPath, subpath);
159
+ return !relativePath2.startsWith("..") && !isAbsolutePath(relativePath2);
160
+ }
161
+ function moduleDirectory(moduleURL) {
162
+ return dirname2(fileURLToPath(moduleURL));
163
+ }
164
+ function cwd2() {
165
+ return normalize(process.env.INIT_CWD ? process.env.INIT_CWD : process.cwd());
166
+ }
167
+ function sniffForPath(argv = process.argv) {
168
+ let pathFlagIndex = argv.indexOf("--path");
169
+ if (pathFlagIndex === -1)
170
+ return argv.find((arg) => arg.startsWith("--path="))?.split("=")[1];
171
+ let pathFlag = argv[pathFlagIndex + 1];
172
+ if (!(!pathFlag || pathFlag.startsWith("-")))
173
+ return pathFlag;
174
+ }
175
+ function sniffForJson(argv = process.argv) {
176
+ return argv.includes("--json") || argv.includes("-j");
177
+ }
96
178
 
97
179
  export {
98
180
  delimiter,
99
- normalize,
100
- join,
101
- resolve,
102
- isAbsolute,
103
- extname,
104
- relative,
105
- dirname,
106
- basename
181
+ joinPath,
182
+ normalizePath,
183
+ resolvePath,
184
+ relativePath,
185
+ isAbsolutePath,
186
+ dirname2 as dirname,
187
+ basename2 as basename,
188
+ extname2 as extname,
189
+ relativizePath,
190
+ isSubpath,
191
+ moduleDirectory,
192
+ cwd2 as cwd,
193
+ sniffForPath,
194
+ sniffForJson
107
195
  };
108
- //# sourceMappingURL=chunk-CDBXAE2F.js.map
196
+ //# sourceMappingURL=chunk-Y2JP6WFP.js.map