@shopify/create-app 3.85.4 → 3.85.5

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.
@@ -23385,7 +23385,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
23385
23385
  try {
23386
23386
  await getAndSet();
23387
23387
  } catch (error) {
23388
- let { sendErrorToBugsnag } = await import("./error-handler-G6DYVEQ2.js");
23388
+ let { sendErrorToBugsnag } = await import("./error-handler-W76H7JBB.js");
23389
23389
  await sendErrorToBugsnag(error, "unexpected_error");
23390
23390
  }
23391
23391
  }, durationStack = [];
@@ -28155,7 +28155,7 @@ function asHumanFriendlyArray(items) {
28155
28155
  }
28156
28156
 
28157
28157
  // ../cli-kit/dist/public/common/string.js
28158
- var import_change_case = __toESM(require_dist16(), 1), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
28158
+ var import_change_case = __toESM(require_dist16()), SAFE_RANDOM_BUSINESS_ADJECTIVES = [
28159
28159
  "commercial",
28160
28160
  "profitable",
28161
28161
  "amortizable",
@@ -32541,4 +32541,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32541
32541
  * LICENSE file in the root directory of this source tree.
32542
32542
  *)
32543
32543
  */
32544
- //# sourceMappingURL=chunk-YKC6AF5P.js.map
32544
+ //# sourceMappingURL=chunk-4WG5JQHA.js.map
@@ -5,10 +5,10 @@ import {
5
5
  getLastSeenUserIdAfterAuth,
6
6
  getSensitiveEnvironmentData,
7
7
  requestIdsCollection
8
- } from "./chunk-ZJQOFM3X.js";
8
+ } from "./chunk-LG53DXOY.js";
9
9
  import {
10
10
  runWithRateLimit
11
- } from "./chunk-37HE2BRV.js";
11
+ } from "./chunk-MRFYNZ7Q.js";
12
12
  import {
13
13
  alwaysLogAnalytics,
14
14
  alwaysLogMetrics,
@@ -24,7 +24,7 @@ import {
24
24
  outputDebug,
25
25
  outputToken,
26
26
  reportingRateLimit
27
- } from "./chunk-YKC6AF5P.js";
27
+ } from "./chunk-4WG5JQHA.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __esm,
@@ -16071,4 +16071,4 @@ export {
16071
16071
  recordEvent2 as recordEvent,
16072
16072
  compileData2 as compileData
16073
16073
  };
16074
- //# sourceMappingURL=chunk-BJHEYWTG.js.map
16074
+ //# sourceMappingURL=chunk-I3ZBATYA.js.map
@@ -14,7 +14,7 @@ import {
14
14
  setCurrentSessionId,
15
15
  setSessions,
16
16
  timeIntervalToMilliseconds
17
- } from "./chunk-37HE2BRV.js";
17
+ } from "./chunk-MRFYNZ7Q.js";
18
18
  import {
19
19
  AbortError,
20
20
  BugError,
@@ -80,7 +80,7 @@ import {
80
80
  stringifyMessage,
81
81
  systemEnvironmentVariables,
82
82
  themeToken
83
- } from "./chunk-YKC6AF5P.js";
83
+ } from "./chunk-4WG5JQHA.js";
84
84
  import {
85
85
  cwd,
86
86
  sniffForJson
@@ -30580,7 +30580,7 @@ var require_lib3 = __commonJS({
30580
30580
 
30581
30581
  // ../cli-kit/dist/public/common/version.js
30582
30582
  init_cjs_shims();
30583
- var CLI_KIT_VERSION = "3.85.4";
30583
+ var CLI_KIT_VERSION = "3.85.5";
30584
30584
 
30585
30585
  // ../cli-kit/dist/private/node/context/service.js
30586
30586
  init_cjs_shims();
@@ -30595,9 +30595,6 @@ function isLocalEnvironment(env = process.env) {
30595
30595
  return serviceEnvironment(env) === Environment.Local;
30596
30596
  }
30597
30597
 
30598
- // ../cli-kit/dist/private/node/analytics.js
30599
- init_cjs_shims();
30600
-
30601
30598
  // ../cli-kit/dist/private/node/session.js
30602
30599
  init_cjs_shims();
30603
30600
 
@@ -36068,7 +36065,7 @@ function unionArrayStrategy(destinationArray, sourceArray) {
36068
36065
  }
36069
36066
 
36070
36067
  // ../cli-kit/dist/public/common/object.js
36071
- var import_deepmerge = __toESM(require_cjs(), 1), import_pickBy = __toESM(require_pickBy(), 1), import_mapValues = __toESM(require_mapValues(), 1), import_isEqual = __toESM(require_isEqual(), 1), import_differenceWith = __toESM(require_differenceWith(), 1), import_fromPairs = __toESM(require_fromPairs(), 1), import_toPairs = __toESM(require_toPairs(), 1), import_get = __toESM(require_get(), 1), import_set = __toESM(require_set(), 1), import_unset = __toESM(require_unset(), 1), import_isEmpty = __toESM(require_isEmpty(), 1);
36068
+ var import_deepmerge = __toESM(require_cjs()), import_pickBy = __toESM(require_pickBy()), import_mapValues = __toESM(require_mapValues()), import_isEqual = __toESM(require_isEqual()), import_differenceWith = __toESM(require_differenceWith()), import_fromPairs = __toESM(require_fromPairs()), import_toPairs = __toESM(require_toPairs()), import_get = __toESM(require_get()), import_set = __toESM(require_set()), import_unset = __toESM(require_unset()), import_isEmpty = __toESM(require_isEmpty());
36072
36069
  function deepMergeObjects(lhs, rhs, arrayMergeStrategy = unionArrayStrategy) {
36073
36070
  return (0, import_deepmerge.default)(lhs, rhs, { arrayMerge: arrayMergeStrategy });
36074
36071
  }
@@ -36303,7 +36300,7 @@ function earliestDateTimeAfter(afterTime, dates) {
36303
36300
  }
36304
36301
 
36305
36302
  // ../cli-kit/dist/public/node/api/partners.js
36306
- var import_bottleneck = __toESM(require_lib3(), 1), limiter = new import_bottleneck.default({
36303
+ var import_bottleneck = __toESM(require_lib3()), limiter = new import_bottleneck.default({
36307
36304
  minTime: 150,
36308
36305
  maxConcurrent: 10
36309
36306
  });
@@ -36572,6 +36569,7 @@ function buildIdentityTokenFromEnv(scopes, identityTokenInformation) {
36572
36569
  }
36573
36570
 
36574
36571
  // ../cli-kit/dist/private/node/analytics.js
36572
+ init_cjs_shims();
36575
36573
  async function startAnalytics({ commandContent, args, currentTime = (/* @__PURE__ */ new Date()).getTime(), commandClass }) {
36576
36574
  let startCommand = commandContent.command;
36577
36575
  commandClass && Object.prototype.hasOwnProperty.call(commandClass, "analyticsNameOverride") && (startCommand = commandClass.analyticsNameOverride() ?? commandContent.command);
@@ -36717,4 +36715,4 @@ mime-types/index.js:
36717
36715
  * MIT Licensed
36718
36716
  *)
36719
36717
  */
36720
- //# sourceMappingURL=chunk-ZJQOFM3X.js.map
36718
+ //# sourceMappingURL=chunk-LG53DXOY.js.map
@@ -18,7 +18,7 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-YKC6AF5P.js";
21
+ } from "./chunk-4WG5JQHA.js";
22
22
  import {
23
23
  require_semver
24
24
  } from "./chunk-2VQSCETZ.js";
@@ -13933,4 +13933,4 @@ deep-extend/lib/deep-extend.js:
13933
13933
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13934
13934
  *)
13935
13935
  */
13936
- //# sourceMappingURL=chunk-37HE2BRV.js.map
13936
+ //# sourceMappingURL=chunk-MRFYNZ7Q.js.map
@@ -2,12 +2,12 @@ import {
2
2
  CLI_KIT_VERSION,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-ZJQOFM3X.js";
5
+ } from "./chunk-LG53DXOY.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-37HE2BRV.js";
10
+ } from "./chunk-MRFYNZ7Q.js";
11
11
  import {
12
12
  AbortSilentError,
13
13
  exec,
@@ -16,7 +16,7 @@ import {
16
16
  renderError,
17
17
  renderInfo,
18
18
  renderWarning
19
- } from "./chunk-YKC6AF5P.js";
19
+ } from "./chunk-4WG5JQHA.js";
20
20
  import {
21
21
  init_cjs_shims
22
22
  } from "./chunk-PKR7KJ6P.js";
@@ -84,7 +84,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
84
84
  throw new AbortSilentError();
85
85
  let errorMessage = `Error showing notifications: ${error.message}`;
86
86
  outputDebug(errorMessage);
87
- let { sendErrorToBugsnag } = await import("./error-handler-G6DYVEQ2.js");
87
+ let { sendErrorToBugsnag } = await import("./error-handler-W76H7JBB.js");
88
88
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
89
89
  }
90
90
  }
@@ -174,4 +174,4 @@ export {
174
174
  showNotificationsIfNeeded,
175
175
  fetchNotificationsInBackground
176
176
  };
177
- //# sourceMappingURL=chunk-GPDZY4XJ.js.map
177
+ //# sourceMappingURL=chunk-RN5F2ZF4.js.map
@@ -1,15 +1,16 @@
1
1
  import {
2
2
  fanoutHooks,
3
3
  reportAnalyticsEvent
4
- } from "./chunk-BJHEYWTG.js";
4
+ } from "./chunk-I3ZBATYA.js";
5
5
  import {
6
6
  CLI_KIT_VERSION,
7
7
  getEnvironmentData,
8
+ getLastSeenUserIdAfterAuth,
8
9
  isLocalEnvironment
9
- } from "./chunk-ZJQOFM3X.js";
10
+ } from "./chunk-LG53DXOY.js";
10
11
  import {
11
12
  runWithRateLimit
12
- } from "./chunk-37HE2BRV.js";
13
+ } from "./chunk-MRFYNZ7Q.js";
13
14
  import {
14
15
  AbortSilentError,
15
16
  CancelExecution,
@@ -24,7 +25,7 @@ import {
24
25
  reportingRateLimit,
25
26
  require_stacktracey,
26
27
  shouldReportErrorAsUnexpected
27
- } from "./chunk-YKC6AF5P.js";
28
+ } from "./chunk-4WG5JQHA.js";
28
29
  import {
29
30
  require_lib
30
31
  } from "./chunk-2VQSCETZ.js";
@@ -2133,26 +2134,31 @@ async function sendErrorToBugsnag(error, exitMode) {
2133
2134
  reportableError.stack = `Error: ${reportableError.message}
2134
2135
  ${formattedStacktrace}`;
2135
2136
  let withinRateLimit = !1;
2136
- return await runWithRateLimit({
2137
+ if (await runWithRateLimit({
2137
2138
  key: "send-error-to-bugsnag",
2138
2139
  ...reportingRateLimit,
2139
2140
  task: async () => {
2140
2141
  withinRateLimit = !0;
2141
2142
  }
2142
- }), withinRateLimit || (outputDebug("Skipping Bugsnag report due to rate limiting"), report = !1), report && (initializeBugsnag(), await new Promise((resolve, reject) => {
2143
- outputDebug(`Reporting ${unhandled ? "unhandled" : "handled"} error to Bugsnag: ${reportableError.message}`);
2144
- let eventHandler = (event) => {
2145
- event.severity = "error", event.unhandled = unhandled;
2146
- let { commandStartOptions } = getAllSensitiveMetadata(), { startCommand } = commandStartOptions ?? {};
2147
- if (startCommand) {
2148
- let firstWord = startCommand.trim().split(/\s+/)[0] ?? "cli", sliceName = ALLOWED_SLICE_NAMES.has(firstWord) ? firstWord : "cli";
2149
- event.addMetadata("custom", { slice_name: sliceName });
2150
- }
2151
- }, errorHandler2 = (error2) => {
2152
- error2 ? reject(error2) : resolve(reportableError);
2153
- };
2154
- import_js.default.notify(reportableError, eventHandler, errorHandler2);
2155
- })), { error: reportableError, reported: report, unhandled };
2143
+ }), withinRateLimit || (outputDebug("Skipping Bugsnag report due to rate limiting"), report = !1), report) {
2144
+ initializeBugsnag();
2145
+ let userId = await getLastSeenUserIdAfterAuth();
2146
+ await new Promise((resolve, reject) => {
2147
+ outputDebug(`Reporting ${unhandled ? "unhandled" : "handled"} error to Bugsnag: ${reportableError.message}`);
2148
+ let eventHandler = (event) => {
2149
+ event.severity = "error", event.unhandled = unhandled, event.setUser(userId);
2150
+ let { commandStartOptions } = getAllSensitiveMetadata(), { startCommand } = commandStartOptions ?? {};
2151
+ if (startCommand) {
2152
+ let firstWord = startCommand.trim().split(/\s+/)[0] ?? "cli", sliceName = ALLOWED_SLICE_NAMES.has(firstWord) ? firstWord : "cli";
2153
+ event.addMetadata("custom", { slice_name: sliceName });
2154
+ }
2155
+ }, errorHandler2 = (error2) => {
2156
+ error2 ? reject(error2) : resolve(reportableError);
2157
+ };
2158
+ import_js.default.notify(reportableError, eventHandler, errorHandler2);
2159
+ });
2160
+ }
2161
+ return { error: reportableError, reported: report, unhandled };
2156
2162
  } catch (err) {
2157
2163
  return outputDebug(`Error reporting to Bugsnag: ${err}`), { error, reported: !1, unhandled: void 0 };
2158
2164
  }
@@ -2227,4 +2233,4 @@ export {
2227
2233
  registerCleanBugsnagErrorsFromWithinPlugins,
2228
2234
  addBugsnagMetadata
2229
2235
  };
2230
- //# sourceMappingURL=chunk-2UR7TMKO.js.map
2236
+ //# sourceMappingURL=chunk-Z46NFQ33.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-YKC6AF5P.js";
4
+ } from "./chunk-4WG5JQHA.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-2VQSCETZ.js";
@@ -40,4 +40,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
40
40
  export {
41
41
  ShopifyConfig
42
42
  };
43
- //# sourceMappingURL=custom-oclif-loader-PIBU4VHF.js.map
43
+ //# sourceMappingURL=custom-oclif-loader-DO3K4WDC.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-2UR7TMKO.js";
8
- import "./chunk-BJHEYWTG.js";
9
- import "./chunk-ZJQOFM3X.js";
7
+ } from "./chunk-Z46NFQ33.js";
8
+ import "./chunk-I3ZBATYA.js";
9
+ import "./chunk-LG53DXOY.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-37HE2BRV.js";
12
- import "./chunk-YKC6AF5P.js";
11
+ import "./chunk-MRFYNZ7Q.js";
12
+ import "./chunk-4WG5JQHA.js";
13
13
  import "./chunk-2VQSCETZ.js";
14
14
  import "./chunk-UMUTXITN.js";
15
15
  import "./chunk-Y2JP6WFP.js";
@@ -25,4 +25,4 @@ export {
25
25
  registerCleanBugsnagErrorsFromWithinPlugins,
26
26
  sendErrorToBugsnag
27
27
  };
28
- //# sourceMappingURL=error-handler-G6DYVEQ2.js.map
28
+ //# sourceMappingURL=error-handler-W76H7JBB.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  reportAnalyticsEvent
3
- } from "../chunk-BJHEYWTG.js";
3
+ } from "../chunk-I3ZBATYA.js";
4
4
  import {
5
5
  getNextDeprecationDate
6
- } from "../chunk-ZJQOFM3X.js";
6
+ } from "../chunk-LG53DXOY.js";
7
7
  import "../chunk-25IMI7TH.js";
8
- import "../chunk-37HE2BRV.js";
8
+ import "../chunk-MRFYNZ7Q.js";
9
9
  import {
10
10
  addSensitiveMetadata,
11
11
  getAllSensitiveMetadata,
12
12
  outputDebug,
13
13
  renderWarning
14
- } from "../chunk-YKC6AF5P.js";
14
+ } from "../chunk-4WG5JQHA.js";
15
15
  import "../chunk-2VQSCETZ.js";
16
16
  import "../chunk-UMUTXITN.js";
17
17
  import "../chunk-Y2JP6WFP.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  fetchNotificationsInBackground
3
- } from "../chunk-GPDZY4XJ.js";
3
+ } from "../chunk-RN5F2ZF4.js";
4
4
  import {
5
5
  CLI_KIT_VERSION,
6
6
  startAnalytics
7
- } from "../chunk-ZJQOFM3X.js";
7
+ } from "../chunk-LG53DXOY.js";
8
8
  import "../chunk-25IMI7TH.js";
9
9
  import {
10
10
  checkForCachedNewVersion,
11
11
  checkForNewVersion,
12
12
  packageManagerFromUserAgent,
13
13
  runAtMinimumInterval
14
- } from "../chunk-37HE2BRV.js";
14
+ } from "../chunk-MRFYNZ7Q.js";
15
15
  import {
16
16
  currentProcessIsGlobal,
17
17
  inferPackageManagerForGlobalCLI,
@@ -20,7 +20,7 @@ import {
20
20
  outputDebug,
21
21
  outputToken,
22
22
  outputWarn
23
- } from "../chunk-YKC6AF5P.js";
23
+ } from "../chunk-4WG5JQHA.js";
24
24
  import "../chunk-2VQSCETZ.js";
25
25
  import "../chunk-UMUTXITN.js";
26
26
  import "../chunk-Y2JP6WFP.js";
package/dist/index.js CHANGED
@@ -8,7 +8,7 @@ import {
8
8
  errorHandler,
9
9
  registerCleanBugsnagErrorsFromWithinPlugins,
10
10
  require_end_of_stream
11
- } from "./chunk-2UR7TMKO.js";
11
+ } from "./chunk-Z46NFQ33.js";
12
12
  import {
13
13
  compileData,
14
14
  fanoutHooks,
@@ -17,11 +17,11 @@ import {
17
17
  recordEvent,
18
18
  recordTiming,
19
19
  reportAnalyticsEvent
20
- } from "./chunk-BJHEYWTG.js";
20
+ } from "./chunk-I3ZBATYA.js";
21
21
  import {
22
22
  setCurrentCommandId,
23
23
  showNotificationsIfNeeded
24
- } from "./chunk-GPDZY4XJ.js";
24
+ } from "./chunk-RN5F2ZF4.js";
25
25
  import {
26
26
  CLI_KIT_VERSION,
27
27
  ClientError,
@@ -89,7 +89,7 @@ import {
89
89
  setPathValue,
90
90
  shopifyFetch,
91
91
  z
92
- } from "./chunk-ZJQOFM3X.js";
92
+ } from "./chunk-LG53DXOY.js";
93
93
  import "./chunk-25IMI7TH.js";
94
94
  import {
95
95
  LocalStorage,
@@ -112,7 +112,7 @@ import {
112
112
  usesWorkspaces,
113
113
  versionSatisfies,
114
114
  writePackageJSON
115
- } from "./chunk-37HE2BRV.js";
115
+ } from "./chunk-MRFYNZ7Q.js";
116
116
  import {
117
117
  AbortController as AbortController2,
118
118
  AbortError,
@@ -275,7 +275,7 @@ import {
275
275
  username,
276
276
  writeFile,
277
277
  writeFileSync
278
- } from "./chunk-YKC6AF5P.js";
278
+ } from "./chunk-4WG5JQHA.js";
279
279
  import {
280
280
  require_commonjs,
281
281
  require_lib as require_lib2,
@@ -193603,6 +193603,7 @@ var CUSTOM_ONSITE_TARGET = "payments.custom-onsite.render", MAX_CHECKOUT_PAYMENT
193603
193603
  supports_oversell_protection: z.boolean().optional(),
193604
193604
  modal_payment_method_fields: z.array(z.object({})).optional(),
193605
193605
  ui_extension_handle: z.string().optional(),
193606
+ start_verification_session_url: z.string().url().optional(),
193606
193607
  checkout_payment_method_fields: z.array(z.object({
193607
193608
  type: z.union([z.literal("string"), z.literal("number"), z.literal("boolean")]),
193608
193609
  required: z.boolean(),
@@ -193621,6 +193622,7 @@ function customOnsiteDeployConfigToCLIConfig(config2, allExtensions) {
193621
193622
  void_session_url: config2.start_void_session_url,
193622
193623
  confirmation_callback_url: config2.confirmation_callback_url,
193623
193624
  update_payment_session_url: config2.update_payment_session_url,
193625
+ start_verification_session_url: config2.start_verification_session_url,
193624
193626
  merchant_label: config2.merchant_label,
193625
193627
  supports_oversell_protection: config2.supports_oversell_protection,
193626
193628
  supports_3ds: config2.supports_3ds,
@@ -193647,6 +193649,7 @@ async function customOnsitePaymentsAppExtensionDeployConfig(config2) {
193647
193649
  start_void_session_url: config2.void_session_url,
193648
193650
  confirmation_callback_url: config2.confirmation_callback_url,
193649
193651
  update_payment_session_url: config2.update_payment_session_url,
193652
+ start_verification_session_url: config2.start_verification_session_url,
193650
193653
  merchant_label: config2.merchant_label,
193651
193654
  supports_oversell_protection: config2.supports_oversell_protection,
193652
193655
  supports_3ds: config2.supports_3ds,
@@ -194958,7 +194961,7 @@ function loadFwConfigFile(rootPath, fwConfigFileName, fwConfigFiles = {}) {
194958
194961
 
194959
194962
  // ../cli-kit/dist/public/node/toml.js
194960
194963
  init_cjs_shims();
194961
- var toml = __toESM(require_toml(), 1);
194964
+ var toml = __toESM(require_toml());
194962
194965
  function decodeToml(input) {
194963
194966
  let normalizedInput = input.replace(/\r\n$/g, `
194964
194967
  `);
@@ -201852,7 +201855,7 @@ init_cjs_shims();
201852
201855
  init_cjs_shims();
201853
201856
  import { fileURLToPath as fileURLToPath2 } from "node:url";
201854
201857
  async function launchCLI(options) {
201855
- let { errorHandler: errorHandler2 } = await import("./error-handler-G6DYVEQ2.js"), { isDevelopment: isDevelopment2 } = await import("./local-P6NRRHIF.js"), oclif = await import("./lib-XDPPS4KW.js"), { ShopifyConfig } = await import("./custom-oclif-loader-PIBU4VHF.js");
201858
+ let { errorHandler: errorHandler2 } = await import("./error-handler-W76H7JBB.js"), { isDevelopment: isDevelopment2 } = await import("./local-QITTSRL5.js"), oclif = await import("./lib-XDPPS4KW.js"), { ShopifyConfig } = await import("./custom-oclif-loader-DO3K4WDC.js");
201856
201859
  isDevelopment2() && (oclif.default.settings.debug = !0);
201857
201860
  try {
201858
201861
  let config2 = new ShopifyConfig({ root: fileURLToPath2(options.moduleURL) });
@@ -201867,7 +201870,7 @@ var import_core3 = __toESM(require_lib2());
201867
201870
  async function exitIfOldNodeVersion(versions2 = process.versions) {
201868
201871
  let nodeVersion = versions2.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
201869
201872
  if (nodeMajorVersion < 18) {
201870
- let { renderError: renderError2 } = await import("./ui-DP4GP7CG.js");
201873
+ let { renderError: renderError2 } = await import("./ui-C6NNSWI4.js");
201871
201874
  renderError2({
201872
201875
  headline: "Upgrade to a supported Node version now.",
201873
201876
  body: [
@@ -201894,7 +201897,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
201894
201897
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions2), launchCLI2({ moduleURL: options.moduleURL });
201895
201898
  }
201896
201899
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
201897
- let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-Y7X57X7L.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
201900
+ let { findUpAndReadPackageJson: findUpAndReadPackageJson2 } = await import("./node-package-manager-YJ2PSFI3.js"), { moduleDirectory: moduleDirectory2 } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson2(moduleDirectory2(options.moduleURL))).content.name.replace("@shopify/create-", "");
201898
201901
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
201899
201902
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
201900
201903
  argv.splice(initIndex2, 0, "init");
@@ -20,7 +20,7 @@ import {
20
20
  macAddress,
21
21
  opentelemetryDomain,
22
22
  themeToken
23
- } from "./chunk-YKC6AF5P.js";
23
+ } from "./chunk-4WG5JQHA.js";
24
24
  import "./chunk-2VQSCETZ.js";
25
25
  import "./chunk-UMUTXITN.js";
26
26
  import "./chunk-Y2JP6WFP.js";
@@ -51,4 +51,4 @@ export {
51
51
  opentelemetryDomain,
52
52
  themeToken
53
53
  };
54
- //# sourceMappingURL=local-P6NRRHIF.js.map
54
+ //# sourceMappingURL=local-QITTSRL5.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-37HE2BRV.js";
33
- import "./chunk-YKC6AF5P.js";
32
+ } from "./chunk-MRFYNZ7Q.js";
33
+ import "./chunk-4WG5JQHA.js";
34
34
  import "./chunk-2VQSCETZ.js";
35
35
  import "./chunk-UMUTXITN.js";
36
36
  import "./chunk-Y2JP6WFP.js";
@@ -70,4 +70,4 @@ export {
70
70
  writePackageJSON,
71
71
  yarnLockfile
72
72
  };
73
- //# sourceMappingURL=node-package-manager-Y7X57X7L.js.map
73
+ //# sourceMappingURL=node-package-manager-YJ2PSFI3.js.map
@@ -17,7 +17,7 @@ import {
17
17
  renderTasks,
18
18
  renderTextPrompt,
19
19
  renderWarning
20
- } from "./chunk-YKC6AF5P.js";
20
+ } from "./chunk-4WG5JQHA.js";
21
21
  import "./chunk-2VQSCETZ.js";
22
22
  import "./chunk-UMUTXITN.js";
23
23
  import "./chunk-Y2JP6WFP.js";
@@ -45,4 +45,4 @@ export {
45
45
  renderTextPrompt,
46
46
  renderWarning
47
47
  };
48
- //# sourceMappingURL=ui-DP4GP7CG.js.map
48
+ //# sourceMappingURL=ui-C6NNSWI4.js.map
@@ -104,5 +104,5 @@
104
104
  "summary": "Create a new app project"
105
105
  }
106
106
  },
107
- "version": "3.85.4"
107
+ "version": "3.85.5"
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "3.85.4",
3
+ "version": "3.85.5",
4
4
  "private": false,
5
5
  "description": "A CLI tool to create a new Shopify app.",
6
6
  "keywords": [
@@ -47,8 +47,8 @@
47
47
  "esbuild": "0.25.5"
48
48
  },
49
49
  "devDependencies": {
50
- "@shopify/cli-kit": "3.85.4",
51
- "@shopify/app": "3.85.4",
50
+ "@shopify/cli-kit": "3.85.5",
51
+ "@shopify/app": "3.85.5",
52
52
  "esbuild-plugin-copy": "^2.1.1",
53
53
  "@vitest/coverage-istanbul": "^3.1.4"
54
54
  },