@shopify/cli 3.75.3 → 3.76.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 (83) hide show
  1. package/dist/assets/hydrogen/starter/CHANGELOG.md +9 -0
  2. package/dist/assets/hydrogen/starter/package.json +3 -3
  3. package/dist/{chunk-YJQB4KNO.js → chunk-247SAMPG.js} +3 -3
  4. package/dist/{chunk-FNGSPBMI.js → chunk-2LCBNWGB.js} +11 -11
  5. package/dist/{chunk-BI6OG3SW.js → chunk-3HWN5QZP.js} +3 -3
  6. package/dist/{chunk-33Y36JTQ.js → chunk-7MKO46I5.js} +3 -3
  7. package/dist/{chunk-G4AWJOUT.js → chunk-AS4YOVZB.js} +3 -3
  8. package/dist/{chunk-PD5FJTJV.js → chunk-AW63CHBD.js} +3 -3
  9. package/dist/{chunk-MW2DSTSP.js → chunk-CUEBFCNF.js} +4 -4
  10. package/dist/{chunk-5R65XQBB.js → chunk-DSEDXHIL.js} +3 -3
  11. package/dist/{chunk-GXE74MLK.js → chunk-F5WG7YRC.js} +2 -2
  12. package/dist/{chunk-B5KBQUD7.js → chunk-FKVY6WNT.js} +4 -4
  13. package/dist/{chunk-WMN57UOI.js → chunk-FSL57OBM.js} +127 -87
  14. package/dist/{chunk-QODWZ6PQ.js → chunk-FVI46GAE.js} +3 -3
  15. package/dist/{chunk-EIDXBYRF.js → chunk-GDAGNYN6.js} +2 -2
  16. package/dist/{chunk-22VHHB6E.js → chunk-GSC3DSZN.js} +3 -2
  17. package/dist/{chunk-MAEFXTUW.js → chunk-IB2GR2NI.js} +4 -4
  18. package/dist/{chunk-3QMRSRBQ.js → chunk-IGXCBQCI.js} +2 -2
  19. package/dist/{chunk-LCLDLGWN.js → chunk-IV3Z7KW6.js} +5 -5
  20. package/dist/{chunk-IKLIMBXL.js → chunk-KRBTUAPG.js} +3 -3
  21. package/dist/{chunk-G4WKRFAA.js → chunk-LLYJXSNC.js} +3 -3
  22. package/dist/{chunk-QGVSI72K.js → chunk-LQLKKAEX.js} +3 -3
  23. package/dist/{chunk-A2VS5S6I.js → chunk-M7TO4P43.js} +2 -2
  24. package/dist/{chunk-5U5CBWN6.js → chunk-NGMTB27N.js} +36 -15
  25. package/dist/{chunk-YFC422QN.js → chunk-OAIHYIZM.js} +3 -3
  26. package/dist/{chunk-2NZ7C43W.js → chunk-OLVUPFMV.js} +6 -6
  27. package/dist/{chunk-USS26MJN.js → chunk-QFEXM6TL.js} +2 -2
  28. package/dist/{chunk-C33FHDOM.js → chunk-R3OLOJM7.js} +74 -11
  29. package/dist/{chunk-VJRNACS6.js → chunk-SPTKJZLQ.js} +3 -3
  30. package/dist/{chunk-K4H4V3DT.js → chunk-VCFDSABQ.js} +6 -6
  31. package/dist/{chunk-OV2HTJBT.js → chunk-WF3LQ6VY.js} +3 -3
  32. package/dist/{chunk-KD3XBFOR.js → chunk-WJRSLVVW.js} +2 -2
  33. package/dist/{chunk-LZMNVVKL.js → chunk-WRB46MIH.js} +10 -9
  34. package/dist/{chunk-RR6KDBGU.js → chunk-WXEVFXY4.js} +93 -163
  35. package/dist/{chunk-KTZUTNES.js → chunk-Y5V7ZNMS.js} +3 -3
  36. package/dist/{chunk-JTBKPH2T.js → chunk-YJUMZEX7.js} +2 -2
  37. package/dist/{chunk-WZLRLCYA.js → chunk-YWGDPGEE.js} +7 -6
  38. package/dist/cli/commands/auth/logout.js +11 -12
  39. package/dist/cli/commands/auth/logout.test.js +12 -13
  40. package/dist/cli/commands/cache/clear.js +10 -11
  41. package/dist/cli/commands/debug/command-flags.js +10 -11
  42. package/dist/cli/commands/docs/generate.js +10 -11
  43. package/dist/cli/commands/docs/generate.test.js +10 -11
  44. package/dist/cli/commands/help.js +10 -11
  45. package/dist/cli/commands/kitchen-sink/async.js +11 -12
  46. package/dist/cli/commands/kitchen-sink/async.test.js +11 -12
  47. package/dist/cli/commands/kitchen-sink/index.js +13 -14
  48. package/dist/cli/commands/kitchen-sink/index.test.js +13 -14
  49. package/dist/cli/commands/kitchen-sink/prompts.js +11 -12
  50. package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -12
  51. package/dist/cli/commands/kitchen-sink/static.js +11 -12
  52. package/dist/cli/commands/kitchen-sink/static.test.js +11 -12
  53. package/dist/cli/commands/notifications/generate.js +11 -12
  54. package/dist/cli/commands/notifications/list.js +11 -12
  55. package/dist/cli/commands/search.js +11 -12
  56. package/dist/cli/commands/upgrade.js +11 -12
  57. package/dist/cli/commands/version.js +11 -12
  58. package/dist/cli/commands/version.test.js +11 -12
  59. package/dist/cli/services/commands/notifications.js +6 -6
  60. package/dist/cli/services/commands/search.js +2 -2
  61. package/dist/cli/services/commands/search.test.js +2 -2
  62. package/dist/cli/services/commands/version.js +3 -3
  63. package/dist/cli/services/commands/version.test.js +4 -4
  64. package/dist/cli/services/kitchen-sink/async.js +2 -2
  65. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  66. package/dist/cli/services/kitchen-sink/static.js +2 -2
  67. package/dist/cli/services/upgrade.js +3 -3
  68. package/dist/cli/services/upgrade.test.js +5 -7
  69. package/dist/{custom-oclif-loader-T46YXHAL.js → custom-oclif-loader-K3EL2OAR.js} +2 -2
  70. package/dist/{error-handler-CQQM6XL7.js → error-handler-BADTRHFV.js} +8 -9
  71. package/dist/hooks/postrun.js +8 -8
  72. package/dist/hooks/prerun.js +10 -8
  73. package/dist/index.js +7314 -6967
  74. package/dist/{local-UIVNM7TY.js → local-OPE3NHTK.js} +2 -2
  75. package/dist/{morph-K3QSNZNW.js → morph-WRZ7XCTF.js} +9 -9
  76. package/dist/{node-Y5CCPBME.js → node-KXPRSMZI.js} +14 -15
  77. package/dist/{node-package-manager-LYGJUDK2.js → node-package-manager-I364XLRB.js} +3 -3
  78. package/dist/tsconfig.tsbuildinfo +1 -1
  79. package/dist/{ui-6CY7AHOT.js → ui-OLBMRQ45.js} +2 -2
  80. package/dist/{workerd-S3A3XU2A.js → workerd-U7MSRKWK.js} +13 -14
  81. package/oclif.manifest.json +46 -22
  82. package/package.json +7 -7
  83. package/dist/chunk-CM7HYAXG.js +0 -63
@@ -1,5 +1,14 @@
1
1
  # skeleton
2
2
 
3
+ ## 2025.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Bump cli version ([#2760](https://github.com/Shopify/hydrogen/pull/2760)) by [@rbshop](https://github.com/rbshop)
8
+
9
+ - Updated dependencies [[`128dfcd6`](https://github.com/Shopify/hydrogen/commit/128dfcd6b254a7465d93be49d3bcbff5251e5ffc)]:
10
+ - @shopify/hydrogen@2025.1.2
11
+
3
12
  ## 2025.1.1
4
13
 
5
14
  ### Patch Changes
@@ -2,7 +2,7 @@
2
2
  "name": "skeleton",
3
3
  "private": true,
4
4
  "sideEffects": false,
5
- "version": "2025.1.1",
5
+ "version": "2025.1.2",
6
6
  "type": "module",
7
7
  "scripts": {
8
8
  "build": "shopify hydrogen build --codegen",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@remix-run/react": "^2.15.3",
18
18
  "@remix-run/server-runtime": "^2.15.3",
19
- "@shopify/hydrogen": "2025.1.1",
19
+ "@shopify/hydrogen": "2025.1.2",
20
20
  "@shopify/remix-oxygen": "^2.0.11",
21
21
  "graphql": "^16.6.0",
22
22
  "graphql-tag": "^2.12.6",
@@ -30,7 +30,7 @@
30
30
  "@eslint/js": "^9.18.0",
31
31
  "@graphql-codegen/cli": "5.0.2",
32
32
  "@remix-run/dev": "^2.15.3",
33
- "@shopify/cli": "~3.74.1",
33
+ "@shopify/cli": "~3.75.3",
34
34
  "@shopify/hydrogen-codegen": "^0.3.2",
35
35
  "@shopify/mini-oxygen": "^3.1.1",
36
36
  "@shopify/oxygen-workers-types": "^4.1.2",
@@ -6,7 +6,7 @@ import {
6
6
  remove,
7
7
  setLastSeenAuthMethod,
8
8
  setLastSeenUserIdAfterAuth
9
- } from "./chunk-RR6KDBGU.js";
9
+ } from "./chunk-WXEVFXY4.js";
10
10
  import {
11
11
  BugError,
12
12
  getPartnersToken,
@@ -14,7 +14,7 @@ import {
14
14
  outputContent,
15
15
  outputDebug,
16
16
  outputToken
17
- } from "./chunk-C33FHDOM.js";
17
+ } from "./chunk-R3OLOJM7.js";
18
18
  import {
19
19
  init_cjs_shims
20
20
  } from "./chunk-PKR7KJ6P.js";
@@ -104,4 +104,4 @@ export {
104
104
  ensureAuthenticatedBusinessPlatform,
105
105
  logout
106
106
  };
107
- //# sourceMappingURL=chunk-YJQB4KNO.js.map
107
+ //# sourceMappingURL=chunk-247SAMPG.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-LZMNVVKL.js";
3
+ } from "./chunk-WRB46MIH.js";
4
4
  import {
5
5
  cacheClear
6
- } from "./chunk-22VHHB6E.js";
6
+ } from "./chunk-GSC3DSZN.js";
7
7
  import {
8
8
  environmentVariables,
9
9
  isTruthy
10
- } from "./chunk-C33FHDOM.js";
10
+ } from "./chunk-R3OLOJM7.js";
11
11
  import {
12
12
  require_lib
13
13
  } from "./chunk-VSKRQ3JT.js";
@@ -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-CQQM6XL7.js"), { isDevelopment } = await import("./local-UIVNM7TY.js"), oclif = await import("./lib-SGEWXU7Z.js"), { ShopifyConfig } = await import("./custom-oclif-loader-T46YXHAL.js");
29
+ let { errorHandler } = await import("./error-handler-BADTRHFV.js"), { isDevelopment } = await import("./local-OPE3NHTK.js"), oclif = await import("./lib-SGEWXU7Z.js"), { ShopifyConfig } = await import("./custom-oclif-loader-K3EL2OAR.js");
30
30
  isDevelopment() && (oclif.default.settings.debug = !0);
31
31
  try {
32
32
  let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
@@ -38,11 +38,11 @@ async function launchCLI(options) {
38
38
 
39
39
  // ../cli-kit/dist/public/node/cli.js
40
40
  var import_core = __toESM(require_lib());
41
- async function warnIfOldNodeVersion(versions = process.versions) {
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 { renderWarning } = await import("./ui-6CY7AHOT.js");
45
- renderWarning({
44
+ let { renderError } = await import("./ui-OLBMRQ45.js");
45
+ renderError({
46
46
  headline: "Upgrade to a supported Node version now.",
47
47
  body: [
48
48
  `Node ${nodeMajorVersion} has reached end-of-life and poses security risks. When you upgrade to a`,
@@ -55,7 +55,7 @@ async function warnIfOldNodeVersion(versions = process.versions) {
55
55
  { char: "," },
56
56
  "you'll be able to use Shopify CLI without interruption."
57
57
  ]
58
- });
58
+ }), process.exit(1);
59
59
  }
60
60
  }
61
61
  function setupEnvironmentVariables(options, argv = process.argv, env = process.env) {
@@ -65,10 +65,10 @@ function forceNoColor(argv = process.argv, env = process.env) {
65
65
  (argv.includes("--no-color") || isTruthy(env.NO_COLOR) || isTruthy(env.SHOPIFY_FLAG_NO_COLOR) || env.TERM === "dumb") && (env.FORCE_COLOR = "0");
66
66
  }
67
67
  async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env = process.env, versions = process.versions) {
68
- return setupEnvironmentVariables(options, argv, env), options.runInCreateMode && await addInitToArgvWhenRunningCreateCLI(options, argv), forceNoColor(argv, env), await warnIfOldNodeVersion(versions), launchCLI2({ moduleURL: options.moduleURL });
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-LYGJUDK2.js"), { moduleDirectory } = await import("./path-2K5HIMHZ.js"), name = (await findUpAndReadPackageJson(moduleDirectory(options.moduleURL))).content.name.replace("@shopify/create-", "");
71
+ let { findUpAndReadPackageJson } = await import("./node-package-manager-I364XLRB.js"), { moduleDirectory } = await import("./path-2K5HIMHZ.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-FNGSPBMI.js.map
120
+ //# sourceMappingURL=chunk-2LCBNWGB.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-GXE74MLK.js";
3
+ } from "./chunk-F5WG7YRC.js";
4
4
  import {
5
5
  outputInfo
6
- } from "./chunk-C33FHDOM.js";
6
+ } from "./chunk-R3OLOJM7.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-BI6OG3SW.js.map
20
+ //# sourceMappingURL=chunk-3HWN5QZP.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-LZMNVVKL.js";
3
+ } from "./chunk-WRB46MIH.js";
4
4
  import {
5
5
  renderTable,
6
6
  renderText
7
- } from "./chunk-C33FHDOM.js";
7
+ } from "./chunk-R3OLOJM7.js";
8
8
  import {
9
9
  require_lib
10
10
  } from "./chunk-VSKRQ3JT.js";
@@ -83,4 +83,4 @@ var import_core = __toESM(require_lib(), 1), CommandFlags = class _CommandFlags
83
83
  export {
84
84
  CommandFlags
85
85
  };
86
- //# sourceMappingURL=chunk-33Y36JTQ.js.map
86
+ //# sourceMappingURL=chunk-7MKO46I5.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-EIDXBYRF.js";
3
+ } from "./chunk-GDAGNYN6.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-LZMNVVKL.js";
6
+ } from "./chunk-WRB46MIH.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-G4AWJOUT.js.map
28
+ //# sourceMappingURL=chunk-AS4YOVZB.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  list
3
- } from "./chunk-WZLRLCYA.js";
3
+ } from "./chunk-YWGDPGEE.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-LZMNVVKL.js";
6
+ } from "./chunk-WRB46MIH.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var List = class extends base_command_default {
25
25
  export {
26
26
  List
27
27
  };
28
- //# sourceMappingURL=chunk-PD5FJTJV.js.map
28
+ //# sourceMappingURL=chunk-AW63CHBD.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  logout
3
- } from "./chunk-YJQB4KNO.js";
3
+ } from "./chunk-247SAMPG.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-LZMNVVKL.js";
6
+ } from "./chunk-WRB46MIH.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-C33FHDOM.js";
9
+ } from "./chunk-R3OLOJM7.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
25
25
  export {
26
26
  Logout
27
27
  };
28
- //# sourceMappingURL=chunk-MW2DSTSP.js.map
28
+ //# sourceMappingURL=chunk-CUEBFCNF.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-BI6OG3SW.js";
3
+ } from "./chunk-3HWN5QZP.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-LZMNVVKL.js";
6
+ } from "./chunk-WRB46MIH.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-5R65XQBB.js.map
25
+ //# sourceMappingURL=chunk-DSEDXHIL.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.75.3";
7
+ var CLI_KIT_VERSION = "3.76.0";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-GXE74MLK.js.map
12
+ //# sourceMappingURL=chunk-F5WG7YRC.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-25IMI7TH.js";
6
6
  import {
7
7
  CLI_KIT_VERSION
8
- } from "./chunk-GXE74MLK.js";
8
+ } from "./chunk-F5WG7YRC.js";
9
9
  import {
10
10
  Environment,
11
11
  firstPartyDev,
@@ -14,7 +14,7 @@ import {
14
14
  outputDebug,
15
15
  runWithTimer,
16
16
  serviceEnvironment
17
- } from "./chunk-C33FHDOM.js";
17
+ } from "./chunk-R3OLOJM7.js";
18
18
  import {
19
19
  __commonJS,
20
20
  __require,
@@ -27408,7 +27408,7 @@ ${result.sanitizedHeaders}
27408
27408
  }
27409
27409
 
27410
27410
  // ../cli-kit/dist/public/node/http.js
27411
- var import_form_data = __toESM(require_form_data(), 1);
27411
+ var import_form_data = __toESM(require_form_data());
27412
27412
 
27413
27413
  // ../../node_modules/.pnpm/node-fetch@3.3.2/node_modules/node-fetch/src/index.js
27414
27414
  init_cjs_shims();
@@ -31271,4 +31271,4 @@ mime-types/index.js:
31271
31271
  * MIT Licensed
31272
31272
  *)
31273
31273
  */
31274
- //# sourceMappingURL=chunk-B5KBQUD7.js.map
31274
+ //# sourceMappingURL=chunk-FKVY6WNT.js.map