@shopify/cli 3.84.1 → 3.85.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 (105) hide show
  1. package/README.md +1 -1
  2. package/dist/{chokidar-KCZH6DIC.js → chokidar-TTCYG5AA.js} +5 -5
  3. package/dist/{chokidar-XPSJ2FUJ.js → chokidar-XUA2BN3J.js} +5 -5
  4. package/dist/{chunk-TW3OHW6H.js → chunk-2IA24ROR.js} +10 -9
  5. package/dist/{chunk-R3FZ7BFA.js → chunk-2IEQZDJI.js} +3 -3
  6. package/dist/{chunk-77NCO4UD.js → chunk-47CMAYQE.js} +3 -3
  7. package/dist/{chunk-MCEP4L5M.js → chunk-4JN3JAPL.js} +3 -3
  8. package/dist/{chunk-JNDSQA4U.js → chunk-5FNCRAPA.js} +3 -3
  9. package/dist/{chunk-KS7CKFXX.js → chunk-76S5M67J.js} +7 -7
  10. package/dist/{chunk-PQCWFPSI.js → chunk-A26YXFMX.js} +8 -8
  11. package/dist/{chunk-JJH27HLJ.js → chunk-AJOVRT5K.js} +3 -3
  12. package/dist/{chunk-57KJCVB5.js → chunk-AJYT5DKD.js} +2 -2
  13. package/dist/{chunk-HMDWNGIV.js → chunk-AM4QB5OM.js} +206 -100
  14. package/dist/{chunk-SKEV2KRG.js → chunk-B36FYNEM.js} +664 -587
  15. package/dist/{chunk-JB4IBM6F.js → chunk-BB4VAGLH.js} +2 -2
  16. package/dist/{chunk-W5G2YPO2.js → chunk-BQ3PZIHZ.js} +7 -7
  17. package/dist/{chunk-GWETXJR2.js → chunk-C4XAKIGB.js} +8 -8
  18. package/dist/{chunk-2HA6WHOK.js → chunk-DJVJNSKZ.js} +2 -2
  19. package/dist/{chunk-IM2PF4V5.js → chunk-DKG2TMNN.js} +2 -2
  20. package/dist/{del-SAZHGAZZ.js → chunk-EFOOQV72.js} +17 -378
  21. package/dist/{chunk-3FBDJEGD.js → chunk-F7F4BQYW.js} +1824 -762
  22. package/dist/{chunk-66VZYBID.js → chunk-F7J5CUMZ.js} +4 -4
  23. package/dist/{chunk-IRF44N7J.js → chunk-G2VTHDI5.js} +42 -18
  24. package/dist/{chunk-2M63OZ6L.js → chunk-HNHQAN5R.js} +3 -3
  25. package/dist/chunk-IWFYXDPH.js +109 -0
  26. package/dist/{chunk-NBOUUR2C.js → chunk-JF6OJWJV.js} +3 -3
  27. package/dist/{chunk-Y4JV2C2F.js → chunk-JR35C77F.js} +3 -3
  28. package/dist/{chunk-K5XXB73S.js → chunk-K2VBTQSL.js} +187 -43
  29. package/dist/chunk-KU6FTMKN.js +87 -0
  30. package/dist/{chunk-MQQ5ZTSK.js → chunk-NYUWDGSK.js} +7 -7
  31. package/dist/{chunk-DVZ22YSP.js → chunk-PUO72IWW.js} +16 -20
  32. package/dist/{chunk-42TDSAFO.js → chunk-T3FBGLW4.js} +4 -4
  33. package/dist/{chunk-G5R6YD27.js → chunk-UATXMR5F.js} +2 -103
  34. package/dist/{chunk-4JIM2QT7.js → chunk-UGBL65P2.js} +4 -4
  35. package/dist/{chunk-QO4ILPU2.js → chunk-VELVK2EZ.js} +4 -4
  36. package/dist/{chunk-5G56F2K6.js → chunk-VLSFD7SJ.js} +19 -18
  37. package/dist/{chunk-FYGQPHYH.js → chunk-WRIQTRQE.js} +2 -2
  38. package/dist/{chunk-7AEOEVGT.js → chunk-XO7GQ2WG.js} +3 -3
  39. package/dist/{chunk-FUWTEDP2.js → chunk-XTCT7ABH.js} +16379 -5792
  40. package/dist/{chunk-N2463ZYG.js → chunk-Y4DWHLHN.js} +3 -3
  41. package/dist/{chunk-ES5N6OQW.js → chunk-Y7JIZJYE.js} +5 -5
  42. package/dist/{chunk-DNXNKHZO.js → chunk-Z7TXQNKI.js} +2 -2
  43. package/dist/chunk-ZAVXS5HH.js +4654 -0
  44. package/dist/{chunk-DSKW7GLZ.js → chunk-ZXKNRG53.js} +5 -5
  45. package/dist/cli/commands/auth/login.d.ts +8 -0
  46. package/dist/cli/commands/auth/login.js +28 -0
  47. package/dist/cli/commands/auth/login.test.js +53 -0
  48. package/dist/cli/commands/auth/logout.js +15 -17
  49. package/dist/cli/commands/auth/logout.test.js +20 -22
  50. package/dist/cli/commands/cache/clear.js +15 -16
  51. package/dist/cli/commands/debug/command-flags.js +15 -16
  52. package/dist/cli/commands/docs/generate.js +15 -16
  53. package/dist/cli/commands/docs/generate.test.js +21 -22
  54. package/dist/cli/commands/help.js +15 -16
  55. package/dist/cli/commands/kitchen-sink/async.js +16 -17
  56. package/dist/cli/commands/kitchen-sink/async.test.js +17 -18
  57. package/dist/cli/commands/kitchen-sink/index.js +18 -19
  58. package/dist/cli/commands/kitchen-sink/index.test.js +21 -22
  59. package/dist/cli/commands/kitchen-sink/prompts.js +16 -17
  60. package/dist/cli/commands/kitchen-sink/prompts.test.js +17 -18
  61. package/dist/cli/commands/kitchen-sink/static.js +16 -17
  62. package/dist/cli/commands/kitchen-sink/static.test.js +17 -18
  63. package/dist/cli/commands/notifications/generate.js +16 -17
  64. package/dist/cli/commands/notifications/list.js +16 -17
  65. package/dist/cli/commands/search.js +16 -17
  66. package/dist/cli/commands/upgrade.js +16 -17
  67. package/dist/cli/commands/upgrade.test.js +1 -1
  68. package/dist/cli/commands/version.js +16 -17
  69. package/dist/cli/commands/version.test.js +17 -18
  70. package/dist/cli/services/commands/notifications.js +11 -12
  71. package/dist/cli/services/commands/search.js +7 -8
  72. package/dist/cli/services/commands/search.test.js +8 -9
  73. package/dist/cli/services/commands/version.js +8 -9
  74. package/dist/cli/services/commands/version.test.js +10 -11
  75. package/dist/cli/services/kitchen-sink/async.js +7 -8
  76. package/dist/cli/services/kitchen-sink/prompts.js +7 -8
  77. package/dist/cli/services/kitchen-sink/static.js +7 -8
  78. package/dist/cli/services/upgrade.js +8 -9
  79. package/dist/cli/services/upgrade.test.js +12 -13
  80. package/dist/configs/all.yml +3 -0
  81. package/dist/configs/recommended.yml +3 -0
  82. package/dist/{custom-oclif-loader-LOMFS5PB.js → custom-oclif-loader-J2DN7UTY.js} +11 -12
  83. package/dist/data/objects.json +2 -2
  84. package/dist/data/shopify_system_translations.json +69 -22
  85. package/dist/data/tags.json +10 -10
  86. package/dist/del-DNZ7X2HW.js +377 -0
  87. package/dist/{error-handler-TQKQ3EAE.js → error-handler-JJ76ZQMC.js} +13 -14
  88. package/dist/hooks/postrun.js +13 -15
  89. package/dist/hooks/prerun.js +14 -15
  90. package/dist/index.d.ts +1 -1
  91. package/dist/index.js +7477 -5649
  92. package/dist/{lib-OSXFX3I2.js → lib-DEEC6IKU.js} +3 -4
  93. package/dist/{local-76WZCPFM.js → local-2JWTG2IJ.js} +7 -8
  94. package/dist/{morph-TYIH255V.js → morph-5D7H6MU2.js} +13 -11
  95. package/dist/{node-package-manager-OCGFQDFC.js → node-package-manager-YCQL3774.js} +8 -9
  96. package/dist/{npa-E675GQOI.js → npa-LHT53SWR.js} +3 -5
  97. package/dist/tsconfig.tsbuildinfo +1 -1
  98. package/dist/{ui-A52PK2HZ.js → ui-HITLA3H3.js} +9 -8
  99. package/dist/{workerd-PHNPZMMV.js → workerd-KHWXFNPK.js} +22 -22
  100. package/oclif.manifest.json +79 -9
  101. package/package.json +10 -10
  102. package/dist/chunk-CP3BRHWK.js +0 -33
  103. package/dist/chunk-EZQWZ57B.js +0 -53
  104. package/dist/chunk-T4K4LRMO.js +0 -1216
  105. package/dist/chunk-YQVYH3XF.js +0 -119
package/README.md CHANGED
@@ -13,7 +13,7 @@ Learn more in the [commands docs](./packages/cli/README.md#commands).
13
13
 
14
14
  <p>&nbsp;</p>
15
15
 
16
- ### Before you begin ###
16
+ ## Before you begin
17
17
 
18
18
  Install the latest version of [Node.js](https://nodejs.org/en/download/) and [npm](https://docs.npmjs.com/getting-started) (or another package manager of your choice).
19
19
 
@@ -2,15 +2,15 @@ import {
2
2
  require_anymatch,
3
3
  require_is_binary_path,
4
4
  require_readdirp
5
- } from "./chunk-66VZYBID.js";
5
+ } from "./chunk-F7J5CUMZ.js";
6
+ import {
7
+ require_normalize_path
8
+ } from "./chunk-X7YTIMNN.js";
6
9
  import {
7
10
  require_braces,
8
11
  require_glob_parent,
9
12
  require_is_glob
10
13
  } from "./chunk-7IK72W75.js";
11
- import {
12
- require_normalize_path
13
- } from "./chunk-X7YTIMNN.js";
14
14
  import {
15
15
  __commonJS,
16
16
  __require,
@@ -1119,4 +1119,4 @@ var require_chokidar = __commonJS({
1119
1119
  }
1120
1120
  });
1121
1121
  export default require_chokidar();
1122
- //# sourceMappingURL=chokidar-KCZH6DIC.js.map
1122
+ //# sourceMappingURL=chokidar-TTCYG5AA.js.map
@@ -2,15 +2,15 @@ import {
2
2
  require_anymatch,
3
3
  require_is_binary_path,
4
4
  require_readdirp
5
- } from "./chunk-66VZYBID.js";
5
+ } from "./chunk-F7J5CUMZ.js";
6
+ import {
7
+ require_normalize_path
8
+ } from "./chunk-X7YTIMNN.js";
6
9
  import {
7
10
  require_braces,
8
11
  require_glob_parent,
9
12
  require_is_glob
10
13
  } from "./chunk-7IK72W75.js";
11
- import {
12
- require_normalize_path
13
- } from "./chunk-X7YTIMNN.js";
14
14
  import {
15
15
  __commonJS,
16
16
  __require,
@@ -1117,4 +1117,4 @@ var require_chokidar = __commonJS({
1117
1117
  }
1118
1118
  });
1119
1119
  export default require_chokidar();
1120
- //# sourceMappingURL=chokidar-XPSJ2FUJ.js.map
1120
+ //# sourceMappingURL=chokidar-XUA2BN3J.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-5G56F2K6.js";
4
+ } from "./chunk-VLSFD7SJ.js";
5
5
  import {
6
6
  setCurrentCommandId,
7
7
  showNotificationsIfNeeded
8
- } from "./chunk-GWETXJR2.js";
8
+ } from "./chunk-C4XAKIGB.js";
9
9
  import {
10
10
  hashString
11
- } from "./chunk-DVZ22YSP.js";
11
+ } from "./chunk-PUO72IWW.js";
12
12
  import {
13
13
  AbortError,
14
14
  addPublicMetadata,
@@ -24,13 +24,13 @@ import {
24
24
  renderWarning,
25
25
  terminalSupportsPrompting,
26
26
  underscore
27
- } from "./chunk-SKEV2KRG.js";
27
+ } from "./chunk-B36FYNEM.js";
28
+ import {
29
+ require_lib
30
+ } from "./chunk-F7F4BQYW.js";
28
31
  import {
29
32
  cwd
30
33
  } from "./chunk-EG6MBBEN.js";
31
- import {
32
- require_lib
33
- } from "./chunk-3FBDJEGD.js";
34
34
  import {
35
35
  __commonJS,
36
36
  __require,
@@ -1504,7 +1504,7 @@ init_cjs_shims();
1504
1504
 
1505
1505
  // ../cli-kit/dist/public/node/toml.js
1506
1506
  init_cjs_shims();
1507
- var toml = __toESM(require_toml());
1507
+ var toml = __toESM(require_toml(), 1);
1508
1508
  function decodeToml(input) {
1509
1509
  let normalizedInput = input.replace(/\r\n$/g, `
1510
1510
  `);
@@ -1689,6 +1689,7 @@ export {
1689
1689
  decodeToml,
1690
1690
  encodeToml,
1691
1691
  loadEnvironment,
1692
+ noDefaultsOptions,
1692
1693
  base_command_default
1693
1694
  };
1694
- //# sourceMappingURL=chunk-TW3OHW6H.js.map
1695
+ //# sourceMappingURL=chunk-2IA24ROR.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-FYGQPHYH.js";
3
+ } from "./chunk-WRIQTRQE.js";
4
4
  import {
5
5
  outputResult
6
- } from "./chunk-SKEV2KRG.js";
6
+ } from "./chunk-B36FYNEM.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-R3FZ7BFA.js.map
20
+ //# sourceMappingURL=chunk-2IEQZDJI.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-57KJCVB5.js";
3
+ } from "./chunk-AJYT5DKD.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-TW3OHW6H.js";
6
+ } from "./chunk-2IA24ROR.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-77NCO4UD.js.map
28
+ //# sourceMappingURL=chunk-47CMAYQE.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-TW3OHW6H.js";
3
+ } from "./chunk-2IA24ROR.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-SKEV2KRG.js";
9
+ } from "./chunk-B36FYNEM.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
@@ -118,4 +118,4 @@ export {
118
118
  writeCommandFlagInterface,
119
119
  writeCommandUsageExampleFile
120
120
  };
121
- //# sourceMappingURL=chunk-MCEP4L5M.js.map
121
+ //# sourceMappingURL=chunk-4JN3JAPL.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  generate
3
- } from "./chunk-DSKW7GLZ.js";
3
+ } from "./chunk-ZXKNRG53.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-TW3OHW6H.js";
6
+ } from "./chunk-2IA24ROR.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Generate = class extends base_command_default {
25
25
  export {
26
26
  Generate
27
27
  };
28
- //# sourceMappingURL=chunk-JNDSQA4U.js.map
28
+ //# sourceMappingURL=chunk-5FNCRAPA.js.map
@@ -1,15 +1,15 @@
1
+ import {
2
+ asyncTasks
3
+ } from "./chunk-AJYT5DKD.js";
1
4
  import {
2
5
  prompts
3
- } from "./chunk-DNXNKHZO.js";
6
+ } from "./chunk-Z7TXQNKI.js";
4
7
  import {
5
8
  staticService
6
- } from "./chunk-IM2PF4V5.js";
7
- import {
8
- asyncTasks
9
- } from "./chunk-57KJCVB5.js";
9
+ } from "./chunk-DKG2TMNN.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-TW3OHW6H.js";
12
+ } from "./chunk-2IA24ROR.js";
13
13
  import {
14
14
  init_cjs_shims
15
15
  } from "./chunk-PKR7KJ6P.js";
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
34
34
  export {
35
35
  KitchenSinkAll
36
36
  };
37
- //# sourceMappingURL=chunk-KS7CKFXX.js.map
37
+ //# sourceMappingURL=chunk-76S5M67J.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-TW3OHW6H.js";
3
+ } from "./chunk-2IA24ROR.js";
4
4
  import {
5
5
  cacheClear
6
- } from "./chunk-IRF44N7J.js";
6
+ } from "./chunk-G2VTHDI5.js";
7
7
  import {
8
8
  environmentVariables,
9
9
  isTruthy
10
- } from "./chunk-SKEV2KRG.js";
10
+ } from "./chunk-B36FYNEM.js";
11
11
  import {
12
12
  require_lib
13
- } from "./chunk-3FBDJEGD.js";
13
+ } from "./chunk-F7F4BQYW.js";
14
14
  import {
15
15
  __toESM,
16
16
  init_cjs_shims
@@ -26,7 +26,7 @@ init_cjs_shims();
26
26
  init_cjs_shims();
27
27
  import { fileURLToPath } from "node:url";
28
28
  async function launchCLI(options) {
29
- let { errorHandler } = await import("./error-handler-TQKQ3EAE.js"), { isDevelopment } = await import("./local-76WZCPFM.js"), oclif = await import("./lib-OSXFX3I2.js"), { ShopifyConfig } = await import("./custom-oclif-loader-LOMFS5PB.js");
29
+ let { errorHandler } = await import("./error-handler-JJ76ZQMC.js"), { isDevelopment } = await import("./local-2JWTG2IJ.js"), oclif = await import("./lib-DEEC6IKU.js"), { ShopifyConfig } = await import("./custom-oclif-loader-J2DN7UTY.js");
30
30
  isDevelopment() && (oclif.default.settings.debug = !0);
31
31
  try {
32
32
  let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
@@ -41,7 +41,7 @@ var import_core = __toESM(require_lib());
41
41
  async function exitIfOldNodeVersion(versions = process.versions) {
42
42
  let nodeVersion = versions.node, nodeMajorVersion = Number(nodeVersion.split(".")[0]);
43
43
  if (nodeMajorVersion < 18) {
44
- let { renderError } = await import("./ui-A52PK2HZ.js");
44
+ let { renderError } = await import("./ui-HITLA3H3.js");
45
45
  renderError({
46
46
  headline: "Upgrade to a supported Node version now.",
47
47
  body: [
@@ -68,7 +68,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
68
68
  return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await exitIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
69
69
  }
70
70
  async function addInitToArgvWhenRunningCreateCLI(options, argv = process.argv) {
71
- let { findUpAndReadPackageJson } = await import("./node-package-manager-OCGFQDFC.js"), { moduleDirectory } = await import("./path-GB4VIEM6.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
71
+ let { findUpAndReadPackageJson } = await import("./node-package-manager-YCQL3774.js"), { moduleDirectory } = await import("./path-GB4VIEM6.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
72
72
  if (argv.findIndex((arg) => arg.includes("init")) === -1) {
73
73
  let initIndex2 = argv.findIndex((arg) => arg.match(new RegExp(`bin(\\/|\\\\)+(create-${name}|dev|run)`))) + 1;
74
74
  argv.splice(initIndex2, 0, "init");
@@ -117,4 +117,4 @@ export {
117
117
  jsonFlag,
118
118
  ClearCache
119
119
  };
120
- //# sourceMappingURL=chunk-PQCWFPSI.js.map
120
+ //# sourceMappingURL=chunk-A26YXFMX.js.map
@@ -4,7 +4,7 @@ import {
4
4
  findUpAndReadPackageJson,
5
5
  getPackageManager,
6
6
  usesWorkspaces
7
- } from "./chunk-IRF44N7J.js";
7
+ } from "./chunk-G2VTHDI5.js";
8
8
  import {
9
9
  AbortError,
10
10
  exec,
@@ -15,7 +15,7 @@ import {
15
15
  outputSuccess,
16
16
  outputToken,
17
17
  outputWarn
18
- } from "./chunk-SKEV2KRG.js";
18
+ } from "./chunk-B36FYNEM.js";
19
19
  import {
20
20
  dirname,
21
21
  joinPath,
@@ -139,4 +139,4 @@ function usingPackageManager({ env } = { env: process.env }) {
139
139
  export {
140
140
  upgrade
141
141
  };
142
- //# sourceMappingURL=chunk-JJH27HLJ.js.map
142
+ //# sourceMappingURL=chunk-AJOVRT5K.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-SKEV2KRG.js";
4
+ } from "./chunk-B36FYNEM.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -43,4 +43,4 @@ async function asyncTasks() {
43
43
  export {
44
44
  asyncTasks
45
45
  };
46
- //# sourceMappingURL=chunk-57KJCVB5.js.map
46
+ //# sourceMappingURL=chunk-AJYT5DKD.js.map