@shopify/cli 3.62.0 → 3.63.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/apple-touch-icon-BXMqQaSW.png +0 -0
  2. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-16x16-B6uL8SrV.png +0 -0
  3. package/dist/assets/dev-console/extensions/dev-console/assets/favicon-32x32-CGwlpz_y.png +0 -0
  4. package/dist/assets/dev-console/extensions/dev-console/assets/index-Dui3DO9f.js +64 -0
  5. package/dist/assets/dev-console/extensions/dev-console/assets/site-B9Ae890R.webmanifest +19 -0
  6. package/dist/assets/dev-console/index.html +8 -9
  7. package/dist/{chunk-BZFXXFUC.js → chunk-5D3LUZSS.js} +5 -5
  8. package/dist/{chunk-K3GG6Y3J.js → chunk-6EIVOQYP.js} +6 -6
  9. package/dist/{chunk-LC6MEJT3.js → chunk-A2UVOX6O.js} +2 -1
  10. package/dist/{chunk-66NABVCG.js → chunk-ARLG6JTK.js} +2 -2
  11. package/dist/{chunk-CYQRKZVM.js → chunk-BZUV56IY.js} +4 -4
  12. package/dist/chunk-CBNQDBKA.js +61 -0
  13. package/dist/{chunk-Q4XGXPUG.js → chunk-CM4H6QMH.js} +3 -3
  14. package/dist/{chunk-RUSG4O2Z.js → chunk-DIRL62CL.js} +2 -2
  15. package/dist/{chunk-CKFE55FX.js → chunk-GICOHCP4.js} +3 -3
  16. package/dist/{chunk-PIB2FEJJ.js → chunk-GITQBCE5.js} +6 -6
  17. package/dist/{chunk-UACSLX64.js → chunk-HCYSYR53.js} +4 -4
  18. package/dist/{chunk-QGJLRFY4.js → chunk-HNAZOLMG.js} +50 -18
  19. package/dist/{chunk-JL3ESOD2.js → chunk-HULX6T4O.js} +2 -2
  20. package/dist/{chunk-ZCMXEGSE.js → chunk-HZUY7I72.js} +4 -4
  21. package/dist/{chunk-JOOYCYFU.js → chunk-IJ3PP7ZN.js} +4 -4
  22. package/dist/{chunk-TCRWMUKX.js → chunk-MMRWTLF3.js} +2 -2
  23. package/dist/{chunk-JKYNFUD3.js → chunk-MO3UHUJB.js} +5 -5
  24. package/dist/{chunk-VS6RWOLM.js → chunk-N5XLVLT2.js} +7 -6
  25. package/dist/{chunk-22PYIFA2.js → chunk-NBSFQYKI.js} +3 -3
  26. package/dist/{chunk-A5STII7T.js → chunk-NIEJLNRY.js} +2 -2
  27. package/dist/{chunk-5X4QXYEZ.js → chunk-NVFSN34M.js} +8 -4
  28. package/dist/{chunk-MG6QFKFM.js → chunk-OHZL7KKD.js} +3 -3
  29. package/dist/{chunk-W5VEUSWG.js → chunk-OVW3UN2A.js} +3 -3
  30. package/dist/{chunk-7MXLRMOY.js → chunk-QAB3YP77.js} +2 -2
  31. package/dist/{chunk-ADESJ2KG.js → chunk-QCB66M7L.js} +4 -4
  32. package/dist/{chunk-YECNACSF.js → chunk-QZESETWK.js} +5460 -4963
  33. package/dist/{chunk-5FNE3T7E.js → chunk-SCKZAIMH.js} +3 -3
  34. package/dist/{chunk-PIVNWN2P.js → chunk-SML7F4EL.js} +3 -3
  35. package/dist/{chunk-NNASIYCT.js → chunk-SRLLZENE.js} +2 -2
  36. package/dist/chunk-SWNRLCC6.js +61 -0
  37. package/dist/{chunk-2ZSNH7CD.js → chunk-TD4ZV7BS.js} +2 -2
  38. package/dist/{chunk-MQ2RGCDU.js → chunk-TOO3W2BY.js} +3 -3
  39. package/dist/{chunk-WAEWSGBK.js → chunk-TYOQQCHN.js} +59 -4
  40. package/dist/{chunk-YX5VXHSJ.js → chunk-UZ3EKGD4.js} +3 -3
  41. package/dist/{chunk-PO6SEYU4.js → chunk-VB3O7QTH.js} +3 -3
  42. package/dist/{chunk-BMTG2VHL.js → chunk-WJ6UGHRU.js} +2 -2
  43. package/dist/{chunk-B62HZLMM.js → chunk-WLZZJLBE.js} +2 -2
  44. package/dist/{chunk-HJ4AUFE7.js → chunk-ZSWSHFDT.js} +105 -87
  45. package/dist/cli/commands/auth/logout.js +12 -12
  46. package/dist/cli/commands/auth/logout.test.js +14 -14
  47. package/dist/cli/commands/debug/command-flags.js +12 -12
  48. package/dist/cli/commands/demo/catalog.js +13 -13
  49. package/dist/cli/commands/demo/generate-file.js +13 -13
  50. package/dist/cli/commands/demo/index.d.ts +1 -0
  51. package/dist/cli/commands/demo/index.js +17 -57
  52. package/dist/cli/commands/demo/print-ai-prompt.js +13 -13
  53. package/dist/cli/commands/docs/generate.js +12 -12
  54. package/dist/cli/commands/docs/generate.test.js +13 -13
  55. package/dist/cli/commands/help.js +12 -12
  56. package/dist/cli/commands/kitchen-sink/async.js +13 -13
  57. package/dist/cli/commands/kitchen-sink/async.test.js +14 -14
  58. package/dist/cli/commands/kitchen-sink/index.js +15 -15
  59. package/dist/cli/commands/kitchen-sink/index.test.js +16 -16
  60. package/dist/cli/commands/kitchen-sink/prompts.js +13 -13
  61. package/dist/cli/commands/kitchen-sink/prompts.test.js +14 -14
  62. package/dist/cli/commands/kitchen-sink/static.js +13 -13
  63. package/dist/cli/commands/kitchen-sink/static.test.js +14 -14
  64. package/dist/cli/commands/search.js +13 -13
  65. package/dist/cli/commands/upgrade.js +12 -12
  66. package/dist/cli/commands/upgrade.test.js +2 -2
  67. package/dist/cli/commands/version.js +13 -13
  68. package/dist/cli/commands/version.test.js +14 -14
  69. package/dist/cli/services/commands/search.js +3 -3
  70. package/dist/cli/services/commands/search.test.js +4 -4
  71. package/dist/cli/services/commands/version.js +6 -6
  72. package/dist/cli/services/commands/version.test.js +8 -8
  73. package/dist/cli/services/demo.js +3 -3
  74. package/dist/cli/services/demo.test.js +4 -4
  75. package/dist/cli/services/kitchen-sink/async.js +3 -3
  76. package/dist/cli/services/kitchen-sink/prompts.js +3 -3
  77. package/dist/cli/services/kitchen-sink/static.js +3 -3
  78. package/dist/cli/services/upgrade.js +5 -5
  79. package/dist/cli/services/upgrade.test.js +8 -8
  80. package/dist/configs/all.yml +10 -0
  81. package/dist/configs/recommended.yml +10 -0
  82. package/dist/{custom-oclif-loader-ZH42ZTTC.js → custom-oclif-loader-T44V63XJ.js} +3 -3
  83. package/dist/data/filters.json +1 -1
  84. package/dist/data/latest.json +1 -1
  85. package/dist/data/objects.json +25 -7
  86. package/dist/data/shopify_system_translations.json +52 -11
  87. package/dist/{error-handler-JFX2TIYX.js → error-handler-5KEL3EJC.js} +6 -6
  88. package/dist/{error-handler-I6WJC3U2.js → error-handler-QVRMTAG7.js} +11 -11
  89. package/dist/hooks/postrun.js +9 -9
  90. package/dist/hooks/prerun.js +6 -6
  91. package/dist/index.js +3093 -754
  92. package/dist/{local-QXPV4RF5.js → local-LBAOYPL4.js} +3 -3
  93. package/dist/{morph-WKKSW22O.js → morph-6NYGHGNT.js} +9 -9
  94. package/dist/{node-5XXX7TNJ.js → node-3X5EZ2GL.js} +9 -9
  95. package/dist/{node-package-manager-O65VOP6W.js → node-package-manager-BU3KHLYT.js} +5 -5
  96. package/dist/{system-EEQBTJMJ.js → system-GPQDWNIQ.js} +3 -3
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/dist/{ui-3BAHGNCQ.js → ui-4ZQNF2YQ.js} +3 -3
  99. package/dist/{workerd-WR22YQIS.js → workerd-66AMV47V.js} +8 -8
  100. package/oclif.manifest.json +131 -1
  101. package/package.json +9 -8
  102. package/dist/assets/dev-console/extensions/dev-console/assets/index-e3682a83.js +0 -64
  103. package/dist/assets/dev-console/extensions/dev-console/assets/safari-pinned-tab-456f340b.svg +0 -18
  104. package/dist/chunk-ZPFJOUKZ.js +0 -115
  105. /package/dist/assets/dev-console/extensions/dev-console/assets/{favicon-1f90fefa.ico → favicon-ByUl89Ab.ico} +0 -0
  106. /package/dist/assets/dev-console/extensions/dev-console/assets/{index-dfaab2a5.css → index-Bi7y6lI5.css} +0 -0
@@ -89,7 +89,7 @@ import {
89
89
  useDeviceAuth,
90
90
  writeFile,
91
91
  writePackageJSON
92
- } from "./chunk-PIB2FEJJ.js";
92
+ } from "./chunk-GITQBCE5.js";
93
93
  import {
94
94
  checkPort,
95
95
  require_find_process,
@@ -105,7 +105,7 @@ import {
105
105
  ClientError,
106
106
  GraphQLClient,
107
107
  gql
108
- } from "./chunk-LC6MEJT3.js";
108
+ } from "./chunk-A2UVOX6O.js";
109
109
  import {
110
110
  ansi_escapes_default,
111
111
  firstPartyDev,
@@ -115,7 +115,7 @@ import {
115
115
  outputInfo,
116
116
  outputWarn,
117
117
  source_default
118
- } from "./chunk-WAEWSGBK.js";
118
+ } from "./chunk-TYOQQCHN.js";
119
119
  import {
120
120
  require_lib
121
121
  } from "./chunk-GEN4RXTD.js";
@@ -155600,7 +155600,7 @@ var require_main = __commonJS({
155600
155600
  }
155601
155601
  });
155602
155602
 
155603
- // ../../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/flags.js
155603
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
155604
155604
  init_cjs_shims();
155605
155605
  var import_core = __toESM(require_lib(), 1);
155606
155606
 
@@ -155653,10 +155653,10 @@ async function normalizeStoreFqdn(store2) {
155653
155653
  return containDomain(storeFqdn) ? storeFqdn : addDomain(storeFqdn);
155654
155654
  }
155655
155655
 
155656
- // ../../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/setups/i18n/index.js
155656
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
155657
155657
  init_cjs_shims();
155658
155658
 
155659
- // ../../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/format-code.js
155659
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/format-code.js
155660
155660
  init_cjs_shims();
155661
155661
  var prettier = __toESM(require_prettier(), 1);
155662
155662
  var DEFAULT_PRETTIER_CONFIG = {
@@ -155683,10 +155683,10 @@ async function formatCode(content, config = DEFAULT_PRETTIER_CONFIG, filePath =
155683
155683
  });
155684
155684
  }
155685
155685
 
155686
- // ../../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/setups/i18n/replacers.js
155686
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
155687
155687
  init_cjs_shims();
155688
155688
 
155689
- // ../../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/file.js
155689
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/file.js
155690
155690
  init_cjs_shims();
155691
155691
  import { readdir } from "node:fs/promises";
155692
155692
  async function replaceFileContent(filepath, formatConfig, replacer) {
@@ -155782,7 +155782,7 @@ async function mergePackageJson(sourceDir, targetDir, options) {
155782
155782
  );
155783
155783
  }
155784
155784
 
155785
- // ../../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/ast.js
155785
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/ast.js
155786
155786
  init_cjs_shims();
155787
155787
  async function importLangAstGrep(lang) {
155788
155788
  const astGrep = await import("@ast-grep/napi");
@@ -155792,17 +155792,17 @@ async function importLangAstGrep(lang) {
155792
155792
  return astGrep[lang];
155793
155793
  }
155794
155794
 
155795
- // ../../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/transpile/index.js
155795
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/index.js
155796
155796
  init_cjs_shims();
155797
155797
 
155798
- // ../../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/transpile/file.js
155798
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/file.js
155799
155799
  init_cjs_shims();
155800
155800
  async function transpileFile(code, filepath, keepTypes = true) {
155801
- const { transpileTs } = await import("./morph-WKKSW22O.js");
155801
+ const { transpileTs } = await import("./morph-6NYGHGNT.js");
155802
155802
  return transpileTs(code, filepath, keepTypes);
155803
155803
  }
155804
155804
 
155805
- // ../../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/transpile/project.js
155805
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/transpile/project.js
155806
155806
  init_cjs_shims();
155807
155807
  var DEFAULT_JS_CONFIG = {
155808
155808
  checkJs: false,
@@ -155934,7 +155934,7 @@ async function transpileProject(projectDir, keepTypes = true) {
155934
155934
  }
155935
155935
  }
155936
155936
 
155937
- // ../../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/setups/i18n/replacers.js
155937
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/replacers.js
155938
155938
  async function replaceServerI18n({ rootDirectory, serverEntryPoint = "server" }, formatConfig, localeExtractImpl, isJs) {
155939
155939
  const { filepath, astType } = await findEntryFile({
155940
155940
  rootDirectory,
@@ -156179,11 +156179,11 @@ async function findEntryFile({
156179
156179
  return { filepath, astType };
156180
156180
  }
156181
156181
 
156182
- // ../../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/build.js
156182
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
156183
156183
  init_cjs_shims();
156184
156184
  import { fileURLToPath } from "node:url";
156185
156185
 
156186
- // ../../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/process.js
156186
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/process.js
156187
156187
  init_cjs_shims();
156188
156188
  import { exec } from "node:child_process";
156189
156189
  import { promisify } from "node:util";
@@ -156200,7 +156200,7 @@ function supressNodeExperimentalWarnings() {
156200
156200
  }
156201
156201
  }
156202
156202
 
156203
- // ../../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/build.js
156203
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/build.js
156204
156204
  var monorepoPackagesPath = new URL("../../..", import.meta.url).pathname;
156205
156205
  var isHydrogenMonorepo = monorepoPackagesPath.endsWith(
156206
156206
  "/hydrogen/packages/"
@@ -156262,7 +156262,7 @@ async function getRepoNodeModules() {
156262
156262
  return nodeModulesPath;
156263
156263
  }
156264
156264
 
156265
- // ../../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/setups/i18n/index.js
156265
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/i18n/index.js
156266
156266
  var SETUP_I18N_STRATEGIES = [
156267
156267
  "subfolders",
156268
156268
  "domains",
@@ -156300,7 +156300,7 @@ async function renderI18nPrompt(options) {
156300
156300
  });
156301
156301
  }
156302
156302
 
156303
- // ../../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/flags.js
156303
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/flags.js
156304
156304
  var DEFAULT_APP_PORT = 3e3;
156305
156305
  var DEFAULT_INSPECTOR_PORT = 9229;
156306
156306
  var commonFlags = {
@@ -156504,7 +156504,7 @@ function overrideFlag(flags, extra) {
156504
156504
  );
156505
156505
  }
156506
156506
 
156507
- // ../../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/import-utils.js
156507
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/import-utils.js
156508
156508
  init_cjs_shims();
156509
156509
  import { createRequire } from "node:module";
156510
156510
  var require2 = createRequire(import.meta.url);
@@ -156523,13 +156523,13 @@ function importLocal(packageName, path3) {
156523
156523
  return import(realPath);
156524
156524
  }
156525
156525
 
156526
- // ../../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/request-events.js
156526
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
156527
156527
  init_cjs_shims();
156528
156528
  import path from "node:path";
156529
156529
  import { EventEmitter } from "node:events";
156530
156530
  import { ReadableStream } from "node:stream/web";
156531
156531
 
156532
- // ../../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/graphiql-url.js
156532
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphiql-url.js
156533
156533
  init_cjs_shims();
156534
156534
  function getGraphiQLUrl({
156535
156535
  host = "",
@@ -156548,7 +156548,7 @@ function getGraphiQLUrl({
156548
156548
  return url2;
156549
156549
  }
156550
156550
 
156551
- // ../../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/request-events.js
156551
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/request-events.js
156552
156552
  var import_source_map_support = __toESM(require_source_map_support(), 1);
156553
156553
  var H2O_BINDING_NAME = "H2O_LOG_EVENT";
156554
156554
  var ResponseConstructor;
@@ -156686,7 +156686,7 @@ function handleDebugNetworkRequest(request) {
156686
156686
  return request.method === "DELETE" ? clearHistory() : streamRequestEvents(request);
156687
156687
  }
156688
156688
 
156689
- // ../../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/mini-oxygen/common.js
156689
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/common.js
156690
156690
  init_cjs_shims();
156691
156691
  var SUBREQUEST_PROFILER_ENDPOINT = "/debug-network-server";
156692
156692
  function handleMiniOxygenImportFail() {
@@ -156727,10 +156727,10 @@ function logRequestLine({
156727
156727
  }
156728
156728
  }
156729
156729
 
156730
- // ../../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/dev-shared.js
156730
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
156731
156731
  init_cjs_shims();
156732
156732
 
156733
- // ../../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/commands/hydrogen/customer-account/push.js
156733
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
156734
156734
  init_cjs_shims();
156735
156735
 
156736
156736
  // ../cli-kit/dist/public/node/base-command.js
@@ -156873,6 +156873,7 @@ This flag is required in non-interactive terminal environments, such as a CI env
156873
156873
  return result;
156874
156874
  }
156875
156875
  };
156876
+ BaseCommand.baseFlags = {};
156876
156877
  async function addFromParsedFlags(flags) {
156877
156878
  await addPublicMetadata(() => ({
156878
156879
  cmd_all_verbose: flags.verbose,
@@ -156933,17 +156934,17 @@ function argsFromEnvironment(environment, options, noDefaultsResult) {
156933
156934
  }
156934
156935
  var base_command_default = BaseCommand;
156935
156936
 
156936
- // ../../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/commands/hydrogen/customer-account/push.js
156937
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
156937
156938
  var import_core4 = __toESM(require_lib(), 1);
156938
156939
 
156939
- // ../../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/commands/hydrogen/link.js
156940
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
156940
156941
  init_cjs_shims();
156941
156942
  var import_core3 = __toESM(require_lib(), 1);
156942
156943
 
156943
- // ../../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/graphql/admin/link-storefront.js
156944
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
156944
156945
  init_cjs_shims();
156945
156946
 
156946
- // ../../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/graphql/admin/client.js
156947
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
156947
156948
  init_cjs_shims();
156948
156949
 
156949
156950
  // ../cli-kit/dist/public/node/api/graphql.js
@@ -156998,25 +156999,31 @@ Request ID: ${requestId}
156998
156999
  }
156999
157000
 
157000
157001
  // ../cli-kit/dist/public/node/api/graphql.js
157001
- async function graphqlRequest(options) {
157002
- const { query, api, url: url2, token, addedHeaders, variables, responseOptions } = options;
157002
+ async function performGraphQLRequest(options) {
157003
+ const { token, addedHeaders, queryAsString, variables, api, url: url2, responseOptions } = options;
157003
157004
  const headers = {
157004
157005
  ...addedHeaders,
157005
157006
  ...buildHeaders(token)
157006
157007
  };
157007
- debugLogRequestInfo(api, query, variables, headers);
157008
+ debugLogRequestInfo(api, queryAsString, variables, headers);
157008
157009
  const clientOptions = { agent: await httpsAgent(), headers };
157009
157010
  const client = new GraphQLClient(url2, clientOptions);
157010
157011
  return runWithTimer("cmd_all_timing_network_ms")(async () => {
157011
- const response = await debugLogResponseInfo({ request: client.rawRequest(query, variables), url: url2 }, responseOptions?.handleErrors === false ? void 0 : errorHandler2(api));
157012
+ const response = await debugLogResponseInfo({ request: client.rawRequest(queryAsString, variables), url: url2 }, responseOptions?.handleErrors === false ? void 0 : errorHandler2(api));
157012
157013
  if (responseOptions?.onResponse) {
157013
157014
  responseOptions.onResponse(response);
157014
157015
  }
157015
157016
  return response.data;
157016
157017
  });
157017
157018
  }
157019
+ async function graphqlRequest(options) {
157020
+ return performGraphQLRequest({
157021
+ ...options,
157022
+ queryAsString: options.query
157023
+ });
157024
+ }
157018
157025
 
157019
- // ../../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/graphql/admin/client.js
157026
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/client.js
157020
157027
  async function adminRequest(query, session, variables) {
157021
157028
  const api = "Admin";
157022
157029
  const url2 = `https://${session.storeFqdn}/admin/api/unstable/graphql.json`;
@@ -157058,7 +157065,7 @@ async function adminRequest(query, session, variables) {
157058
157065
  }
157059
157066
  }
157060
157067
 
157061
- // ../../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/gid.js
157068
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/gid.js
157062
157069
  init_cjs_shims();
157063
157070
  var GID_REGEXP = /gid:\/\/shopify\/\w*\/(\d+)/;
157064
157071
  function parseGid(gid) {
@@ -157069,7 +157076,7 @@ function parseGid(gid) {
157069
157076
  throw new AbortError(`Invalid Global ID: ${gid}`);
157070
157077
  }
157071
157078
 
157072
- // ../../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/graphql/admin/link-storefront.js
157079
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/link-storefront.js
157073
157080
  var LinkStorefrontQuery = `#graphql
157074
157081
  query LinkStorefront {
157075
157082
  hydrogenStorefronts {
@@ -157090,7 +157097,7 @@ async function getStorefronts(adminSession) {
157090
157097
  }));
157091
157098
  }
157092
157099
 
157093
- // ../../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/shopify-config.js
157100
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shopify-config.js
157094
157101
  init_cjs_shims();
157095
157102
  var SHOPIFY_DIR = ".shopify";
157096
157103
  var SHOPIFY_DIR_PROJECT = "project.json";
@@ -157196,7 +157203,7 @@ async function setCustomerAccountConfig(root, customerAccountConfig) {
157196
157203
  }
157197
157204
  }
157198
157205
 
157199
- // ../../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/graphql/admin/create-storefront.js
157206
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/create-storefront.js
157200
157207
  init_cjs_shims();
157201
157208
  var CreateStorefrontMutation = `#graphql
157202
157209
  mutation CreateStorefront($title: String!) {
@@ -157230,7 +157237,7 @@ async function createStorefront(adminSession, title) {
157230
157237
  return { jobId, storefront: hydrogenStorefront };
157231
157238
  }
157232
157239
 
157233
- // ../../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/graphql/admin/fetch-job.js
157240
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/fetch-job.js
157234
157241
  init_cjs_shims();
157235
157242
  var FetchJobQuery = `#graphql
157236
157243
  query FetchJob($id: ID!) {
@@ -157268,7 +157275,7 @@ function waitForJob(adminSession, jobId) {
157268
157275
  });
157269
157276
  }
157270
157277
 
157271
- // ../../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/string.js
157278
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/string.js
157272
157279
  init_cjs_shims();
157273
157280
  function titleize(name = "") {
157274
157281
  return name.replace(/[\W_]+/g, " ").split(" ").filter((word) => word.length > 0).map(
@@ -157276,7 +157283,7 @@ function titleize(name = "") {
157276
157283
  ).join(" ");
157277
157284
  }
157278
157285
 
157279
- // ../../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/shell.js
157286
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/shell.js
157280
157287
  init_cjs_shims();
157281
157288
  import os from "node:os";
157282
157289
  var ALIAS_NAME = "h2";
@@ -157440,7 +157447,7 @@ async function getCliCommand(directory = process.cwd(), forcePkgManager) {
157440
157447
  return `${cli} shopify hydrogen`;
157441
157448
  }
157442
157449
 
157443
- // ../../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/auth.js
157450
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
157444
157451
  init_cjs_shims();
157445
157452
 
157446
157453
  // ../cli-kit/dist/public/node/session.js
@@ -158297,17 +158304,23 @@ var limiter = new import_bottleneck.default({
158297
158304
  minTime: 150,
158298
158305
  maxConcurrent: 10
158299
158306
  });
158300
- async function partnersRequest(query, token, variables) {
158307
+ async function setupRequest(token) {
158301
158308
  const api = "Partners";
158302
158309
  const fqdn = await partnersFqdn();
158303
158310
  const url2 = `https://${fqdn}/api/cli/graphql`;
158304
- const result = limiter.schedule(() => graphqlRequest({
158305
- query,
158311
+ return {
158312
+ token,
158306
158313
  api,
158307
158314
  url: url2,
158308
- token,
158309
- variables,
158310
158315
  responseOptions: { onResponse: handleDeprecations }
158316
+ };
158317
+ }
158318
+ async function partnersRequest(query, token, variables) {
158319
+ const opts = await setupRequest(token);
158320
+ const result = limiter.schedule(() => graphqlRequest({
158321
+ ...opts,
158322
+ query,
158323
+ variables
158311
158324
  }));
158312
158325
  return result;
158313
158326
  }
@@ -158571,26 +158584,31 @@ function logout() {
158571
158584
  return remove();
158572
158585
  }
158573
158586
 
158574
- // ../../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/graphql/business-platform/user-account.js
158587
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
158575
158588
  init_cjs_shims();
158576
158589
 
158577
158590
  // ../cli-kit/dist/public/node/api/business-platform.js
158578
158591
  init_cjs_shims();
158579
- async function businessPlatformRequest(query, token, variables) {
158592
+ async function setupRequest2(token) {
158580
158593
  const api = "BusinessPlatform";
158581
158594
  const fqdn = await businessPlatformFqdn();
158582
158595
  const url2 = `https://${fqdn}/destinations/api/2020-07/graphql`;
158583
- return graphqlRequest({
158584
- query,
158596
+ return {
158597
+ token,
158585
158598
  api,
158586
158599
  url: url2,
158587
- token,
158588
- variables,
158589
158600
  responseOptions: { onResponse: handleDeprecations }
158601
+ };
158602
+ }
158603
+ async function businessPlatformRequest(query, token, variables) {
158604
+ return graphqlRequest({
158605
+ ...await setupRequest2(token),
158606
+ query,
158607
+ variables
158590
158608
  });
158591
158609
  }
158592
158610
 
158593
- // ../../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/graphql/business-platform/user-account.js
158611
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/business-platform/user-account.js
158594
158612
  var CurrentUserAccountQuery = `#graphql
158595
158613
  query currentUserAccount {
158596
158614
  currentUserAccount {
@@ -158670,7 +158688,7 @@ async function getUserAccount(token) {
158670
158688
  };
158671
158689
  }
158672
158690
 
158673
- // ../../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/log.js
158691
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/log.js
158674
158692
  init_cjs_shims();
158675
158693
  var originalConsole = { ...console };
158676
158694
  var methodsReplaced = /* @__PURE__ */ new Set();
@@ -159050,7 +159068,7 @@ function isH2Verbose() {
159050
159068
  return !!(process.env.DEBUG === "*" || process.env.DEBUG?.includes("h2:*"));
159051
159069
  }
159052
159070
 
159053
- // ../../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/defer.js
159071
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/defer.js
159054
159072
  init_cjs_shims();
159055
159073
  function deferPromise() {
159056
159074
  const deferred2 = { state: "pending" };
@@ -159069,7 +159087,7 @@ function deferPromise() {
159069
159087
  return deferred2;
159070
159088
  }
159071
159089
 
159072
- // ../../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/auth.js
159090
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/auth.js
159073
159091
  async function logout2(root) {
159074
159092
  await logout();
159075
159093
  await resetConfig(root);
@@ -159178,7 +159196,7 @@ function renderLoginSuccess(config) {
159178
159196
  });
159179
159197
  }
159180
159198
 
159181
- // ../../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/onboarding/common.js
159199
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
159182
159200
  init_cjs_shims();
159183
159201
  import { readdir as readdir4 } from "node:fs/promises";
159184
159202
 
@@ -163195,10 +163213,10 @@ async function isClean(directory) {
163195
163213
  return (await esm_default({ baseDir: directory }).status()).isClean();
163196
163214
  }
163197
163215
 
163198
- // ../../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/setups/css/index.js
163216
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
163199
163217
  init_cjs_shims();
163200
163218
 
163201
- // ../../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/setups/css/assets.js
163219
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/assets.js
163202
163220
  init_cjs_shims();
163203
163221
  var SETUP_CSS_STRATEGIES = [
163204
163222
  "tailwind",
@@ -163243,10 +163261,10 @@ async function canWriteFiles(assetMap, directory, force) {
163243
163261
  return true;
163244
163262
  }
163245
163263
 
163246
- // ../../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/setups/css/tailwind.js
163264
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
163247
163265
  init_cjs_shims();
163248
163266
 
163249
- // ../../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/setups/css/replacers.js
163267
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/replacers.js
163250
163268
  init_cjs_shims();
163251
163269
  async function replaceRootLinks(appDirectory, formatConfig, importer) {
163252
163270
  const { filepath, astType } = await findFileWithExtension(appDirectory, "root");
@@ -163316,7 +163334,7 @@ function injectCssBundlingLink(appDirectory, formatConfig) {
163316
163334
  });
163317
163335
  }
163318
163336
 
163319
- // ../../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/setups/css/tailwind.js
163337
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/tailwind.js
163320
163338
  var tailwindCssPath = "styles/tailwind.css";
163321
163339
  async function setupTailwind({ rootDirectory, appDirectory, ...futureOptions }, force = false) {
163322
163340
  const relativeAppDirectory = relativePath(rootDirectory, appDirectory);
@@ -163358,7 +163376,7 @@ async function setupTailwind({ rootDirectory, appDirectory, ...futureOptions },
163358
163376
  };
163359
163377
  }
163360
163378
 
163361
- // ../../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/setups/css/postcss.js
163379
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/postcss.js
163362
163380
  init_cjs_shims();
163363
163381
  async function setupPostCss({ rootDirectory, appDirectory, ...futureOptions }, force = false) {
163364
163382
  const assetMap = {
@@ -163385,7 +163403,7 @@ async function setupPostCss({ rootDirectory, appDirectory, ...futureOptions }, f
163385
163403
  };
163386
163404
  }
163387
163405
 
163388
- // ../../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/setups/css/css-modules.js
163406
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/css-modules.js
163389
163407
  init_cjs_shims();
163390
163408
  async function setupCssModules({
163391
163409
  rootDirectory,
@@ -163404,7 +163422,7 @@ async function setupCssModules({
163404
163422
  };
163405
163423
  }
163406
163424
 
163407
- // ../../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/setups/css/vanilla-extract.js
163425
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/vanilla-extract.js
163408
163426
  init_cjs_shims();
163409
163427
  async function setupVanillaExtract({
163410
163428
  rootDirectory,
@@ -163423,7 +163441,7 @@ async function setupVanillaExtract({
163423
163441
  };
163424
163442
  }
163425
163443
 
163426
- // ../../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/setups/css/index.js
163444
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/css/index.js
163427
163445
  var STYLING_CHOICES = [...SETUP_CSS_STRATEGIES, "none"];
163428
163446
  var CSS_STRATEGY_NAME_MAP = {
163429
163447
  tailwind: "Tailwind",
@@ -163461,11 +163479,11 @@ async function renderCssPrompt(options) {
163461
163479
  });
163462
163480
  }
163463
163481
 
163464
- // ../../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/setups/routes/generate.js
163482
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
163465
163483
  init_cjs_shims();
163466
163484
  import { readdir as readdir3 } from "node:fs/promises";
163467
163485
 
163468
- // ../../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/remix-version-interop.js
163486
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-interop.js
163469
163487
  init_cjs_shims();
163470
163488
  import { createRequire as createRequire2 } from "module";
163471
163489
  function convertRouteToV1(route) {
@@ -163481,13 +163499,13 @@ function isV1RouteConventionInstalled() {
163481
163499
  }
163482
163500
  }
163483
163501
 
163484
- // ../../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/remix-config.js
163502
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
163485
163503
  init_cjs_shims();
163486
163504
  import { createRequire as createRequire4 } from "node:module";
163487
163505
  import path2 from "node:path";
163488
163506
  import { readdir as readdir2 } from "node:fs/promises";
163489
163507
 
163490
- // ../../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/remix-version-check.js
163508
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-version-check.js
163491
163509
  init_cjs_shims();
163492
163510
  import { createRequire as createRequire3 } from "node:module";
163493
163511
  var REQUIRED_REMIX_VERSION = "^2.1.0";
@@ -163536,7 +163554,7 @@ function getRemixPackageVersion(require22, name, root) {
163536
163554
  return result;
163537
163555
  }
163538
163556
 
163539
- // ../../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/vite-config.js
163557
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/vite-config.js
163540
163558
  init_cjs_shims();
163541
163559
  async function hasViteConfig(root) {
163542
163560
  const result = await findFileWithExtension(root, "vite.config");
@@ -163609,7 +163627,7 @@ function findOxygenPlugin(config) {
163609
163627
  return findPlugin(config, "oxygen:main");
163610
163628
  }
163611
163629
 
163612
- // ../../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/remix-config.js
163630
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/remix-config.js
163613
163631
  async function hasRemixConfigFile(root) {
163614
163632
  const result = await findFileWithExtension(root, "remix.config");
163615
163633
  return !!result.filepath;
@@ -163761,7 +163779,7 @@ async function assertEntryFileExists(root, fileRelative) {
163761
163779
  }
163762
163780
  }
163763
163781
 
163764
- // ../../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/setups/routes/generate.js
163782
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/setups/routes/generate.js
163765
163783
  var NO_LOCALE_PATTERNS = [/robots\.txt/];
163766
163784
  var ROUTE_MAP = {
163767
163785
  home: ["_index", "$"],
@@ -164022,7 +164040,7 @@ async function copyRouteTemplate({
164022
164040
  await writeFile(routePath, templateContent);
164023
164041
  }
164024
164042
 
164025
- // ../../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/onboarding/common.js
164043
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/onboarding/common.js
164026
164044
  var LANGUAGES = {
164027
164045
  js: "JavaScript",
164028
164046
  ts: "TypeScript"
@@ -164506,7 +164524,7 @@ function generateRandomName() {
164506
164524
  return `${colorNames} ${geographicalFeature}`;
164507
164525
  }
164508
164526
 
164509
- // ../../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/commands/hydrogen/link.js
164527
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/link.js
164510
164528
  var Link = class _Link extends base_command_default {
164511
164529
  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.
164512
164530
 
@@ -164652,7 +164670,7 @@ async function createNewStorefront(root, session, storefronts) {
164652
164670
  return storefront;
164653
164671
  }
164654
164672
 
164655
- // ../../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/graphql/admin/customer-application-update.js
164673
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/customer-application-update.js
164656
164674
  init_cjs_shims();
164657
164675
  var CUSTOMER_APPLICATION_URLS_REPLACE = `#graphql
164658
164676
  mutation CustomerApplicationUrlsReplace($storefrontId: ID!, $urlsReplaceInput: HydrogenStorefrontCustomerApplicationUrlsReplaceInput!) {
@@ -164680,7 +164698,7 @@ async function replaceCustomerApplicationUrls(adminSession, storefrontId, urlsRe
164680
164698
  return { success, userErrors };
164681
164699
  }
164682
164700
 
164683
- // ../../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/commands/hydrogen/customer-account/push.js
164701
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/commands/hydrogen/customer-account/push.js
164684
164702
  var CustomerAccountPush = class _CustomerAccountPush extends base_command_default {
164685
164703
  static description = "Push project configuration to admin";
164686
164704
  static flags = {
@@ -164839,7 +164857,7 @@ async function getStorefrontId(root, storefrontIdFromFlag) {
164839
164857
  return newConfig.storefront?.id;
164840
164858
  }
164841
164859
 
164842
- // ../../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/environment-variables.js
164860
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
164843
164861
  init_cjs_shims();
164844
164862
 
164845
164863
  // ../cli-kit/dist/public/node/dot-env.js
@@ -164924,7 +164942,7 @@ function createDotEnvFileLine(key, value, quote2) {
164924
164942
  return `${key}=${value}`;
164925
164943
  }
164926
164944
 
164927
- // ../../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/graphql/admin/pull-variables.js
164945
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/pull-variables.js
164928
164946
  init_cjs_shims();
164929
164947
  var PullVariablesQuery = `#graphql
164930
164948
  query PullVariables($id: ID!, $handle: String) {
@@ -164952,7 +164970,7 @@ async function getStorefrontEnvVariables(adminSession, storefrontId, envHandle)
164952
164970
  return hydrogenStorefront;
164953
164971
  }
164954
164972
 
164955
- // ../../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/graphql/admin/list-environments.js
164973
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/graphql/admin/list-environments.js
164956
164974
  init_cjs_shims();
164957
164975
  var ListEnvironmentsQuery = `#graphql
164958
164976
  query ListStorefronts($id: ID!) {
@@ -164980,7 +164998,7 @@ async function getStorefrontEnvironments(adminSession, storefrontId) {
164980
164998
  return hydrogenStorefront;
164981
164999
  }
164982
165000
 
164983
- // ../../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/common.js
165001
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/common.js
164984
165002
  init_cjs_shims();
164985
165003
  function orderEnvironmentsBySafety(environments) {
164986
165004
  return [
@@ -165028,7 +165046,7 @@ function environmentNotFound(criterion, value) {
165028
165046
  );
165029
165047
  }
165030
165048
 
165031
- // ../../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/environment-variables.js
165049
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/environment-variables.js
165032
165050
  var createEmptyRemoteVars = () => ({
165033
165051
  remoteVariables: {},
165034
165052
  remoteSecrets: {}
@@ -165109,7 +165127,7 @@ async function getLocalVariables(root) {
165109
165127
  );
165110
165128
  }
165111
165129
 
165112
- // ../../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/tunneling.js
165130
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/tunneling.js
165113
165131
  init_cjs_shims();
165114
165132
  async function startTunnelPlugin(config, port, provider) {
165115
165133
  const hooks = await fanoutHooks(config, "tunnel_start", { port, provider });
@@ -165150,7 +165168,7 @@ async function pollTunnelURL(tunnelClient) {
165150
165168
  });
165151
165169
  }
165152
165170
 
165153
- // ../../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/dev-shared.js
165171
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-9eb60d7-20240607102913_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/dev-shared.js
165154
165172
  function isMockShop(envVariables) {
165155
165173
  return envVariables.PUBLIC_STORE_DOMAIN === "mock.shop" || // We fallback to mock.shop if the env var is falsy.
165156
165174
  // When it's undefined, it might be overwritten by remote variables.
@@ -165363,4 +165381,4 @@ export {
165363
165381
  getDebugBannerLine,
165364
165382
  getUtilityBannerlines
165365
165383
  };
165366
- //# sourceMappingURL=chunk-HJ4AUFE7.js.map
165384
+ //# sourceMappingURL=chunk-ZSWSHFDT.js.map