@shopify/cli 3.78.2 → 3.79.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 (110) hide show
  1. package/dist/assets/dev-console/extensions/dev-console/assets/index-BteeGmYf.css +1 -0
  2. package/dist/assets/dev-console/extensions/dev-console/assets/index-CqNhY1h-.js +64 -0
  3. package/dist/assets/dev-console/index.html +2 -2
  4. package/dist/assets/hydrogen/starter/.cursor/rules/cookbook-recipe-subscriptions.mdc +921 -0
  5. package/dist/assets/hydrogen/starter/CHANGELOG.md +20 -0
  6. package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +15 -0
  7. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
  8. package/dist/assets/hydrogen/starter/app/components/ProductItem.tsx +44 -0
  9. package/dist/assets/hydrogen/starter/app/lib/redirect.ts +23 -0
  10. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +8 -23
  11. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +22 -2
  12. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +4 -0
  13. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +7 -41
  14. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +11 -44
  15. package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +9 -1
  16. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +5 -1
  17. package/dist/assets/hydrogen/starter/app/styles/app.css +15 -3
  18. package/dist/assets/hydrogen/starter/package.json +5 -5
  19. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +57 -36
  20. package/dist/{chunk-LAKQWRR5.js → chunk-2BQWY5ZH.js} +2 -2
  21. package/dist/{chunk-ZPZFAVIY.js → chunk-2DHJN6XL.js} +2 -2
  22. package/dist/{chunk-E76452W5.js → chunk-3ZBLWNTJ.js} +4 -4
  23. package/dist/{chunk-DHQUQSYW.js → chunk-4YS5JU6T.js} +3 -3
  24. package/dist/{chunk-YKVQZFEC.js → chunk-5B4X6PWS.js} +8 -8
  25. package/dist/{chunk-GTVU6SJH.js → chunk-73GDKVV2.js} +2 -2
  26. package/dist/{chunk-6V2YVCS2.js → chunk-7BFQPX6U.js} +7 -5
  27. package/dist/{chunk-VEHGKA4Q.js → chunk-7ZJSTNNB.js} +5 -5
  28. package/dist/{chunk-QTIPSIA5.js → chunk-B67HZYEC.js} +14 -10
  29. package/dist/{chunk-UE4DFKJU.js → chunk-CFWBUC64.js} +3 -3
  30. package/dist/{chunk-DR5VG62Q.js → chunk-DZ7XZDWD.js} +3 -3
  31. package/dist/{chunk-7S2OZRQF.js → chunk-GI77RADE.js} +3 -3
  32. package/dist/{chunk-IG6TAMGV.js → chunk-GINKNYRN.js} +16 -15
  33. package/dist/{chunk-WBWYZ7XQ.js → chunk-H44KHRQ3.js} +9 -7
  34. package/dist/{chunk-HZRI37XU.js → chunk-IHRJ645Y.js} +3 -3
  35. package/dist/{chunk-IK6NAHQI.js → chunk-IW2W7BT2.js} +6 -6
  36. package/dist/{chunk-7KZBYW7W.js → chunk-JA4N4NXM.js} +4 -4
  37. package/dist/{chunk-6HJM24C2.js → chunk-JED5Q5EJ.js} +72 -6
  38. package/dist/{chunk-GJEIVT3X.js → chunk-KPKJOJKL.js} +3 -3
  39. package/dist/{chunk-6G5FH3WC.js → chunk-L7AFSENO.js} +2 -2
  40. package/dist/{chunk-WYNL2S7B.js → chunk-MKNQBR63.js} +3 -3
  41. package/dist/{chunk-S5XTFY2H.js → chunk-NBCIERDR.js} +4 -4
  42. package/dist/{chunk-BV6PURBM.js → chunk-NOSVFQH5.js} +3 -3
  43. package/dist/{chunk-IBRFXDBZ.js → chunk-OP4DJUZ6.js} +7 -7
  44. package/dist/{chunk-YXH3NSML.js → chunk-PFMD3KQP.js} +2 -2
  45. package/dist/{chunk-L35GVYH5.js → chunk-QJMVJ2YT.js} +4 -4
  46. package/dist/{chunk-DOEVJAN2.js → chunk-QV4LZSZK.js} +84 -131
  47. package/dist/{chunk-TVCBBRZD.js → chunk-R65RM3GF.js} +5 -5
  48. package/dist/{chunk-QAKYKTFV.js → chunk-UTDSSCPI.js} +5 -5
  49. package/dist/{chunk-6GHUZFPP.js → chunk-VTNMKNMC.js} +2 -2
  50. package/dist/{chunk-UV2DGNFK.js → chunk-WMOUKE4L.js} +42 -17
  51. package/dist/{chunk-LGQNLPOA.js → chunk-WZ257YHY.js} +4 -4
  52. package/dist/{chunk-ZTD22GER.js → chunk-XXUOBZLX.js} +3 -3
  53. package/dist/{chunk-UP44YINT.js → chunk-Z5MHHPBU.js} +4 -4
  54. package/dist/{chunk-L4SLRBFT.js → chunk-ZMHZBZMW.js} +18 -5
  55. package/dist/{chunk-VBX7R3AF.js → chunk-ZNGCM64E.js} +88 -98
  56. package/dist/{chunk-57Q6OQG4.js → chunk-ZUCWDIGE.js} +2 -2
  57. package/dist/cli/commands/auth/logout.js +14 -14
  58. package/dist/cli/commands/auth/logout.test.js +15 -15
  59. package/dist/cli/commands/cache/clear.js +13 -13
  60. package/dist/cli/commands/debug/command-flags.js +13 -13
  61. package/dist/cli/commands/docs/generate.js +13 -13
  62. package/dist/cli/commands/docs/generate.test.js +14 -14
  63. package/dist/cli/commands/help.js +13 -13
  64. package/dist/cli/commands/kitchen-sink/async.js +14 -14
  65. package/dist/cli/commands/kitchen-sink/async.test.js +14 -14
  66. package/dist/cli/commands/kitchen-sink/index.js +16 -16
  67. package/dist/cli/commands/kitchen-sink/index.test.js +16 -16
  68. package/dist/cli/commands/kitchen-sink/prompts.js +14 -14
  69. package/dist/cli/commands/kitchen-sink/prompts.test.js +14 -14
  70. package/dist/cli/commands/kitchen-sink/static.js +14 -14
  71. package/dist/cli/commands/kitchen-sink/static.test.js +14 -14
  72. package/dist/cli/commands/notifications/generate.js +14 -14
  73. package/dist/cli/commands/notifications/list.js +14 -14
  74. package/dist/cli/commands/search.js +14 -14
  75. package/dist/cli/commands/upgrade.js +14 -14
  76. package/dist/cli/commands/version.js +14 -14
  77. package/dist/cli/commands/version.test.js +14 -14
  78. package/dist/cli/services/commands/notifications.js +9 -9
  79. package/dist/cli/services/commands/search.js +6 -5
  80. package/dist/cli/services/commands/search.test.js +6 -5
  81. package/dist/cli/services/commands/version.js +7 -6
  82. package/dist/cli/services/commands/version.test.js +8 -7
  83. package/dist/cli/services/kitchen-sink/async.js +6 -5
  84. package/dist/cli/services/kitchen-sink/prompts.js +6 -5
  85. package/dist/cli/services/kitchen-sink/static.js +6 -5
  86. package/dist/cli/services/upgrade.js +6 -6
  87. package/dist/cli/services/upgrade.test.js +8 -8
  88. package/dist/configs/all.yml +19 -4
  89. package/dist/configs/recommended.yml +19 -4
  90. package/dist/{custom-oclif-loader-TUNXMYGU.js → custom-oclif-loader-MZ3GZ32O.js} +6 -5
  91. package/dist/{error-handler-AWP3RCBG.js → error-handler-MTFIQP6U.js} +11 -11
  92. package/dist/hooks/postrun.js +10 -10
  93. package/dist/hooks/prerun.js +11 -11
  94. package/dist/index.js +2778 -2435
  95. package/dist/is-wsl-YAJ3DFN7.js +64 -0
  96. package/dist/{lib-IZAG57CE.js → lib-MWWAATIC.js} +3 -3
  97. package/dist/{local-RBT53U3L.js → local-34IWAIJY.js} +6 -7
  98. package/dist/{morph-W4XLLZ47.js → morph-MDY3DSJL.js} +9 -9
  99. package/dist/{node-SKXMS2TZ.js → node-6M2Y6S6K.js} +18 -18
  100. package/dist/{node-package-manager-BZHJZTGV.js → node-package-manager-S5BR3SQ7.js} +6 -6
  101. package/dist/{path-2K5HIMHZ.js → path-GWAZZN2N.js} +2 -2
  102. package/dist/toml-patch-wasm-J5VGG6WG.js +140 -0
  103. package/dist/toml_patch_bg.wasm +0 -0
  104. package/dist/tsconfig.tsbuildinfo +1 -1
  105. package/dist/{ui-5MADIMGC.js → ui-FJ2QLK3P.js} +6 -5
  106. package/dist/{workerd-YRUKUE76.js → workerd-N5O22HSJ.js} +17 -17
  107. package/oclif.manifest.json +100 -2
  108. package/package.json +7 -7
  109. package/dist/assets/dev-console/extensions/dev-console/assets/index-lyGm6l3x.js +0 -64
  110. package/dist/assets/dev-console/extensions/dev-console/assets/index-n8yr6cxq.css +0 -1
@@ -331,11 +331,9 @@ export type RecommendedProductFragment = Pick<
331
331
  priceRange: {
332
332
  minVariantPrice: Pick<StorefrontAPI.MoneyV2, 'amount' | 'currencyCode'>;
333
333
  };
334
- images: {
335
- nodes: Array<
336
- Pick<StorefrontAPI.Image, 'id' | 'url' | 'altText' | 'width' | 'height'>
337
- >;
338
- };
334
+ featuredImage?: StorefrontAPI.Maybe<
335
+ Pick<StorefrontAPI.Image, 'id' | 'url' | 'altText' | 'width' | 'height'>
336
+ >;
339
337
  };
340
338
 
341
339
  export type RecommendedProductsQueryVariables = StorefrontAPI.Exact<{
@@ -353,14 +351,12 @@ export type RecommendedProductsQuery = {
353
351
  'amount' | 'currencyCode'
354
352
  >;
355
353
  };
356
- images: {
357
- nodes: Array<
358
- Pick<
359
- StorefrontAPI.Image,
360
- 'id' | 'url' | 'altText' | 'width' | 'height'
361
- >
362
- >;
363
- };
354
+ featuredImage?: StorefrontAPI.Maybe<
355
+ Pick<
356
+ StorefrontAPI.Image,
357
+ 'id' | 'url' | 'altText' | 'width' | 'height'
358
+ >
359
+ >;
364
360
  }
365
361
  >;
366
362
  };
@@ -374,22 +370,29 @@ export type ArticleQueryVariables = StorefrontAPI.Exact<{
374
370
  }>;
375
371
 
376
372
  export type ArticleQuery = {
377
- blog?: StorefrontAPI.Maybe<{
378
- articleByHandle?: StorefrontAPI.Maybe<
379
- Pick<StorefrontAPI.Article, 'title' | 'contentHtml' | 'publishedAt'> & {
380
- author?: StorefrontAPI.Maybe<Pick<StorefrontAPI.ArticleAuthor, 'name'>>;
381
- image?: StorefrontAPI.Maybe<
382
- Pick<
383
- StorefrontAPI.Image,
384
- 'id' | 'altText' | 'url' | 'width' | 'height'
385
- >
386
- >;
387
- seo?: StorefrontAPI.Maybe<
388
- Pick<StorefrontAPI.Seo, 'description' | 'title'>
389
- >;
390
- }
391
- >;
392
- }>;
373
+ blog?: StorefrontAPI.Maybe<
374
+ Pick<StorefrontAPI.Blog, 'handle'> & {
375
+ articleByHandle?: StorefrontAPI.Maybe<
376
+ Pick<
377
+ StorefrontAPI.Article,
378
+ 'handle' | 'title' | 'contentHtml' | 'publishedAt'
379
+ > & {
380
+ author?: StorefrontAPI.Maybe<
381
+ Pick<StorefrontAPI.ArticleAuthor, 'name'>
382
+ >;
383
+ image?: StorefrontAPI.Maybe<
384
+ Pick<
385
+ StorefrontAPI.Image,
386
+ 'id' | 'altText' | 'url' | 'width' | 'height'
387
+ >
388
+ >;
389
+ seo?: StorefrontAPI.Maybe<
390
+ Pick<StorefrontAPI.Seo, 'description' | 'title'>
391
+ >;
392
+ }
393
+ >;
394
+ }
395
+ >;
393
396
  };
394
397
 
395
398
  export type BlogQueryVariables = StorefrontAPI.Exact<{
@@ -407,7 +410,7 @@ export type BlogQueryVariables = StorefrontAPI.Exact<{
407
410
 
408
411
  export type BlogQuery = {
409
412
  blog?: StorefrontAPI.Maybe<
410
- Pick<StorefrontAPI.Blog, 'title'> & {
413
+ Pick<StorefrontAPI.Blog, 'title' | 'handle'> & {
411
414
  seo?: StorefrontAPI.Maybe<
412
415
  Pick<StorefrontAPI.Seo, 'title' | 'description'>
413
416
  >;
@@ -587,6 +590,24 @@ export type StoreCollectionsQuery = {
587
590
  };
588
591
  };
589
592
 
593
+ export type MoneyCollectionItemFragment = Pick<
594
+ StorefrontAPI.MoneyV2,
595
+ 'amount' | 'currencyCode'
596
+ >;
597
+
598
+ export type CollectionItemFragment = Pick<
599
+ StorefrontAPI.Product,
600
+ 'id' | 'handle' | 'title'
601
+ > & {
602
+ featuredImage?: StorefrontAPI.Maybe<
603
+ Pick<StorefrontAPI.Image, 'id' | 'altText' | 'url' | 'width' | 'height'>
604
+ >;
605
+ priceRange: {
606
+ minVariantPrice: Pick<StorefrontAPI.MoneyV2, 'amount' | 'currencyCode'>;
607
+ maxVariantPrice: Pick<StorefrontAPI.MoneyV2, 'amount' | 'currencyCode'>;
608
+ };
609
+ };
610
+
590
611
  export type CatalogQueryVariables = StorefrontAPI.Exact<{
591
612
  country?: StorefrontAPI.InputMaybe<StorefrontAPI.CountryCode>;
592
613
  language?: StorefrontAPI.InputMaybe<StorefrontAPI.LanguageCode>;
@@ -637,7 +658,7 @@ export type PageQueryVariables = StorefrontAPI.Exact<{
637
658
 
638
659
  export type PageQuery = {
639
660
  page?: StorefrontAPI.Maybe<
640
- Pick<StorefrontAPI.Page, 'id' | 'title' | 'body'> & {
661
+ Pick<StorefrontAPI.Page, 'handle' | 'id' | 'title' | 'body'> & {
641
662
  seo?: StorefrontAPI.Maybe<
642
663
  Pick<StorefrontAPI.Seo, 'description' | 'title'>
643
664
  >;
@@ -1181,15 +1202,15 @@ interface GeneratedQueryTypes {
1181
1202
  return: FeaturedCollectionQuery;
1182
1203
  variables: FeaturedCollectionQueryVariables;
1183
1204
  };
1184
- '#graphql\n fragment RecommendedProduct on Product {\n id\n title\n handle\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n images(first: 1) {\n nodes {\n id\n url\n altText\n width\n height\n }\n }\n }\n query RecommendedProducts ($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n products(first: 4, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...RecommendedProduct\n }\n }\n }\n': {
1205
+ '#graphql\n fragment RecommendedProduct on Product {\n id\n title\n handle\n priceRange {\n minVariantPrice {\n amount\n currencyCode\n }\n }\n featuredImage {\n id\n url\n altText\n width\n height\n }\n }\n query RecommendedProducts ($country: CountryCode, $language: LanguageCode)\n @inContext(country: $country, language: $language) {\n products(first: 4, sortKey: UPDATED_AT, reverse: true) {\n nodes {\n ...RecommendedProduct\n }\n }\n }\n': {
1185
1206
  return: RecommendedProductsQuery;
1186
1207
  variables: RecommendedProductsQueryVariables;
1187
1208
  };
1188
- '#graphql\n query Article(\n $articleHandle: String!\n $blogHandle: String!\n $country: CountryCode\n $language: LanguageCode\n ) @inContext(language: $language, country: $country) {\n blog(handle: $blogHandle) {\n articleByHandle(handle: $articleHandle) {\n title\n contentHtml\n publishedAt\n author: authorV2 {\n name\n }\n image {\n id\n altText\n url\n width\n height\n }\n seo {\n description\n title\n }\n }\n }\n }\n': {
1209
+ '#graphql\n query Article(\n $articleHandle: String!\n $blogHandle: String!\n $country: CountryCode\n $language: LanguageCode\n ) @inContext(language: $language, country: $country) {\n blog(handle: $blogHandle) {\n handle\n articleByHandle(handle: $articleHandle) {\n handle\n title\n contentHtml\n publishedAt\n author: authorV2 {\n name\n }\n image {\n id\n altText\n url\n width\n height\n }\n seo {\n description\n title\n }\n }\n }\n }\n': {
1189
1210
  return: ArticleQuery;
1190
1211
  variables: ArticleQueryVariables;
1191
1212
  };
1192
- '#graphql\n query Blog(\n $language: LanguageCode\n $blogHandle: String!\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(language: $language) {\n blog(handle: $blogHandle) {\n title\n seo {\n title\n description\n }\n articles(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ArticleItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n hasNextPage\n endCursor\n startCursor\n }\n\n }\n }\n }\n fragment ArticleItem on Article {\n author: authorV2 {\n name\n }\n contentHtml\n handle\n id\n image {\n id\n altText\n url\n width\n height\n }\n publishedAt\n title\n blog {\n handle\n }\n }\n': {
1213
+ '#graphql\n query Blog(\n $language: LanguageCode\n $blogHandle: String!\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(language: $language) {\n blog(handle: $blogHandle) {\n title\n handle\n seo {\n title\n description\n }\n articles(\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor\n ) {\n nodes {\n ...ArticleItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n hasNextPage\n endCursor\n startCursor\n }\n\n }\n }\n }\n fragment ArticleItem on Article {\n author: authorV2 {\n name\n }\n contentHtml\n handle\n id\n image {\n id\n altText\n url\n width\n height\n }\n publishedAt\n title\n blog {\n handle\n }\n }\n': {
1193
1214
  return: BlogQuery;
1194
1215
  variables: BlogQueryVariables;
1195
1216
  };
@@ -1205,11 +1226,11 @@ interface GeneratedQueryTypes {
1205
1226
  return: StoreCollectionsQuery;
1206
1227
  variables: StoreCollectionsQueryVariables;
1207
1228
  };
1208
- '#graphql\n query Catalog(\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n products(first: $first, last: $last, before: $startCursor, after: $endCursor) {\n nodes {\n ...ProductItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n }\n }\n }\n #graphql\n fragment MoneyProductItem on MoneyV2 {\n amount\n currencyCode\n }\n fragment ProductItem on Product {\n id\n handle\n title\n featuredImage {\n id\n altText\n url\n width\n height\n }\n priceRange {\n minVariantPrice {\n ...MoneyProductItem\n }\n maxVariantPrice {\n ...MoneyProductItem\n }\n }\n }\n\n': {
1229
+ '#graphql\n query Catalog(\n $country: CountryCode\n $language: LanguageCode\n $first: Int\n $last: Int\n $startCursor: String\n $endCursor: String\n ) @inContext(country: $country, language: $language) {\n products(first: $first, last: $last, before: $startCursor, after: $endCursor) {\n nodes {\n ...CollectionItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n startCursor\n endCursor\n }\n }\n }\n #graphql\n fragment MoneyCollectionItem on MoneyV2 {\n amount\n currencyCode\n }\n fragment CollectionItem on Product {\n id\n handle\n title\n featuredImage {\n id\n altText\n url\n width\n height\n }\n priceRange {\n minVariantPrice {\n ...MoneyCollectionItem\n }\n maxVariantPrice {\n ...MoneyCollectionItem\n }\n }\n }\n\n': {
1209
1230
  return: CatalogQuery;
1210
1231
  variables: CatalogQueryVariables;
1211
1232
  };
1212
- '#graphql\n query Page(\n $language: LanguageCode,\n $country: CountryCode,\n $handle: String!\n )\n @inContext(language: $language, country: $country) {\n page(handle: $handle) {\n id\n title\n body\n seo {\n description\n title\n }\n }\n }\n': {
1233
+ '#graphql\n query Page(\n $language: LanguageCode,\n $country: CountryCode,\n $handle: String!\n )\n @inContext(language: $language, country: $country) {\n page(handle: $handle) {\n handle\n id\n title\n body\n seo {\n description\n title\n }\n }\n }\n': {
1213
1234
  return: PageQuery;
1214
1235
  variables: PageQueryVariables;
1215
1236
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  openURL
3
- } from "./chunk-DOEVJAN2.js";
3
+ } from "./chunk-QV4LZSZK.js";
4
4
  import {
5
5
  init_cjs_shims
6
6
  } from "./chunk-PKR7KJ6P.js";
@@ -15,4 +15,4 @@ async function searchService(query) {
15
15
  export {
16
16
  searchService
17
17
  };
18
- //# sourceMappingURL=chunk-LAKQWRR5.js.map
18
+ //# sourceMappingURL=chunk-2BQWY5ZH.js.map
@@ -5,7 +5,7 @@ import {
5
5
  renderDangerousConfirmationPrompt,
6
6
  renderSelectPrompt,
7
7
  renderTextPrompt
8
- } from "./chunk-DOEVJAN2.js";
8
+ } from "./chunk-QV4LZSZK.js";
9
9
  import {
10
10
  init_cjs_shims
11
11
  } from "./chunk-PKR7KJ6P.js";
@@ -175,4 +175,4 @@ async function prompts() {
175
175
  export {
176
176
  prompts
177
177
  };
178
- //# sourceMappingURL=chunk-ZPZFAVIY.js.map
178
+ //# sourceMappingURL=chunk-2DHJN6XL.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  searchService
3
- } from "./chunk-LAKQWRR5.js";
3
+ } from "./chunk-2BQWY5ZH.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-WBWYZ7XQ.js";
6
+ } from "./chunk-H44KHRQ3.js";
7
7
  import {
8
8
  require_lib
9
- } from "./chunk-QAKYKTFV.js";
9
+ } from "./chunk-UTDSSCPI.js";
10
10
  import {
11
11
  __toESM,
12
12
  init_cjs_shims
@@ -48,4 +48,4 @@ var import_core = __toESM(require_lib(), 1), Search = class _Search extends base
48
48
  export {
49
49
  Search
50
50
  };
51
- //# sourceMappingURL=chunk-E76452W5.js.map
51
+ //# sourceMappingURL=chunk-3ZBLWNTJ.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-WBWYZ7XQ.js";
3
+ } from "./chunk-H44KHRQ3.js";
4
4
  import {
5
5
  require_lib
6
- } from "./chunk-QAKYKTFV.js";
6
+ } from "./chunk-UTDSSCPI.js";
7
7
  import {
8
8
  __toESM,
9
9
  init_cjs_shims
@@ -46,4 +46,4 @@ var HelpCommand = class _HelpCommand extends base_command_default {
46
46
  export {
47
47
  HelpCommand
48
48
  };
49
- //# sourceMappingURL=chunk-DHQUQSYW.js.map
49
+ //# sourceMappingURL=chunk-4YS5JU6T.js.map
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-WBWYZ7XQ.js";
3
+ } from "./chunk-H44KHRQ3.js";
4
4
  import {
5
5
  cacheClear
6
- } from "./chunk-IK6NAHQI.js";
6
+ } from "./chunk-IW2W7BT2.js";
7
7
  import {
8
8
  environmentVariables,
9
9
  isTruthy
10
- } from "./chunk-DOEVJAN2.js";
10
+ } from "./chunk-QV4LZSZK.js";
11
11
  import {
12
12
  require_lib
13
- } from "./chunk-QAKYKTFV.js";
13
+ } from "./chunk-UTDSSCPI.js";
14
14
  import {
15
15
  __toESM,
16
16
  init_cjs_shims
@@ -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-AWP3RCBG.js"), { isDevelopment } = await import("./local-RBT53U3L.js"), oclif = await import("./lib-IZAG57CE.js"), { ShopifyConfig } = await import("./custom-oclif-loader-TUNXMYGU.js");
29
+ let { errorHandler } = await import("./error-handler-MTFIQP6U.js"), { isDevelopment } = await import("./local-34IWAIJY.js"), oclif = await import("./lib-MWWAATIC.js"), { ShopifyConfig } = await import("./custom-oclif-loader-MZ3GZ32O.js");
30
30
  isDevelopment() && (oclif.default.settings.debug = !0);
31
31
  try {
32
32
  let config = new ShopifyConfig({ root: fileURLToPath(options.moduleURL) });
@@ -41,7 +41,7 @@ var import_core = __toESM(require_lib());
41
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 { renderError } = await import("./ui-5MADIMGC.js");
44
+ let { renderError } = await import("./ui-FJ2QLK3P.js");
45
45
  renderError({
46
46
  headline: "Upgrade to a supported Node version now.",
47
47
  body: [
@@ -68,7 +68,7 @@ async function runCLI(options, launchCLI2 = launchCLI, argv = process.argv, env
68
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-BZHJZTGV.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-S5BR3SQ7.js"), { moduleDirectory } = await import("./path-GWAZZN2N.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-YKVQZFEC.js.map
120
+ //# sourceMappingURL=chunk-5B4X6PWS.js.map
@@ -7,7 +7,7 @@ import {
7
7
  renderSuccess,
8
8
  renderTable,
9
9
  renderWarning
10
- } from "./chunk-DOEVJAN2.js";
10
+ } from "./chunk-QV4LZSZK.js";
11
11
  import {
12
12
  init_cjs_shims
13
13
  } from "./chunk-PKR7KJ6P.js";
@@ -203,4 +203,4 @@ async function staticService() {
203
203
  export {
204
204
  staticService
205
205
  };
206
- //# sourceMappingURL=chunk-GTVU6SJH.js.map
206
+ //# sourceMappingURL=chunk-73GDKVV2.js.map
@@ -2,19 +2,21 @@ import {
2
2
  fetchNotifications,
3
3
  getNotifications,
4
4
  stringifyFilters
5
- } from "./chunk-IG6TAMGV.js";
5
+ } from "./chunk-GINKNYRN.js";
6
+ import {
7
+ randomUUID
8
+ } from "./chunk-JED5Q5EJ.js";
6
9
  import {
7
10
  CLI_KIT_VERSION
8
- } from "./chunk-6G5FH3WC.js";
11
+ } from "./chunk-L7AFSENO.js";
9
12
  import {
10
13
  outputInfo,
11
- randomUUID,
12
14
  renderSelectPrompt,
13
15
  renderSuccess,
14
16
  renderTable,
15
17
  renderTextPrompt,
16
18
  writeFile
17
- } from "./chunk-DOEVJAN2.js";
19
+ } from "./chunk-QV4LZSZK.js";
18
20
  import {
19
21
  init_cjs_shims
20
22
  } from "./chunk-PKR7KJ6P.js";
@@ -101,4 +103,4 @@ export {
101
103
  generate,
102
104
  list
103
105
  };
104
- //# sourceMappingURL=chunk-6V2YVCS2.js.map
106
+ //# sourceMappingURL=chunk-7BFQPX6U.js.map
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  prompts
3
- } from "./chunk-ZPZFAVIY.js";
3
+ } from "./chunk-2DHJN6XL.js";
4
4
  import {
5
5
  staticService
6
- } from "./chunk-GTVU6SJH.js";
6
+ } from "./chunk-73GDKVV2.js";
7
7
  import {
8
8
  asyncTasks
9
- } from "./chunk-YXH3NSML.js";
9
+ } from "./chunk-PFMD3KQP.js";
10
10
  import {
11
11
  base_command_default
12
- } from "./chunk-WBWYZ7XQ.js";
12
+ } from "./chunk-H44KHRQ3.js";
13
13
  import {
14
14
  init_cjs_shims
15
15
  } from "./chunk-PKR7KJ6P.js";
@@ -34,4 +34,4 @@ var KitchenSinkAll = class extends base_command_default {
34
34
  export {
35
35
  KitchenSinkAll
36
36
  };
37
- //# sourceMappingURL=chunk-VEHGKA4Q.js.map
37
+ //# sourceMappingURL=chunk-7ZJSTNNB.js.map
@@ -4,16 +4,16 @@ import {
4
4
  import {
5
5
  fanoutHooks,
6
6
  reportAnalyticsEvent
7
- } from "./chunk-IBRFXDBZ.js";
7
+ } from "./chunk-OP4DJUZ6.js";
8
8
  import {
9
9
  getEnvironmentData
10
- } from "./chunk-UV2DGNFK.js";
10
+ } from "./chunk-WMOUKE4L.js";
11
11
  import {
12
12
  CLI_KIT_VERSION
13
- } from "./chunk-6G5FH3WC.js";
13
+ } from "./chunk-L7AFSENO.js";
14
14
  import {
15
15
  runWithRateLimit
16
- } from "./chunk-IK6NAHQI.js";
16
+ } from "./chunk-IW2W7BT2.js";
17
17
  import {
18
18
  AbortSilentError,
19
19
  CancelExecution,
@@ -28,17 +28,17 @@ import {
28
28
  reportingRateLimit,
29
29
  require_stacktracey,
30
30
  shouldReportErrorAsUnexpected
31
- } from "./chunk-DOEVJAN2.js";
31
+ } from "./chunk-QV4LZSZK.js";
32
32
  import {
33
33
  cwd,
34
34
  isAbsolutePath,
35
35
  joinPath,
36
36
  normalizePath,
37
37
  relativePath
38
- } from "./chunk-57Q6OQG4.js";
38
+ } from "./chunk-ZUCWDIGE.js";
39
39
  import {
40
40
  require_lib
41
- } from "./chunk-QAKYKTFV.js";
41
+ } from "./chunk-UTDSSCPI.js";
42
42
  import {
43
43
  __commonJS,
44
44
  __require,
@@ -2029,7 +2029,7 @@ var require_notifier = __commonJS({
2029
2029
 
2030
2030
  // ../cli-kit/dist/public/node/error-handler.js
2031
2031
  init_cjs_shims();
2032
- var import_core = __toESM(require_lib(), 1), import_stacktracey = __toESM(require_stacktracey(), 1), import_js = __toESM(require_notifier(), 1);
2032
+ var import_core = __toESM(require_lib()), import_stacktracey = __toESM(require_stacktracey()), import_js = __toESM(require_notifier());
2033
2033
  import { realpath } from "fs/promises";
2034
2034
  async function errorHandler(error, config) {
2035
2035
  if (error instanceof CancelExecution)
@@ -2123,7 +2123,11 @@ function initializeBugsnag() {
2123
2123
  appVersion: CLI_KIT_VERSION,
2124
2124
  autoTrackSessions: !1,
2125
2125
  autoDetectErrors: !1,
2126
- enabledReleaseStages: ["production"]
2126
+ enabledReleaseStages: ["production"],
2127
+ endpoints: {
2128
+ notify: "https://error-analytics-production.shopifysvc.com",
2129
+ sessions: "https://error-analytics-sessions-production.shopifysvc.com"
2130
+ }
2127
2131
  });
2128
2132
  }
2129
2133
 
@@ -2140,4 +2144,4 @@ export {
2140
2144
  registerCleanBugsnagErrorsFromWithinPlugins,
2141
2145
  addBugsnagMetadata
2142
2146
  };
2143
- //# sourceMappingURL=chunk-QTIPSIA5.js.map
2147
+ //# sourceMappingURL=chunk-B67HZYEC.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CLI_KIT_VERSION
3
- } from "./chunk-6G5FH3WC.js";
3
+ } from "./chunk-L7AFSENO.js";
4
4
  import {
5
5
  outputInfo
6
- } from "./chunk-DOEVJAN2.js";
6
+ } from "./chunk-QV4LZSZK.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-UE4DFKJU.js.map
20
+ //# sourceMappingURL=chunk-CFWBUC64.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  prompts
3
- } from "./chunk-ZPZFAVIY.js";
3
+ } from "./chunk-2DHJN6XL.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-WBWYZ7XQ.js";
6
+ } from "./chunk-H44KHRQ3.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var KitchenSinkPrompts = class extends base_command_default {
25
25
  export {
26
26
  KitchenSinkPrompts
27
27
  };
28
- //# sourceMappingURL=chunk-DR5VG62Q.js.map
28
+ //# sourceMappingURL=chunk-DZ7XZDWD.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  asyncTasks
3
- } from "./chunk-YXH3NSML.js";
3
+ } from "./chunk-PFMD3KQP.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-WBWYZ7XQ.js";
6
+ } from "./chunk-H44KHRQ3.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-7S2OZRQF.js.map
28
+ //# sourceMappingURL=chunk-GI77RADE.js.map
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  fetch,
3
+ jsonOutputEnabled,
3
4
  z
4
- } from "./chunk-6HJM24C2.js";
5
+ } from "./chunk-JED5Q5EJ.js";
5
6
  import {
6
7
  CLI_KIT_VERSION
7
- } from "./chunk-6G5FH3WC.js";
8
+ } from "./chunk-L7AFSENO.js";
8
9
  import {
9
10
  cacheRetrieve,
10
11
  cacheStore,
11
12
  versionSatisfies
12
- } from "./chunk-IK6NAHQI.js";
13
+ } from "./chunk-IW2W7BT2.js";
13
14
  import {
14
15
  AbortSilentError,
15
16
  exec,
16
17
  isTruthy,
17
- jsonOutputEnabled,
18
18
  outputDebug,
19
19
  renderError,
20
20
  renderInfo,
21
21
  renderWarning
22
- } from "./chunk-DOEVJAN2.js";
22
+ } from "./chunk-QV4LZSZK.js";
23
23
  import {
24
24
  init_cjs_shims
25
25
  } from "./chunk-PKR7KJ6P.js";
@@ -87,7 +87,7 @@ async function showNotificationsIfNeeded(currentSurfaces, environment = process.
87
87
  throw new AbortSilentError();
88
88
  let errorMessage = `Error showing notifications: ${error.message}`;
89
89
  outputDebug(errorMessage);
90
- let { sendErrorToBugsnag } = await import("./error-handler-AWP3RCBG.js");
90
+ let { sendErrorToBugsnag } = await import("./error-handler-MTFIQP6U.js");
91
91
  await sendErrorToBugsnag(errorMessage, "unexpected_error");
92
92
  }
93
93
  }
@@ -140,15 +140,16 @@ async function cacheNotifications(notifications) {
140
140
  cacheStore(`notifications-${url()}`, notifications), outputDebug(`Notifications from ${url()} stored in the cache`);
141
141
  }
142
142
  function fetchNotificationsInBackground(currentCommand, argv = process.argv, environment = process.env) {
143
- if (skipNotifications(currentCommand, environment))
143
+ if (skipNotifications(currentCommand, environment) || !argv[0] || !argv[1])
144
144
  return;
145
- let command = "shopify", args = ["notifications", "list", "--ignore-errors"];
146
- if (argv[0] && argv[0] !== "shopify") {
147
- command = argv[0];
148
- let indexValue = currentCommand.split(":")[0] ?? "", index = argv.indexOf(indexValue);
149
- index > 0 && args.unshift(...argv.slice(1, index));
150
- }
151
- exec(command, args, { background: !0, env: { ...process.env, SHOPIFY_CLI_NO_ANALYTICS: "1" } });
145
+ let nodeBinary = argv[0], args = [argv[1], "notifications", "list", "--ignore-errors"];
146
+ exec(nodeBinary, args, {
147
+ background: !0,
148
+ env: { ...process.env, SHOPIFY_CLI_NO_ANALYTICS: "1" },
149
+ externalErrorHandler: async (error) => {
150
+ outputDebug(`Failed to fetch notifications in background: ${error.message}`);
151
+ }
152
+ });
152
153
  }
153
154
  function filterNotifications(notifications, commandId, currentSurfaces, today = new Date((/* @__PURE__ */ new Date()).setUTCHours(0, 0, 0, 0)), currentVersion = CLI_KIT_VERSION) {
154
155
  return notifications.filter((notification) => filterByVersion(notification, currentVersion)).filter((notifications2) => filterByDate(notifications2, today)).filter((notification) => filterByCommand(notification, commandId)).filter((notification) => filterBySurface(notification, commandId, currentSurfaces)).filter((notification) => filterByFrequency(notification));
@@ -199,4 +200,4 @@ export {
199
200
  fetchNotificationsInBackground,
200
201
  stringifyFilters
201
202
  };
202
- //# sourceMappingURL=chunk-IG6TAMGV.js.map
203
+ //# sourceMappingURL=chunk-GINKNYRN.js.map
@@ -1,17 +1,19 @@
1
1
  import {
2
2
  errorHandler,
3
3
  registerCleanBugsnagErrorsFromWithinPlugins
4
- } from "./chunk-QTIPSIA5.js";
4
+ } from "./chunk-B67HZYEC.js";
5
5
  import {
6
6
  setCurrentCommandId,
7
7
  showNotificationsIfNeeded
8
- } from "./chunk-IG6TAMGV.js";
8
+ } from "./chunk-GINKNYRN.js";
9
+ import {
10
+ hashString
11
+ } from "./chunk-JED5Q5EJ.js";
9
12
  import {
10
13
  AbortError,
11
14
  addPublicMetadata,
12
15
  addSensitiveMetadata,
13
16
  findPathUp,
14
- hashString,
15
17
  isDevelopment,
16
18
  isTruthy,
17
19
  outputContent,
@@ -22,13 +24,13 @@ import {
22
24
  renderWarning,
23
25
  terminalSupportsPrompting,
24
26
  underscore
25
- } from "./chunk-DOEVJAN2.js";
27
+ } from "./chunk-QV4LZSZK.js";
26
28
  import {
27
29
  cwd
28
- } from "./chunk-57Q6OQG4.js";
30
+ } from "./chunk-ZUCWDIGE.js";
29
31
  import {
30
32
  require_lib
31
- } from "./chunk-QAKYKTFV.js";
33
+ } from "./chunk-UTDSSCPI.js";
32
34
  import {
33
35
  __commonJS,
34
36
  __require,
@@ -1663,4 +1665,4 @@ export {
1663
1665
  loadEnvironment,
1664
1666
  base_command_default
1665
1667
  };
1666
- //# sourceMappingURL=chunk-WBWYZ7XQ.js.map
1668
+ //# sourceMappingURL=chunk-H44KHRQ3.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-UE4DFKJU.js";
3
+ } from "./chunk-CFWBUC64.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-WBWYZ7XQ.js";
6
+ } from "./chunk-H44KHRQ3.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-HZRI37XU.js.map
25
+ //# sourceMappingURL=chunk-IHRJ645Y.js.map
@@ -1,6 +1,3 @@
1
- import {
2
- require_semver
3
- } from "./chunk-HMDWNGIV.js";
4
1
  import {
5
2
  AbortController,
6
3
  AbortError,
@@ -21,11 +18,14 @@ import {
21
18
  require_get_stream,
22
19
  runWithTimer,
23
20
  writeFile
24
- } from "./chunk-DOEVJAN2.js";
21
+ } from "./chunk-QV4LZSZK.js";
22
+ import {
23
+ require_semver
24
+ } from "./chunk-HMDWNGIV.js";
25
25
  import {
26
26
  dirname,
27
27
  joinPath
28
- } from "./chunk-57Q6OQG4.js";
28
+ } from "./chunk-ZUCWDIGE.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __export,
@@ -13749,4 +13749,4 @@ deep-extend/lib/deep-extend.js:
13749
13749
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
13750
13750
  *)
13751
13751
  */
13752
- //# sourceMappingURL=chunk-IK6NAHQI.js.map
13752
+ //# sourceMappingURL=chunk-IW2W7BT2.js.map