@shopify/cli 3.61.0 → 3.61.2

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 (128) hide show
  1. package/dist/assets/hydrogen/starter/.eslintrc.cjs +1 -0
  2. package/dist/assets/hydrogen/starter/CHANGELOG.md +65 -65
  3. package/dist/assets/hydrogen/starter/app/components/Footer.tsx +3 -3
  4. package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +1 -1
  5. package/dist/assets/hydrogen/starter/app/lib/session.ts +5 -0
  6. package/dist/assets/hydrogen/starter/app/root.tsx +84 -51
  7. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +62 -25
  8. package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +1 -5
  9. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +12 -70
  10. package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +7 -14
  11. package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +1 -8
  12. package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +5 -22
  13. package/dist/assets/hydrogen/starter/app/routes/account.tsx +0 -1
  14. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +32 -6
  15. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +36 -10
  16. package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +35 -12
  17. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +0 -2
  18. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +40 -7
  19. package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +32 -6
  20. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +31 -6
  21. package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +36 -8
  22. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +50 -11
  23. package/dist/assets/hydrogen/starter/package.json +6 -7
  24. package/dist/assets/hydrogen/starter/server.ts +4 -0
  25. package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +1 -2
  26. package/dist/assets/hydrogen/virtual-routes/components/RequestTable.jsx +1 -2
  27. package/dist/assets/hydrogen/virtual-routes/routes/index.jsx +1 -2
  28. package/dist/{chunk-ZOTASNQ2.js → chunk-3RM5SOXY.js} +1 -1
  29. package/dist/{chunk-Q7PY7LVL.js → chunk-4757GPBG.js} +3 -3
  30. package/dist/{chunk-FFHJRSIP.js → chunk-4L37JOS5.js} +1 -1
  31. package/dist/{chunk-V67RXPI6.js → chunk-4TTAP7NN.js} +3 -3
  32. package/dist/{chunk-IIVL4DYB.js → chunk-5B2D56W6.js} +2 -2
  33. package/dist/{chunk-QX3YP6O5.js → chunk-5KRK4DLX.js} +2598 -795
  34. package/dist/{chunk-FWKRA64T.js → chunk-5MODHNUE.js} +3 -3
  35. package/dist/{chunk-LXXUWZRO.js → chunk-7IZTLXJ5.js} +2 -2
  36. package/dist/{chunk-AL4KPZUN.js → chunk-BUWM6JUU.js} +2 -2
  37. package/dist/{chunk-WNXHHHLZ.js → chunk-BYFLATOA.js} +3 -3
  38. package/dist/{chunk-4IXC46ZA.js → chunk-CK7MF3LY.js} +4 -4
  39. package/dist/{chunk-2AH5EBXL.js → chunk-CTETXMMM.js} +4 -4
  40. package/dist/{chunk-7YJH7P7B.js → chunk-CWYZA7C7.js} +1 -1
  41. package/dist/{chunk-463OPQAS.js → chunk-EHF6FVWH.js} +1 -1
  42. package/dist/{chunk-CMFKWJDJ.js → chunk-ETSILRIY.js} +3 -3
  43. package/dist/{chunk-EDVQGTOL.js → chunk-G4EQLT5B.js} +4 -4
  44. package/dist/{chunk-DWXXFI3U.js → chunk-JQPQJN44.js} +6 -6
  45. package/dist/{chunk-YZIPQNOG.js → chunk-KBXWK6XB.js} +2 -2
  46. package/dist/{chunk-EFL5CN6M.js → chunk-M73YMW2C.js} +4 -4
  47. package/dist/{chunk-HJ2JCW7E.js → chunk-NBIE3DNN.js} +2 -2
  48. package/dist/{chunk-2RKUO75O.js → chunk-NJP5GFNN.js} +129 -125
  49. package/dist/{chunk-TXDYKQZT.js → chunk-NJTSDTDU.js} +4 -4
  50. package/dist/{chunk-UJQBYPRO.js → chunk-OC4AY5G7.js} +1 -1
  51. package/dist/{chunk-75BJ33EP.js → chunk-Q3KADKQA.js} +2 -2
  52. package/dist/{chunk-LY6UIYOG.js → chunk-QDZF6IG4.js} +2 -2
  53. package/dist/{chunk-XDCNK2SU.js → chunk-QLLSCNEC.js} +2 -2
  54. package/dist/{chunk-O53XNGJU.js → chunk-QQP6JS5H.js} +1 -1
  55. package/dist/{chunk-2Q7SKRRM.js → chunk-QSO3GQEK.js} +162 -132
  56. package/dist/{chunk-5NBS5LAW.js → chunk-QTBH3GO6.js} +1 -1
  57. package/dist/{chunk-JZ5DN7RX.js → chunk-RPRKZ6JC.js} +2509 -728
  58. package/dist/{chunk-ONJCU4C5.js → chunk-TXXQWILO.js} +2 -2
  59. package/dist/{chunk-B4KDQK3X.js → chunk-UPM6XNBH.js} +2 -2
  60. package/dist/{chunk-3W2QB2OC.js → chunk-VC6CC75R.js} +2 -2
  61. package/dist/{chunk-XRFOYWYI.js → chunk-WZBNLCJ5.js} +2 -2
  62. package/dist/{chunk-63QEL3SZ.js → chunk-XMJDBJPP.js} +4 -4
  63. package/dist/{chunk-OOAZSPYS.js → chunk-YP5UVIUW.js} +3 -3
  64. package/dist/{chunk-LUGC3D2G.js → chunk-YWPV7MV2.js} +6 -6
  65. package/dist/{chunk-ABZKHSZ5.js → chunk-YZGLFVKK.js} +1 -1
  66. package/dist/{chunk-RW6YXHBL.js → chunk-ZE2ZPLYI.js} +12 -12
  67. package/dist/cli/commands/auth/logout.js +18 -18
  68. package/dist/cli/commands/auth/logout.test.js +19 -19
  69. package/dist/cli/commands/debug/command-flags.js +17 -17
  70. package/dist/cli/commands/demo/catalog.js +18 -18
  71. package/dist/cli/commands/demo/generate-file.js +18 -18
  72. package/dist/cli/commands/demo/index.js +17 -17
  73. package/dist/cli/commands/demo/print-ai-prompt.js +18 -18
  74. package/dist/cli/commands/docs/generate.js +17 -17
  75. package/dist/cli/commands/docs/generate.test.js +17 -17
  76. package/dist/cli/commands/help.js +17 -17
  77. package/dist/cli/commands/kitchen-sink/async.js +18 -18
  78. package/dist/cli/commands/kitchen-sink/async.test.js +18 -18
  79. package/dist/cli/commands/kitchen-sink/index.js +20 -20
  80. package/dist/cli/commands/kitchen-sink/index.test.js +20 -20
  81. package/dist/cli/commands/kitchen-sink/prompts.js +18 -18
  82. package/dist/cli/commands/kitchen-sink/prompts.test.js +18 -18
  83. package/dist/cli/commands/kitchen-sink/static.js +18 -18
  84. package/dist/cli/commands/kitchen-sink/static.test.js +18 -18
  85. package/dist/cli/commands/search.js +18 -18
  86. package/dist/cli/commands/upgrade.js +17 -17
  87. package/dist/cli/commands/version.js +18 -18
  88. package/dist/cli/commands/version.test.js +18 -18
  89. package/dist/cli/services/commands/search.js +8 -8
  90. package/dist/cli/services/commands/search.test.js +8 -8
  91. package/dist/cli/services/commands/version.js +11 -11
  92. package/dist/cli/services/commands/version.test.js +12 -12
  93. package/dist/cli/services/demo.js +8 -8
  94. package/dist/cli/services/demo.test.js +8 -8
  95. package/dist/cli/services/kitchen-sink/async.js +8 -8
  96. package/dist/cli/services/kitchen-sink/prompts.js +8 -8
  97. package/dist/cli/services/kitchen-sink/static.js +8 -8
  98. package/dist/cli/services/upgrade.js +10 -10
  99. package/dist/cli/services/upgrade.test.js +11 -11
  100. package/dist/{custom-oclif-loader-KLTAWG4B-VOMMA3PO.js → custom-oclif-loader-4SQGUQ7D-P5C4NLSX.js} +4 -4
  101. package/dist/{chunk-5R5656YY.js → custom-oclif-loader-OD47SFAU.js} +18 -3
  102. package/dist/{error-handler-UJK7WNJE.js → error-handler-EPMFPTYX.js} +10 -10
  103. package/dist/{error-handler-ND7WBMC3-CRFJKAS4.js → error-handler-WI4YVJIS-U3BMMYNJ.js} +6 -6
  104. package/dist/{error-handler-FUQWOW4J.js → error-handler-WL3Q25NI.js} +15 -15
  105. package/dist/hooks/postrun.js +13 -13
  106. package/dist/hooks/prerun.js +10 -10
  107. package/dist/index.js +1137 -1104
  108. package/dist/{lib-76RCE6WZ-AR3SQY6Y.js → lib-76RCE6WZ-5IYGTKKK.js} +2 -2
  109. package/dist/{lib-MWSNLG5P.js → lib-UYK3ZLZK.js} +3 -3
  110. package/dist/{local-5OND5PI5.js → local-KISH2IRF.js} +7 -7
  111. package/dist/{local-3LWDOA7J-UFWE2V6L.js → local-YKOG4EUR-XRRBWLSI.js} +4 -4
  112. package/dist/{morph-FQNWYET7.js → morph-DCIZUK2Q.js} +25 -8
  113. package/dist/{node-WNJUHXTR.js → node-3DKQAOFU.js} +14 -14
  114. package/dist/{node-package-manager-ISP2P5R3.js → node-package-manager-HYTHPJBI.js} +9 -9
  115. package/dist/{node-package-manager-TFY2ROCP-DDJAU44T.js → node-package-manager-S7TSAUJZ-KKDY6KSF.js} +5 -5
  116. package/dist/{system-G445DF53.js → system-LIP7AECY.js} +7 -7
  117. package/dist/tsconfig.tsbuildinfo +1 -1
  118. package/dist/{ui-ITQVVPJU.js → ui-5LSDG3C5.js} +7 -7
  119. package/dist/{ui-MUGCNPLG-UG4N3GMV.js → ui-FUZYK6S3-PVVDPVD5.js} +4 -4
  120. package/dist/{workerd-EZVOCUQW.js → workerd-TFH7T6NI.js} +13 -13
  121. package/oclif.manifest.json +1 -1
  122. package/package.json +4 -5
  123. package/dist/custom-oclif-loader-PJJ3H2WB.js +0 -28
  124. package/dist/hooks/init.d.ts +0 -12
  125. package/dist/hooks/init.js +0 -66
  126. package/dist/hooks/init.js.map +0 -1
  127. package/dist/{chunk-67MDUPX5.js → chunk-I434ZJQI.js} +7 -7
  128. package/dist/{chunk-74JT4RJX.js → chunk-VF4VWJWS.js} +3 -3
@@ -1,26 +1,54 @@
1
- import {json, type LoaderFunctionArgs} from '@shopify/remix-oxygen';
1
+ import {defer, type LoaderFunctionArgs} from '@shopify/remix-oxygen';
2
2
  import {useLoaderData, type MetaFunction} from '@remix-run/react';
3
3
 
4
4
  export const meta: MetaFunction<typeof loader> = ({data}) => {
5
5
  return [{title: `Hydrogen | ${data?.page.title ?? ''}`}];
6
6
  };
7
7
 
8
- export async function loader({params, context}: LoaderFunctionArgs) {
8
+ export async function loader(args: LoaderFunctionArgs) {
9
+ // Start fetching non-critical data without blocking time to first byte
10
+ const deferredData = loadDeferredData(args);
11
+
12
+ // Await the critical data required to render initial state of the page
13
+ const criticalData = await loadCriticalData(args);
14
+
15
+ return defer({...deferredData, ...criticalData});
16
+ }
17
+
18
+ /**
19
+ * Load data necessary for rendering content above the fold. This is the critical data
20
+ * needed to render the page. If it's unavailable, the whole page should 400 or 500 error.
21
+ */
22
+ async function loadCriticalData({context, params}: LoaderFunctionArgs) {
9
23
  if (!params.handle) {
10
24
  throw new Error('Missing page handle');
11
25
  }
12
26
 
13
- const {page} = await context.storefront.query(PAGE_QUERY, {
14
- variables: {
15
- handle: params.handle,
16
- },
17
- });
27
+ const [{page}] = await Promise.all([
28
+ context.storefront.query(PAGE_QUERY, {
29
+ variables: {
30
+ handle: params.handle,
31
+ },
32
+ }),
33
+ // Add other queries here, so that they are loaded in parallel
34
+ ]);
18
35
 
19
36
  if (!page) {
20
37
  throw new Response('Not Found', {status: 404});
21
38
  }
22
39
 
23
- return json({page});
40
+ return {
41
+ page,
42
+ };
43
+ }
44
+
45
+ /**
46
+ * Load data for rendering content below the fold. This data is deferred and will be
47
+ * fetched after the initial page load. If it's unavailable, the page should still 200.
48
+ * Make sure to not throw any errors here, as it will cause the page to 500.
49
+ */
50
+ function loadDeferredData({context}: LoaderFunctionArgs) {
51
+ return {};
24
52
  }
25
53
 
26
54
  export default function Page() {
@@ -32,7 +32,25 @@ export const meta: MetaFunction<typeof loader> = ({data}) => {
32
32
  return [{title: `Hydrogen | ${data?.product.title ?? ''}`}];
33
33
  };
34
34
 
35
- export async function loader({params, request, context}: LoaderFunctionArgs) {
35
+ export async function loader(args: LoaderFunctionArgs) {
36
+ // Start fetching non-critical data without blocking time to first byte
37
+ const deferredData = loadDeferredData(args);
38
+
39
+ // Await the critical data required to render initial state of the page
40
+ const criticalData = await loadCriticalData(args);
41
+
42
+ return defer({...deferredData, ...criticalData});
43
+ }
44
+
45
+ /**
46
+ * Load data necessary for rendering content above the fold. This is the critical data
47
+ * needed to render the page. If it's unavailable, the whole page should 400 or 500 error.
48
+ */
49
+ async function loadCriticalData({
50
+ context,
51
+ params,
52
+ request,
53
+ }: LoaderFunctionArgs) {
36
54
  const {handle} = params;
37
55
  const {storefront} = context;
38
56
 
@@ -40,10 +58,12 @@ export async function loader({params, request, context}: LoaderFunctionArgs) {
40
58
  throw new Error('Expected product handle to be defined');
41
59
  }
42
60
 
43
- // await the query for the critical product data
44
- const {product} = await storefront.query(PRODUCT_QUERY, {
45
- variables: {handle, selectedOptions: getSelectedProductOptions(request)},
46
- });
61
+ const [{product}] = await Promise.all([
62
+ storefront.query(PRODUCT_QUERY, {
63
+ variables: {handle, selectedOptions: getSelectedProductOptions(request)},
64
+ }),
65
+ // Add other queries here, so that they are loaded in parallel
66
+ ]);
47
67
 
48
68
  if (!product?.id) {
49
69
  throw new Response(null, {status: 404});
@@ -67,16 +87,35 @@ export async function loader({params, request, context}: LoaderFunctionArgs) {
67
87
  }
68
88
  }
69
89
 
90
+ return {
91
+ product,
92
+ };
93
+ }
94
+
95
+ /**
96
+ * Load data for rendering content below the fold. This data is deferred and will be
97
+ * fetched after the initial page load. If it's unavailable, the page should still 200.
98
+ * Make sure to not throw any errors here, as it will cause the page to 500.
99
+ */
100
+ function loadDeferredData({context, params}: LoaderFunctionArgs) {
70
101
  // In order to show which variants are available in the UI, we need to query
71
102
  // all of them. But there might be a *lot*, so instead separate the variants
72
103
  // into it's own separate query that is deferred. So there's a brief moment
73
104
  // where variant options might show as available when they're not, but after
74
105
  // this deffered query resolves, the UI will update.
75
- const variants = storefront.query(VARIANTS_QUERY, {
76
- variables: {handle},
77
- });
106
+ const variants = context.storefront
107
+ .query(VARIANTS_QUERY, {
108
+ variables: {handle: params.handle!},
109
+ })
110
+ .catch((error) => {
111
+ // Log query errors, but don't throw them so the page can still render
112
+ console.error(error);
113
+ return null;
114
+ });
78
115
 
79
- return defer({product, variants});
116
+ return {
117
+ variants,
118
+ };
80
119
  }
81
120
 
82
121
  function redirectToFirstVariant({
@@ -156,7 +195,7 @@ function ProductMain({
156
195
  }: {
157
196
  product: ProductFragment;
158
197
  selectedVariant: ProductFragment['selectedVariant'];
159
- variants: Promise<ProductVariantsQuery>;
198
+ variants: Promise<ProductVariantsQuery | null>;
160
199
  }) {
161
200
  const {title, descriptionHtml} = product;
162
201
  return (
@@ -181,7 +220,7 @@ function ProductMain({
181
220
  <ProductForm
182
221
  product={product}
183
222
  selectedVariant={selectedVariant}
184
- variants={data.product?.variants.nodes || []}
223
+ variants={data?.product?.variants.nodes || []}
185
224
  />
186
225
  )}
187
226
  </Await>
@@ -2,7 +2,7 @@
2
2
  "name": "skeleton",
3
3
  "private": true,
4
4
  "sideEffects": false,
5
- "version": "0.0.0-next-ca7f288-20240530103543",
5
+ "version": "0.0.0-next-9eb60d7-20240607102913",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "build": "shopify hydrogen build --codegen",
@@ -16,10 +16,9 @@
16
16
  "dependencies": {
17
17
  "@remix-run/react": "^2.9.2",
18
18
  "@remix-run/server-runtime": "^2.9.2",
19
- "@shopify/cli": "3.60.0",
20
- "@shopify/cli-hydrogen": "0.0.0-next-ca7f288-20240530103543",
21
- "@shopify/hydrogen": "0.0.0-next-ca7f288-20240530103543",
22
- "@shopify/remix-oxygen": "0.0.0-next-ca7f288-20240530103543",
19
+ "@shopify/cli": "3.61.0",
20
+ "@shopify/hydrogen": "0.0.0-next-9eb60d7-20240607102913",
21
+ "@shopify/remix-oxygen": "0.0.0-next-9eb60d7-20240607102913",
23
22
  "graphql": "^16.6.0",
24
23
  "graphql-tag": "^2.12.6",
25
24
  "isbot": "^3.8.0",
@@ -30,8 +29,8 @@
30
29
  "@graphql-codegen/cli": "5.0.2",
31
30
  "@remix-run/dev": "^2.9.2",
32
31
  "@remix-run/eslint-config": "^2.9.2",
33
- "@shopify/hydrogen-codegen": "0.0.0-next-ca7f288-20240530103543",
34
- "@shopify/mini-oxygen": "0.0.0-next-ca7f288-20240530103543",
32
+ "@shopify/hydrogen-codegen": "0.0.0-next-9eb60d7-20240607102913",
33
+ "@shopify/mini-oxygen": "^3.0.3",
35
34
  "@shopify/oxygen-workers-types": "^4.0.0",
36
35
  "@shopify/prettier-config": "^1.1.2",
37
36
  "@total-typescript/ts-reset": "^0.4.2",
@@ -96,6 +96,10 @@ export default {
96
96
 
97
97
  const response = await handleRequest(request);
98
98
 
99
+ if (session.isPending) {
100
+ response.headers.set('Set-Cookie', await session.commit());
101
+ }
102
+
99
103
  if (response.status === 404) {
100
104
  /**
101
105
  * Check for redirects only when there's a 404 from the app.
@@ -34,8 +34,7 @@ function RequestDetails({
34
34
  className: `tab${activeTabClass(key)}`,
35
35
  onClick: () => setActiveTab(key),
36
36
  onKeyUp: (event) => {
37
- if (event.code === "Space")
38
- setActiveTab(key);
37
+ if (event.code === "Space") setActiveTab(key);
39
38
  },
40
39
  children: TABS[key]
41
40
  }
@@ -61,8 +61,7 @@ function RequestTable({
61
61
  className: `grid-row${activeEventId === row.id ? " active" : ""}${row.status >= 400 ? " error" : ""}`,
62
62
  onClick: () => setActiveEventId(row.id),
63
63
  onKeyUp: (event) => {
64
- if (event.code === "Space")
65
- setActiveEventId(row.id);
64
+ if (event.code === "Space") setActiveEventId(row.id);
66
65
  },
67
66
  children: [
68
67
  /* @__PURE__ */ jsx("div", { className: "grid-cell", children: row.url }),
@@ -47,8 +47,7 @@ function Index() {
47
47
  } = useLoaderData();
48
48
  let { name: shopName, id: shopId } = shop;
49
49
  const configDone = shopId !== HYDROGEN_SHOP_ID && !isMockShop;
50
- if (isMockShop || !shopName)
51
- shopName = "Hydrogen";
50
+ if (isMockShop || !shopName) shopName = "Hydrogen";
52
51
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs(Layout, { shopName, children: [
53
52
  configDone ? /* @__PURE__ */ jsx(HydrogenLogoBaseColor, {}) : /* @__PURE__ */ jsx(HydrogenLogoBaseBW, {}),
54
53
  /* @__PURE__ */ jsxs("h1", { children: [
@@ -17,7 +17,7 @@ import {
17
17
  renderTextPrompt,
18
18
  renderWarning,
19
19
  sleep
20
- } from "./chunk-4IXC46ZA.js";
20
+ } from "./chunk-CK7MF3LY.js";
21
21
  import {
22
22
  init_cjs_shims
23
23
  } from "./chunk-M63RTPGR.js";
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-IUHH3PST.js";
4
4
  import {
5
5
  demoStepsSchema
6
- } from "./chunk-ZOTASNQ2.js";
6
+ } from "./chunk-3RM5SOXY.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-EDVQGTOL.js";
9
+ } from "./chunk-G4EQLT5B.js";
10
10
  import {
11
11
  outputInfo,
12
12
  renderInfo
13
- } from "./chunk-4IXC46ZA.js";
13
+ } from "./chunk-CK7MF3LY.js";
14
14
  import {
15
15
  __toESM,
16
16
  init_cjs_shims
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-4IXC46ZA.js";
4
+ } from "./chunk-CK7MF3LY.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-M63RTPGR.js";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-ZOTASNQ2.js";
3
+ } from "./chunk-3RM5SOXY.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-EDVQGTOL.js";
6
+ } from "./chunk-G4EQLT5B.js";
7
7
  import {
8
8
  outputInfo,
9
9
  readFile,
10
10
  renderAutocompletePrompt
11
- } from "./chunk-4IXC46ZA.js";
11
+ } from "./chunk-CK7MF3LY.js";
12
12
  import {
13
13
  joinPath
14
14
  } from "./chunk-MHMFNQE3.js";
@@ -2,7 +2,7 @@ import {
2
2
  init_cjs_shims
3
3
  } from "./chunk-M63RTPGR.js";
4
4
 
5
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-ca7f288-20240530103543_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
5
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
6
6
  init_cjs_shims();
7
7
 
8
8
  // ../../node_modules/.pnpm/get-port@7.1.0/node_modules/get-port/index.js
@@ -141,7 +141,7 @@ function portNumbers(from, to) {
141
141
  return generator(from, to);
142
142
  }
143
143
 
144
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-ca7f288-20240530103543_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
144
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
145
145
  function findPort(portPreference, range = 100) {
146
146
  return getPorts({
147
147
  port: portNumbers(portPreference, portPreference + range)