@shopify/cli 3.84.1 → 3.84.2

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 (77) hide show
  1. package/dist/{chunk-7AEOEVGT.js → chunk-2TBGVDDK.js} +3 -3
  2. package/dist/{chunk-JB4IBM6F.js → chunk-46YOOMEM.js} +2 -2
  3. package/dist/{chunk-4JIM2QT7.js → chunk-6A27UWO7.js} +4 -4
  4. package/dist/{chunk-FUWTEDP2.js → chunk-6JFZSZKE.js} +10 -10
  5. package/dist/{chunk-DNXNKHZO.js → chunk-7UHRC35E.js} +2 -2
  6. package/dist/{chunk-57KJCVB5.js → chunk-7YVG6N4O.js} +2 -2
  7. package/dist/{chunk-2HA6WHOK.js → chunk-AQVXNWM2.js} +2 -2
  8. package/dist/{chunk-JNDSQA4U.js → chunk-BSKQ4RKV.js} +3 -3
  9. package/dist/{chunk-IM2PF4V5.js → chunk-BX2C6EVM.js} +2 -2
  10. package/dist/{chunk-N2463ZYG.js → chunk-DCU33ZNP.js} +2 -2
  11. package/dist/{chunk-PQCWFPSI.js → chunk-DZCCH5OM.js} +7 -7
  12. package/dist/{chunk-NBOUUR2C.js → chunk-G74IQQ6M.js} +3 -3
  13. package/dist/{chunk-MQQ5ZTSK.js → chunk-JHLYV5K7.js} +4 -4
  14. package/dist/{chunk-IRF44N7J.js → chunk-KHBZ52PT.js} +3 -3
  15. package/dist/{chunk-KS7CKFXX.js → chunk-L5OKA4W4.js} +5 -5
  16. package/dist/{chunk-MCEP4L5M.js → chunk-M6EH6UKK.js} +3 -3
  17. package/dist/{chunk-77NCO4UD.js → chunk-MRQXBTNU.js} +3 -3
  18. package/dist/{chunk-DSKW7GLZ.js → chunk-MXDBI4PG.js} +5 -5
  19. package/dist/{chunk-DVZ22YSP.js → chunk-OCEWRJZI.js} +3 -3
  20. package/dist/{chunk-TW3OHW6H.js → chunk-QS5WPZTS.js} +6 -6
  21. package/dist/{chunk-QO4ILPU2.js → chunk-RTTTZZGY.js} +3 -3
  22. package/dist/{chunk-YQVYH3XF.js → chunk-SJMHVGQ5.js} +4 -4
  23. package/dist/{chunk-T4K4LRMO.js → chunk-SM7O6ZFJ.js} +4 -4
  24. package/dist/{chunk-R3FZ7BFA.js → chunk-T2Z26YN7.js} +3 -3
  25. package/dist/{chunk-SKEV2KRG.js → chunk-TAA5HGRT.js} +2 -2
  26. package/dist/{chunk-5G56F2K6.js → chunk-TFVMB62A.js} +6 -6
  27. package/dist/{chunk-Y4JV2C2F.js → chunk-UOLT7THS.js} +3 -3
  28. package/dist/{chunk-ES5N6OQW.js → chunk-XD5EFQE2.js} +4 -4
  29. package/dist/{chunk-JJH27HLJ.js → chunk-YNNUWX3I.js} +3 -3
  30. package/dist/{chunk-K5XXB73S.js → chunk-YPRC4TK6.js} +6 -6
  31. package/dist/{chunk-FYGQPHYH.js → chunk-YUI23PKV.js} +2 -2
  32. package/dist/{chunk-2M63OZ6L.js → chunk-Z6MEYGAG.js} +3 -3
  33. package/dist/{chunk-GWETXJR2.js → chunk-ZBPY6YL5.js} +6 -6
  34. package/dist/{chunk-42TDSAFO.js → chunk-ZRU5CKDG.js} +3 -3
  35. package/dist/cli/commands/auth/logout.js +11 -11
  36. package/dist/cli/commands/auth/logout.test.js +12 -12
  37. package/dist/cli/commands/cache/clear.js +10 -10
  38. package/dist/cli/commands/debug/command-flags.js +10 -10
  39. package/dist/cli/commands/docs/generate.js +10 -10
  40. package/dist/cli/commands/docs/generate.test.js +10 -10
  41. package/dist/cli/commands/help.js +10 -10
  42. package/dist/cli/commands/kitchen-sink/async.js +11 -11
  43. package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
  44. package/dist/cli/commands/kitchen-sink/index.js +13 -13
  45. package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
  46. package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
  47. package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
  48. package/dist/cli/commands/kitchen-sink/static.js +11 -11
  49. package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
  50. package/dist/cli/commands/notifications/generate.js +11 -11
  51. package/dist/cli/commands/notifications/list.js +11 -11
  52. package/dist/cli/commands/search.js +11 -11
  53. package/dist/cli/commands/upgrade.js +11 -11
  54. package/dist/cli/commands/version.js +11 -11
  55. package/dist/cli/commands/version.test.js +11 -11
  56. package/dist/cli/services/commands/notifications.js +6 -6
  57. package/dist/cli/services/commands/search.js +2 -2
  58. package/dist/cli/services/commands/search.test.js +2 -2
  59. package/dist/cli/services/commands/version.js +3 -3
  60. package/dist/cli/services/commands/version.test.js +4 -4
  61. package/dist/cli/services/kitchen-sink/async.js +2 -2
  62. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  63. package/dist/cli/services/kitchen-sink/static.js +2 -2
  64. package/dist/cli/services/upgrade.js +3 -3
  65. package/dist/cli/services/upgrade.test.js +4 -4
  66. package/dist/{custom-oclif-loader-LOMFS5PB.js → custom-oclif-loader-BBMEEF2H.js} +2 -2
  67. package/dist/{error-handler-TQKQ3EAE.js → error-handler-734CUCMD.js} +8 -8
  68. package/dist/hooks/postrun.js +6 -6
  69. package/dist/hooks/prerun.js +7 -7
  70. package/dist/index.js +37 -36
  71. package/dist/{local-76WZCPFM.js → local-5AKZWHSS.js} +2 -2
  72. package/dist/{node-package-manager-OCGFQDFC.js → node-package-manager-DMOU4DTB.js} +3 -3
  73. package/dist/tsconfig.tsbuildinfo +1 -1
  74. package/dist/{ui-A52PK2HZ.js → ui-JQXGLHMO.js} +2 -2
  75. package/dist/{workerd-PHNPZMMV.js → workerd-FTKMK3NR.js} +12 -12
  76. package/oclif.manifest.json +1 -1
  77. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -129,7 +129,7 @@ import {
129
129
  supressNodeExperimentalWarnings,
130
130
  unsetStorefront,
131
131
  waitForJob
132
- } from "./chunk-FUWTEDP2.js";
132
+ } from "./chunk-6JFZSZKE.js";
133
133
  import {
134
134
  require_fs,
135
135
  require_glob,
@@ -144,37 +144,37 @@ import {
144
144
  } from "./chunk-3GXB4ZRP.js";
145
145
  import {
146
146
  List
147
- } from "./chunk-ES5N6OQW.js";
147
+ } from "./chunk-XD5EFQE2.js";
148
148
  import {
149
149
  Search
150
- } from "./chunk-QO4ILPU2.js";
150
+ } from "./chunk-RTTTZZGY.js";
151
151
  import {
152
152
  Upgrade
153
- } from "./chunk-4JIM2QT7.js";
154
- import "./chunk-7AEOEVGT.js";
153
+ } from "./chunk-6A27UWO7.js";
154
+ import "./chunk-2TBGVDDK.js";
155
155
  import {
156
156
  Version
157
- } from "./chunk-Y4JV2C2F.js";
158
- import "./chunk-R3FZ7BFA.js";
159
- import "./chunk-JB4IBM6F.js";
157
+ } from "./chunk-UOLT7THS.js";
158
+ import "./chunk-T2Z26YN7.js";
159
+ import "./chunk-46YOOMEM.js";
160
160
  import {
161
161
  KitchenSinkAll
162
- } from "./chunk-KS7CKFXX.js";
162
+ } from "./chunk-L5OKA4W4.js";
163
163
  import {
164
164
  KitchenSinkPrompts
165
- } from "./chunk-2M63OZ6L.js";
166
- import "./chunk-DNXNKHZO.js";
165
+ } from "./chunk-Z6MEYGAG.js";
166
+ import "./chunk-7UHRC35E.js";
167
167
  import {
168
168
  KitchenSinkStatic
169
- } from "./chunk-NBOUUR2C.js";
170
- import "./chunk-IM2PF4V5.js";
169
+ } from "./chunk-G74IQQ6M.js";
170
+ import "./chunk-BX2C6EVM.js";
171
171
  import {
172
172
  Generate
173
- } from "./chunk-JNDSQA4U.js";
174
- import "./chunk-DSKW7GLZ.js";
173
+ } from "./chunk-BSKQ4RKV.js";
174
+ import "./chunk-MXDBI4PG.js";
175
175
  import {
176
176
  Logout
177
- } from "./chunk-MQQ5ZTSK.js";
177
+ } from "./chunk-JHLYV5K7.js";
178
178
  import {
179
179
  ensureAuthenticatedAdmin,
180
180
  ensureAuthenticatedAppManagementAndBusinessPlatform,
@@ -182,32 +182,32 @@ import {
182
182
  ensureAuthenticatedPartners,
183
183
  ensureAuthenticatedStorefront,
184
184
  ensureAuthenticatedThemes
185
- } from "./chunk-YQVYH3XF.js";
185
+ } from "./chunk-SJMHVGQ5.js";
186
186
  import {
187
187
  ClearCache,
188
188
  globalFlags,
189
189
  jsonFlag,
190
190
  runCLI
191
- } from "./chunk-PQCWFPSI.js";
191
+ } from "./chunk-DZCCH5OM.js";
192
192
  import {
193
193
  CommandFlags
194
- } from "./chunk-42TDSAFO.js";
194
+ } from "./chunk-ZRU5CKDG.js";
195
195
  import {
196
196
  DocsGenerate
197
- } from "./chunk-MCEP4L5M.js";
197
+ } from "./chunk-M6EH6UKK.js";
198
198
  import {
199
199
  HelpCommand
200
- } from "./chunk-N2463ZYG.js";
200
+ } from "./chunk-DCU33ZNP.js";
201
201
  import {
202
202
  KitchenSinkAsync
203
- } from "./chunk-77NCO4UD.js";
204
- import "./chunk-57KJCVB5.js";
203
+ } from "./chunk-MRQXBTNU.js";
204
+ import "./chunk-7YVG6N4O.js";
205
205
  import {
206
206
  base_command_default,
207
207
  decodeToml,
208
208
  encodeToml,
209
209
  loadEnvironment
210
- } from "./chunk-TW3OHW6H.js";
210
+ } from "./chunk-QS5WPZTS.js";
211
211
  import {
212
212
  require_byline,
213
213
  require_end_of_stream,
@@ -215,7 +215,7 @@ import {
215
215
  require_iserror,
216
216
  require_pump,
217
217
  require_stack_generator
218
- } from "./chunk-5G56F2K6.js";
218
+ } from "./chunk-TFVMB62A.js";
219
219
  import {
220
220
  require_once
221
221
  } from "./chunk-SHWOPMLQ.js";
@@ -223,7 +223,7 @@ import {
223
223
  fanoutHooks,
224
224
  getListOfTunnelPlugins,
225
225
  reportAnalyticsEvent
226
- } from "./chunk-K5XXB73S.js";
226
+ } from "./chunk-YPRC4TK6.js";
227
227
  import {
228
228
  DevServerCore,
229
229
  adminFqdn,
@@ -236,10 +236,10 @@ import {
236
236
  normalizeStoreFqdn,
237
237
  ok,
238
238
  partnersFqdn
239
- } from "./chunk-T4K4LRMO.js";
239
+ } from "./chunk-SM7O6ZFJ.js";
240
240
  import {
241
241
  showNotificationsIfNeeded
242
- } from "./chunk-GWETXJR2.js";
242
+ } from "./chunk-ZBPY6YL5.js";
243
243
  import {
244
244
  ClientError,
245
245
  FetchError,
@@ -267,11 +267,11 @@ import {
267
267
  require_type,
268
268
  shopifyFetch,
269
269
  z
270
- } from "./chunk-DVZ22YSP.js";
270
+ } from "./chunk-OCEWRJZI.js";
271
271
  import "./chunk-25IMI7TH.js";
272
272
  import {
273
273
  CLI_KIT_VERSION
274
- } from "./chunk-FYGQPHYH.js";
274
+ } from "./chunk-YUI23PKV.js";
275
275
  import {
276
276
  LocalStorage,
277
277
  UnknownPackageManagerError,
@@ -295,7 +295,7 @@ import {
295
295
  usesWorkspaces,
296
296
  versionSatisfies,
297
297
  writePackageJSON
298
- } from "./chunk-IRF44N7J.js";
298
+ } from "./chunk-KHBZ52PT.js";
299
299
  import {
300
300
  AbortController as AbortController2,
301
301
  AbortError,
@@ -513,7 +513,7 @@ import {
513
513
  username,
514
514
  writeFile,
515
515
  writeFileSync
516
- } from "./chunk-SKEV2KRG.js";
516
+ } from "./chunk-TAA5HGRT.js";
517
517
  import {
518
518
  require_graceful_fs
519
519
  } from "./chunk-75LV6AQS.js";
@@ -206554,7 +206554,7 @@ var import_core29 = __toESM(require_lib(), 1);
206554
206554
  // ../../node_modules/.pnpm/@shopify+cli-hydrogen@11.1.3_@graphql-codegen+cli@5.0.4_@parcel+watcher@2.5.1_@types+no_571e6f0170478bea3c59260825bed3cb/node_modules/@shopify/cli-hydrogen/dist/lib/mini-oxygen/index.js
206555
206555
  init_cjs_shims();
206556
206556
  async function startMiniOxygen(options) {
206557
- let { startWorkerdServer } = await import("./workerd-PHNPZMMV.js");
206557
+ let { startWorkerdServer } = await import("./workerd-FTKMK3NR.js");
206558
206558
  return startWorkerdServer(options);
206559
206559
  }
206560
206560
 
@@ -213891,7 +213891,8 @@ var ActiveAppReleaseFromApiKey = {
213891
213891
  }
213892
213892
  ]
213893
213893
  }
213894
- }
213894
+ },
213895
+ { kind: "Field", name: { kind: "Name", value: "grantedShopifyApprovalScopes" } }
213895
213896
  ]
213896
213897
  }
213897
213898
  },
@@ -215493,14 +215494,14 @@ var TEMPLATE_JSON_URL = "https://cdn.shopify.com/static/cli/extensions/templates
215493
215494
  return (await this.session()).accountInfo;
215494
215495
  }
215495
215496
  async appFromIdentifiers(apiKey) {
215496
- let { app } = await this.activeAppVersionRawResult(apiKey), { name, appModules } = app.activeRelease.version, appAccessModule = appModules.find((mod) => mod.specification.externalIdentifier === "app_access"), appHomeModule = appModules.find((mod) => mod.specification.externalIdentifier === "app_home"), apiSecretKeys = app.activeRoot.clientCredentials.secrets.map((secret) => ({ secret: secret.key }));
215497
+ let { app } = await this.activeAppVersionRawResult(apiKey), { name, appModules } = app.activeRelease.version, appHomeModule = appModules.find((mod) => mod.specification.externalIdentifier === "app_home"), apiSecretKeys = app.activeRoot.clientCredentials.secrets.map((secret) => ({ secret: secret.key }));
215497
215498
  return {
215498
215499
  id: app.id,
215499
215500
  title: name,
215500
215501
  apiKey: app.key,
215501
215502
  apiSecretKeys,
215502
215503
  organizationId: String(numberFromGid(app.organizationId)),
215503
- grantedScopes: appAccessModule?.config?.scopes ?? [],
215504
+ grantedScopes: app.activeRoot.grantedShopifyApprovalScopes,
215504
215505
  applicationUrl: appHomeModule?.config?.app_url,
215505
215506
  flags: [],
215506
215507
  developerPlatformClient: this
@@ -20,7 +20,7 @@ import {
20
20
  macAddress,
21
21
  opentelemetryDomain,
22
22
  themeToken
23
- } from "./chunk-SKEV2KRG.js";
23
+ } from "./chunk-TAA5HGRT.js";
24
24
  import "./chunk-75LV6AQS.js";
25
25
  import "./chunk-EG6MBBEN.js";
26
26
  import "./chunk-3FBDJEGD.js";
@@ -55,4 +55,4 @@ export {
55
55
  opentelemetryDomain,
56
56
  themeToken
57
57
  };
58
- //# sourceMappingURL=local-76WZCPFM.js.map
58
+ //# sourceMappingURL=local-5AKZWHSS.js.map
@@ -29,8 +29,8 @@ import {
29
29
  versionSatisfies,
30
30
  writePackageJSON,
31
31
  yarnLockfile
32
- } from "./chunk-IRF44N7J.js";
33
- import "./chunk-SKEV2KRG.js";
32
+ } from "./chunk-KHBZ52PT.js";
33
+ import "./chunk-TAA5HGRT.js";
34
34
  import "./chunk-75LV6AQS.js";
35
35
  import "./chunk-EG6MBBEN.js";
36
36
  import "./chunk-3FBDJEGD.js";
@@ -74,4 +74,4 @@ export {
74
74
  writePackageJSON,
75
75
  yarnLockfile
76
76
  };
77
- //# sourceMappingURL=node-package-manager-OCGFQDFC.js.map
77
+ //# sourceMappingURL=node-package-manager-DMOU4DTB.js.map