@shopify/cli 3.83.1 → 3.83.3

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 (137) hide show
  1. package/dist/assets/hydrogen/starter/.cursor/rules/hydrogen-react-router.mdc +52 -0
  2. package/dist/assets/hydrogen/starter/CHANGELOG.md +35 -0
  3. package/dist/assets/hydrogen/starter/app/components/AddToCartButton.tsx +1 -1
  4. package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +1 -1
  5. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
  6. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +1 -1
  7. package/dist/assets/hydrogen/starter/app/components/Footer.tsx +1 -1
  8. package/dist/assets/hydrogen/starter/app/components/Header.tsx +1 -1
  9. package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +1 -1
  10. package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +1 -1
  11. package/dist/assets/hydrogen/starter/app/components/ProductItem.tsx +1 -1
  12. package/dist/assets/hydrogen/starter/app/components/SearchForm.tsx +1 -1
  13. package/dist/assets/hydrogen/starter/app/components/SearchFormPredictive.tsx +1 -6
  14. package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +1 -1
  15. package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +1 -1
  16. package/dist/assets/hydrogen/starter/app/entry.client.tsx +2 -2
  17. package/dist/assets/hydrogen/starter/app/entry.server.tsx +9 -4
  18. package/dist/assets/hydrogen/starter/app/lib/variants.ts +1 -1
  19. package/dist/assets/hydrogen/starter/app/root.tsx +1 -1
  20. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +1 -1
  21. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +1 -1
  22. package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +4 -4
  23. package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +1 -1
  24. package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +1 -7
  25. package/dist/assets/hydrogen/starter/app/routes/account.tsx +1 -1
  26. package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +14 -0
  27. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +1 -1
  28. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +1 -1
  29. package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +1 -1
  30. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +7 -2
  31. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +1 -1
  32. package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +1 -1
  33. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +2 -2
  34. package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +1 -1
  35. package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +1 -1
  36. package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +1 -1
  37. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +1 -1
  38. package/dist/assets/hydrogen/starter/app/routes/search.tsx +1 -1
  39. package/dist/assets/hydrogen/starter/app/routes.ts +2 -2
  40. package/dist/assets/hydrogen/starter/env.d.ts +12 -2
  41. package/dist/assets/hydrogen/starter/eslint.config.js +2 -0
  42. package/dist/assets/hydrogen/starter/package.json +11 -12
  43. package/dist/assets/hydrogen/starter/react-router.config.ts +7 -0
  44. package/dist/assets/hydrogen/starter/server.ts +2 -5
  45. package/dist/assets/hydrogen/starter/tsconfig.json +18 -6
  46. package/dist/assets/hydrogen/starter/vite.config.ts +3 -24
  47. package/dist/assets/hydrogen/tailwind/package.json +4 -1
  48. package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +1 -1
  49. package/dist/assets/hydrogen/virtual-routes/layout.jsx +1 -7
  50. package/dist/assets/hydrogen/virtual-routes/routes/index.jsx +1 -1
  51. package/dist/assets/hydrogen/virtual-routes/routes/subrequest-profiler.jsx +1 -1
  52. package/dist/assets/hydrogen/virtual-routes/virtual-root-with-layout.jsx +1 -1
  53. package/dist/assets/hydrogen/virtual-routes/virtual-root.jsx +1 -1
  54. package/dist/assets/hydrogen/vite/vite.config.js +1 -1
  55. package/dist/{chunk-SJYNVNUB.js → chunk-2MEZBZGZ.js} +2 -2
  56. package/dist/{chunk-TLYRIQK7.js → chunk-3EURRQ7K.js} +6 -6
  57. package/dist/{chunk-7KLV4YSY.js → chunk-45OTXKBK.js} +2 -2
  58. package/dist/{chunk-XI6AXLZO.js → chunk-6QJUUGM2.js} +4 -4
  59. package/dist/{chunk-RDAZS4FZ.js → chunk-AQDVU7OK.js} +7 -7
  60. package/dist/{chunk-DVGCJLCA.js → chunk-BXBJI6XD.js} +6 -6
  61. package/dist/{chunk-5BJYF6FG.js → chunk-CC4H7OAW.js} +3 -3
  62. package/dist/{chunk-DFABOPSU.js → chunk-DRATBB26.js} +4 -4
  63. package/dist/{chunk-DDU22ZPL.js → chunk-EG4X7G4K.js} +3 -3
  64. package/dist/{chunk-Y2JP6WFP.js → chunk-EG6MBBEN.js} +2 -2
  65. package/dist/{chunk-FNYLJESL.js → chunk-EYZZIYQJ.js} +4 -4
  66. package/dist/{chunk-ARXCCKJT.js → chunk-FE35FSRC.js} +8 -8
  67. package/dist/{chunk-TB443RFG.js → chunk-FHOKC4TU.js} +5 -5
  68. package/dist/{chunk-A6DFWCO7.js → chunk-GGCRQOED.js} +4 -4
  69. package/dist/{chunk-4BPSIIGV.js → chunk-HFQX4JZY.js} +3 -3
  70. package/dist/{chunk-7EV36FNO.js → chunk-JEQ7HZCS.js} +306 -474
  71. package/dist/{chunk-ZQMRVJXG.js → chunk-JWJ2ZR5V.js} +3 -3
  72. package/dist/{chunk-UZIJLLPI.js → chunk-MGI52UZC.js} +3 -3
  73. package/dist/{chunk-XOIMWH77.js → chunk-Q6VEUT5Q.js} +2 -2
  74. package/dist/{chunk-FEMALH67.js → chunk-RBL7EMA5.js} +4 -4
  75. package/dist/{chunk-57SXE5DE.js → chunk-S5JEIN5Q.js} +2 -2
  76. package/dist/{chunk-ASWHWSRF.js → chunk-SBU6S5G7.js} +2 -2
  77. package/dist/{chunk-K5GF4S7D.js → chunk-U7OT774M.js} +2 -2
  78. package/dist/{chunk-KPFBSWRK.js → chunk-UNQM4BV5.js} +3 -3
  79. package/dist/{chunk-2ZA3MHM5.js → chunk-VCN6UBNT.js} +3 -3
  80. package/dist/{chunk-5QFLNCVR.js → chunk-VQ6DWYP7.js} +6 -6
  81. package/dist/{chunk-KSLA767C.js → chunk-VRECY72K.js} +2 -2
  82. package/dist/{chunk-QNMWKLS4.js → chunk-WGMFODN6.js} +3 -3
  83. package/dist/{chunk-BZFP2O66.js → chunk-WHCXZSKH.js} +4 -4
  84. package/dist/{chunk-JEW6HZHJ.js → chunk-WROAVXGY.js} +3 -3
  85. package/dist/{chunk-SUA462JY.js → chunk-XFK3CKIN.js} +5 -5
  86. package/dist/{chunk-XVZQHSFP.js → chunk-YYAMP36W.js} +5 -5
  87. package/dist/{chunk-NJN55E4K.js → chunk-ZE4NKLTB.js} +4 -4
  88. package/dist/{chunk-PPDGMVCL.js → chunk-ZLYK26OR.js} +4 -4
  89. package/dist/{chunk-BZBO3V3A.js → chunk-ZZGNTCPD.js} +3 -3
  90. package/dist/cli/commands/auth/logout.js +12 -12
  91. package/dist/cli/commands/auth/logout.test.js +13 -13
  92. package/dist/cli/commands/cache/clear.js +11 -11
  93. package/dist/cli/commands/debug/command-flags.js +11 -11
  94. package/dist/cli/commands/docs/generate.js +11 -11
  95. package/dist/cli/commands/docs/generate.test.js +11 -11
  96. package/dist/cli/commands/help.js +11 -11
  97. package/dist/cli/commands/kitchen-sink/async.js +12 -12
  98. package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
  99. package/dist/cli/commands/kitchen-sink/index.js +14 -14
  100. package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
  101. package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
  102. package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
  103. package/dist/cli/commands/kitchen-sink/static.js +12 -12
  104. package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
  105. package/dist/cli/commands/notifications/generate.js +12 -12
  106. package/dist/cli/commands/notifications/list.js +12 -12
  107. package/dist/cli/commands/search.js +12 -12
  108. package/dist/cli/commands/upgrade.js +12 -12
  109. package/dist/cli/commands/version.js +12 -12
  110. package/dist/cli/commands/version.test.js +12 -12
  111. package/dist/cli/services/commands/notifications.js +7 -7
  112. package/dist/cli/services/commands/search.js +3 -3
  113. package/dist/cli/services/commands/search.test.js +3 -3
  114. package/dist/cli/services/commands/version.js +4 -4
  115. package/dist/cli/services/commands/version.test.js +5 -5
  116. package/dist/cli/services/kitchen-sink/async.js +3 -3
  117. package/dist/cli/services/kitchen-sink/prompts.js +3 -3
  118. package/dist/cli/services/kitchen-sink/static.js +3 -3
  119. package/dist/cli/services/upgrade.js +4 -4
  120. package/dist/cli/services/upgrade.test.js +5 -5
  121. package/dist/{custom-oclif-loader-XASCYJ7O.js → custom-oclif-loader-FOBJVOKU.js} +3 -3
  122. package/dist/{error-handler-HQBVO3GI.js → error-handler-VBQPBASZ.js} +9 -9
  123. package/dist/hooks/postrun.js +7 -7
  124. package/dist/hooks/prerun.js +8 -8
  125. package/dist/index.js +826 -1144
  126. package/dist/{local-PI2REOYY.js → local-3V2H6DEQ.js} +3 -3
  127. package/dist/{morph-5LWJDWYB.js → morph-TYIH255V.js} +9 -9
  128. package/dist/{node-package-manager-RVDETLBX.js → node-package-manager-3VOZDWRH.js} +4 -4
  129. package/dist/{path-COZT77T2.js → path-GB4VIEM6.js} +2 -2
  130. package/dist/tsconfig.tsbuildinfo +1 -1
  131. package/dist/{ui-RDFVKEJS.js → ui-MKD65UA4.js} +3 -3
  132. package/dist/{workerd-XLT4ZWI5.js → workerd-EQ7HXYPK.js} +14 -14
  133. package/oclif.manifest.json +3 -23
  134. package/package.json +8 -8
  135. package/dist/assets/hydrogen/starter/.cursor/rules/cookbook-recipe-subscriptions.mdc +0 -921
  136. package/dist/chunk-V67D4V7T.js +0 -107
  137. package/dist/node-NAYZANSZ.js +0 -162
@@ -1,7 +1,16 @@
1
1
  {
2
- "include": ["./**/*.d.ts", "./**/*.ts", "./**/*.tsx"],
2
+ "include": [
3
+ "./**/*.d.ts",
4
+ "./**/*.ts",
5
+ "./**/*.tsx",
6
+ ".react-router/types/**/*"
7
+ ],
3
8
  "compilerOptions": {
4
- "lib": ["DOM", "DOM.Iterable", "ES2022"],
9
+ "lib": [
10
+ "DOM",
11
+ "DOM.Iterable",
12
+ "ES2022"
13
+ ],
5
14
  "isolatedModules": true,
6
15
  "esModuleInterop": true,
7
16
  "jsx": "react-jsx",
@@ -16,12 +25,15 @@
16
25
  "baseUrl": ".",
17
26
  "types": [
18
27
  "@shopify/oxygen-workers-types",
19
- "@remix-run/server-runtime",
28
+ "react-router",
20
29
  "vite/client"
21
30
  ],
22
31
  "paths": {
23
- "~/*": ["app/*"]
32
+ "~/*": [
33
+ "app/*"
34
+ ]
24
35
  },
25
- "noEmit": true
36
+ "noEmit": true,
37
+ "rootDirs": [".", "./.react-router/types"]
26
38
  }
27
- }
39
+ }
@@ -1,32 +1,11 @@
1
1
  import {defineConfig} from 'vite';
2
2
  import {hydrogen} from '@shopify/hydrogen/vite';
3
3
  import {oxygen} from '@shopify/mini-oxygen/vite';
4
- import {vitePlugin as remix} from '@remix-run/dev';
4
+ import {reactRouter} from '@react-router/dev/vite';
5
5
  import tsconfigPaths from 'vite-tsconfig-paths';
6
6
 
7
- declare module "@remix-run/server-runtime" {
8
- interface Future {
9
- v3_singleFetch: true;
10
- }
11
- }
12
-
13
7
  export default defineConfig({
14
- plugins: [
15
- hydrogen(),
16
- oxygen(),
17
- remix({
18
- presets: [hydrogen.v3preset()],
19
- future: {
20
- v3_fetcherPersist: true,
21
- v3_relativeSplatPath: true,
22
- v3_throwAbortReason: true,
23
- v3_lazyRouteDiscovery: true,
24
- v3_routeConfig: true,
25
- v3_singleFetch: true,
26
- },
27
- }),
28
- tsconfigPaths(),
29
- ],
8
+ plugins: [hydrogen(), oxygen(), reactRouter(), tsconfigPaths()],
30
9
  build: {
31
10
  // Allow a strict Content-Security-Policy
32
11
  // withtout inlining assets as base64:
@@ -44,7 +23,7 @@ export default defineConfig({
44
23
  * Include 'example-dep' in the array below.
45
24
  * @see https://vitejs.dev/config/dep-optimization-options
46
25
  */
47
- include: [],
26
+ include: ['set-cookie-parser', 'cookie', 'react-router'],
48
27
  },
49
28
  },
50
29
  });
@@ -2,7 +2,10 @@
2
2
  "browserslist": [
3
3
  "defaults"
4
4
  ],
5
+ "dependencies": {
6
+ "tailwindcss": "^4.1.6"
7
+ },
5
8
  "devDependencies": {
6
- "@tailwindcss/vite": "4.0.14"
9
+ "@tailwindcss/vite": "^4.1.6"
7
10
  }
8
11
  }
@@ -1,6 +1,6 @@
1
1
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useRef } from "react";
3
- import { Link } from "@remix-run/react";
3
+ import { Link } from "react-router";
4
4
  import { IconClose } from "./IconClose.jsx";
5
5
  import _useResizeObserver from "use-resize-observer";
6
6
  const useResizeObserver = _useResizeObserver;
@@ -1,12 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useNonce } from "@shopify/hydrogen";
3
- import {
4
- Links,
5
- Meta,
6
- Outlet,
7
- Scripts,
8
- ScrollRestoration
9
- } from "@remix-run/react";
3
+ import { Links, Meta, Outlet, Scripts, ScrollRestoration } from "react-router";
10
4
  import { Layout as VirtualLayout } from "./components/Layout.jsx";
11
5
  import styles from "./assets/styles.css?url";
12
6
  function Layout() {
@@ -1,5 +1,5 @@
1
1
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
- import { useLoaderData } from "@remix-run/react";
2
+ import { useLoaderData } from "react-router";
3
3
  import { HydrogenLogoBaseBW } from "../components/HydrogenLogoBaseBW.jsx";
4
4
  import { HydrogenLogoBaseColor } from "../components/HydrogenLogoBaseColor.jsx";
5
5
  import { IconGithub } from "../components/IconGithub.jsx";
@@ -3,7 +3,7 @@ import { useEffect, useState } from "react";
3
3
  import { Script } from "@shopify/hydrogen";
4
4
  import { RequestWaterfall } from "../components/RequestWaterfall.jsx";
5
5
  import { RequestTable } from "../components/RequestTable.jsx";
6
- import { Link } from "@remix-run/react";
6
+ import { Link } from "react-router";
7
7
  import favicon from "../assets/favicon.svg";
8
8
  import faviconDark from "../assets/favicon-dark.svg";
9
9
  import { useDebugNetworkServer } from "../lib/useDebugNetworkServer.jsx";
@@ -7,7 +7,7 @@ import {
7
7
  ScrollRestoration,
8
8
  isRouteErrorResponse,
9
9
  useRouteError
10
- } from "@remix-run/react";
10
+ } from "react-router";
11
11
  import favicon from "./assets/favicon.svg";
12
12
  import { Layout as VirtualLayout } from "./components/Layout.jsx";
13
13
  import { useNonce } from "@shopify/hydrogen";
@@ -7,7 +7,7 @@ import {
7
7
  ScrollRestoration,
8
8
  isRouteErrorResponse,
9
9
  useRouteError
10
- } from "@remix-run/react";
10
+ } from "react-router";
11
11
  import favicon from "./assets/favicon.svg";
12
12
  import { Layout as VirtualLayout } from "./components/Layout.jsx";
13
13
  import { useNonce } from "@shopify/hydrogen";
@@ -14,7 +14,7 @@ export default defineConfig({
14
14
  v3_fetcherPersist: true,
15
15
  v3_relativeSplatPath: true,
16
16
  v3_throwAbortReason: true,
17
- v3_routeConfig: true,
17
+ v3_routeConfig: false,
18
18
  },
19
19
  }),
20
20
  tsconfigPaths(),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-DVGCJLCA.js";
3
+ } from "./chunk-BXBJI6XD.js";
4
4
  import {
5
5
  require_lib
6
6
  } from "./chunk-3FBDJEGD.js";
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
46
46
  export {
47
47
  HelpCommand
48
48
  };
49
- //# sourceMappingURL=chunk-SJYNVNUB.js.map
49
+ //# sourceMappingURL=chunk-2MEZBZGZ.js.map
@@ -2,16 +2,16 @@ import {
2
2
  getEnvironmentData,
3
3
  getLastSeenUserIdAfterAuth,
4
4
  getSensitiveEnvironmentData
5
- } from "./chunk-TB443RFG.js";
5
+ } from "./chunk-FHOKC4TU.js";
6
6
  import {
7
7
  fetch
8
- } from "./chunk-DFABOPSU.js";
8
+ } from "./chunk-DRATBB26.js";
9
9
  import {
10
10
  CLI_KIT_VERSION
11
- } from "./chunk-57SXE5DE.js";
11
+ } from "./chunk-S5JEIN5Q.js";
12
12
  import {
13
13
  runWithRateLimit
14
- } from "./chunk-BZFP2O66.js";
14
+ } from "./chunk-WHCXZSKH.js";
15
15
  import {
16
16
  alwaysLogAnalytics,
17
17
  alwaysLogMetrics,
@@ -28,7 +28,7 @@ import {
28
28
  outputDebug,
29
29
  outputToken,
30
30
  reportingRateLimit
31
- } from "./chunk-KPFBSWRK.js";
31
+ } from "./chunk-UNQM4BV5.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __esm,
@@ -15930,4 +15930,4 @@ export {
15930
15930
  requestIdsCollection,
15931
15931
  reportAnalyticsEvent
15932
15932
  };
15933
- //# sourceMappingURL=chunk-TLYRIQK7.js.map
15933
+ //# sourceMappingURL=chunk-3EURRQ7K.js.map
@@ -7,7 +7,7 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-KPFBSWRK.js";
10
+ } from "./chunk-UNQM4BV5.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-PKR7KJ6P.js";
@@ -203,4 +203,4 @@ async function staticService() {
203
203
  export {
204
204
  staticService
205
205
  };
206
- //# sourceMappingURL=chunk-7KLV4YSY.js.map
206
+ //# sourceMappingURL=chunk-45OTXKBK.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cliInstallCommand
3
- } from "./chunk-JEW6HZHJ.js";
3
+ } from "./chunk-WROAVXGY.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DVGCJLCA.js";
6
+ } from "./chunk-BXBJI6XD.js";
7
7
  import {
8
8
  renderInfo
9
- } from "./chunk-KPFBSWRK.js";
9
+ } from "./chunk-UNQM4BV5.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
34
34
  export {
35
35
  Upgrade
36
36
  };
37
- //# sourceMappingURL=chunk-XI6AXLZO.js.map
37
+ //# sourceMappingURL=chunk-6QJUUGM2.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-DVGCJLCA.js";
3
+ } from "./chunk-BXBJI6XD.js";
4
4
  import {
5
5
  cacheClear
6
- } from "./chunk-BZFP2O66.js";
6
+ } from "./chunk-WHCXZSKH.js";
7
7
  import {
8
8
  environmentVariables,
9
9
  isTruthy
10
- } from "./chunk-KPFBSWRK.js";
10
+ } from "./chunk-UNQM4BV5.js";
11
11
  import {
12
12
  require_lib
13
13
  } from "./chunk-3FBDJEGD.js";
@@ -26,7 +26,7 @@ init_cjs_shims();
26
26
  init_cjs_shims();
27
27
  import { fileURLToPath } from "node:url";
28
28
  async function launchCLI(options) {
29
- let { errorHandler } = await import("./error-handler-HQBVO3GI.js"), { isDevelopment } = await import("./local-PI2REOYY.js"), oclif = await import("./lib-OSXFX3I2.js"), { ShopifyConfig } = await import("./custom-oclif-loader-XASCYJ7O.js");
29
+ let { errorHandler } = await import("./error-handler-VBQPBASZ.js"), { isDevelopment } = await import("./local-3V2H6DEQ.js"), oclif = await import("./lib-OSXFX3I2.js"), { ShopifyConfig } = await import("./custom-oclif-loader-FOBJVOKU.js");
30
30
  isDevelopment() && (oclif.default.settings.debug = !0);
31
31
  try {
32
32
  let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
@@ -41,7 +41,7 @@ var import_core = __toESM(require_lib());
41
41
  async function exitIfOldNodeVersion(versions = process.versions) {
42
42
  let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
43
43
  if (nodeMajorVersion < 18) {
44
- let { renderError } = await import("./ui-RDFVKEJS.js");
44
+ let { renderError } = await import("./ui-MKD65UA4.js");
45
45
  renderError({
46
46
  headline: "Upgrade to a supported Node version now.",
47
47
  body: [
@@ -68,7 +68,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
68
68
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
69
69
  }
70
70
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
71
- let { findUpAndReadPackageJson } = await import("./node-package-manager-RVDETLBX.js"), { moduleDirectory } = await import("./path-COZT77T2.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
71
+ let { findUpAndReadPackageJson } = await import("./node-package-manager-3VOZDWRH.js"), { moduleDirectory } = await import("./path-GB4VIEM6.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
72
72
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
73
73
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
74
74
  argv.splice(initIndex2, 0, "init");
@@ -117,4 +117,4 @@ export {
117
117
  jsonFlag,
118
118
  ClearCache
119
119
  };
120
- //# sourceMappingURL=chunk-RDAZS4FZ.js.map
120
+ //# sourceMappingURL=chunk-AQDVU7OK.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-ARXCCKJT.js";
4
+ } from "./chunk-FE35FSRC.js";
5
5
  import {
6
6
  setCurrentCommandId,
7
7
  showNotificationsIfNeeded
8
- } from "./chunk-5QFLNCVR.js";
8
+ } from "./chunk-VQ6DWYP7.js";
9
9
  import {
10
10
  hashString
11
- } from "./chunk-DFABOPSU.js";
11
+ } from "./chunk-DRATBB26.js";
12
12
  import {
13
13
  AbortError,
14
14
  addPublicMetadata,
@@ -24,10 +24,10 @@ import {
24
24
  renderWarning,
25
25
  terminalSupportsPrompting,
26
26
  underscore
27
- } from "./chunk-KPFBSWRK.js";
27
+ } from "./chunk-UNQM4BV5.js";
28
28
  import {
29
29
  cwd
30
- } from "./chunk-Y2JP6WFP.js";
30
+ } from "./chunk-EG6MBBEN.js";
31
31
  import {
32
32
  require_lib
33
33
  } from "./chunk-3FBDJEGD.js";
@@ -1691,4 +1691,4 @@ export {
1691
1691
  loadEnvironment,
1692
1692
  base_command_default
1693
1693
  };
1694
- //# sourceMappingURL=chunk-DVGCJLCA.js.map
1694
+ //# sourceMappingURL=chunk-BXBJI6XD.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-DVGCJLCA.js";
3
+ } from "./chunk-BXBJI6XD.js";
4
4
  import {
5
5
  outputResult,
6
6
  renderTable
7
- } from "./chunk-KPFBSWRK.js";
7
+ } from "./chunk-UNQM4BV5.js";
8
8
  import {
9
9
  require_lib
10
10
  } from "./chunk-3FBDJEGD.js";
@@ -84,4 +84,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
84
84
  export {
85
85
  CommandFlags
86
86
  };
87
- //# sourceMappingURL=chunk-5BJYF6FG.js.map
87
+ //# sourceMappingURL=chunk-CC4H7OAW.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-25IMI7TH.js";
6
6
  import {
7
7
  CLI_KIT_VERSION
8
- } from "./chunk-57SXE5DE.js";
8
+ } from "./chunk-S5JEIN5Q.js";
9
9
  import {
10
10
  Environment,
11
11
  environmentVariables,
@@ -18,10 +18,10 @@ import {
18
18
  serviceEnvironment,
19
19
  sleep,
20
20
  systemEnvironmentVariables
21
- } from "./chunk-KPFBSWRK.js";
21
+ } from "./chunk-UNQM4BV5.js";
22
22
  import {
23
23
  sniffForJson
24
- } from "./chunk-Y2JP6WFP.js";
24
+ } from "./chunk-EG6MBBEN.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __require,
@@ -31449,4 +31449,4 @@ mime-types/index.js:
31449
31449
  * MIT Licensed
31450
31450
  *)
31451
31451
  */
31452
- //# sourceMappingURL=chunk-DFABOPSU.js.map
31452
+ //# sourceMappingURL=chunk-DRATBB26.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-ASWHWSRF.js";
3
+ } from "./chunk-SBU6S5G7.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DVGCJLCA.js";
6
+ } from "./chunk-BXBJI6XD.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkAsync
27
27
  };
28
- //# sourceMappingURL=chunk-DDU22ZPL.js.map
28
+ //# sourceMappingURL=chunk-EG4X7G4K.js.map
@@ -30,7 +30,7 @@ var require_commondir = __commonJS({
30
30
 
31
31
  // ../cli-kit/dist/public/node/path.js
32
32
  init_cjs_shims();
33
- var import_commondir = __toESM(require_commondir(), 1);
33
+ var import_commondir = __toESM(require_commondir());
34
34
 
35
35
  // ../../node_modules/.pnpm/pathe@1.1.2/node_modules/pathe/dist/index.mjs
36
36
  init_cjs_shims();
@@ -193,4 +193,4 @@ export {
193
193
  sniffForPath,
194
194
  sniffForJson
195
195
  };
196
- //# sourceMappingURL=chunk-Y2JP6WFP.js.map
196
+ //# sourceMappingURL=chunk-EG6MBBEN.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  logout
3
- } from "./chunk-FEMALH67.js";
3
+ } from "./chunk-RBL7EMA5.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DVGCJLCA.js";
6
+ } from "./chunk-BXBJI6XD.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-KPFBSWRK.js";
9
+ } from "./chunk-UNQM4BV5.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
25
25
  export {
26
26
  Logout
27
27
  };
28
- //# sourceMappingURL=chunk-FNYLJESL.js.map
28
+ //# sourceMappingURL=chunk-EYZZIYQJ.js.map
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-TLYRIQK7.js";
7
+ } from "./chunk-3EURRQ7K.js";
8
8
  import {
9
9
  getEnvironmentData
10
- } from "./chunk-TB443RFG.js";
10
+ } from "./chunk-FHOKC4TU.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-57SXE5DE.js";
13
+ } from "./chunk-S5JEIN5Q.js";
14
14
  import {
15
15
  runWithRateLimit
16
- } from "./chunk-BZFP2O66.js";
16
+ } from "./chunk-WHCXZSKH.js";
17
17
  import {
18
18
  AbortSilentError,
19
19
  CancelExecution,
@@ -28,14 +28,14 @@ import {
28
28
  reportingRateLimit,
29
29
  require_stacktracey,
30
30
  shouldReportErrorAsUnexpected
31
- } from "./chunk-KPFBSWRK.js";
31
+ } from "./chunk-UNQM4BV5.js";
32
32
  import {
33
33
  cwd,
34
34
  isAbsolutePath,
35
35
  joinPath,
36
36
  normalizePath,
37
37
  relativePath
38
- } from "./chunk-Y2JP6WFP.js";
38
+ } from "./chunk-EG6MBBEN.js";
39
39
  import {
40
40
  require_lib
41
41
  } from "./chunk-3FBDJEGD.js";
@@ -2034,7 +2034,7 @@ var require_notifier = __commonJS({
2034
2034
 
2035
2035
  // ../cli-kit/dist/public/node/error-handler.js
2036
2036
  init_cjs_shims();
2037
- var import_core = __toESM(require_lib(), 1), import_stacktracey = __toESM(require_stacktracey(), 1), import_js = __toESM(require_notifier(), 1);
2037
+ var import_core = __toESM(require_lib()), import_stacktracey = __toESM(require_stacktracey()), import_js = __toESM(require_notifier());
2038
2038
  import { realpath } from "fs/promises";
2039
2039
  async function errorHandler(error, config) {
2040
2040
  if (error instanceof CancelExecution)
@@ -2149,4 +2149,4 @@ export {
2149
2149
  registerCleanBugsnagErrorsFromWithinPlugins,
2150
2150
  addBugsnagMetadata
2151
2151
  };
2152
- //# sourceMappingURL=chunk-ARXCCKJT.js.map
2152
+ //# sourceMappingURL=chunk-FE35FSRC.js.map
@@ -7,14 +7,14 @@ import {
7
7
  nonRandomUUID,
8
8
  shopifyFetch,
9
9
  z
10
- } from "./chunk-DFABOPSU.js";
10
+ } from "./chunk-DRATBB26.js";
11
11
  import {
12
12
  getPackageManager,
13
13
  getSession,
14
14
  packageManagerFromUserAgent,
15
15
  removeSession,
16
16
  setSession
17
- } from "./chunk-BZFP2O66.js";
17
+ } from "./chunk-WHCXZSKH.js";
18
18
  import {
19
19
  AbortError,
20
20
  BugError,
@@ -45,10 +45,10 @@ import {
45
45
  sessionConstants,
46
46
  spinFqdn,
47
47
  themeToken
48
- } from "./chunk-KPFBSWRK.js";
48
+ } from "./chunk-UNQM4BV5.js";
49
49
  import {
50
50
  cwd
51
- } from "./chunk-Y2JP6WFP.js";
51
+ } from "./chunk-EG6MBBEN.js";
52
52
  import {
53
53
  __commonJS,
54
54
  __require,
@@ -1213,4 +1213,4 @@ export {
1213
1213
  getEnvironmentData,
1214
1214
  getSensitiveEnvironmentData
1215
1215
  };
1216
- //# sourceMappingURL=chunk-TB443RFG.js.map
1216
+ //# sourceMappingURL=chunk-FHOKC4TU.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-DVGCJLCA.js";
3
+ } from "./chunk-BXBJI6XD.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-KPFBSWRK.js";
9
+ } from "./chunk-UNQM4BV5.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
13
- } from "./chunk-Y2JP6WFP.js";
13
+ } from "./chunk-EG6MBBEN.js";
14
14
  import {
15
15
  init_cjs_shims
16
16
  } from "./chunk-PKR7KJ6P.js";
@@ -118,4 +118,4 @@ export {
118
118
  writeCommandFlagInterface,
119
119
  writeCommandUsageExampleFile
120
120
  };
121
- //# sourceMappingURL=chunk-A6DFWCO7.js.map
121
+ //# sourceMappingURL=chunk-GGCRQOED.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-ZQMRVJXG.js";
3
+ } from "./chunk-JWJ2ZR5V.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-DVGCJLCA.js";
6
+ } from "./chunk-BXBJI6XD.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-4BPSIIGV.js.map
25
+ //# sourceMappingURL=chunk-HFQX4JZY.js.map