@shopify/cli 3.64.0 → 3.65.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 (98) hide show
  1. package/dist/assets/cli-ruby/lib/project_types/extension/models/specification_handlers/theme_app_extension.rb +1 -1
  2. package/dist/assets/cli-ruby/lib/shopify_cli/theme/dev_server/proxy.rb +2 -3
  3. package/dist/assets/hydrogen/starter/.graphqlrc.ts +27 -0
  4. package/dist/assets/hydrogen/starter/CHANGELOG.md +16 -7
  5. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +2 -2
  6. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +3 -3
  7. package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +1 -1
  8. package/dist/assets/hydrogen/starter/app/components/Search.tsx +0 -1
  9. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +1 -1
  10. package/dist/assets/hydrogen/starter/package.json +6 -6
  11. package/dist/{chunk-WIG6CPGR.js → chunk-2VMOCSNT.js} +39 -11
  12. package/dist/{chunk-6LPAIJ4Y.js → chunk-4JHXAPVK.js} +2 -2
  13. package/dist/{chunk-UTXBNNRZ.js → chunk-4MMUX74C.js} +4 -4
  14. package/dist/{chunk-W26344X5.js → chunk-5ASKHNQG.js} +2 -2
  15. package/dist/{chunk-VPPZXHAK.js → chunk-5E7BOMYA.js} +2 -2
  16. package/dist/{chunk-CLBFKLWA.js → chunk-6727OHPN.js} +4 -4
  17. package/dist/{chunk-PWYMBX34.js → chunk-AEPMFZLL.js} +7 -7
  18. package/dist/{chunk-5A6QTLMF.js → chunk-AGEDJDVG.js} +5 -5
  19. package/dist/{chunk-H66NIXGL.js → chunk-CAFAFMYK.js} +10 -6
  20. package/dist/{chunk-LP2H26NY.js → chunk-CAITHPIX.js} +3 -3
  21. package/dist/{chunk-GUB3OCYR.js → chunk-CYWZMOXQ.js} +4 -4
  22. package/dist/{chunk-X34BQYQP.js → chunk-EIDHNONS.js} +2 -2
  23. package/dist/{chunk-LVLKZYIC.js → chunk-GNEXBICT.js} +2 -2
  24. package/dist/{chunk-T7DHXEC7.js → chunk-HL74OSDI.js} +2 -2
  25. package/dist/{chunk-I6HNYSMO.js → chunk-HVRGX6N6.js} +4 -4
  26. package/dist/{chunk-YLPSXWEZ.js → chunk-KGLWCSFT.js} +2 -2
  27. package/dist/{chunk-7GYETEC3.js → chunk-KX6NLKOX.js} +3 -3
  28. package/dist/{chunk-6TPBPH6V.js → chunk-KYAUWGQO.js} +14 -10
  29. package/dist/{chunk-TSZPIP7J.js → chunk-M6KGRVDD.js} +3 -3
  30. package/dist/{chunk-PIJQNKK6.js → chunk-MJT3HLPT.js} +5 -5
  31. package/dist/{chunk-2TZRSXDZ.js → chunk-MO56ATXB.js} +2 -2
  32. package/dist/{chunk-G4TC4KHZ.js → chunk-O5CFSRZQ.js} +3 -3
  33. package/dist/{chunk-L5WUZYLP.js → chunk-O6H7FQHP.js} +5 -5
  34. package/dist/{chunk-GEAZ65AU.js → chunk-OGVVZ2S7.js} +147 -207
  35. package/dist/{chunk-B7RN7IRD.js → chunk-QNY4RVJ6.js} +6 -1
  36. package/dist/{chunk-KDK32T2A.js → chunk-QY432MUX.js} +5 -5
  37. package/dist/{chunk-LHP5F5LY.js → chunk-SQBVLHAC.js} +4 -4
  38. package/dist/{chunk-QI5O2CU6.js → chunk-SXEJ7K5S.js} +5 -5
  39. package/dist/{chunk-NO7MYZEO.js → chunk-UMWKJFTM.js} +2 -2
  40. package/dist/{chunk-RX7VCI62.js → chunk-UOQXKH3J.js} +4 -4
  41. package/dist/{chunk-C2AKAEMR.js → chunk-VJLIWDQA.js} +7 -7
  42. package/dist/{chunk-LQX3GDBO.js → chunk-VZO77ESC.js} +2 -2
  43. package/dist/{chunk-QCK4QLB3.js → chunk-WEDQJLHL.js} +4 -4
  44. package/dist/{chunk-BKBHZTOE.js → chunk-X3GS3FMA.js} +3 -3
  45. package/dist/{chunk-TCQUNDAY.js → chunk-XPX5D55U.js} +3 -3
  46. package/dist/{chunk-JSLLI5MY.js → chunk-ZRXUHYJO.js} +3 -3
  47. package/dist/cli/commands/auth/logout.js +12 -12
  48. package/dist/cli/commands/auth/logout.test.js +13 -13
  49. package/dist/cli/commands/debug/command-flags.js +11 -11
  50. package/dist/cli/commands/demo/catalog.js +12 -12
  51. package/dist/cli/commands/demo/generate-file.js +12 -12
  52. package/dist/cli/commands/demo/index.js +12 -12
  53. package/dist/cli/commands/demo/print-ai-prompt.js +12 -12
  54. package/dist/cli/commands/docs/generate.js +11 -11
  55. package/dist/cli/commands/docs/generate.test.js +11 -11
  56. package/dist/cli/commands/help.js +11 -11
  57. package/dist/cli/commands/kitchen-sink/async.js +12 -12
  58. package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
  59. package/dist/cli/commands/kitchen-sink/index.js +14 -14
  60. package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
  61. package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
  62. package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
  63. package/dist/cli/commands/kitchen-sink/static.js +12 -12
  64. package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
  65. package/dist/cli/commands/search.js +12 -12
  66. package/dist/cli/commands/upgrade.js +11 -11
  67. package/dist/cli/commands/version.js +12 -12
  68. package/dist/cli/commands/version.test.js +12 -12
  69. package/dist/cli/services/commands/search.js +4 -4
  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 +7 -7
  73. package/dist/cli/services/demo.js +4 -4
  74. package/dist/cli/services/demo.test.js +4 -4
  75. package/dist/cli/services/kitchen-sink/async.js +4 -4
  76. package/dist/cli/services/kitchen-sink/prompts.js +4 -4
  77. package/dist/cli/services/kitchen-sink/static.js +4 -4
  78. package/dist/cli/services/upgrade.js +5 -5
  79. package/dist/cli/services/upgrade.test.js +7 -7
  80. package/dist/{constants-EVER32LA.js → constants-Y4XF72NG.js} +3 -3
  81. package/dist/{custom-oclif-loader-F5UKFNJS.js → custom-oclif-loader-PNWG2W6I.js} +4 -4
  82. package/dist/{error-handler-GCSQB44R.js → error-handler-Z5RKZIZJ.js} +10 -10
  83. package/dist/hooks/postrun.js +8 -8
  84. package/dist/hooks/prerun.js +6 -6
  85. package/dist/index.js +5075 -3023
  86. package/dist/{local-VDSO2Y52.js → local-DQQ4M6FZ.js} +4 -4
  87. package/dist/{morph-DQWX4LPS.js → morph-DN4AZJZW.js} +9 -9
  88. package/dist/{node-3B62KLPY.js → node-VYVGZGMI.js} +15 -15
  89. package/dist/{node-package-manager-QLAS6UPG.js → node-package-manager-GWVEMST6.js} +5 -5
  90. package/dist/{path-KUSF6CYC.js → path-ZCRJKM4K.js} +4 -2
  91. package/dist/{system-CPU6ZDBW.js → system-ACW6VUAL.js} +4 -4
  92. package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +1 -1
  93. package/dist/tsconfig.tsbuildinfo +1 -1
  94. package/dist/{ui-Y4GW3DUK.js → ui-R5XNTORG.js} +4 -4
  95. package/dist/{workerd-LSXMDY5M.js → workerd-DIO7G5QX.js} +14 -14
  96. package/oclif.manifest.json +150 -13
  97. package/package.json +7 -7
  98. package/dist/assets/hydrogen/starter/.graphqlrc.yml +0 -12
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clearCollectedLogs,
3
3
  collectedLogs
4
- } from "./chunk-6TPBPH6V.js";
4
+ } from "./chunk-KYAUWGQO.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-ZPL24Y2D.js";
@@ -26,4 +26,4 @@ function mockAndCaptureOutput() {
26
26
  export {
27
27
  mockAndCaptureOutput
28
28
  };
29
- //# sourceMappingURL=chunk-T7DHXEC7.js.map
29
+ //# sourceMappingURL=chunk-HL74OSDI.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  logout
3
- } from "./chunk-WIG6CPGR.js";
3
+ } from "./chunk-2VMOCSNT.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5A6QTLMF.js";
6
+ } from "./chunk-AGEDJDVG.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-6TPBPH6V.js";
9
+ } from "./chunk-KYAUWGQO.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-ZPL24Y2D.js";
@@ -26,4 +26,4 @@ var Logout = class extends base_command_default {
26
26
  export {
27
27
  Logout
28
28
  };
29
- //# sourceMappingURL=chunk-I6HNYSMO.js.map
29
+ //# sourceMappingURL=chunk-HVRGX6N6.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.64.0";
7
+ var CLI_KIT_VERSION = "3.65.0";
8
8
 
9
9
  export {
10
10
  CLI_KIT_VERSION
11
11
  };
12
- //# sourceMappingURL=chunk-YLPSXWEZ.js.map
12
+ //# sourceMappingURL=chunk-KGLWCSFT.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  prompts
3
- } from "./chunk-2TZRSXDZ.js";
3
+ } from "./chunk-MO56ATXB.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5A6QTLMF.js";
6
+ } from "./chunk-AGEDJDVG.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-ZPL24Y2D.js";
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkPrompts
27
27
  };
28
- //# sourceMappingURL=chunk-7GYETEC3.js.map
28
+ //# sourceMappingURL=chunk-KX6NLKOX.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  environmentVariables,
6
6
  pathConstants
7
- } from "./chunk-NO7MYZEO.js";
7
+ } from "./chunk-UMWKJFTM.js";
8
8
  import {
9
9
  require_cross_spawn,
10
10
  require_lib,
@@ -25,7 +25,7 @@ import {
25
25
  normalizePath,
26
26
  relativizePath,
27
27
  sniffForPath
28
- } from "./chunk-B7RN7IRD.js";
28
+ } from "./chunk-QNY4RVJ6.js";
29
29
  import {
30
30
  require_graceful_fs
31
31
  } from "./chunk-LSCXQWNO.js";
@@ -30396,7 +30396,7 @@ var require_node_abort_controller = __commonJS({
30396
30396
  "../../node_modules/.pnpm/node-abort-controller@3.1.1/node_modules/node-abort-controller/index.js"(exports, module) {
30397
30397
  init_cjs_shims();
30398
30398
  var { EventEmitter: EventEmitter4 } = __require("events");
30399
- var AbortSignal = class {
30399
+ var AbortSignal2 = class {
30400
30400
  constructor() {
30401
30401
  this.eventEmitter = new EventEmitter4();
30402
30402
  this.onabort = null;
@@ -30440,7 +30440,7 @@ var require_node_abort_controller = __commonJS({
30440
30440
  };
30441
30441
  var AbortController2 = class {
30442
30442
  constructor() {
30443
- this.signal = new AbortSignal();
30443
+ this.signal = new AbortSignal2();
30444
30444
  }
30445
30445
  abort(reason) {
30446
30446
  if (this.signal.aborted)
@@ -30459,7 +30459,7 @@ var require_node_abort_controller = __commonJS({
30459
30459
  return "AbortController";
30460
30460
  }
30461
30461
  };
30462
- module.exports = { AbortController: AbortController2, AbortSignal };
30462
+ module.exports = { AbortController: AbortController2, AbortSignal: AbortSignal2 };
30463
30463
  }
30464
30464
  });
30465
30465
 
@@ -37498,13 +37498,14 @@ var RawContentToken = class extends ContentToken {
37498
37498
  var LinkContentToken = class extends ContentToken {
37499
37499
  constructor(value, link2, fallback) {
37500
37500
  super(value);
37501
- this.link = link2;
37501
+ this.link = link2 ?? stringifyMessage(value);
37502
37502
  this.fallback = fallback;
37503
37503
  }
37504
37504
  output() {
37505
37505
  const text = source_default.green(stringifyMessage(this.value));
37506
37506
  const url = this.link ?? "";
37507
- return terminalLink(text, url, { fallback: () => this.fallback ?? `${text} ( ${url} )` });
37507
+ const defaultFallback = this.value === this.link ? text : `${text} ( ${url} )`;
37508
+ return terminalLink(text, url, { fallback: () => this.fallback ?? defaultFallback });
37508
37509
  }
37509
37510
  };
37510
37511
  var CommandContentToken = class extends ContentToken {
@@ -42784,6 +42785,8 @@ init_cjs_shims();
42784
42785
  var import_node_abort_controller = __toESM(require_node_abort_controller(), 1);
42785
42786
  var AbortController = class extends import_node_abort_controller.AbortController {
42786
42787
  };
42788
+ var AbortSignal = class extends import_node_abort_controller.AbortSignal {
42789
+ };
42787
42790
 
42788
42791
  // ../cli-kit/dist/public/node/metadata.js
42789
42792
  init_cjs_shims();
@@ -42819,7 +42822,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
42819
42822
  try {
42820
42823
  await getAndSet();
42821
42824
  } catch (error) {
42822
- const { sendErrorToBugsnag } = await import("./error-handler-GCSQB44R.js");
42825
+ const { sendErrorToBugsnag } = await import("./error-handler-Z5RKZIZJ.js");
42823
42826
  await sendErrorToBugsnag(error, "unexpected_error");
42824
42827
  }
42825
42828
  }
@@ -44991,7 +44994,7 @@ var keypress = async (stdin = process.stdin, uiDebugOptions = defaultUIDebugOpti
44991
44994
  });
44992
44995
  });
44993
44996
  };
44994
- function isTTY({ stdin = void 0, uiDebugOptions = defaultUIDebugOptions }) {
44997
+ function isTTY({ stdin = void 0, uiDebugOptions = defaultUIDebugOptions } = {}) {
44995
44998
  return Boolean(uiDebugOptions.skipTTYCheck || stdin || terminalSupportsRawMode());
44996
44999
  }
44997
45000
  function throwInNonTTY({ message, stdin = void 0 }, uiDebugOptions) {
@@ -45093,6 +45096,7 @@ export {
45093
45096
  findPathUp,
45094
45097
  matchGlob,
45095
45098
  AbortController,
45099
+ AbortSignal,
45096
45100
  createRuntimeMetadataContainer,
45097
45101
  getAllPublicMetadata,
45098
45102
  getAllSensitiveMetadata,
@@ -45301,4 +45305,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
45301
45305
  * LICENSE file in the root directory of this source tree.
45302
45306
  *)
45303
45307
  */
45304
- //# sourceMappingURL=chunk-6TPBPH6V.js.map
45308
+ //# sourceMappingURL=chunk-KYAUWGQO.js.map
@@ -2,7 +2,7 @@ import {
2
2
  init_cjs_shims
3
3
  } from "./chunk-ZPL24Y2D.js";
4
4
 
5
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-18e76ba-20240708092928_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
5
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.3.0_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
6
6
  init_cjs_shims();
7
7
 
8
8
  // ../../node_modules/.pnpm/get-port@7.1.0/node_modules/get-port/index.js
@@ -141,7 +141,7 @@ function portNumbers(from, to) {
141
141
  return generator(from, to);
142
142
  }
143
143
 
144
- // ../../node_modules/.pnpm/@shopify+cli-hydrogen@0.0.0-next-18e76ba-20240708092928_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
144
+ // ../../node_modules/.pnpm/@shopify+cli-hydrogen@8.3.0_@graphql-codegen+cli@5.0.2_react-dom@17.0.2_react@17.0.2/node_modules/@shopify/cli-hydrogen/dist/lib/find-port.js
145
145
  function findPort(portPreference, range = 100) {
146
146
  return getPorts({
147
147
  port: portNumbers(portPreference, portPreference + range)
@@ -151,4 +151,4 @@ function findPort(portPreference, range = 100) {
151
151
  export {
152
152
  findPort
153
153
  };
154
- //# sourceMappingURL=chunk-TSZPIP7J.js.map
154
+ //# sourceMappingURL=chunk-M6KGRVDD.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-LVLKZYIC.js";
3
+ } from "./chunk-GNEXBICT.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5A6QTLMF.js";
6
+ } from "./chunk-AGEDJDVG.js";
7
7
  import {
8
8
  outputInfo,
9
9
  readFile,
10
10
  renderAutocompletePrompt
11
- } from "./chunk-6TPBPH6V.js";
11
+ } from "./chunk-KYAUWGQO.js";
12
12
  import {
13
13
  joinPath
14
- } from "./chunk-B7RN7IRD.js";
14
+ } from "./chunk-QNY4RVJ6.js";
15
15
  import {
16
16
  init_cjs_shims
17
17
  } from "./chunk-ZPL24Y2D.js";
@@ -50,4 +50,4 @@ var Catalog = class extends base_command_default {
50
50
  export {
51
51
  Catalog
52
52
  };
53
- //# sourceMappingURL=chunk-PIJQNKK6.js.map
53
+ //# sourceMappingURL=chunk-MJT3HLPT.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-6TPBPH6V.js";
8
+ } from "./chunk-KYAUWGQO.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-ZPL24Y2D.js";
@@ -181,4 +181,4 @@ async function prompts() {
181
181
  export {
182
182
  prompts
183
183
  };
184
- //# sourceMappingURL=chunk-2TZRSXDZ.js.map
184
+ //# sourceMappingURL=chunk-MO56ATXB.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-5A6QTLMF.js";
3
+ } from "./chunk-AGEDJDVG.js";
4
4
  import {
5
5
  renderTable,
6
6
  renderText
7
- } from "./chunk-6TPBPH6V.js";
7
+ } from "./chunk-KYAUWGQO.js";
8
8
  import {
9
9
  require_lib
10
10
  } from "./chunk-GEN4RXTD.js";
@@ -96,4 +96,4 @@ var CommandFlags = class _CommandFlags extends base_command_default {
96
96
  export {
97
97
  CommandFlags
98
98
  };
99
- //# sourceMappingURL=chunk-G4TC4KHZ.js.map
99
+ //# sourceMappingURL=chunk-O5CFSRZQ.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  demo
3
- } from "./chunk-LVLKZYIC.js";
3
+ } from "./chunk-GNEXBICT.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-5A6QTLMF.js";
6
+ } from "./chunk-AGEDJDVG.js";
7
7
  import {
8
8
  readFile
9
- } from "./chunk-6TPBPH6V.js";
9
+ } from "./chunk-KYAUWGQO.js";
10
10
  import {
11
11
  require_lib
12
12
  } from "./chunk-GEN4RXTD.js";
13
13
  import {
14
14
  cwd,
15
15
  resolvePath
16
- } from "./chunk-B7RN7IRD.js";
16
+ } from "./chunk-QNY4RVJ6.js";
17
17
  import {
18
18
  __toESM,
19
19
  init_cjs_shims
@@ -58,4 +58,4 @@ var Demo = class _Demo extends base_command_default {
58
58
  export {
59
59
  Demo
60
60
  };
61
- //# sourceMappingURL=chunk-L5WUZYLP.js.map
61
+ //# sourceMappingURL=chunk-O6H7FQHP.js.map