@shopify/cli 3.91.1 → 3.92.0

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/bin/run.js +2 -2
  2. package/dist/assets/dev-console/extensions/dev-console/assets/{index-0hw3R_TS.css → index-DISeE29z.css} +1 -1
  3. package/dist/assets/dev-console/extensions/dev-console/assets/{index-C12jKScn.js → index-WDo4Zf8i.js} +10 -10
  4. package/dist/assets/dev-console/index.html +2 -2
  5. package/dist/{chunk-LFMBIRVC.js → chunk-2GBRPYQO.js} +3 -3
  6. package/dist/{chunk-R622IPZN.js → chunk-3PJMBRB6.js} +3 -3
  7. package/dist/{chunk-SUFC4ISB.js → chunk-3Q7HT6Z6.js} +6 -6
  8. package/dist/{chunk-FKP67FZI.js → chunk-3R4Y7JP2.js} +3 -3
  9. package/dist/{chunk-54FE2FGU.js → chunk-4ZJ6IMY7.js} +2 -2
  10. package/dist/{chunk-K52ORY26.js → chunk-5Z2EIBKO.js} +7 -7
  11. package/dist/{chunk-Z5FK5H2M.js → chunk-6QAGQRBW.js} +7 -7
  12. package/dist/{chunk-RLJICWO6.js → chunk-7HBHG7AR.js} +4 -4
  13. package/dist/{chunk-E44JKFB6.js → chunk-7LLU6ZWI.js} +2 -2
  14. package/dist/{chunk-DUNGALP3.js → chunk-7ZPI3YZT.js} +3 -3
  15. package/dist/{chunk-I23GZAC4.js → chunk-ALCWBCTB.js} +6 -7
  16. package/dist/{chunk-HAG3HJ2V.js → chunk-CETXO4QF.js} +35 -47
  17. package/dist/{chunk-5ZDTGPNX.js → chunk-CFMCPDKD.js} +3 -3
  18. package/dist/{chunk-OIUDJFV2.js → chunk-CLSOJHPG.js} +12 -5
  19. package/dist/{chunk-NYP3N62G.js → chunk-D5DIBYZM.js} +2 -2
  20. package/dist/{chunk-77BDQRQW.js → chunk-DELDMHFW.js} +6 -6
  21. package/dist/{chunk-TY5YKCUW.js → chunk-EKSKCUFY.js} +5 -5
  22. package/dist/{chunk-HTGTTXQL.js → chunk-EURIZXCA.js} +7 -17
  23. package/dist/{chunk-CEUL3KX5.js → chunk-EZZRDRCA.js} +7757 -6910
  24. package/dist/{chunk-VRUH5BDH.js → chunk-GISQNWKA.js} +4 -4
  25. package/dist/{chunk-EG6MBBEN.js → chunk-H4D3T5OG.js} +14 -1
  26. package/dist/{chunk-E4GUDBAR.js → chunk-HOM3AURQ.js} +17174 -13656
  27. package/dist/{chunk-SJXHR42U.js → chunk-KMZDRVOH.js} +2 -2
  28. package/dist/{chunk-ATQVKUJC.js → chunk-L332YARR.js} +4 -4
  29. package/dist/{chunk-A2CZGTAP.js → chunk-NCTTAHU4.js} +110 -166
  30. package/dist/{chunk-DR5R5UTE.js → chunk-PEQG7FIO.js} +6 -6
  31. package/dist/{chunk-ZLV2A27J.js → chunk-PV4DS7Q3.js} +2 -2
  32. package/dist/{chunk-ITTNM7I4.js → chunk-QJQS7BBK.js} +2 -2
  33. package/dist/{chunk-TH7ZYYDZ.js → chunk-QLJ6X5VL.js} +1144 -79
  34. package/dist/{chunk-463KYFYO.js → chunk-S6E4CCUW.js} +2 -2
  35. package/dist/{chunk-VUYVHHZY.js → chunk-SHITJREU.js} +4 -4
  36. package/dist/{chunk-IUKBWIQY.js → chunk-SK7ID6O3.js} +3 -3
  37. package/dist/{chunk-5JYQJQ2E.js → chunk-TCRGWXEM.js} +2 -2
  38. package/dist/{chunk-K45ALTZ7.js → chunk-TKKSRIK5.js} +3 -3
  39. package/dist/{chunk-QFO7QSBW.js → chunk-TSCSVXFR.js} +4 -4
  40. package/dist/{chunk-HOIU6WRE.js → chunk-UB4S5CPZ.js} +3 -3
  41. package/dist/{chunk-RKFRXKFE.js → chunk-UKXV3TI2.js} +3 -3
  42. package/dist/{chunk-2YAGQHB2.js → chunk-UL3ZEXYW.js} +3 -3
  43. package/dist/{chunk-XDCBS7SY.js → chunk-ULMWBRHO.js} +3 -3
  44. package/dist/{chunk-KV3364EL.js → chunk-USGISM5H.js} +1 -1
  45. package/dist/{chunk-PCNR4TMY.js → chunk-VK6V5QGU.js} +5 -5
  46. package/dist/{chunk-SVV4RJVX.js → chunk-VNO7KUNW.js} +4 -4
  47. package/dist/{chunk-WDYPK6VH.js → chunk-WORXIBDA.js} +5 -5
  48. package/dist/cli/commands/auth/login.js +10 -10
  49. package/dist/cli/commands/auth/login.test.js +12 -12
  50. package/dist/cli/commands/auth/logout.js +10 -10
  51. package/dist/cli/commands/auth/logout.test.js +12 -12
  52. package/dist/cli/commands/cache/clear.js +11 -11
  53. package/dist/cli/commands/debug/command-flags.js +10 -10
  54. package/dist/cli/commands/docs/generate.js +10 -10
  55. package/dist/cli/commands/docs/generate.test.js +11 -11
  56. package/dist/cli/commands/doctor-release/doctor-release.js +10 -10
  57. package/dist/cli/commands/doctor-release/theme/index.js +16 -16
  58. package/dist/cli/commands/help.js +10 -10
  59. package/dist/cli/commands/kitchen-sink/async.js +11 -11
  60. package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
  61. package/dist/cli/commands/kitchen-sink/index.js +13 -13
  62. package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
  63. package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
  64. package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
  65. package/dist/cli/commands/kitchen-sink/static.js +11 -11
  66. package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
  67. package/dist/cli/commands/notifications/generate.js +11 -11
  68. package/dist/cli/commands/notifications/list.js +11 -11
  69. package/dist/cli/commands/search.js +11 -11
  70. package/dist/cli/commands/upgrade.js +11 -11
  71. package/dist/cli/commands/upgrade.test.js +1 -1
  72. package/dist/cli/commands/version.js +11 -11
  73. package/dist/cli/commands/version.test.js +12 -12
  74. package/dist/cli/services/commands/notifications.js +9 -9
  75. package/dist/cli/services/commands/search.js +5 -5
  76. package/dist/cli/services/commands/search.test.js +6 -6
  77. package/dist/cli/services/commands/version.js +6 -6
  78. package/dist/cli/services/commands/version.test.js +8 -8
  79. package/dist/cli/services/doctor-release/context.js +2 -2
  80. package/dist/cli/services/doctor-release/theme/runner.js +9 -9
  81. package/dist/cli/services/doctor-release/theme/tests/init.js +6 -6
  82. package/dist/cli/services/doctor-release/theme/tests/push.js +6 -6
  83. package/dist/cli/services/kitchen-sink/async.js +5 -5
  84. package/dist/cli/services/kitchen-sink/prompts.js +5 -5
  85. package/dist/cli/services/kitchen-sink/static.js +5 -5
  86. package/dist/{custom-oclif-loader-AAJZ7WBW.js → custom-oclif-loader-QHZYLDHD.js} +5 -5
  87. package/dist/{devtools-BAOTGU3O.js → devtools-PI7DMKVT.js} +4 -4
  88. package/dist/{error-handler-GSQRFK57.js → error-handler-25WG4VTL.js} +8 -8
  89. package/dist/hooks/postrun.js +8 -8
  90. package/dist/hooks/prerun.js +9 -9
  91. package/dist/index.js +68761 -58531
  92. package/dist/{lib-HAW436ZI.js → lib-R4TQWF6K.js} +3 -3
  93. package/dist/{local-GOP2BHNI.js → local-QBNR7GHY.js} +5 -5
  94. package/dist/{morph-7WAMUK6I.js → morph-32Y5BUJM.js} +9 -9
  95. package/dist/{node-package-manager-W4R4DUTE.js → node-package-manager-TKOPH3K5.js} +6 -6
  96. package/dist/{path-GB4VIEM6.js → path-H3TILUQU.js} +4 -2
  97. package/dist/{prettier-5ODD6NHV.js → prettier-4RCJTIXY.js} +2 -2
  98. package/dist/tsconfig.tsbuildinfo +1 -1
  99. package/dist/{ui-VRLRLHWH.js → ui-QCEOAQDC.js} +5 -5
  100. package/dist/{workerd-AO3T6IIJ.js → workerd-L2OEKCQL.js} +13 -13
  101. package/oclif.manifest.json +6 -6
  102. package/package.json +7 -59
  103. package/dist/chunk-2EQNSO7C.js +0 -142
  104. package/dist/cli/services/upgrade.d.ts +0 -5
  105. package/dist/cli/services/upgrade.js +0 -21
  106. package/dist/cli/services/upgrade.test.js +0 -171
@@ -12,8 +12,8 @@
12
12
  <meta name="theme-color" content="#ffffff">
13
13
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
14
14
  <title>UI Extensions DevConsole</title>
15
- <script type="module" crossorigin src="/extensions/dev-console/assets/index-C12jKScn.js"></script>
16
- <link rel="stylesheet" crossorigin href="/extensions/dev-console/assets/index-0hw3R_TS.css">
15
+ <script type="module" crossorigin src="/extensions/dev-console/assets/index-WDo4Zf8i.js"></script>
16
+ <link rel="stylesheet" crossorigin href="/extensions/dev-console/assets/index-DISeE29z.css">
17
17
  </head>
18
18
  <body>
19
19
  <div id="root"></div>
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-ZLV2A27J.js";
3
+ } from "./chunk-PV4DS7Q3.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-I23GZAC4.js";
6
+ } from "./chunk-ALCWBCTB.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var KitchenSinkAsync = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkAsync
27
27
  };
28
- //# sourceMappingURL=chunk-LFMBIRVC.js.map
28
+ //# sourceMappingURL=chunk-2GBRPYQO.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-I23GZAC4.js";
3
+ } from "./chunk-ALCWBCTB.js";
4
4
  import {
5
5
  require_lib
6
- } from "./chunk-CEUL3KX5.js";
6
+ } from "./chunk-EZZRDRCA.js";
7
7
  import {
8
8
  __toESM,
9
9
  init_cjs_shims
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
46
46
  export {
47
47
  HelpCommand
48
48
  };
49
- //# sourceMappingURL=chunk-R622IPZN.js.map
49
+ //# sourceMappingURL=chunk-3PJMBRB6.js.map
@@ -2,15 +2,15 @@ import {
2
2
  fetch,
3
3
  jsonOutputEnabled,
4
4
  z
5
- } from "./chunk-A2CZGTAP.js";
5
+ } from "./chunk-NCTTAHU4.js";
6
6
  import {
7
7
  cacheRetrieve,
8
8
  cacheStore,
9
9
  versionSatisfies
10
- } from "./chunk-HAG3HJ2V.js";
10
+ } from "./chunk-CETXO4QF.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-NYP3N62G.js";
13
+ } from "./chunk-D5DIBYZM.js";
14
14
  import {
15
15
  AbortSilentError,
16
16
  exec,
@@ -19,7 +19,7 @@ import {
19
19
  renderError,
20
20
  renderInfo,
21
21
  renderWarning
22
- } from "./chunk-E4GUDBAR.js";
22
+ } from "./chunk-HOM3AURQ.js";
23
23
  import {
24
24
  init_cjs_shims
25
25
  } from "./chunk-PKR7KJ6P.js";
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
87
87
  throw new AbortSilentError();
88
88
  let errorMessage = `Error showing notifications: ${error.message}`;
89
89
  outputDebug(errorMessage);
90
- let { sendErrorToBugsnag } = await import("./error-handler-GSQRFK57.js");
90
+ let { sendErrorToBugsnag } = await import("./error-handler-25WG4VTL.js");
91
91
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
92
92
  }
93
93
  }
@@ -200,4 +200,4 @@ export {
200
200
  fetchNotificationsInBackground,
201
201
  stringifyFilters
202
202
  };
203
- //# sourceMappingURL=chunk-SUFC4ISB.js.map
203
+ //# sourceMappingURL=chunk-3Q7HT6Z6.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-NYP3N62G.js";
3
+ } from "./chunk-D5DIBYZM.js";
4
4
  import {
5
5
  outputResult
6
- } from "./chunk-E4GUDBAR.js";
6
+ } from "./chunk-HOM3AURQ.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -17,4 +17,4 @@ async function versionService() {
17
17
  export {
18
18
  versionService
19
19
  };
20
- //# sourceMappingURL=chunk-FKP67FZI.js.map
20
+ //# sourceMappingURL=chunk-3R4Y7JP2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openURL
3
- } from "./chunk-E4GUDBAR.js";
3
+ } from "./chunk-HOM3AURQ.js";
4
4
  import {
5
5
  init_cjs_shims
6
6
  } from "./chunk-PKR7KJ6P.js";
@@ -15,4 +15,4 @@ async function searchService(query) {
15
15
  export {
16
16
  searchService
17
17
  };
18
- //# sourceMappingURL=chunk-54FE2FGU.js.map
18
+ //# sourceMappingURL=chunk-4ZJ6IMY7.js.map
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  runThemeDoctor
3
- } from "./chunk-77BDQRQW.js";
3
+ } from "./chunk-DELDMHFW.js";
4
4
  import {
5
5
  globalFlags
6
- } from "./chunk-Z5FK5H2M.js";
6
+ } from "./chunk-6QAGQRBW.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-I23GZAC4.js";
9
+ } from "./chunk-ALCWBCTB.js";
10
10
  import {
11
11
  canRunDoctorRelease
12
- } from "./chunk-E4GUDBAR.js";
12
+ } from "./chunk-HOM3AURQ.js";
13
13
  import {
14
14
  require_lib
15
- } from "./chunk-CEUL3KX5.js";
15
+ } from "./chunk-EZZRDRCA.js";
16
16
  import {
17
17
  cwd,
18
18
  resolvePath
19
- } from "./chunk-EG6MBBEN.js";
19
+ } from "./chunk-H4D3T5OG.js";
20
20
  import {
21
21
  __toESM,
22
22
  init_cjs_shims
@@ -75,4 +75,4 @@ var DoctorReleaseTheme = class _DoctorReleaseTheme extends base_command_default
75
75
  export {
76
76
  DoctorReleaseTheme
77
77
  };
78
- //# sourceMappingURL=chunk-K52ORY26.js.map
78
+ //# sourceMappingURL=chunk-5Z2EIBKO.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  cacheClear
3
- } from "./chunk-HAG3HJ2V.js";
3
+ } from "./chunk-CETXO4QF.js";
4
4
  import {
5
5
  environmentVariables,
6
6
  isTruthy
7
- } from "./chunk-E4GUDBAR.js";
7
+ } from "./chunk-HOM3AURQ.js";
8
8
  import {
9
9
  require_lib
10
- } from "./chunk-CEUL3KX5.js";
10
+ } from "./chunk-EZZRDRCA.js";
11
11
  import {
12
12
  __toESM,
13
13
  init_cjs_shims
@@ -20,7 +20,7 @@ init_cjs_shims();
20
20
  init_cjs_shims();
21
21
  import { fileURLToPath } from "node:url";
22
22
  async function launchCLI(options) {
23
- let { errorHandler } = await import("./error-handler-GSQRFK57.js"), { isDevelopment } = await import("./local-GOP2BHNI.js"), oclif = await import("./lib-HAW436ZI.js"), { ShopifyConfig } = await import("./custom-oclif-loader-AAJZ7WBW.js");
23
+ let { errorHandler } = await import("./error-handler-25WG4VTL.js"), { isDevelopment } = await import("./local-QBNR7GHY.js"), oclif = await import("./lib-R4TQWF6K.js"), { ShopifyConfig } = await import("./custom-oclif-loader-QHZYLDHD.js");
24
24
  isDevelopment() && (oclif.default.settings.debug = !0);
25
25
  try {
26
26
  let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
@@ -35,7 +35,7 @@ var import_core = __toESM(require_lib());
35
35
  async function exitIfOldNodeVersion(versions = process.versions) {
36
36
  let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
37
37
  if (nodeMajorVersion < 18) {
38
- let { renderError } = await import("./ui-VRLRLHWH.js");
38
+ let { renderError } = await import("./ui-QCEOAQDC.js");
39
39
  renderError({
40
40
  headline: "Upgrade to a supported Node version now.",
41
41
  body: [
@@ -62,7 +62,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
62
62
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
63
63
  }
64
64
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
65
- let { findUpAndReadPackageJson } = await import("./node-package-manager-W4R4DUTE.js"), { moduleDirectory } = await import("./path-GB4VIEM6.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
65
+ let { findUpAndReadPackageJson } = await import("./node-package-manager-TKOPH3K5.js"), { moduleDirectory } = await import("./path-H3TILUQU.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
66
66
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
67
67
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
68
68
  argv.splice(initIndex2, 0, "init");
@@ -98,4 +98,4 @@ export {
98
98
  jsonFlag,
99
99
  clearCache
100
100
  };
101
- //# sourceMappingURL=chunk-Z5FK5H2M.js.map
101
+ //# sourceMappingURL=chunk-6QAGQRBW.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  cliInstallCommand
3
- } from "./chunk-DUNGALP3.js";
3
+ } from "./chunk-7ZPI3YZT.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-I23GZAC4.js";
6
+ } from "./chunk-ALCWBCTB.js";
7
7
  import {
8
8
  renderInfo
9
- } from "./chunk-E4GUDBAR.js";
9
+ } from "./chunk-HOM3AURQ.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -34,4 +34,4 @@ var Upgrade = class extends base_command_default {
34
34
  export {
35
35
  Upgrade
36
36
  };
37
- //# sourceMappingURL=chunk-RLJICWO6.js.map
37
+ //# sourceMappingURL=chunk-7HBHG7AR.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-E4GUDBAR.js";
4
+ } from "./chunk-HOM3AURQ.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -33,4 +33,4 @@ function mockAndCaptureOutput() {
33
33
  export {
34
34
  mockAndCaptureOutput
35
35
  };
36
- //# sourceMappingURL=chunk-E44JKFB6.js.map
36
+ //# sourceMappingURL=chunk-7LLU6ZWI.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  packageManagerFromUserAgent
3
- } from "./chunk-HAG3HJ2V.js";
3
+ } from "./chunk-CETXO4QF.js";
4
4
  import {
5
5
  currentProcessIsGlobal,
6
6
  inferPackageManagerForGlobalCLI,
7
7
  outputContent,
8
8
  outputToken
9
- } from "./chunk-E4GUDBAR.js";
9
+ } from "./chunk-HOM3AURQ.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ export {
25
25
  cliInstallCommand,
26
26
  getOutputUpdateCLIReminder
27
27
  };
28
- //# sourceMappingURL=chunk-DUNGALP3.js.map
28
+ //# sourceMappingURL=chunk-7ZPI3YZT.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  setCurrentCommandId,
3
3
  showNotificationsIfNeeded
4
- } from "./chunk-SUFC4ISB.js";
4
+ } from "./chunk-3Q7HT6Z6.js";
5
5
  import {
6
6
  errorHandler,
7
7
  hashString,
8
8
  registerCleanBugsnagErrorsFromWithinPlugins
9
- } from "./chunk-A2CZGTAP.js";
9
+ } from "./chunk-NCTTAHU4.js";
10
10
  import {
11
11
  AbortError,
12
12
  addPublicMetadata,
@@ -22,13 +22,13 @@ import {
22
22
  renderWarning,
23
23
  terminalSupportsPrompting,
24
24
  underscore
25
- } from "./chunk-E4GUDBAR.js";
25
+ } from "./chunk-HOM3AURQ.js";
26
26
  import {
27
27
  require_lib
28
- } from "./chunk-CEUL3KX5.js";
28
+ } from "./chunk-EZZRDRCA.js";
29
29
  import {
30
30
  cwd
31
- } from "./chunk-EG6MBBEN.js";
31
+ } from "./chunk-H4D3T5OG.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
@@ -1578,7 +1578,6 @@ var import_core = __toESM(require_lib()), BaseCommand = class extends import_cor
1578
1578
  ]
1579
1579
  });
1580
1580
  }
1581
- // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
1582
1581
  exitWithTimestampWhenEnvVariablePresent() {
1583
1582
  isTruthy(process.env.SHOPIFY_CLI_ENV_STARTUP_PERFORMANCE_RUN) && (outputResult(`
1584
1583
  SHOPIFY_CLI_TIMESTAMP_START
@@ -1707,4 +1706,4 @@ export {
1707
1706
  noDefaultsOptions,
1708
1707
  base_command_default
1709
1708
  };
1710
- //# sourceMappingURL=chunk-I23GZAC4.js.map
1709
+ //# sourceMappingURL=chunk-ALCWBCTB.js.map
@@ -4,6 +4,7 @@ import {
4
4
  BugError,
5
5
  captureOutput,
6
6
  envPaths,
7
+ environmentVariables,
7
8
  exec,
8
9
  fileExists,
9
10
  fileHasWritePermissions,
@@ -20,17 +21,16 @@ import {
20
21
  runWithTimer,
21
22
  unixFileIsOwnedByCurrentUser,
22
23
  writeFile
23
- } from "./chunk-E4GUDBAR.js";
24
+ } from "./chunk-HOM3AURQ.js";
24
25
  import {
25
26
  require_semver
26
- } from "./chunk-CEUL3KX5.js";
27
+ } from "./chunk-EZZRDRCA.js";
27
28
  import {
28
29
  dirname,
29
30
  joinPath
30
- } from "./chunk-EG6MBBEN.js";
31
+ } from "./chunk-H4D3T5OG.js";
31
32
  import {
32
33
  __commonJS,
33
- __export,
34
34
  __require,
35
35
  __toESM,
36
36
  init_cjs_shims
@@ -9012,44 +9012,24 @@ var require_registry_auth_token = __commonJS({
9012
9012
  });
9013
9013
 
9014
9014
  // ../cli-kit/dist/public/node/node-package-manager.js
9015
- var node_package_manager_exports = {};
9016
- __export(node_package_manager_exports, {
9017
- FindUpAndReadPackageJsonNotFoundError: () => FindUpAndReadPackageJsonNotFoundError,
9018
- PackageJsonNotFoundError: () => PackageJsonNotFoundError,
9019
- UnknownPackageManagerError: () => UnknownPackageManagerError,
9020
- addNPMDependencies: () => addNPMDependencies,
9021
- addNPMDependenciesIfNeeded: () => addNPMDependenciesIfNeeded,
9022
- addNPMDependenciesWithoutVersionIfNeeded: () => addNPMDependenciesWithoutVersionIfNeeded,
9023
- addResolutionOrOverride: () => addResolutionOrOverride,
9024
- bunLockfile: () => bunLockfile,
9025
- checkForCachedNewVersion: () => checkForCachedNewVersion,
9026
- checkForNewVersion: () => checkForNewVersion,
9027
- findUpAndReadPackageJson: () => findUpAndReadPackageJson,
9028
- getDependencies: () => getDependencies,
9029
- getPackageManager: () => getPackageManager,
9030
- getPackageName: () => getPackageName,
9031
- getPackageVersion: () => getPackageVersion,
9032
- inferPackageManager: () => inferPackageManager,
9033
- installNPMDependenciesRecursively: () => installNPMDependenciesRecursively,
9034
- installNodeModules: () => installNodeModules,
9035
- lockfiles: () => lockfiles,
9036
- lockfilesByManager: () => lockfilesByManager,
9037
- npmLockfile: () => npmLockfile,
9038
- packageManager: () => packageManager,
9039
- packageManagerFromUserAgent: () => packageManagerFromUserAgent,
9040
- pnpmLockfile: () => pnpmLockfile,
9041
- pnpmWorkspaceFile: () => pnpmWorkspaceFile,
9042
- readAndParsePackageJson: () => readAndParsePackageJson,
9043
- usesWorkspaces: () => usesWorkspaces,
9044
- versionSatisfies: () => versionSatisfies,
9045
- writePackageJSON: () => writePackageJSON,
9046
- yarnLockfile: () => yarnLockfile
9047
- });
9048
9015
  init_cjs_shims();
9049
9016
 
9050
9017
  // ../cli-kit/dist/private/node/conf-store.js
9051
9018
  init_cjs_shims();
9052
9019
 
9020
+ // ../cli-kit/dist/private/node/context/service.js
9021
+ init_cjs_shims();
9022
+ var Environment;
9023
+ (function(Environment2) {
9024
+ Environment2.Local = "local", Environment2.Production = "production";
9025
+ })(Environment || (Environment = {}));
9026
+ function serviceEnvironment(env = process.env) {
9027
+ return env[environmentVariables.serviceEnv] === "local" ? Environment.Local : Environment.Production;
9028
+ }
9029
+ function isLocalEnvironment(env = process.env) {
9030
+ return serviceEnvironment(env) === Environment.Local;
9031
+ }
9032
+
9053
9033
  // ../cli-kit/dist/public/node/local-storage.js
9054
9034
  init_cjs_shims();
9055
9035
 
@@ -9910,23 +9890,29 @@ var _instance;
9910
9890
  function cliKitStore() {
9911
9891
  return _instance || (_instance = new LocalStorage({ projectName: `shopify-cli-kit${isUnitTest() ? "-test" : ""}` })), _instance;
9912
9892
  }
9893
+ function sessionStoreKey() {
9894
+ return isLocalEnvironment() ? "devSessionStore" : "sessionStore";
9895
+ }
9896
+ function currentSessionIdKey() {
9897
+ return isLocalEnvironment() ? "currentDevSessionId" : "currentSessionId";
9898
+ }
9913
9899
  function getSessions(config = cliKitStore()) {
9914
- return outputDebug(outputContent`Getting session store...`), config.get("sessionStore");
9900
+ return outputDebug(outputContent`Getting session store...`), config.get(sessionStoreKey());
9915
9901
  }
9916
9902
  function setSessions(session, config = cliKitStore()) {
9917
- outputDebug(outputContent`Setting session store...`), config.set("sessionStore", session);
9903
+ outputDebug(outputContent`Setting session store...`), config.set(sessionStoreKey(), session);
9918
9904
  }
9919
9905
  function removeSessions(config = cliKitStore()) {
9920
- outputDebug(outputContent`Removing session store...`), config.delete("sessionStore");
9906
+ outputDebug(outputContent`Removing session store...`), config.delete(sessionStoreKey());
9921
9907
  }
9922
9908
  function getCurrentSessionId(config = cliKitStore()) {
9923
- return outputDebug(outputContent`Getting current session ID...`), config.get("currentSessionId");
9909
+ return outputDebug(outputContent`Getting current session ID...`), config.get(currentSessionIdKey());
9924
9910
  }
9925
9911
  function setCurrentSessionId(sessionId, config = cliKitStore()) {
9926
- outputDebug(outputContent`Setting current session ID...`), config.set("currentSessionId", sessionId);
9912
+ outputDebug(outputContent`Setting current session ID...`), config.set(currentSessionIdKey(), sessionId);
9927
9913
  }
9928
9914
  function removeCurrentSessionId(config = cliKitStore()) {
9929
- outputDebug(outputContent`Removing current session ID...`), config.delete("currentSessionId");
9915
+ outputDebug(outputContent`Removing current session ID...`), config.delete(currentSessionIdKey());
9930
9916
  }
9931
9917
  async function cacheRetrieveOrRepopulate(key, fn, timeout, config = cliKitStore()) {
9932
9918
  let cached = cacheRetrieve(key, config);
@@ -13720,7 +13706,7 @@ async function latestVersion(packageName, options) {
13720
13706
  }
13721
13707
 
13722
13708
  // ../cli-kit/dist/public/node/node-package-manager.js
13723
- var import_semver3 = __toESM(require_semver()), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
13709
+ var import_semver3 = __toESM(require_semver(), 1), yarnLockfile = "yarn.lock", npmLockfile = "package-lock.json", pnpmLockfile = "pnpm-lock.yaml", bunLockfile = "bun.lockb", pnpmWorkspaceFile = "pnpm-workspace.yaml", lockfiles = [yarnLockfile, pnpmLockfile, npmLockfile, bunLockfile], lockfilesByManager = {
13724
13710
  yarn: yarnLockfile,
13725
13711
  npm: npmLockfile,
13726
13712
  pnpm: pnpmLockfile,
@@ -13958,6 +13944,9 @@ function inferPackageManager(optionsPackageManager, env = process.env) {
13958
13944
  }
13959
13945
 
13960
13946
  export {
13947
+ Environment,
13948
+ serviceEnvironment,
13949
+ isLocalEnvironment,
13961
13950
  require_ajv,
13962
13951
  LocalStorage,
13963
13952
  getSessions,
@@ -14002,8 +13991,7 @@ export {
14002
13991
  findUpAndReadPackageJson,
14003
13992
  addResolutionOrOverride,
14004
13993
  writePackageJSON,
14005
- inferPackageManager,
14006
- node_package_manager_exports
13994
+ inferPackageManager
14007
13995
  };
14008
13996
  /*! Bundled license information:
14009
13997
 
@@ -14035,4 +14023,4 @@ deep-extend/lib/deep-extend.js:
14035
14023
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14036
14024
  *)
14037
14025
  */
14038
- //# sourceMappingURL=chunk-HAG3HJ2V.js.map
14026
+ //# sourceMappingURL=chunk-CETXO4QF.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  clearCache
3
- } from "./chunk-Z5FK5H2M.js";
3
+ } from "./chunk-6QAGQRBW.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-I23GZAC4.js";
6
+ } from "./chunk-ALCWBCTB.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var ClearCache = class extends base_command_default {
25
25
  export {
26
26
  ClearCache
27
27
  };
28
- //# sourceMappingURL=chunk-5ZDTGPNX.js.map
28
+ //# sourceMappingURL=chunk-CFMCPDKD.js.map
@@ -3,12 +3,12 @@ import {
3
3
  execCommand,
4
4
  fileExists,
5
5
  readFile
6
- } from "./chunk-E4GUDBAR.js";
6
+ } from "./chunk-HOM3AURQ.js";
7
7
  import {
8
8
  isAbsolutePath,
9
9
  joinPath,
10
10
  relativePath
11
- } from "./chunk-EG6MBBEN.js";
11
+ } from "./chunk-H4D3T5OG.js";
12
12
  import {
13
13
  init_cjs_shims
14
14
  } from "./chunk-PKR7KJ6P.js";
@@ -23,6 +23,7 @@ var DoctorSuite = class {
23
23
  * Run the entire test suite.
24
24
  *
25
25
  * @param context - The doctor context for this suite run.
26
+ * @returns The list of test results.
26
27
  */
27
28
  async runSuite(context) {
28
29
  this.context = context, this.registeredTests = [];
@@ -67,11 +68,14 @@ var DoctorSuite = class {
67
68
  // ============================================
68
69
  // Command execution
69
70
  // ============================================
71
+ /* eslint-disable tsdoc/syntax -- jsdoc/require-param expects dotted names for destructured options; tsdoc disallows dots */
70
72
  /**
71
73
  * Run a CLI command and return the result.
72
74
  *
73
75
  * @param command - The CLI command to run.
74
- * @param options - Optional cwd and env overrides.
76
+ * @param options - Optional overrides.
77
+ * @param options.cwd - Working directory for the command.
78
+ * @param options.env - Environment variables for the command.
75
79
  * @example
76
80
  * const result = await this.run('shopify theme init my-theme')
77
81
  * const result = await this.run('shopify theme push --json')
@@ -92,7 +96,9 @@ var DoctorSuite = class {
92
96
  * Returns only success/failure.
93
97
  *
94
98
  * @param command - The CLI command to run.
95
- * @param options - Optional cwd and env overrides.
99
+ * @param options - Optional overrides.
100
+ * @param options.cwd - Working directory for the command.
101
+ * @param options.env - Environment variables for the command.
96
102
  */
97
103
  async runInteractive(command, options) {
98
104
  let cwd = options?.cwd ?? this.context.workingDirectory, exitCode = 0;
@@ -110,6 +116,7 @@ var DoctorSuite = class {
110
116
  success: exitCode === 0
111
117
  };
112
118
  }
119
+ /* eslint-enable tsdoc/syntax */
113
120
  // ============================================
114
121
  // Assertions
115
122
  // ============================================
@@ -306,4 +313,4 @@ DoctorSuite.description = "Doctor test suite";
306
313
  export {
307
314
  DoctorSuite
308
315
  };
309
- //# sourceMappingURL=chunk-OIUDJFV2.js.map
316
+ //# sourceMappingURL=chunk-CLSOJHPG.js.map
@@ -4,9 +4,9 @@ import {
4
4
 
5
5
  // ../cli-kit/dist/public/common/version.js
6
6
  init_cjs_shims();
7
- var CLI_KIT_VERSION = "3.91.1";
7
+ var CLI_KIT_VERSION = "3.92.0";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-NYP3N62G.js.map
12
+ //# sourceMappingURL=chunk-D5DIBYZM.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  ThemeInitTests
3
- } from "./chunk-VRUH5BDH.js";
3
+ } from "./chunk-GISQNWKA.js";
4
4
  import {
5
5
  ThemePushTests
6
- } from "./chunk-SJXHR42U.js";
6
+ } from "./chunk-KMZDRVOH.js";
7
7
  import {
8
8
  createDoctorContext
9
- } from "./chunk-ITTNM7I4.js";
9
+ } from "./chunk-QJQS7BBK.js";
10
10
  import {
11
11
  outputInfo,
12
12
  source_default
13
- } from "./chunk-E4GUDBAR.js";
13
+ } from "./chunk-HOM3AURQ.js";
14
14
  import {
15
15
  relativizePath
16
- } from "./chunk-EG6MBBEN.js";
16
+ } from "./chunk-H4D3T5OG.js";
17
17
  import {
18
18
  init_cjs_shims
19
19
  } from "./chunk-PKR7KJ6P.js";
@@ -87,4 +87,4 @@ async function runThemeDoctor(options) {
87
87
  export {
88
88
  runThemeDoctor
89
89
  };
90
- //# sourceMappingURL=chunk-77BDQRQW.js.map
90
+ //# sourceMappingURL=chunk-DELDMHFW.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  list
3
- } from "./chunk-PCNR4TMY.js";
3
+ } from "./chunk-VK6V5QGU.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-I23GZAC4.js";
6
+ } from "./chunk-ALCWBCTB.js";
7
7
  import {
8
8
  sendErrorToBugsnag
9
- } from "./chunk-A2CZGTAP.js";
9
+ } from "./chunk-NCTTAHU4.js";
10
10
  import {
11
11
  require_lib
12
- } from "./chunk-CEUL3KX5.js";
12
+ } from "./chunk-EZZRDRCA.js";
13
13
  import {
14
14
  __toESM,
15
15
  init_cjs_shims
@@ -49,4 +49,4 @@ var List = class _List extends base_command_default {
49
49
  export {
50
50
  List
51
51
  };
52
- //# sourceMappingURL=chunk-TY5YKCUW.js.map
52
+ //# sourceMappingURL=chunk-EKSKCUFY.js.map