@shopify/cli 3.80.4 → 3.80.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.
Files changed (84) hide show
  1. package/dist/assets/hydrogen/starter/.cursor/rules/hydrogen-react-router.mdc +5 -3
  2. package/dist/assets/hydrogen/starter/CHANGELOG.md +52 -40
  3. package/dist/assets/hydrogen/starter/package.json +2 -2
  4. package/dist/assets/hydrogen/starter/vite.config.ts +1 -1
  5. package/dist/{chunk-IRKPDUZE.js → chunk-2ZXZ6TMG.js} +6 -6
  6. package/dist/{chunk-4DKJ765Z.js → chunk-3Y3XPRQ6.js} +4 -4
  7. package/dist/{chunk-JJMWQP2L.js → chunk-4QN5J4PQ.js} +5 -5
  8. package/dist/{chunk-ZVMNEYFH.js → chunk-52XNWDUG.js} +3 -3
  9. package/dist/{chunk-EBDVIUOD.js → chunk-7VUAPVO6.js} +8 -8
  10. package/dist/{chunk-MIJF5LNA.js → chunk-BK4IIAID.js} +4 -4
  11. package/dist/{chunk-G6KVL4TS.js → chunk-BR2NBKUW.js} +4 -4
  12. package/dist/{chunk-QXOOIYRJ.js → chunk-D5NBHTIZ.js} +2 -2
  13. package/dist/{chunk-AKFTTMP7.js → chunk-DCBKCTEJ.js} +2 -2
  14. package/dist/{chunk-RPVZXBFY.js → chunk-EXAGVZF6.js} +4 -4
  15. package/dist/{chunk-22KQHOXJ.js → chunk-F5KMS2TZ.js} +2 -2
  16. package/dist/{chunk-A3FV2Y5F.js → chunk-HHXHFCPT.js} +97 -82
  17. package/dist/{chunk-JR36QMOU.js → chunk-HK5IHRTT.js} +6 -6
  18. package/dist/{chunk-MJBSMK2E.js → chunk-I2MST2WP.js} +3 -3
  19. package/dist/{chunk-HDXBAFR4.js → chunk-I726U4UA.js} +4 -4
  20. package/dist/{chunk-NRAZQETL.js → chunk-IWJSMR4L.js} +3 -3
  21. package/dist/{chunk-NPWBOQKI.js → chunk-JATT3FYX.js} +3 -3
  22. package/dist/{chunk-FE76VMCW.js → chunk-KBENE52L.js} +3 -3
  23. package/dist/{chunk-3DDKTA7S.js → chunk-KYH3WDGK.js} +4 -4
  24. package/dist/{chunk-HJMWM6XE.js → chunk-L6ROCMDO.js} +5 -5
  25. package/dist/{chunk-EV63EJKX.js → chunk-N4CSAPLU.js} +3 -3
  26. package/dist/{chunk-Z7RQZ537.js → chunk-N6LDKETI.js} +3 -3
  27. package/dist/{chunk-Z4ZLMWHP.js → chunk-ONMISMO4.js} +6 -6
  28. package/dist/{chunk-D7FVBSG2.js → chunk-PMIAZTDQ.js} +2 -2
  29. package/dist/{chunk-FOC6QQ3Z.js → chunk-PUMTB3YW.js} +7 -7
  30. package/dist/{chunk-JHJEXKDW.js → chunk-Q43ZURCK.js} +2 -2
  31. package/dist/{chunk-3WZJKL5I.js → chunk-SELFIPBY.js} +2 -2
  32. package/dist/{chunk-RTFBL435.js → chunk-T3LVGAPV.js} +3 -3
  33. package/dist/{chunk-FTFP354F.js → chunk-TX7PPGUZ.js} +5 -5
  34. package/dist/{chunk-72EQI7B6.js → chunk-UEIMUAER.js} +2 -2
  35. package/dist/{chunk-DTZTWKIB.js → chunk-VAUXWFOM.js} +3 -3
  36. package/dist/{chunk-ZMQFWHEX.js → chunk-WI6TASTN.js} +5 -5
  37. package/dist/{chunk-NJDE4VHA.js → chunk-YYB2DPLI.js} +3 -3
  38. package/dist/{chunk-57Q6OQG4.js → chunk-ZUCWDIGE.js} +2 -2
  39. package/dist/{chunk-HTPOBJEV.js → chunk-ZXVXGNY4.js} +5 -5
  40. package/dist/cli/commands/auth/logout.js +12 -12
  41. package/dist/cli/commands/auth/logout.test.js +13 -13
  42. package/dist/cli/commands/cache/clear.js +11 -11
  43. package/dist/cli/commands/debug/command-flags.js +11 -11
  44. package/dist/cli/commands/docs/generate.js +11 -11
  45. package/dist/cli/commands/docs/generate.test.js +11 -11
  46. package/dist/cli/commands/help.js +11 -11
  47. package/dist/cli/commands/kitchen-sink/async.js +12 -12
  48. package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
  49. package/dist/cli/commands/kitchen-sink/index.js +14 -14
  50. package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
  51. package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
  52. package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
  53. package/dist/cli/commands/kitchen-sink/static.js +12 -12
  54. package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
  55. package/dist/cli/commands/notifications/generate.js +12 -12
  56. package/dist/cli/commands/notifications/list.js +12 -12
  57. package/dist/cli/commands/search.js +12 -12
  58. package/dist/cli/commands/upgrade.js +12 -12
  59. package/dist/cli/commands/version.js +12 -12
  60. package/dist/cli/commands/version.test.js +12 -12
  61. package/dist/cli/services/commands/notifications.js +7 -7
  62. package/dist/cli/services/commands/search.js +3 -3
  63. package/dist/cli/services/commands/search.test.js +3 -3
  64. package/dist/cli/services/commands/version.js +4 -4
  65. package/dist/cli/services/commands/version.test.js +5 -5
  66. package/dist/cli/services/kitchen-sink/async.js +3 -3
  67. package/dist/cli/services/kitchen-sink/prompts.js +3 -3
  68. package/dist/cli/services/kitchen-sink/static.js +3 -3
  69. package/dist/cli/services/upgrade.js +4 -4
  70. package/dist/cli/services/upgrade.test.js +5 -5
  71. package/dist/{custom-oclif-loader-FJYCRCHY.js → custom-oclif-loader-NRWKTMWK.js} +3 -3
  72. package/dist/{error-handler-ZFOBG3KZ.js → error-handler-AVFBYBX3.js} +9 -9
  73. package/dist/hooks/postrun.js +7 -7
  74. package/dist/hooks/prerun.js +8 -8
  75. package/dist/index.js +125 -117
  76. package/dist/{local-7CUVJHVC.js → local-IZUQBMP3.js} +3 -3
  77. package/dist/{morph-EKLK7JWU.js → morph-3VOLMA55.js} +9 -9
  78. package/dist/{node-package-manager-KJ2WBUZP.js → node-package-manager-F7U753X4.js} +4 -4
  79. package/dist/{path-2K5HIMHZ.js → path-GWAZZN2N.js} +2 -2
  80. package/dist/tsconfig.tsbuildinfo +1 -1
  81. package/dist/{ui-5JYYJU2R.js → ui-JUF2QSGU.js} +3 -3
  82. package/dist/{workerd-GXYWGSKC.js → workerd-MVGKDJ7H.js} +14 -14
  83. package/oclif.manifest.json +1 -1
  84. package/package.json +7 -7
@@ -8,19 +8,19 @@ import {
8
8
  ensureAuthenticatedAdmin,
9
9
  ensureAuthenticatedBusinessPlatform,
10
10
  logout
11
- } from "./chunk-4DKJ765Z.js";
11
+ } from "./chunk-3Y3XPRQ6.js";
12
12
  import {
13
13
  base_command_default
14
- } from "./chunk-JR36QMOU.js";
14
+ } from "./chunk-HK5IHRTT.js";
15
15
  import {
16
16
  fanoutHooks,
17
17
  requestIdsCollection
18
- } from "./chunk-Z4ZLMWHP.js";
18
+ } from "./chunk-ONMISMO4.js";
19
19
  import {
20
20
  businessPlatformFqdn,
21
21
  normalizeStoreFqdn,
22
22
  partnersFqdn
23
- } from "./chunk-JJMWQP2L.js";
23
+ } from "./chunk-4QN5J4PQ.js";
24
24
  import {
25
25
  ClientError,
26
26
  GraphQLClient,
@@ -34,10 +34,10 @@ import {
34
34
  retryAwareRequest,
35
35
  sanitizeURL,
36
36
  sanitizedHeadersOutput
37
- } from "./chunk-FTFP354F.js";
37
+ } from "./chunk-TX7PPGUZ.js";
38
38
  import {
39
39
  CLI_KIT_VERSION
40
- } from "./chunk-72EQI7B6.js";
40
+ } from "./chunk-UEIMUAER.js";
41
41
  import {
42
42
  cacheRetrieveOrRepopulate,
43
43
  findUpAndReadPackageJson,
@@ -47,7 +47,7 @@ import {
47
47
  readAndParsePackageJson,
48
48
  timeIntervalToMilliseconds,
49
49
  writePackageJSON
50
- } from "./chunk-ZVMNEYFH.js";
50
+ } from "./chunk-52XNWDUG.js";
51
51
  import {
52
52
  AbortError,
53
53
  BugError,
@@ -86,7 +86,7 @@ import {
86
86
  source_default,
87
87
  stringifyMessage,
88
88
  writeFile
89
- } from "./chunk-ZMQFWHEX.js";
89
+ } from "./chunk-WI6TASTN.js";
90
90
  import {
91
91
  basename,
92
92
  cwd,
@@ -96,7 +96,7 @@ import {
96
96
  relativePath,
97
97
  relativizePath,
98
98
  resolvePath
99
- } from "./chunk-57Q6OQG4.js";
99
+ } from "./chunk-ZUCWDIGE.js";
100
100
  import {
101
101
  require_lib
102
102
  } from "./chunk-5AFYDRV4.js";
@@ -135350,7 +135350,7 @@ var require_main = __commonJS({
135350
135350
  }
135351
135351
  });
135352
135352
 
135353
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/import-utils.js
135353
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/import-utils.js
135354
135354
  init_cjs_shims();
135355
135355
  import { createRequire } from "node:module";
135356
135356
  import { pathToFileURL } from "node:url";
@@ -135375,13 +135375,13 @@ function importLocal(packageName, path3) {
135375
135375
  return import(pathToFileURL(realPath).href);
135376
135376
  }
135377
135377
 
135378
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
135378
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
135379
135379
  init_cjs_shims();
135380
135380
  import path from "node:path";
135381
135381
  import { EventEmitter } from "node:events";
135382
135382
  import { ReadableStream } from "node:stream/web";
135383
135383
 
135384
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphiql-url.js
135384
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphiql-url.js
135385
135385
  init_cjs_shims();
135386
135386
  function getGraphiQLUrl({
135387
135387
  host = "",
@@ -135395,7 +135395,7 @@ function getGraphiQLUrl({
135395
135395
  return url;
135396
135396
  }
135397
135397
 
135398
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
135398
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
135399
135399
  var import_source_map_support = __toESM(require_source_map_support(), 1), H2O_BINDING_NAME = "H2O_LOG_EVENT", ResponseConstructor;
135400
135400
  function setConstructors(constructors) {
135401
135401
  ResponseConstructor = constructors.Response;
@@ -135496,7 +135496,7 @@ function handleDebugNetworkRequest(request) {
135496
135496
  return request.method === "DELETE" ? clearHistory() : streamRequestEvents(request);
135497
135497
  }
135498
135498
 
135499
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/common.js
135499
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/common.js
135500
135500
  init_cjs_shims();
135501
135501
  var SUBREQUEST_PROFILER_ENDPOINT = "/debug-network-server";
135502
135502
  function handleMiniOxygenImportFail() {
@@ -135530,32 +135530,32 @@ function logRequestLine({
135530
135530
  }
135531
135531
  }
135532
135532
 
135533
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
135533
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
135534
135534
  init_cjs_shims();
135535
135535
 
135536
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
135536
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
135537
135537
  init_cjs_shims();
135538
135538
  var import_core3 = __toESM(require_lib(), 1);
135539
135539
 
135540
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
135540
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
135541
135541
  init_cjs_shims();
135542
135542
  var import_core2 = __toESM(require_lib(), 1);
135543
135543
 
135544
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
135544
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
135545
135545
  init_cjs_shims();
135546
135546
  var import_core = __toESM(require_lib(), 1);
135547
135547
 
135548
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
135548
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
135549
135549
  init_cjs_shims();
135550
135550
 
135551
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
135551
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
135552
135552
  init_cjs_shims();
135553
135553
 
135554
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
135554
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
135555
135555
  init_cjs_shims();
135556
135556
  import { fileURLToPath } from "node:url";
135557
135557
 
135558
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/process.js
135558
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/process.js
135559
135559
  init_cjs_shims();
135560
135560
  import { exec } from "node:child_process";
135561
135561
  import { promisify } from "node:util";
@@ -135567,7 +135567,7 @@ function supressNodeExperimentalWarnings() {
135567
135567
  }));
135568
135568
  }
135569
135569
 
135570
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
135570
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
135571
135571
  var monorepoPackagesPath = new URL("../../..", import.meta.url).pathname, isHydrogenMonorepo = monorepoPackagesPath.endsWith(
135572
135572
  "/hydrogen/packages/"
135573
135573
  ), hydrogenPackagesPath = isHydrogenMonorepo ? monorepoPackagesPath : void 0, ASSETS_DIR_PREFIX = "assets/hydrogen", ASSETS_STARTER_DIR = "starter", ASSETS_STARTER_DIR_ROUTES = "routes", pkgJsonPath;
@@ -135614,7 +135614,7 @@ async function getRepoNodeModules() {
135614
135614
  return !nodeModulesPath && isHydrogenMonorepo && (nodeModulesPath = joinPath(dirname(monorepoPackagesPath), "node_modules")), nodeModulesPath;
135615
135615
  }
135616
135616
 
135617
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
135617
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
135618
135618
  var SETUP_CSS_STRATEGIES = [
135619
135619
  "tailwind",
135620
135620
  "vanilla-extract",
@@ -135649,14 +135649,14 @@ async function canWriteFiles(assetMap, directory, force) {
135649
135649
  }));
135650
135650
  }
135651
135651
 
135652
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
135652
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
135653
135653
  init_cjs_shims();
135654
135654
 
135655
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
135655
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
135656
135656
  init_cjs_shims();
135657
135657
  import { readdir } from "node:fs/promises";
135658
135658
 
135659
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/format-code.js
135659
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/format-code.js
135660
135660
  init_cjs_shims();
135661
135661
  var prettier = __toESM(require_prettier(), 1);
135662
135662
  import * as FS from "fs/promises";
@@ -135686,7 +135686,7 @@ async function formatCode(content, config = DEFAULT_PRETTIER_CONFIG, filePath =
135686
135686
  });
135687
135687
  }
135688
135688
 
135689
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
135689
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
135690
135690
  async function replaceFileContent(filepath, formatConfig, replacer) {
135691
135691
  let content = await replacer(await readFile(filepath));
135692
135692
  if (typeof content == "string")
@@ -135769,10 +135769,10 @@ async function mergeTsConfig(sourceDir, targetDir) {
135769
135769
  );
135770
135770
  }
135771
135771
 
135772
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
135772
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
135773
135773
  init_cjs_shims();
135774
135774
 
135775
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/ast.js
135775
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/ast.js
135776
135776
  init_cjs_shims();
135777
135777
  async function importLangAstGrep(lang) {
135778
135778
  let astGrep = await import("@ast-grep/napi");
@@ -135781,7 +135781,7 @@ async function importLangAstGrep(lang) {
135781
135781
  return astGrep[lang];
135782
135782
  }
135783
135783
 
135784
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
135784
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
135785
135785
  async function replaceRootLinks(appDirectory, formatConfig, importer) {
135786
135786
  let { filepath, astType } = await findFileWithExtension(appDirectory, "root");
135787
135787
  if (!filepath || !astType)
@@ -135883,7 +135883,7 @@ var vitePluginListRule = {
135883
135883
  }
135884
135884
  };
135885
135885
 
135886
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
135886
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
135887
135887
  var tailwindCssPath = "styles/tailwind.css";
135888
135888
  async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
135889
135889
  let relativeAppDirectory = relativePath(rootDirectory, appDirectory), assetMap = {
@@ -135919,7 +135919,7 @@ async function setupTailwind({ rootDirectory, appDirectory }, force = !1) {
135919
135919
  };
135920
135920
  }
135921
135921
 
135922
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/vanilla-extract.js
135922
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/vanilla-extract.js
135923
135923
  init_cjs_shims();
135924
135924
  async function setupVanillaExtract({
135925
135925
  rootDirectory
@@ -135940,7 +135940,7 @@ async function setupVanillaExtract({
135940
135940
  };
135941
135941
  }
135942
135942
 
135943
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
135943
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
135944
135944
  var STYLING_CHOICES = [...SETUP_CSS_STRATEGIES, "none"], CSS_STRATEGY_NAME_MAP = {
135945
135945
  tailwind: "Tailwind v4",
135946
135946
  "vanilla-extract": "Vanilla Extract",
@@ -135985,23 +135985,23 @@ async function renderCssPrompt(options2) {
135985
135985
  });
135986
135986
  }
135987
135987
 
135988
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
135988
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
135989
135989
  init_cjs_shims();
135990
135990
 
135991
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
135991
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
135992
135992
  init_cjs_shims();
135993
135993
 
135994
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/index.js
135994
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/index.js
135995
135995
  init_cjs_shims();
135996
135996
 
135997
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
135997
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
135998
135998
  init_cjs_shims();
135999
135999
  async function transpileFile(code, filepath, keepTypes = !0) {
136000
- let { transpileTs } = await import("./morph-EKLK7JWU.js");
136000
+ let { transpileTs } = await import("./morph-3VOLMA55.js");
136001
136001
  return transpileTs(code, filepath, keepTypes);
136002
136002
  }
136003
136003
 
136004
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/project.js
136004
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/project.js
136005
136005
  init_cjs_shims();
136006
136006
  var DEFAULT_JS_CONFIG = {
136007
136007
  checkJs: !1,
@@ -136112,7 +136112,7 @@ async function transpileProject(projectDir, keepTypes = !0) {
136112
136112
  }
136113
136113
  }
136114
136114
 
136115
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
136115
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
136116
136116
  async function replaceContextI18n({
136117
136117
  rootDirectory,
136118
136118
  contextCreate = joinPath("app", "lib", "context.ts")
@@ -136251,7 +136251,7 @@ async function findContextCreateFile({
136251
136251
  return { filepath, astType };
136252
136252
  }
136253
136253
 
136254
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
136254
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
136255
136255
  var SETUP_I18N_STRATEGIES = [
136256
136256
  "subfolders",
136257
136257
  "domains",
@@ -136283,7 +136283,7 @@ async function renderI18nPrompt(options2) {
136283
136283
  });
136284
136284
  }
136285
136285
 
136286
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
136286
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
136287
136287
  var DEFAULT_APP_PORT = 3e3, DEFAULT_INSPECTOR_PORT = 9229, commonFlags = {
136288
136288
  path: {
136289
136289
  path: import_core.Flags.string({
@@ -136465,10 +136465,10 @@ function overrideFlag(flags, extra) {
136465
136465
  );
136466
136466
  }
136467
136467
 
136468
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
136468
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
136469
136469
  init_cjs_shims();
136470
136470
 
136471
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
136471
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
136472
136472
  init_cjs_shims();
136473
136473
 
136474
136474
  // ../cli-kit/dist/public/node/api/graphql.js
@@ -136582,7 +136582,7 @@ async function graphqlRequestDoc(options2) {
136582
136582
  });
136583
136583
  }
136584
136584
 
136585
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
136585
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
136586
136586
  async function adminRequest(query, session, variables) {
136587
136587
  let api = "Admin", url = `https://${session.storeFqdn}/admin/api/unstable/graphql.json`;
136588
136588
  try {
@@ -136617,7 +136617,7 @@ async function adminRequest(query, session, variables) {
136617
136617
  }
136618
136618
  }
136619
136619
 
136620
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/gid.js
136620
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/gid.js
136621
136621
  init_cjs_shims();
136622
136622
  var GID_REGEXP = /gid:\/\/shopify\/\w*\/(\d+)/;
136623
136623
  function parseGid(gid) {
@@ -136627,7 +136627,7 @@ function parseGid(gid) {
136627
136627
  throw new AbortError(`Invalid Global ID: ${gid}`);
136628
136628
  }
136629
136629
 
136630
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
136630
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
136631
136631
  var LinkStorefrontQuery = `#graphql
136632
136632
  query LinkStorefront {
136633
136633
  hydrogenStorefronts {
@@ -136648,7 +136648,7 @@ async function getStorefronts(adminSession) {
136648
136648
  }));
136649
136649
  }
136650
136650
 
136651
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shopify-config.js
136651
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shopify-config.js
136652
136652
  init_cjs_shims();
136653
136653
  var SHOPIFY_DIR = ".shopify", SHOPIFY_DIR_PROJECT = "project.json";
136654
136654
  async function resetConfig(root) {
@@ -136719,7 +136719,7 @@ async function setCustomerAccountConfig(root, customerAccountConfig) {
136719
136719
  }
136720
136720
  }
136721
136721
 
136722
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/create-storefront.js
136722
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/create-storefront.js
136723
136723
  init_cjs_shims();
136724
136724
  var CreateStorefrontMutation = `#graphql
136725
136725
  mutation CreateStorefront($title: String!) {
@@ -136753,7 +136753,7 @@ async function createStorefront(adminSession, title) {
136753
136753
  return { jobId, storefront: hydrogenStorefront };
136754
136754
  }
136755
136755
 
136756
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/fetch-job.js
136756
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/fetch-job.js
136757
136757
  init_cjs_shims();
136758
136758
  var FetchJobQuery = `#graphql
136759
136759
  query FetchJob($id: ID!) {
@@ -136787,7 +136787,7 @@ function waitForJob(adminSession, jobId) {
136787
136787
  });
136788
136788
  }
136789
136789
 
136790
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/string.js
136790
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/string.js
136791
136791
  init_cjs_shims();
136792
136792
  function titleize(name = "") {
136793
136793
  return name.replace(/[\W_]+/g, " ").split(" ").filter((word) => word.length > 0).map(
@@ -136795,7 +136795,7 @@ function titleize(name = "") {
136795
136795
  ).join(" ");
136796
136796
  }
136797
136797
 
136798
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shell.js
136798
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shell.js
136799
136799
  init_cjs_shims();
136800
136800
  import os from "node:os";
136801
136801
  var ALIAS_NAME = "h2", isWindows = () => os.platform() === "win32", isGitBash = () => !!process.env.MINGW_PREFIX;
@@ -136910,10 +136910,10 @@ async function getCliCommand(directory = process.cwd(), forcePkgManager) {
136910
136910
  return (pkgManager === "bun" || pkgManager === "pnpm" || pkgManager === "yarn") && (cli = pkgManager), `${cli} shopify hydrogen`;
136911
136911
  }
136912
136912
 
136913
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
136913
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
136914
136914
  init_cjs_shims();
136915
136915
 
136916
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
136916
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
136917
136917
  init_cjs_shims();
136918
136918
 
136919
136919
  // ../cli-kit/dist/public/node/api/business-platform.js
@@ -137035,7 +137035,7 @@ async function businessPlatformOrganizationsRequestDoc(query, token, organizatio
137035
137035
  });
137036
137036
  }
137037
137037
 
137038
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
137038
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
137039
137039
  var CurrentUserAccountQuery = `#graphql
137040
137040
  query currentUserAccount {
137041
137041
  currentUserAccount {
@@ -137114,7 +137114,7 @@ async function getUserAccount(token) {
137114
137114
  };
137115
137115
  }
137116
137116
 
137117
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/log.js
137117
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/log.js
137118
137118
  init_cjs_shims();
137119
137119
  var originalConsole = { ...console }, methodsReplaced = /* @__PURE__ */ new Set(), addedReplacers = /* @__PURE__ */ new Set(), messageReplacers = [];
137120
137120
  function addMessageReplacers(key, ...items) {
@@ -137350,7 +137350,7 @@ function isH2Verbose() {
137350
137350
  return !!(process.env.DEBUG === "*" || process.env.DEBUG?.includes("h2:*"));
137351
137351
  }
137352
137352
 
137353
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
137353
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
137354
137354
  async function logout2(root) {
137355
137355
  await logout(), await resetConfig(root);
137356
137356
  }
@@ -137389,7 +137389,7 @@ function renderLoginSuccess(config) {
137389
137389
  });
137390
137390
  }
137391
137391
 
137392
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
137392
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
137393
137393
  init_cjs_shims();
137394
137394
  import { symlink, readdir as readdir3 } from "node:fs/promises";
137395
137395
 
@@ -140833,11 +140833,11 @@ async function getLatestTag(directory) {
140833
140833
  return (await esm_default({ baseDir: directory }).tags()).latest;
140834
140834
  }
140835
140835
 
140836
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
140836
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
140837
140837
  init_cjs_shims();
140838
140838
  import { readdir as readdir2 } from "node:fs/promises";
140839
140839
 
140840
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-interop.js
140840
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-interop.js
140841
140841
  init_cjs_shims();
140842
140842
  import { createRequire as createRequire2 } from "module";
140843
140843
  function convertRouteToV1(route) {
@@ -140851,15 +140851,15 @@ function isV1RouteConventionInstalled() {
140851
140851
  }
140852
140852
  }
140853
140853
 
140854
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
140854
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
140855
140855
  init_cjs_shims();
140856
140856
  import { createRequire as createRequire3 } from "node:module";
140857
140857
  import path2 from "node:path";
140858
140858
 
140859
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-check.js
140859
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-check.js
140860
140860
  init_cjs_shims();
140861
140861
 
140862
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/vite-config.js
140862
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/vite-config.js
140863
140863
  init_cjs_shims();
140864
140864
  var REMIX_COMPILER_ERROR_MESSAGE = "Classic Remix Compiler projects are no longer supported, please upgrade to Vite by running 'npx shopify hydrogen setup vite'";
140865
140865
  async function hasViteConfig(root) {
@@ -140885,7 +140885,7 @@ async function getViteConfig(root, ssrEntryFlag) {
140885
140885
  command,
140886
140886
  mode,
140887
140887
  mode
140888
- ), { appDirectory, serverBuildFile, routes } = getRemixConfigFromVite(resolvedViteConfig), serverOutDir = resolvedViteConfig.build.outDir, clientOutDir = serverOutDir.replace(/server$/, "client"), rollupOutput = resolvedViteConfig.build.rollupOptions.output, { entryFileNames } = (Array.isArray(rollupOutput) ? rollupOutput[0] : rollupOutput) ?? {}, serverOutFile = joinPath(
140888
+ ), { appDirectory, serverBuildFile, routes } = getReactRouterOrRemixConfigFromVite(resolvedViteConfig), serverOutDir = resolvedViteConfig.build.outDir, clientOutDir = serverOutDir.replace(/server$/, "client"), rollupOutput = resolvedViteConfig.build.rollupOptions.output, { entryFileNames } = (Array.isArray(rollupOutput) ? rollupOutput[0] : rollupOutput) ?? {}, serverOutFile = joinPath(
140889
140889
  serverOutDir,
140890
140890
  typeof entryFileNames == "string" ? entryFileNames : serverBuildFile ?? "index.js"
140891
140891
  ), ssrEntry = ssrEntryFlag ?? resolvedViteConfig.build.ssr, resolvedSsrEntry = resolvePath(
@@ -140899,8 +140899,8 @@ async function getViteConfig(root, ssrEntryFlag) {
140899
140899
  resolvedViteConfig,
140900
140900
  userViteConfig: maybeConfig.config,
140901
140901
  remixConfig: {
140902
- routes,
140903
- appDirectory,
140902
+ routes: routes ?? {},
140903
+ appDirectory: appDirectory ?? joinPath(resolvedViteConfig.root, "app"),
140904
140904
  rootDirectory: resolvedViteConfig.root,
140905
140905
  serverEntryPoint: (await findFileWithExtension(
140906
140906
  dirname(resolvedSsrEntry),
@@ -140909,7 +140909,14 @@ async function getViteConfig(root, ssrEntryFlag) {
140909
140909
  }
140910
140910
  };
140911
140911
  }
140912
- function getRemixConfigFromVite(viteConfig) {
140912
+ function getReactRouterOrRemixConfigFromVite(viteConfig) {
140913
+ try {
140914
+ return getReactRouterConfigFromVite(viteConfig);
140915
+ } catch {
140916
+ return getRemixConfigFromVite(viteConfig);
140917
+ }
140918
+ }
140919
+ function getReactRouterConfigFromVite(viteConfig) {
140913
140920
  if (!viteConfig.__reactRouterPluginContext)
140914
140921
  throw new Error("Could not resolve React Router config");
140915
140922
  let { appDirectory, serverBuildFile, routes } = viteConfig.__reactRouterPluginContext.reactRouterConfig;
@@ -140919,6 +140926,14 @@ function getRemixConfigFromVite(viteConfig) {
140919
140926
  routes
140920
140927
  };
140921
140928
  }
140929
+ function getRemixConfigFromVite(viteConfig) {
140930
+ let { remixConfig } = findHydrogenPlugin(viteConfig)?.api?.getPluginOptions() ?? {};
140931
+ return remixConfig ? {
140932
+ appDirectory: remixConfig.appDirectory,
140933
+ serverBuildFile: remixConfig.serverBuildFile,
140934
+ routes: remixConfig.routes
140935
+ } : {};
140936
+ }
140922
140937
  function findPlugin(config, name) {
140923
140938
  return config.plugins.find((plugin) => plugin.name === name);
140924
140939
  }
@@ -140929,7 +140944,7 @@ function findOxygenPlugin(config) {
140929
140944
  return findPlugin(config, "oxygen:main");
140930
140945
  }
140931
140946
 
140932
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
140947
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
140933
140948
  async function hasRemixConfigFile(root) {
140934
140949
  return !!(await findFileWithExtension(root, "remix.config")).filepath;
140935
140950
  }
@@ -140959,7 +140974,7 @@ async function getRemixConfig(root, mode = process.env.NODE_ENV) {
140959
140974
  return (await getViteConfig(root)).remixConfig;
140960
140975
  }
140961
140976
 
140962
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
140977
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
140963
140978
  var NO_LOCALE_PATTERNS = [/robots\.txt/], ROUTE_MAP = {
140964
140979
  home: ["_index", "$"],
140965
140980
  page: "pages*",
@@ -141168,7 +141183,7 @@ async function copyRouteTemplate({
141168
141183
  adapter && (templateContent = replaceAdapters(templateContent, adapter)), typescript || (templateContent = await transpileFile(templateContent, templatePath)), templateContent = await formatCode(templateContent, formatOptions, routePath), await writeFile(routePath, templateContent);
141169
141184
  }
141170
141185
 
141171
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
141186
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
141172
141187
  var LANGUAGES = {
141173
141188
  js: "JavaScript",
141174
141189
  ts: "TypeScript"
@@ -141616,7 +141631,7 @@ function generateRandomName() {
141616
141631
  ])} ${geographicalFeature}`;
141617
141632
  }
141618
141633
 
141619
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
141634
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
141620
141635
  var Link = class _Link extends base_command_default {
141621
141636
  static descriptionWithMarkdown = `Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront.
141622
141637
 
@@ -141737,7 +141752,7 @@ async function createNewStorefront(root, session, storefronts) {
141737
141752
  return storefront;
141738
141753
  }
141739
141754
 
141740
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/customer-application-update.js
141755
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/customer-application-update.js
141741
141756
  init_cjs_shims();
141742
141757
  var CUSTOMER_APPLICATION_URLS_REPLACE = `#graphql
141743
141758
  mutation CustomerApplicationUrlsReplace($storefrontId: ID!, $urlsReplaceInput: HydrogenStorefrontCustomerApplicationUrlsReplaceInput!) {
@@ -141765,7 +141780,7 @@ async function replaceCustomerApplicationUrls(adminSession, storefrontId, urlsRe
141765
141780
  return { success, userErrors };
141766
141781
  }
141767
141782
 
141768
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
141783
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
141769
141784
  var CustomerAccountPush = class _CustomerAccountPush extends base_command_default {
141770
141785
  static description = "Push project configuration to admin";
141771
141786
  static flags = {
@@ -141898,7 +141913,7 @@ async function getStorefrontId(root, storefrontIdFromFlag) {
141898
141913
  }) ? (await getConfig(root)).storefront?.id : void 0;
141899
141914
  }
141900
141915
 
141901
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
141916
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
141902
141917
  init_cjs_shims();
141903
141918
 
141904
141919
  // ../cli-kit/dist/public/node/dot-env.js
@@ -141963,7 +141978,7 @@ function createDotEnvFileLine(key, value, quote2) {
141963
141978
  return `${key}=${value}`;
141964
141979
  }
141965
141980
 
141966
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/pull-variables.js
141981
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/pull-variables.js
141967
141982
  init_cjs_shims();
141968
141983
  var PullVariablesQuery = `#graphql
141969
141984
  query PullVariables($id: ID!, $handle: String) {
@@ -141991,7 +142006,7 @@ async function getStorefrontEnvVariables(adminSession, storefrontId, envHandle)
141991
142006
  return hydrogenStorefront;
141992
142007
  }
141993
142008
 
141994
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-environments.js
142009
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-environments.js
141995
142010
  init_cjs_shims();
141996
142011
  var ListEnvironmentsQuery = `#graphql
141997
142012
  query ListStorefronts($id: ID!) {
@@ -142019,7 +142034,7 @@ async function getStorefrontEnvironments(adminSession, storefrontId) {
142019
142034
  return hydrogenStorefront;
142020
142035
  }
142021
142036
 
142022
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/common.js
142037
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/common.js
142023
142038
  init_cjs_shims();
142024
142039
  function orderEnvironmentsBySafety(environments) {
142025
142040
  return [
@@ -142060,7 +142075,7 @@ function environmentNotFound(criterion, value) {
142060
142075
  );
142061
142076
  }
142062
142077
 
142063
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
142078
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
142064
142079
  var createEmptyRemoteVars = () => ({
142065
142080
  remoteVariables: {},
142066
142081
  remoteSecrets: {}
@@ -142131,7 +142146,7 @@ async function getLocalVariables(root, envFile) {
142131
142146
  );
142132
142147
  }
142133
142148
 
142134
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/tunneling.js
142149
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/tunneling.js
142135
142150
  init_cjs_shims();
142136
142151
  async function startTunnelPlugin(config, port, provider) {
142137
142152
  let hooks = await fanoutHooks(config, "tunnel_start", { port, provider }), first2 = Object.values(hooks).filter(
@@ -142162,7 +142177,7 @@ async function pollTunnelURL(tunnelClient) {
142162
142177
  });
142163
142178
  }
142164
142179
 
142165
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.0.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
142180
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.0_@graphql-codegen+cli@5.0.4_graphql@16.10.0_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
142166
142181
  function isMockShop(envVariables) {
142167
142182
  return envVariables.PUBLIC_STORE_DOMAIN === "mock.shop" || // We fallback to mock.shop if the env var is falsy.
142168
142183
  // When it's undefined, it might be overwritten by remote variables.
@@ -142379,4 +142394,4 @@ export {
142379
142394
  getDebugBannerLine,
142380
142395
  getUtilityBannerlines
142381
142396
  };
142382
- //# sourceMappingURL=chunk-A3FV2Y5F.js.map
142397
+ //# sourceMappingURL=chunk-HHXHFCPT.js.map