@shopify/cli 3.75.0 → 3.75.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 (79) hide show
  1. package/dist/{chunk-KMPW66LQ.js → chunk-245U5NQK.js} +4 -4
  2. package/dist/{chunk-S4YW77H4.js → chunk-2TEPYAPA.js} +3 -3
  3. package/dist/{chunk-I3WJF5NM.js → chunk-4EZQAZ74.js} +6 -6
  4. package/dist/{chunk-W6IJP4MY.js → chunk-4MJNU2QF.js} +3 -3
  5. package/dist/{chunk-IML7XVTM.js → chunk-5CJ7VYH7.js} +2 -2
  6. package/dist/{chunk-MN33EVV7.js → chunk-63Z76ANM.js} +2 -2
  7. package/dist/{chunk-OK2LJ3F3.js → chunk-7CQUOSVH.js} +6 -6
  8. package/dist/{chunk-MOZOZ3LN.js → chunk-7HSAZRHC.js} +3 -3
  9. package/dist/{chunk-VM4XPRZK.js → chunk-7OOACYZ4.js} +3 -3
  10. package/dist/{chunk-T35HYPVZ.js → chunk-CV5T4LOB.js} +3 -3
  11. package/dist/{chunk-S576QAPY.js → chunk-DXX7H2IH.js} +2 -2
  12. package/dist/{chunk-B7ABTOI4.js → chunk-FGC2O2I5.js} +6 -6
  13. package/dist/{chunk-2FZJER24.js → chunk-FTFTFTDU.js} +3 -3
  14. package/dist/{chunk-TJDZDZWG.js → chunk-H3VLXETQ.js} +2 -2
  15. package/dist/{chunk-SWQM7ICR.js → chunk-IEEXWVOL.js} +2 -2
  16. package/dist/{chunk-L656JYPI.js → chunk-IHA7JJN4.js} +2 -2
  17. package/dist/{chunk-GMHA2S7O.js → chunk-IMWIHPKY.js} +3 -3
  18. package/dist/{chunk-5KSWCELC.js → chunk-IRNTKQVQ.js} +3 -3
  19. package/dist/{chunk-2B5C3QFS.js → chunk-JS6RLMBK.js} +3 -3
  20. package/dist/{chunk-QJQSCN3A.js → chunk-KR2ZEBN3.js} +4 -4
  21. package/dist/{chunk-GQIMWIIF.js → chunk-LJHVF5TJ.js} +4 -4
  22. package/dist/{chunk-IAM7IYO3.js → chunk-MTPFCNYB.js} +3 -3
  23. package/dist/{chunk-DV2H7WDY.js → chunk-NA34VFTA.js} +8 -8
  24. package/dist/{chunk-6HBKMQLD.js → chunk-P654UJXI.js} +5 -5
  25. package/dist/{chunk-BTMRJLQ7.js → chunk-PB3V422W.js} +5 -5
  26. package/dist/{chunk-ILXYHK4Q.js → chunk-PDZHLRZ2.js} +7 -7
  27. package/dist/{chunk-6XBYMBOQ.js → chunk-S3NMVYAF.js} +4 -4
  28. package/dist/{chunk-T4WJXSDW.js → chunk-SXT3JFLA.js} +4 -4
  29. package/dist/{chunk-ESYWXFSK.js → chunk-U673QDO3.js} +2 -2
  30. package/dist/{chunk-57EEPGQZ.js → chunk-UEEQNXRY.js} +3 -3
  31. package/dist/{chunk-S6L5743K.js → chunk-UYZDNGSJ.js} +2 -2
  32. package/dist/{chunk-6W5TMCT3.js → chunk-VSC4NMYT.js} +2 -2
  33. package/dist/{chunk-YVTRJWYT.js → chunk-Y5RMFD7I.js} +3 -3
  34. package/dist/{chunk-X3CFSDHA.js → chunk-YEOP3EMX.js} +2 -2
  35. package/dist/{chunk-BDLU7EEZ.js → chunk-ZJSUUIVI.js} +3 -3
  36. package/dist/cli/commands/auth/logout.js +12 -12
  37. package/dist/cli/commands/auth/logout.test.js +13 -13
  38. package/dist/cli/commands/cache/clear.js +11 -11
  39. package/dist/cli/commands/debug/command-flags.js +11 -11
  40. package/dist/cli/commands/docs/generate.js +11 -11
  41. package/dist/cli/commands/docs/generate.test.js +11 -11
  42. package/dist/cli/commands/help.js +11 -11
  43. package/dist/cli/commands/kitchen-sink/async.js +12 -12
  44. package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
  45. package/dist/cli/commands/kitchen-sink/index.js +14 -14
  46. package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
  47. package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
  48. package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
  49. package/dist/cli/commands/kitchen-sink/static.js +12 -12
  50. package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
  51. package/dist/cli/commands/notifications/generate.js +12 -12
  52. package/dist/cli/commands/notifications/list.js +12 -12
  53. package/dist/cli/commands/search.js +12 -12
  54. package/dist/cli/commands/upgrade.js +12 -12
  55. package/dist/cli/commands/version.js +12 -12
  56. package/dist/cli/commands/version.test.js +12 -12
  57. package/dist/cli/services/commands/notifications.js +6 -6
  58. package/dist/cli/services/commands/search.js +2 -2
  59. package/dist/cli/services/commands/search.test.js +2 -2
  60. package/dist/cli/services/commands/version.js +3 -3
  61. package/dist/cli/services/commands/version.test.js +4 -4
  62. package/dist/cli/services/kitchen-sink/async.js +2 -2
  63. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  64. package/dist/cli/services/kitchen-sink/static.js +2 -2
  65. package/dist/cli/services/upgrade.js +3 -3
  66. package/dist/cli/services/upgrade.test.js +5 -5
  67. package/dist/{custom-oclif-loader-MPQ33GKJ.js → custom-oclif-loader-5N4JRQ46.js} +2 -2
  68. package/dist/{error-handler-ABXDEJNM.js → error-handler-VQHDL26P.js} +9 -9
  69. package/dist/hooks/postrun.js +7 -7
  70. package/dist/hooks/prerun.js +7 -7
  71. package/dist/index.js +54 -50
  72. package/dist/{local-DGW3VZG7.js → local-NKJECUJ3.js} +2 -2
  73. package/dist/{node-GVOKD67H.js → node-RIZFDTN7.js} +13 -13
  74. package/dist/{node-package-manager-WEN6FJ7Z.js → node-package-manager-EOSRJYAN.js} +3 -3
  75. package/dist/tsconfig.tsbuildinfo +1 -1
  76. package/dist/{ui-TWIKWYG2.js → ui-II7LUT5P.js} +2 -2
  77. package/dist/{workerd-SK47YSGA.js → workerd-SKOXR5SE.js} +13 -13
  78. package/oclif.manifest.json +1 -1
  79. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -134,7 +134,7 @@ import {
134
134
  supressNodeExperimentalWarnings,
135
135
  unsetStorefront,
136
136
  waitForJob
137
- } from "./chunk-DV2H7WDY.js";
137
+ } from "./chunk-NA34VFTA.js";
138
138
  import {
139
139
  require_ms,
140
140
  require_src
@@ -153,68 +153,68 @@ import {
153
153
  } from "./chunk-MW7RWHY5.js";
154
154
  import {
155
155
  List
156
- } from "./chunk-YVTRJWYT.js";
156
+ } from "./chunk-Y5RMFD7I.js";
157
157
  import {
158
158
  Search
159
- } from "./chunk-S4YW77H4.js";
159
+ } from "./chunk-2TEPYAPA.js";
160
160
  import {
161
161
  Upgrade
162
- } from "./chunk-KMPW66LQ.js";
163
- import "./chunk-2B5C3QFS.js";
162
+ } from "./chunk-245U5NQK.js";
163
+ import "./chunk-JS6RLMBK.js";
164
164
  import {
165
165
  Version
166
- } from "./chunk-5KSWCELC.js";
167
- import "./chunk-IAM7IYO3.js";
168
- import "./chunk-ESYWXFSK.js";
166
+ } from "./chunk-IRNTKQVQ.js";
167
+ import "./chunk-MTPFCNYB.js";
168
+ import "./chunk-U673QDO3.js";
169
169
  import {
170
170
  KitchenSinkAll
171
- } from "./chunk-BTMRJLQ7.js";
171
+ } from "./chunk-PB3V422W.js";
172
172
  import {
173
173
  KitchenSinkPrompts
174
- } from "./chunk-VM4XPRZK.js";
175
- import "./chunk-IML7XVTM.js";
174
+ } from "./chunk-7OOACYZ4.js";
175
+ import "./chunk-5CJ7VYH7.js";
176
176
  import {
177
177
  KitchenSinkStatic
178
- } from "./chunk-MOZOZ3LN.js";
179
- import "./chunk-MN33EVV7.js";
178
+ } from "./chunk-7HSAZRHC.js";
179
+ import "./chunk-63Z76ANM.js";
180
180
  import {
181
181
  Generate
182
- } from "./chunk-W6IJP4MY.js";
183
- import "./chunk-T4WJXSDW.js";
182
+ } from "./chunk-4MJNU2QF.js";
183
+ import "./chunk-SXT3JFLA.js";
184
184
  import {
185
185
  Logout
186
- } from "./chunk-6XBYMBOQ.js";
186
+ } from "./chunk-S3NMVYAF.js";
187
187
  import {
188
188
  ensureAuthenticatedAdmin,
189
189
  ensureAuthenticatedAppManagementAndBusinessPlatform,
190
190
  ensureAuthenticatedPartners,
191
191
  ensureAuthenticatedStorefront,
192
192
  ensureAuthenticatedThemes
193
- } from "./chunk-BDLU7EEZ.js";
193
+ } from "./chunk-ZJSUUIVI.js";
194
194
  import {
195
195
  ClearCache,
196
196
  globalFlags,
197
197
  jsonFlag,
198
198
  runCLI
199
- } from "./chunk-ILXYHK4Q.js";
199
+ } from "./chunk-PDZHLRZ2.js";
200
200
  import {
201
201
  CommandFlags
202
- } from "./chunk-2FZJER24.js";
202
+ } from "./chunk-FTFTFTDU.js";
203
203
  import {
204
204
  DocsGenerate
205
- } from "./chunk-57EEPGQZ.js";
205
+ } from "./chunk-UEEQNXRY.js";
206
206
  import {
207
207
  HelpCommand
208
- } from "./chunk-6W5TMCT3.js";
208
+ } from "./chunk-VSC4NMYT.js";
209
209
  import {
210
210
  KitchenSinkAsync
211
- } from "./chunk-GMHA2S7O.js";
212
- import "./chunk-SWQM7ICR.js";
211
+ } from "./chunk-IMWIHPKY.js";
212
+ import "./chunk-IEEXWVOL.js";
213
213
  import {
214
214
  base_command_default,
215
215
  decodeToml,
216
216
  encodeToml
217
- } from "./chunk-QJQSCN3A.js";
217
+ } from "./chunk-KR2ZEBN3.js";
218
218
  import {
219
219
  require_byline,
220
220
  require_end_of_stream,
@@ -222,7 +222,7 @@ import {
222
222
  require_iserror,
223
223
  require_pump,
224
224
  require_stack_generator
225
- } from "./chunk-I3WJF5NM.js";
225
+ } from "./chunk-4EZQAZ74.js";
226
226
  import {
227
227
  require_once
228
228
  } from "./chunk-SHWOPMLQ.js";
@@ -230,7 +230,7 @@ import {
230
230
  fanoutHooks,
231
231
  getListOfTunnelPlugins,
232
232
  reportAnalyticsEvent
233
- } from "./chunk-B7ABTOI4.js";
233
+ } from "./chunk-FGC2O2I5.js";
234
234
  import {
235
235
  appManagementFqdn,
236
236
  developerDashboardFqdn,
@@ -242,14 +242,14 @@ import {
242
242
  restRequestBody,
243
243
  restRequestHeaders,
244
244
  restRequestUrl
245
- } from "./chunk-6HBKMQLD.js";
245
+ } from "./chunk-P654UJXI.js";
246
246
  import {
247
247
  platformAndArch,
248
248
  username
249
- } from "./chunk-TJDZDZWG.js";
249
+ } from "./chunk-H3VLXETQ.js";
250
250
  import {
251
251
  showNotificationsIfNeeded
252
- } from "./chunk-OK2LJ3F3.js";
252
+ } from "./chunk-7CQUOSVH.js";
253
253
  import {
254
254
  ClientError,
255
255
  FetchError,
@@ -260,11 +260,11 @@ import {
260
260
  require_lib as require_lib2,
261
261
  require_mime_types,
262
262
  z
263
- } from "./chunk-GQIMWIIF.js";
263
+ } from "./chunk-LJHVF5TJ.js";
264
264
  import "./chunk-25IMI7TH.js";
265
265
  import {
266
266
  CLI_KIT_VERSION
267
- } from "./chunk-S6L5743K.js";
267
+ } from "./chunk-UYZDNGSJ.js";
268
268
  import {
269
269
  LocalStorage,
270
270
  UnknownPackageManagerError,
@@ -287,7 +287,7 @@ import {
287
287
  usesWorkspaces,
288
288
  versionSatisfies,
289
289
  writePackageJSON
290
- } from "./chunk-S576QAPY.js";
290
+ } from "./chunk-DXX7H2IH.js";
291
291
  import {
292
292
  require_semver
293
293
  } from "./chunk-HMDWNGIV.js";
@@ -503,7 +503,7 @@ import {
503
503
  use_stdin_default,
504
504
  writeFile,
505
505
  writeFileSync
506
- } from "./chunk-X3CFSDHA.js";
506
+ } from "./chunk-YEOP3EMX.js";
507
507
  import "./chunk-B5EXYCV3.js";
508
508
  import {
509
509
  require_graceful_fs
@@ -173125,10 +173125,10 @@ async function buildAssetsUrl(port, root) {
173125
173125
  async function startMiniOxygen(options, useNodeRuntime = !1) {
173126
173126
  if (useNodeRuntime) {
173127
173127
  process.env.MINIFLARE_SUBREQUEST_LIMIT = 100;
173128
- let { startNodeServer } = await import("./node-GVOKD67H.js");
173128
+ let { startNodeServer } = await import("./node-RIZFDTN7.js");
173129
173129
  return startNodeServer(options);
173130
173130
  }
173131
- let { startWorkerdServer } = await import("./workerd-SK47YSGA.js");
173131
+ let { startWorkerdServer } = await import("./workerd-SKOXR5SE.js");
173132
173132
  return startWorkerdServer(options);
173133
173133
  }
173134
173134
 
@@ -179828,7 +179828,7 @@ async function selectAppPrompt(onSearchForAppsByName, apps, hasMorePages, option
179828
179828
  });
179829
179829
  return currentAppChoices.find((app) => app.apiKey === apiKey);
179830
179830
  }
179831
- async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresByName = (_term) => Promise.resolve({ stores, hasMorePages }), showDomainOnPrompt = !0 }) {
179831
+ async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresByName, showDomainOnPrompt = !0 }) {
179832
179832
  if (stores.length === 0)
179833
179833
  return;
179834
179834
  if (stores.length === 1)
@@ -179836,19 +179836,21 @@ async function selectStorePrompt({ stores, hasMorePages = !1, onSearchForStoresB
179836
179836
  let storeToChoice = (store) => {
179837
179837
  let label = store.shopName;
179838
179838
  return showDomainOnPrompt && store.shopDomain && (label = `${store.shopName} (${store.shopDomain})`), { label, value: store.shopId };
179839
- }, currentStores = stores, id = await renderAutocompletePrompt({
179839
+ }, currentStores = stores, extraAutocompletePromptProps = {};
179840
+ onSearchForStoresByName && (extraAutocompletePromptProps.search = async (term) => {
179841
+ let result = await onSearchForStoresByName(term);
179842
+ return currentStores = result.stores, {
179843
+ data: currentStores.map(storeToChoice),
179844
+ meta: {
179845
+ hasNextPage: result.hasMorePages
179846
+ }
179847
+ };
179848
+ });
179849
+ let id = await renderAutocompletePrompt({
179840
179850
  message: "Which store would you like to use to view your project?",
179841
179851
  choices: currentStores.map(storeToChoice),
179842
179852
  hasMorePages,
179843
- search: async (term) => {
179844
- let result = await onSearchForStoresByName(term);
179845
- return currentStores = result.stores, {
179846
- data: currentStores.map(storeToChoice),
179847
- meta: {
179848
- hasNextPage: result.hasMorePages
179849
- }
179850
- };
179851
- }
179853
+ ...extraAutocompletePromptProps
179852
179854
  });
179853
179855
  return currentStores.find((store) => store.shopId === id);
179854
179856
  }
@@ -180949,7 +180951,7 @@ function getAppVars(org, name, isLaunchable = !0, scopesArray) {
180949
180951
  }
180950
180952
  var PartnersClient = class {
180951
180953
  constructor(session) {
180952
- this.clientName = ClientName.Partners, this.webUiName = "Partner Dashboard", this.supportsAtomicDeployments = !1, this.requiresOrganization = !1, this.supportsDevSessions = !1, this.organizationSource = OrganizationSource.Partners, this._session = session;
180954
+ this.clientName = ClientName.Partners, this.webUiName = "Partner Dashboard", this.supportsAtomicDeployments = !1, this.requiresOrganization = !1, this.supportsDevSessions = !1, this.supportsStoreSearch = !1, this.organizationSource = OrganizationSource.Partners, this._session = session;
180953
180955
  }
180954
180956
  async session() {
180955
180957
  if (!this._session) {
@@ -183075,7 +183077,7 @@ async function functionsRequestDoc(orgId, query, token, appId, variables) {
183075
183077
  // ../app/dist/cli/utilities/developer-platform-client/app-management-client.js
183076
183078
  var TEMPLATE_JSON_URL = "https://cdn.shopify.com/static/cli/extensions/templates.json", AppManagementClient = class {
183077
183079
  constructor(session) {
183078
- this.clientName = ClientName.AppManagement, this.webUiName = "Developer Dashboard", this.requiresOrganization = !0, this.supportsAtomicDeployments = !0, this.supportsDevSessions = !0, this.organizationSource = OrganizationSource.BusinessPlatform, this._session = session;
183080
+ this.clientName = ClientName.AppManagement, this.webUiName = "Developer Dashboard", this.requiresOrganization = !0, this.supportsAtomicDeployments = !0, this.supportsDevSessions = !0, this.supportsStoreSearch = !0, this.organizationSource = OrganizationSource.BusinessPlatform, this._session = session;
183079
183081
  }
183080
183082
  async subscribeToAppLogs(input) {
183081
183083
  throw new Error(`Not Implemented: ${JSON.stringify(input)}`);
@@ -190006,8 +190008,10 @@ init_cjs_shims();
190006
190008
  // ../app/dist/cli/services/dev/select-store.js
190007
190009
  init_cjs_shims();
190008
190010
  async function selectStore(storesSearch, org, developerPlatformClient) {
190009
- let showDomainOnPrompt = developerPlatformClient.clientName === ClientName.AppManagement, store = await selectStorePrompt({
190010
- onSearchForStoresByName: async (term) => developerPlatformClient.devStoresForOrg(org.id, term),
190011
+ let showDomainOnPrompt = developerPlatformClient.clientName === ClientName.AppManagement, onSearchForStoresByName;
190012
+ developerPlatformClient.supportsStoreSearch && (onSearchForStoresByName = async (term) => developerPlatformClient.devStoresForOrg(org.id, term));
190013
+ let store = await selectStorePrompt({
190014
+ onSearchForStoresByName,
190011
190015
  ...storesSearch,
190012
190016
  showDomainOnPrompt
190013
190017
  });
@@ -23,7 +23,7 @@ import {
23
23
  themeToken,
24
24
  useEmbeddedThemeCLI,
25
25
  useThemebundling
26
- } from "./chunk-X3CFSDHA.js";
26
+ } from "./chunk-YEOP3EMX.js";
27
27
  import "./chunk-B5EXYCV3.js";
28
28
  import "./chunk-75LV6AQS.js";
29
29
  import "./chunk-57Q6OQG4.js";
@@ -63,4 +63,4 @@ export {
63
63
  useEmbeddedThemeCLI,
64
64
  useThemebundling
65
65
  };
66
- //# sourceMappingURL=local-DGW3VZG7.js.map
66
+ //# sourceMappingURL=local-NKJECUJ3.js.map
@@ -12,21 +12,21 @@ import {
12
12
  importLocal,
13
13
  logRequestLine,
14
14
  setConstructors
15
- } from "./chunk-DV2H7WDY.js";
15
+ } from "./chunk-NA34VFTA.js";
16
16
  import "./chunk-LQ2ZKVR6.js";
17
17
  import "./chunk-CP3BRHWK.js";
18
- import "./chunk-BDLU7EEZ.js";
19
- import "./chunk-QJQSCN3A.js";
20
- import "./chunk-I3WJF5NM.js";
18
+ import "./chunk-ZJSUUIVI.js";
19
+ import "./chunk-KR2ZEBN3.js";
20
+ import "./chunk-4EZQAZ74.js";
21
21
  import "./chunk-SHWOPMLQ.js";
22
- import "./chunk-B7ABTOI4.js";
23
- import "./chunk-6HBKMQLD.js";
24
- import "./chunk-TJDZDZWG.js";
25
- import "./chunk-OK2LJ3F3.js";
26
- import "./chunk-GQIMWIIF.js";
22
+ import "./chunk-FGC2O2I5.js";
23
+ import "./chunk-P654UJXI.js";
24
+ import "./chunk-H3VLXETQ.js";
25
+ import "./chunk-7CQUOSVH.js";
26
+ import "./chunk-LJHVF5TJ.js";
27
27
  import "./chunk-25IMI7TH.js";
28
- import "./chunk-S6L5743K.js";
29
- import "./chunk-S576QAPY.js";
28
+ import "./chunk-UYZDNGSJ.js";
29
+ import "./chunk-DXX7H2IH.js";
30
30
  import "./chunk-HMDWNGIV.js";
31
31
  import {
32
32
  AbortError,
@@ -34,7 +34,7 @@ import {
34
34
  readFile,
35
35
  renderSuccess,
36
36
  source_default
37
- } from "./chunk-X3CFSDHA.js";
37
+ } from "./chunk-YEOP3EMX.js";
38
38
  import "./chunk-B5EXYCV3.js";
39
39
  import "./chunk-75LV6AQS.js";
40
40
  import "./chunk-57Q6OQG4.js";
@@ -164,4 +164,4 @@ async function startNodeServer({
164
164
  export {
165
165
  startNodeServer
166
166
  };
167
- //# sourceMappingURL=node-GVOKD67H.js.map
167
+ //# sourceMappingURL=node-RIZFDTN7.js.map
@@ -29,9 +29,9 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-S576QAPY.js";
32
+ } from "./chunk-DXX7H2IH.js";
33
33
  import "./chunk-HMDWNGIV.js";
34
- import "./chunk-X3CFSDHA.js";
34
+ import "./chunk-YEOP3EMX.js";
35
35
  import "./chunk-B5EXYCV3.js";
36
36
  import "./chunk-75LV6AQS.js";
37
37
  import "./chunk-57Q6OQG4.js";
@@ -77,4 +77,4 @@ export {
77
77
  writePackageJSON,
78
78
  yarnLockfile
79
79
  };
80
- //# sourceMappingURL=node-package-manager-WEN6FJ7Z.js.map
80
+ //# sourceMappingURL=node-package-manager-EOSRJYAN.js.map