@shopify/create-app 3.68.1 → 3.69.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/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
  2. package/dist/{chunk-C5I6OCGC.js → chunk-2A7GNM7F.js} +2 -2
  3. package/dist/{chunk-SB7EWNHY.js → chunk-2KQ4LDTO.js} +11 -11
  4. package/dist/{chunk-VZ5DQVYW.js → chunk-AZIUHI45.js} +93 -5
  5. package/dist/{chunk-BG6FYFQK.js → chunk-L7M22NDW.js} +2 -2
  6. package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
  7. package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
  8. package/dist/{chunk-T2XKLQYZ.js → chunk-P7JUHQKL.js} +2 -3
  9. package/dist/{chunk-DJNRMCME.js → chunk-RARQUUYC.js} +161 -39
  10. package/dist/{chunk-BB6N2XSA.js → chunk-T2GATXSP.js} +2 -2
  11. package/dist/{chunk-ARVENXAB.js → chunk-TH2T6E35.js} +142 -860
  12. package/dist/{chunk-BUXMIKPA.js → chunk-VTDJL77Q.js} +7 -7
  13. package/dist/{chunk-CXVVOJV3.js → chunk-XMXXJYAD.js} +4 -4
  14. package/dist/{chunk-2MYV5AJ5.js → chunk-XWGFZ4FB.js} +3 -3
  15. package/dist/{constants-CPNN74KZ.js → constants-T7JXE5K7.js} +3 -3
  16. package/dist/{custom-oclif-loader-7UDPOFCK.js → custom-oclif-loader-ZOTPUMCE.js} +10 -12
  17. package/dist/{del-SR7JNKRM.js → del-42HQA7PR.js} +5 -5
  18. package/dist/{error-handler-JYFTDW74.js → error-handler-WHMVXDIQ.js} +12 -14
  19. package/dist/hooks/postrun.js +13 -14
  20. package/dist/hooks/prerun.js +11 -13
  21. package/dist/index.js +10782 -9981
  22. package/dist/lib-H5ZGVBFQ.js +11 -0
  23. package/dist/{local-TOVALPGH.js → local-PEZP7E77.js} +8 -12
  24. package/dist/{node-package-manager-6HSGLS2Y.js → node-package-manager-HO3FW4GK.js} +9 -11
  25. package/dist/out-ZDSLKX4N.js +7 -0
  26. package/dist/{path-G6AAF6UV.js → path-T2RCZTRE.js} +2 -2
  27. package/dist/{system-RP7KHMIF.js → system-CMPJ36QP.js} +8 -10
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/dist/{ui-TW2LGB6E.js → ui-UYOJO4WW.js} +8 -10
  30. package/oclif.manifest.json +1 -1
  31. package/package.json +3 -3
  32. package/dist/chunk-2AW6NZQ5.js +0 -101
  33. package/dist/chunk-QETDXAFX.js +0 -106
  34. package/dist/lib-H3ZZGS7I.js +0 -1322
  35. package/dist/lib-N6KQZBCQ.js +0 -12
  36. package/dist/out-66YUO4CT.js +0 -7
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-BUXMIKPA.js";
4
+ } from "./chunk-VTDJL77Q.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-ARVENXAB.js";
8
+ } from "./chunk-TH2T6E35.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-CXVVOJV3.js";
11
+ } from "./chunk-XMXXJYAD.js";
12
12
  import {
13
13
  AbortSilentError,
14
14
  CancelExecution,
@@ -21,25 +21,25 @@ import {
21
21
  outputInfo,
22
22
  printEventsJson,
23
23
  require_stacktracey,
24
- shouldReportError
25
- } from "./chunk-DJNRMCME.js";
24
+ shouldReportErrorAsUnexpected
25
+ } from "./chunk-RARQUUYC.js";
26
26
  import {
27
27
  require_lib
28
- } from "./chunk-VZ5DQVYW.js";
28
+ } from "./chunk-AZIUHI45.js";
29
29
  import {
30
30
  require_once
31
31
  } from "./chunk-O5K4AU7Q.js";
32
32
  import {
33
33
  bugsnagApiKey,
34
34
  reportingRateLimit
35
- } from "./chunk-T2XKLQYZ.js";
35
+ } from "./chunk-P7JUHQKL.js";
36
36
  import {
37
37
  cwd,
38
38
  isAbsolutePath,
39
39
  joinPath,
40
40
  normalizePath,
41
41
  relativePath
42
- } from "./chunk-BB6N2XSA.js";
42
+ } from "./chunk-T2GATXSP.js";
43
43
  import {
44
44
  __commonJS,
45
45
  __require,
@@ -2053,7 +2053,7 @@ async function errorHandler(error, config) {
2053
2053
  }
2054
2054
  var reportError = async (error, config) => {
2055
2055
  let exitMode = "expected_error";
2056
- shouldReportError(error) && (exitMode = "unexpected_error"), config !== void 0 && await reportAnalyticsEvent({ config, errorMessage: error instanceof Error ? error.message : void 0, exitMode }), await sendErrorToBugsnag(error, exitMode);
2056
+ shouldReportErrorAsUnexpected(error) && (exitMode = "unexpected_error"), config !== void 0 && await reportAnalyticsEvent({ config, errorMessage: error instanceof Error ? error.message : void 0, exitMode }), await sendErrorToBugsnag(error, exitMode);
2057
2057
  };
2058
2058
  async function sendErrorToBugsnag(error, exitMode) {
2059
2059
  if (import_core.settings.debug)
@@ -2085,7 +2085,7 @@ ${formattedStacktrace}`;
2085
2085
  })), { error: reportableError, reported: report, unhandled };
2086
2086
  }
2087
2087
  function cleanStackFrameFilePath({ currentFilePath, projectRoot, pluginLocations }) {
2088
- let fullLocation = isAbsolutePath(currentFilePath) ? currentFilePath : joinPath(projectRoot, currentFilePath), matchingPluginPath = pluginLocations.filter(({ pluginPath }) => fullLocation.indexOf(pluginPath) === 0)[0];
2088
+ let fullLocation = isAbsolutePath(currentFilePath) ? currentFilePath : joinPath(projectRoot, currentFilePath), matchingPluginPath = pluginLocations.filter(({ pluginPath }) => fullLocation.startsWith(pluginPath))[0];
2089
2089
  return matchingPluginPath !== void 0 ? joinPath(matchingPluginPath.name, relativePath(matchingPluginPath.pluginPath, fullLocation)) : currentFilePath.replace(/.*node_modules\//, "");
2090
2090
  }
2091
2091
  async function registerCleanBugsnagErrorsFromWithinPlugins(config) {
@@ -2145,4 +2145,4 @@ export {
2145
2145
  registerCleanBugsnagErrorsFromWithinPlugins,
2146
2146
  addBugsnagMetadata
2147
2147
  };
2148
- //# sourceMappingURL=chunk-SB7EWNHY.js.map
2148
+ //# sourceMappingURL=chunk-2KQ4LDTO.js.map
@@ -6,14 +6,11 @@ import {
6
6
  import {
7
7
  require_is_wsl
8
8
  } from "./chunk-UBB7JKND.js";
9
- import {
10
- require_isexe
11
- } from "./chunk-2AW6NZQ5.js";
12
9
  import {
13
10
  require_balanced_match,
14
11
  require_globby,
15
12
  require_indent_string
16
- } from "./chunk-BG6FYFQK.js";
13
+ } from "./chunk-L7M22NDW.js";
17
14
  import {
18
15
  __commonJS,
19
16
  __require,
@@ -146251,6 +146248,97 @@ var require_flush = __commonJS({
146251
146248
  }
146252
146249
  });
146253
146250
 
146251
+ // ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js
146252
+ var require_windows = __commonJS({
146253
+ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js"(exports, module) {
146254
+ init_cjs_shims();
146255
+ module.exports = isexe;
146256
+ isexe.sync = sync;
146257
+ var fs = __require("fs");
146258
+ function checkPathExt(path, options) {
146259
+ var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
146260
+ if (!pathext || (pathext = pathext.split(";"), pathext.indexOf("") !== -1))
146261
+ return !0;
146262
+ for (var i = 0; i < pathext.length; i++) {
146263
+ var p = pathext[i].toLowerCase();
146264
+ if (p && path.substr(-p.length).toLowerCase() === p)
146265
+ return !0;
146266
+ }
146267
+ return !1;
146268
+ }
146269
+ function checkStat(stat, path, options) {
146270
+ return !stat.isSymbolicLink() && !stat.isFile() ? !1 : checkPathExt(path, options);
146271
+ }
146272
+ function isexe(path, options, cb) {
146273
+ fs.stat(path, function(er, stat) {
146274
+ cb(er, er ? !1 : checkStat(stat, path, options));
146275
+ });
146276
+ }
146277
+ function sync(path, options) {
146278
+ return checkStat(fs.statSync(path), path, options);
146279
+ }
146280
+ }
146281
+ });
146282
+
146283
+ // ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js
146284
+ var require_mode = __commonJS({
146285
+ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js"(exports, module) {
146286
+ init_cjs_shims();
146287
+ module.exports = isexe;
146288
+ isexe.sync = sync;
146289
+ var fs = __require("fs");
146290
+ function isexe(path, options, cb) {
146291
+ fs.stat(path, function(er, stat) {
146292
+ cb(er, er ? !1 : checkStat(stat, options));
146293
+ });
146294
+ }
146295
+ function sync(path, options) {
146296
+ return checkStat(fs.statSync(path), options);
146297
+ }
146298
+ function checkStat(stat, options) {
146299
+ return stat.isFile() && checkMode(stat, options);
146300
+ }
146301
+ function checkMode(stat, options) {
146302
+ var mod = stat.mode, uid = stat.uid, gid = stat.gid, myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid(), myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid(), u = parseInt("100", 8), g = parseInt("010", 8), o = parseInt("001", 8), ug = u | g, ret = mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;
146303
+ return ret;
146304
+ }
146305
+ }
146306
+ });
146307
+
146308
+ // ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js
146309
+ var require_isexe = __commonJS({
146310
+ "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports, module) {
146311
+ init_cjs_shims();
146312
+ var fs = __require("fs"), core;
146313
+ process.platform === "win32" || global.TESTING_WINDOWS ? core = require_windows() : core = require_mode();
146314
+ module.exports = isexe;
146315
+ isexe.sync = sync;
146316
+ function isexe(path, options, cb) {
146317
+ if (typeof options == "function" && (cb = options, options = {}), !cb) {
146318
+ if (typeof Promise != "function")
146319
+ throw new TypeError("callback not provided");
146320
+ return new Promise(function(resolve, reject) {
146321
+ isexe(path, options || {}, function(er, is) {
146322
+ er ? reject(er) : resolve(is);
146323
+ });
146324
+ });
146325
+ }
146326
+ core(path, options || {}, function(er, is) {
146327
+ er && (er.code === "EACCES" || options && options.ignoreErrors) && (er = null, is = !1), cb(er, is);
146328
+ });
146329
+ }
146330
+ function sync(path, options) {
146331
+ try {
146332
+ return core.sync(path, options || {});
146333
+ } catch (er) {
146334
+ if (options && options.ignoreErrors || er.code === "EACCES")
146335
+ return !1;
146336
+ throw er;
146337
+ }
146338
+ }
146339
+ }
146340
+ });
146341
+
146254
146342
  // ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js
146255
146343
  var require_which = __commonJS({
146256
146344
  "../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js"(exports, module) {
@@ -157857,4 +157945,4 @@ ejs/lib/ejs.js:
157857
157945
  * @license {@link http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0}
157858
157946
  *)
157859
157947
  */
157860
- //# sourceMappingURL=chunk-VZ5DQVYW.js.map
157948
+ //# sourceMappingURL=chunk-AZIUHI45.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  require_merge2,
3
3
  require_out
4
- } from "./chunk-F27QYMO7.js";
4
+ } from "./chunk-MX4RJDBM.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require,
@@ -659,4 +659,4 @@ export {
659
659
  require_globby,
660
660
  require_indent_string
661
661
  };
662
- //# sourceMappingURL=chunk-BG6FYFQK.js.map
662
+ //# sourceMappingURL=chunk-L7M22NDW.js.map