@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
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-DLK3F3DC.js";
4
4
  import {
5
5
  demoStepsSchema
6
- } from "./chunk-BMTG2VHL.js";
6
+ } from "./chunk-WJ6UGHRU.js";
7
7
  import {
8
8
  base_command_default
9
- } from "./chunk-5X4QXYEZ.js";
9
+ } from "./chunk-NVFSN34M.js";
10
10
  import {
11
11
  AbortError,
12
12
  fileExists,
@@ -17,7 +17,7 @@ import {
17
17
  readFile,
18
18
  renderAutocompletePrompt,
19
19
  writeFile
20
- } from "./chunk-WAEWSGBK.js";
20
+ } from "./chunk-TYOQQCHN.js";
21
21
  import {
22
22
  require_lib
23
23
  } from "./chunk-GEN4RXTD.js";
@@ -35,7 +35,7 @@ import {
35
35
  init_cjs_shims();
36
36
  var import_zod_to_json_schema = __toESM(require_zod_to_json_schema(), 1);
37
37
  var import_core = __toESM(require_lib(), 1);
38
- import { fileURLToPath } from "url";
38
+ import { createRequire } from "module";
39
39
  var schemaFilename = "demo-schema.json";
40
40
  var GenerateFile = class _GenerateFile extends base_command_default {
41
41
  static {
@@ -97,7 +97,8 @@ var GenerateFile = class _GenerateFile extends base_command_default {
97
97
  }
98
98
  };
99
99
  async function selectSteps() {
100
- const catalogFile = joinPath(fileURLToPath(import.meta.url), "../../../../../assets/demo-catalog.json");
100
+ const require2 = createRequire(import.meta.url);
101
+ const catalogFile = require2.resolve("@shopify/cli/assets/demo-catalog.json");
101
102
  const { steps } = JSON.parse(await readFile(catalogFile));
102
103
  const selectedSteps = [];
103
104
  while (true) {
@@ -127,4 +128,4 @@ async function selectSteps() {
127
128
  export {
128
129
  GenerateFile
129
130
  };
130
- //# sourceMappingURL=chunk-VS6RWOLM.js.map
131
+ //# sourceMappingURL=chunk-N5XLVLT2.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Conf,
3
3
  latestVersion
4
- } from "./chunk-RUSG4O2Z.js";
4
+ } from "./chunk-DIRL62CL.js";
5
5
  import {
6
6
  require_semver
7
7
  } from "./chunk-PRJ3U7MR.js";
@@ -20,7 +20,7 @@ import {
20
20
  readFile,
21
21
  runWithTimer,
22
22
  writeFile
23
- } from "./chunk-WAEWSGBK.js";
23
+ } from "./chunk-TYOQQCHN.js";
24
24
  import {
25
25
  dirname,
26
26
  joinPath
@@ -493,4 +493,4 @@ export {
493
493
  writePackageJSON,
494
494
  node_package_manager_exports
495
495
  };
496
- //# sourceMappingURL=chunk-22PYIFA2.js.map
496
+ //# sourceMappingURL=chunk-NBSFQYKI.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-WAEWSGBK.js";
4
+ } from "./chunk-TYOQQCHN.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-ZPL24Y2D.js";
@@ -59,4 +59,4 @@ async function asyncTasks() {
59
59
  export {
60
60
  asyncTasks
61
61
  };
62
- //# sourceMappingURL=chunk-A5STII7T.js.map
62
+ //# sourceMappingURL=chunk-NIEJLNRY.js.map
@@ -4,10 +4,10 @@ import {
4
4
  import {
5
5
  errorHandler,
6
6
  registerCleanBugsnagErrorsFromWithinPlugins
7
- } from "./chunk-JKYNFUD3.js";
7
+ } from "./chunk-MO3UHUJB.js";
8
8
  import {
9
9
  hashString
10
- } from "./chunk-ADESJ2KG.js";
10
+ } from "./chunk-QCB66M7L.js";
11
11
  import {
12
12
  AbortError,
13
13
  addPublicMetadata,
@@ -23,7 +23,7 @@ import {
23
23
  renderWarning,
24
24
  terminalSupportsRawMode,
25
25
  underscore
26
- } from "./chunk-WAEWSGBK.js";
26
+ } from "./chunk-TYOQQCHN.js";
27
27
  import {
28
28
  require_lib
29
29
  } from "./chunk-GEN4RXTD.js";
@@ -86,6 +86,10 @@ async function loadEnvironment(environmentName, fileName, options) {
86
86
  // ../cli-kit/src/public/node/base-command.ts
87
87
  var import_core = __toESM(require_lib(), 1);
88
88
  var BaseCommand = class extends import_core.Command {
89
+ static {
90
+ // eslint-disable-next-line @typescript-eslint/ban-types
91
+ this.baseFlags = {};
92
+ }
89
93
  // Replace markdown links to plain text like: "link label" (url)
90
94
  static descriptionWithoutMarkdown() {
91
95
  return (this.descriptionWithMarkdown ?? "").replace(/(\[)(.*?)(])(\()(.*?)(\))/gm, '"$2" ($5)');
@@ -258,4 +262,4 @@ export {
258
262
  encodeToml,
259
263
  base_command_default
260
264
  };
261
- //# sourceMappingURL=chunk-5X4QXYEZ.js.map
265
+ //# sourceMappingURL=chunk-NVFSN34M.js.map
@@ -4,7 +4,7 @@ import {
4
4
  findUpAndReadPackageJson,
5
5
  getPackageManager,
6
6
  usesWorkspaces
7
- } from "./chunk-22PYIFA2.js";
7
+ } from "./chunk-NBSFQYKI.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-WAEWSGBK.js";
18
+ } from "./chunk-TYOQQCHN.js";
19
19
  import {
20
20
  dirname,
21
21
  joinPath,
@@ -167,4 +167,4 @@ function usingPackageManager({ env } = { env: process.env }) {
167
167
  export {
168
168
  upgrade
169
169
  };
170
- //# sourceMappingURL=chunk-MG6QFKFM.js.map
170
+ //# sourceMappingURL=chunk-OHZL7KKD.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-5X4QXYEZ.js";
3
+ } from "./chunk-NVFSN34M.js";
4
4
  import {
5
5
  mkdir,
6
6
  outputInfo,
7
7
  rmdir,
8
8
  writeFile
9
- } from "./chunk-WAEWSGBK.js";
9
+ } from "./chunk-TYOQQCHN.js";
10
10
  import {
11
11
  cwd,
12
12
  joinPath
@@ -154,4 +154,4 @@ export {
154
154
  writeCommandFlagInterface,
155
155
  writeCommandUsageExampleFile
156
156
  };
157
- //# sourceMappingURL=chunk-W5VEUSWG.js.map
157
+ //# sourceMappingURL=chunk-OVW3UN2A.js.map
@@ -7,7 +7,7 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-WAEWSGBK.js";
10
+ } from "./chunk-TYOQQCHN.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-ZPL24Y2D.js";
@@ -194,4 +194,4 @@ async function staticService() {
194
194
  export {
195
195
  staticService
196
196
  };
197
- //# sourceMappingURL=chunk-7MXLRMOY.js.map
197
+ //# sourceMappingURL=chunk-QAB3YP77.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  platformAndArch
3
- } from "./chunk-66NABVCG.js";
3
+ } from "./chunk-ARLG6JTK.js";
4
4
  import {
5
5
  getPackageManager,
6
6
  packageManagerFromUserAgent
7
- } from "./chunk-22PYIFA2.js";
7
+ } from "./chunk-NBSFQYKI.js";
8
8
  import {
9
9
  addPublicMetadata,
10
10
  addSensitiveMetadata,
@@ -12,7 +12,7 @@ import {
12
12
  cloudEnvironment,
13
13
  currentProcessIsGlobal,
14
14
  macAddress
15
- } from "./chunk-WAEWSGBK.js";
15
+ } from "./chunk-TYOQQCHN.js";
16
16
  import {
17
17
  cwd
18
18
  } from "./chunk-UNPXLODI.js";
@@ -121,4 +121,4 @@ export {
121
121
  getEnvironmentData,
122
122
  getSensitiveEnvironmentData
123
123
  };
124
- //# sourceMappingURL=chunk-ADESJ2KG.js.map
124
+ //# sourceMappingURL=chunk-QCB66M7L.js.map