@shopify/create-app 3.73.2 → 3.74.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 (39) hide show
  1. package/dist/{chokidar-5LLC6S6D.js → chokidar-LYCK7UIU.js} +20 -574
  2. package/dist/chunk-3I3GQNEW.js +95 -0
  3. package/dist/{chunk-CRHXI6PS.js → chunk-5DBS6QOU.js} +102 -638
  4. package/dist/{chunk-7BLDARWR.js → chunk-7LUJ2Y3A.js} +40 -22
  5. package/dist/{chunk-Z2K6T5HO.js → chunk-A2CUF3IE.js} +2 -2
  6. package/dist/{chunk-BUFIEXZ5.js → chunk-B3YWYURY.js} +701 -141
  7. package/dist/{chunk-K7HGDAI4.js → chunk-CDBXAE2F.js} +20 -104
  8. package/dist/chunk-CP3BRHWK.js +33 -0
  9. package/dist/{chunk-5MQK53ZB.js → chunk-IS43CUN4.js} +490 -411
  10. package/dist/{chunk-OAZFIMJ3.js → chunk-LQ2ZKVR6.js} +45 -115
  11. package/dist/{chunk-3HBRMIPY.js → chunk-MW7RWHY5.js} +341 -211
  12. package/dist/{chunk-BOBYVF6Z.js → chunk-NBA3G6YQ.js} +55430 -36539
  13. package/dist/chunk-UV6IYZ3Q.js +15929 -0
  14. package/dist/{chunk-55N7E5WW.js → chunk-VS6UX7CH.js} +1849 -4319
  15. package/dist/{chunk-U52U2BAX.js → chunk-XENZIRXB.js} +640 -1166
  16. package/dist/{chunk-EZFQXNK5.js → chunk-ZKGBK6WQ.js} +2 -2
  17. package/dist/chunk-ZUCWDIGE.js +111 -0
  18. package/dist/{custom-oclif-loader-COXUWDRX.js → custom-oclif-loader-N77DUCDG.js} +9 -8
  19. package/dist/{del-WGII2Y5S.js → del-CKAQ44SX.js} +5 -5
  20. package/dist/{devtools-K7FXBBFZ.js → devtools-6LOQORRT.js} +2 -2
  21. package/dist/{error-handler-NLEDBRP4.js → error-handler-OVH57TNJ.js} +13 -12
  22. package/dist/hooks/postrun.js +14 -12
  23. package/dist/hooks/prerun.js +27 -12
  24. package/dist/{http-proxy-FXWKYHZ3.js → http-proxy-L3MCJRQS.js} +3 -2
  25. package/dist/index.js +19915 -17261
  26. package/dist/index.test.js +80 -133
  27. package/dist/lib-ZAUU5FOJ.js +11 -0
  28. package/dist/{local-WM5Y2GKE.js → local-ERLG2ZPN.js} +11 -10
  29. package/dist/{node-package-manager-U4IKWNRD.js → node-package-manager-YQCLDJCT.js} +10 -9
  30. package/dist/out-AZBX4ITJ.js +7 -0
  31. package/dist/{path-2HZUSAGR.js → path-GWAZZN2N.js} +3 -2
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/dist/{ui-NMBUMLWD.js → ui-J4ZQO6RP.js} +9 -8
  34. package/oclif.manifest.json +1 -1
  35. package/package.json +3 -4
  36. package/dist/chunk-JHSNPAK4.js +0 -15742
  37. package/dist/chunk-TKDPJ4ZU.js +0 -27
  38. package/dist/lib-CKTRCGTR.js +0 -11
  39. package/dist/out-JR4DWQ2G.js +0 -7
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-JHSNPAK4.js";
4
+ } from "./chunk-UV6IYZ3Q.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData
8
- } from "./chunk-55N7E5WW.js";
8
+ } from "./chunk-VS6UX7CH.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-U52U2BAX.js";
11
+ } from "./chunk-XENZIRXB.js";
12
12
  import {
13
13
  AbortSilentError,
14
14
  CancelExecution,
@@ -23,17 +23,17 @@ import {
23
23
  reportingRateLimit,
24
24
  require_stacktracey,
25
25
  shouldReportErrorAsUnexpected
26
- } from "./chunk-5MQK53ZB.js";
26
+ } from "./chunk-IS43CUN4.js";
27
27
  import {
28
28
  require_lib
29
- } from "./chunk-BOBYVF6Z.js";
29
+ } from "./chunk-NBA3G6YQ.js";
30
30
  import {
31
31
  cwd,
32
32
  isAbsolutePath,
33
33
  joinPath,
34
34
  normalizePath,
35
35
  relativePath
36
- } from "./chunk-K7HGDAI4.js";
36
+ } from "./chunk-ZUCWDIGE.js";
37
37
  import {
38
38
  require_once
39
39
  } from "./chunk-SHWOPMLQ.js";
@@ -457,9 +457,9 @@ var require_byline = __commonJS({
457
457
  }
458
458
  });
459
459
 
460
- // ../../node_modules/.pnpm/@bugsnag+node@7.22.7/node_modules/@bugsnag/node/dist/bugsnag.js
460
+ // ../../node_modules/.pnpm/@bugsnag+node@7.25.0/node_modules/@bugsnag/node/dist/bugsnag.js
461
461
  var require_bugsnag = __commonJS({
462
- "../../node_modules/.pnpm/@bugsnag+node@7.22.7/node_modules/@bugsnag/node/dist/bugsnag.js"(exports, module) {
462
+ "../../node_modules/.pnpm/@bugsnag+node@7.25.0/node_modules/@bugsnag/node/dist/bugsnag.js"(exports, module) {
463
463
  init_cjs_shims();
464
464
  (function(f) {
465
465
  if (typeof exports == "object" && typeof module < "u")
@@ -906,13 +906,30 @@ var require_bugsnag = __commonJS({
906
906
  add: __add_21,
907
907
  get,
908
908
  clear: __clear_21
909
- }, StackGenerator = require_stack_generator(), Event = /* @__PURE__ */ function() {
909
+ };
910
+ function _extends() {
911
+ return _extends = Object.assign ? Object.assign.bind() : function(target) {
912
+ for (var i = 1; i < arguments.length; i++) {
913
+ var source = arguments[i];
914
+ for (var key in source)
915
+ Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
916
+ }
917
+ return target;
918
+ }, _extends.apply(this, arguments);
919
+ }
920
+ var StackGenerator = require_stack_generator(), Event = /* @__PURE__ */ function() {
910
921
  function Event2(errorClass, errorMessage, stacktrace, handledState, originalError) {
911
- stacktrace === void 0 && (stacktrace = []), handledState === void 0 && (handledState = defaultHandledState()), this.apiKey = void 0, this.context = void 0, this.groupingHash = void 0, this.originalError = originalError, this._handledState = handledState, this.severity = this._handledState.severity, this.unhandled = this._handledState.unhandled, this.app = {}, this.device = {}, this.request = {}, this.breadcrumbs = [], this.threads = [], this._metadata = {}, this._features = [], this._featuresIndex = {}, this._user = {}, this._session = void 0, this.errors = [createBugsnagError(errorClass, errorMessage, Event2.__type, stacktrace)];
922
+ stacktrace === void 0 && (stacktrace = []), handledState === void 0 && (handledState = defaultHandledState()), this.apiKey = void 0, this.context = void 0, this.groupingHash = void 0, this.originalError = originalError, this._handledState = handledState, this.severity = this._handledState.severity, this.unhandled = this._handledState.unhandled, this.app = {}, this.device = {}, this.request = {}, this.breadcrumbs = [], this.threads = [], this._metadata = {}, this._features = [], this._featuresIndex = {}, this._user = {}, this._session = void 0, this._correlation = void 0, this.errors = [createBugsnagError(errorClass, errorMessage, Event2.__type, stacktrace)];
912
923
  }
913
924
  var _proto = Event2.prototype;
914
925
  return _proto.addMetadata = function(section, keyOrObj, maybeVal) {
915
926
  return _$metadataDelegate_21.add(this._metadata, section, keyOrObj, maybeVal);
927
+ }, _proto.setTraceCorrelation = function(traceId, spanId) {
928
+ typeof traceId == "string" && (this._correlation = _extends({
929
+ traceId
930
+ }, typeof spanId == "string" ? {
931
+ spanId
932
+ } : {}));
916
933
  }, _proto.getMetadata = function(section, key) {
917
934
  return _$metadataDelegate_21.get(this._metadata, section, key);
918
935
  }, _proto.clearMetadata = function(section, key) {
@@ -955,7 +972,8 @@ var require_bugsnag = __commonJS({
955
972
  metaData: this._metadata,
956
973
  user: this._user,
957
974
  session: this._session,
958
- featureFlags: this.getFeatureFlags()
975
+ featureFlags: this.getFeatureFlags(),
976
+ correlation: this._correlation
959
977
  };
960
978
  }, Event2;
961
979
  }(), formatStackframe = function(frame) {
@@ -1436,18 +1454,18 @@ metadata was removed`
1436
1454
  }
1437
1455
  };
1438
1456
  };
1439
- function _extends() {
1440
- return _extends = Object.assign ? Object.assign.bind() : function(target) {
1457
+ function ___extends_35() {
1458
+ return ___extends_35 = Object.assign ? Object.assign.bind() : function(target) {
1441
1459
  for (var i = 1; i < arguments.length; i++) {
1442
1460
  var source = arguments[i];
1443
1461
  for (var key in source)
1444
1462
  Object.prototype.hasOwnProperty.call(source, key) && (target[key] = source[key]);
1445
1463
  }
1446
1464
  return target;
1447
- }, _extends.apply(this, arguments);
1465
+ }, ___extends_35.apply(this, arguments);
1448
1466
  }
1449
1467
  var schema = _$config_3.schema, __os_35 = __require("os"), _require2 = __require("util"), inspect = _require2.inspect, _$config_35 = {
1450
- appType: _extends({}, schema.appType, {
1468
+ appType: ___extends_35({}, schema.appType, {
1451
1469
  defaultValue: function() {
1452
1470
  return "node";
1453
1471
  }
@@ -1470,12 +1488,12 @@ metadata was removed`
1470
1488
  return value === null || _$stringWithLength_27(value);
1471
1489
  }
1472
1490
  },
1473
- logger: _extends({}, schema.logger, {
1491
+ logger: ___extends_35({}, schema.logger, {
1474
1492
  defaultValue: function() {
1475
1493
  return getPrefixedConsole();
1476
1494
  }
1477
1495
  }),
1478
- releaseStage: _extends({}, schema.releaseStage, {
1496
+ releaseStage: ___extends_35({}, schema.releaseStage, {
1479
1497
  defaultValue: function() {
1480
1498
  return process.env.NODE_ENV || "production";
1481
1499
  }
@@ -1961,7 +1979,7 @@ metadata was removed`
1961
1979
  return target;
1962
1980
  }, ___extends_36.apply(this, arguments);
1963
1981
  }
1964
- var name = "Bugsnag Node", version = "7.22.7", url = "https://github.com/bugsnag/bugsnag-js";
1982
+ var name = "Bugsnag Node", version = "7.25.0", url = "https://github.com/bugsnag/bugsnag-js";
1965
1983
  _$Event_4.__type = "nodejs";
1966
1984
  var __schema_36 = ___extends_36({}, _$config_3.schema, _$config_35);
1967
1985
  delete __schema_36.enabledBreadcrumbTypes;
@@ -1999,9 +2017,9 @@ metadata was removed`
1999
2017
  }
2000
2018
  });
2001
2019
 
2002
- // ../../node_modules/.pnpm/@bugsnag+js@7.21.0/node_modules/@bugsnag/js/node/notifier.js
2020
+ // ../../node_modules/.pnpm/@bugsnag+js@7.25.0/node_modules/@bugsnag/js/node/notifier.js
2003
2021
  var require_notifier = __commonJS({
2004
- "../../node_modules/.pnpm/@bugsnag+js@7.21.0/node_modules/@bugsnag/js/node/notifier.js"(exports, module) {
2022
+ "../../node_modules/.pnpm/@bugsnag+js@7.25.0/node_modules/@bugsnag/js/node/notifier.js"(exports, module) {
2005
2023
  init_cjs_shims();
2006
2024
  module.exports = require_bugsnag();
2007
2025
  }
@@ -2079,7 +2097,7 @@ async function addBugsnagMetadata(event, config) {
2079
2097
  ...publicData,
2080
2098
  ...environment,
2081
2099
  pluginData: otherPluginsPublic
2082
- }, appData = {}, commandData = {}, environmentData = {}, miscData = {}, appKeys = ["api_key", "partner_id", "project_type"], commandKeys = ["command"], environmentKeys = ["cli_version", "node_version", "uname"];
2100
+ }, appData = {}, commandData = {}, environmentData = {}, miscData = {}, appKeys = ["api_key", "business_platform_id", "partner_id", "project_type"], commandKeys = ["command"], environmentKeys = ["cli_version", "node_version", "uname"];
2083
2101
  Object.entries(allMetadata).forEach(([key, value]) => {
2084
2102
  key.startsWith("app_") || appKeys.includes(key) ? appData[key] = value : key.startsWith("cmd_") || commandKeys.includes(key) ? commandData[key] = value : key.startsWith("env_") || environmentKeys ? environmentData[key] = value : miscData[key] = value;
2085
2103
  }), Object.entries({
@@ -2111,4 +2129,4 @@ export {
2111
2129
  registerCleanBugsnagErrorsFromWithinPlugins,
2112
2130
  addBugsnagMetadata
2113
2131
  };
2114
- //# sourceMappingURL=chunk-7BLDARWR.js.map
2132
+ //# sourceMappingURL=chunk-7LUJ2Y3A.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-SHWOPMLQ.js";
5
5
  import {
6
6
  require_balanced_match
7
- } from "./chunk-EZFQXNK5.js";
7
+ } from "./chunk-ZKGBK6WQ.js";
8
8
  import {
9
9
  __commonJS,
10
10
  __require,
@@ -1458,4 +1458,4 @@ export {
1458
1458
  require_inflight,
1459
1459
  require_glob
1460
1460
  };
1461
- //# sourceMappingURL=chunk-Z2K6T5HO.js.map
1461
+ //# sourceMappingURL=chunk-A2CUF3IE.js.map