@graphcommerce/next-config 9.0.0-canary.73 → 9.0.0-canary.74

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.0.0-canary.74
4
+
3
5
  ## 9.0.0-canary.73
4
6
 
5
7
  ## 9.0.0-canary.72
@@ -25,6 +25,15 @@ exports[`parses an env config object 1`] = `
25
25
 
26
26
  exports[`traverses a schema and returns a list of env variables that match 1`] = `
27
27
  [
28
+ "GC_ALGOLIA",
29
+ "GC_ALGOLIA_ANALYTICS_ENABLED",
30
+ "GC_ALGOLIA_APPLICATION_ID",
31
+ "GC_ALGOLIA_CATALOG_ENABLED",
32
+ "GC_ALGOLIA_CUSTOMER_GROUP_PRICING_ENABLED",
33
+ "GC_ALGOLIA_INDEX_NAME_PREFIX",
34
+ "GC_ALGOLIA_PERSONALIZATION_ENABLED",
35
+ "GC_ALGOLIA_SEARCH_ONLY_API_KEY",
36
+ "GC_ALGOLIA_SUGGESTIONS_SUFFIX",
28
37
  "GC_BREADCRUMBS",
29
38
  "GC_CANONICAL_BASE_URL",
30
39
  "GC_CART_DISPLAY_PRICES_INCL_TAX",
@@ -84,9 +84,11 @@ it('converts an env schema to a config schema', () => {
84
84
  magentoEndpoint: 'https://example.com',
85
85
  previewSecret: 'secret',
86
86
  magentoVersion: 247,
87
- algoliaApplicationId: 'a',
88
- algoliaIndexNamePrefix: 'a',
89
- algoliaSearchOnlyApiKey: 'a',
87
+ algolia: {
88
+ applicationId: 'a',
89
+ indexNamePrefix: 'a',
90
+ searchOnlyApiKey: 'a',
91
+ },
90
92
  }
91
93
 
92
94
  const environmentVariables = {
@@ -107,6 +107,14 @@ it('finds plugins', () => {
107
107
  "targetModule": "@graphcommerce/ecommerce-ui",
108
108
  "type": "component",
109
109
  },
110
+ {
111
+ "enabled": true,
112
+ "sourceExport": "meshConfig",
113
+ "sourceModule": "@graphcommerce/magento-graphql-rest/plugins/meshConfigM2Rest",
114
+ "targetExport": "meshConfig",
115
+ "targetModule": "@graphcommerce/graphql-mesh/meshConfig",
116
+ "type": "function",
117
+ },
110
118
  {
111
119
  "enabled": true,
112
120
  "sourceExport": "PaymentMethodContextProvider",
@@ -179,6 +187,46 @@ it('finds plugins', () => {
179
187
  "targetModule": "@graphcommerce/magento-cart-payment-method",
180
188
  "type": "component",
181
189
  },
190
+ {
191
+ "enabled": true,
192
+ "sourceExport": "CartItemActionCard",
193
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableCartItemActionCard",
194
+ "targetExport": "CartItemActionCard",
195
+ "targetModule": "@graphcommerce/magento-cart-items",
196
+ "type": "component",
197
+ },
198
+ {
199
+ "enabled": true,
200
+ "sourceExport": "ProductPagePriceTiers",
201
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePriceTiers",
202
+ "targetExport": "ProductPagePriceTiers",
203
+ "targetModule": "@graphcommerce/magento-product",
204
+ "type": "component",
205
+ },
206
+ {
207
+ "enabled": true,
208
+ "sourceExport": "ProductPagePrice",
209
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePrice",
210
+ "targetExport": "ProductPagePrice",
211
+ "targetModule": "@graphcommerce/magento-product",
212
+ "type": "component",
213
+ },
214
+ {
215
+ "enabled": true,
216
+ "sourceExport": "ProductPageGallery",
217
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery",
218
+ "targetExport": "ProductPageGallery",
219
+ "targetModule": "@graphcommerce/magento-product",
220
+ "type": "component",
221
+ },
222
+ {
223
+ "enabled": true,
224
+ "sourceExport": "CartItemActionCard",
225
+ "sourceModule": "@graphcommerce/magento-product-simple/plugins/SimpleCartItemActionCard",
226
+ "targetExport": "CartItemActionCard",
227
+ "targetModule": "@graphcommerce/magento-cart-items",
228
+ "type": "component",
229
+ },
182
230
  {
183
231
  "enabled": true,
184
232
  "sourceExport": "PaymentMethodContextProvider",
@@ -187,6 +235,14 @@ it('finds plugins', () => {
187
235
  "targetModule": "@graphcommerce/magento-cart-payment-method",
188
236
  "type": "component",
189
237
  },
238
+ {
239
+ "enabled": true,
240
+ "sourceExport": "meshConfig",
241
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/meshConfigAlgoliaInsights",
242
+ "targetExport": "meshConfig",
243
+ "targetModule": "@graphcommerce/graphql-mesh/meshConfig",
244
+ "type": "function",
245
+ },
190
246
  {
191
247
  "enabled": true,
192
248
  "sourceExport": "meshConfig",
@@ -195,6 +251,30 @@ it('finds plugins', () => {
195
251
  "targetModule": "@graphcommerce/graphql-mesh/meshConfig",
196
252
  "type": "function",
197
253
  },
254
+ {
255
+ "enabled": true,
256
+ "sourceExport": "useProductListApplySearchDefaults",
257
+ "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoSearchApplyAlgoliaEngine",
258
+ "targetExport": "useProductListApplySearchDefaults",
259
+ "targetModule": "@graphcommerce/magento-search",
260
+ "type": "function",
261
+ },
262
+ {
263
+ "enabled": true,
264
+ "sourceExport": "productListApplySearchDefaults",
265
+ "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoSearchApplyAlgoliaEngine",
266
+ "targetExport": "productListApplySearchDefaults",
267
+ "targetModule": "@graphcommerce/magento-search",
268
+ "type": "function",
269
+ },
270
+ {
271
+ "enabled": true,
272
+ "sourceExport": "searchDefaultsToProductListFilters",
273
+ "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoSearchApplyAlgoliaEngine",
274
+ "targetExport": "searchDefaultsToProductListFilters",
275
+ "targetModule": "@graphcommerce/magento-search",
276
+ "type": "function",
277
+ },
198
278
  {
199
279
  "enabled": true,
200
280
  "sourceExport": "ProductListItemsBase",
@@ -291,46 +371,6 @@ it('finds plugins', () => {
291
371
  "targetModule": "@graphcommerce/magento-product",
292
372
  "type": "component",
293
373
  },
294
- {
295
- "enabled": true,
296
- "sourceExport": "CartItemActionCard",
297
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableCartItemActionCard",
298
- "targetExport": "CartItemActionCard",
299
- "targetModule": "@graphcommerce/magento-cart-items",
300
- "type": "component",
301
- },
302
- {
303
- "enabled": true,
304
- "sourceExport": "ProductPagePriceTiers",
305
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePriceTiers",
306
- "targetExport": "ProductPagePriceTiers",
307
- "targetModule": "@graphcommerce/magento-product",
308
- "type": "component",
309
- },
310
- {
311
- "enabled": true,
312
- "sourceExport": "ProductPagePrice",
313
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePrice",
314
- "targetExport": "ProductPagePrice",
315
- "targetModule": "@graphcommerce/magento-product",
316
- "type": "component",
317
- },
318
- {
319
- "enabled": true,
320
- "sourceExport": "ProductPageGallery",
321
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery",
322
- "targetExport": "ProductPageGallery",
323
- "targetModule": "@graphcommerce/magento-product",
324
- "type": "component",
325
- },
326
- {
327
- "enabled": true,
328
- "sourceExport": "CartItemActionCard",
329
- "sourceModule": "@graphcommerce/magento-product-simple/plugins/SimpleCartItemActionCard",
330
- "targetExport": "CartItemActionCard",
331
- "targetModule": "@graphcommerce/magento-cart-items",
332
- "type": "component",
333
- },
334
374
  {
335
375
  "enabled": true,
336
376
  "sourceExport": "useSignInForm",
@@ -383,86 +423,6 @@ it('finds plugins', () => {
383
423
  "targetModule": "@graphcommerce/graphql",
384
424
  "type": "component",
385
425
  },
386
- {
387
- "enabled": true,
388
- "sourceExport": "graphqlConfig",
389
- "sourceModule": "@graphcommerce/magento-graphql/plugins/magentoGraphqlConfig",
390
- "targetExport": "graphqlConfig",
391
- "targetModule": "@graphcommerce/graphql",
392
- "type": "function",
393
- },
394
- {
395
- "enabled": true,
396
- "sourceExport": "meshConfig",
397
- "sourceModule": "@graphcommerce/magento-graphql-rest/plugins/meshConfigM2Rest",
398
- "targetExport": "meshConfig",
399
- "targetModule": "@graphcommerce/graphql-mesh/meshConfig",
400
- "type": "function",
401
- },
402
- {
403
- "enabled": true,
404
- "sourceExport": "PaymentMethodContextProvider",
405
- "sourceModule": "@graphcommerce/magento-payment-included/plugins/AddIncludedMethods",
406
- "targetExport": "PaymentMethodContextProvider",
407
- "targetModule": "@graphcommerce/magento-cart-payment-method",
408
- "type": "component",
409
- },
410
- {
411
- "enabled": true,
412
- "sourceExport": "CartItemActionCard",
413
- "sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleCartItemActionCard",
414
- "targetExport": "CartItemActionCard",
415
- "targetModule": "@graphcommerce/magento-cart-items",
416
- "type": "component",
417
- },
418
- {
419
- "enabled": true,
420
- "sourceExport": "CartItemActionCard",
421
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableCartItemActionCard",
422
- "targetExport": "CartItemActionCard",
423
- "targetModule": "@graphcommerce/magento-cart-items",
424
- "type": "component",
425
- },
426
- {
427
- "enabled": true,
428
- "sourceExport": "ProductPagePriceTiers",
429
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePriceTiers",
430
- "targetExport": "ProductPagePriceTiers",
431
- "targetModule": "@graphcommerce/magento-product",
432
- "type": "component",
433
- },
434
- {
435
- "enabled": true,
436
- "sourceExport": "ProductPagePrice",
437
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePrice",
438
- "targetExport": "ProductPagePrice",
439
- "targetModule": "@graphcommerce/magento-product",
440
- "type": "component",
441
- },
442
- {
443
- "enabled": true,
444
- "sourceExport": "ProductPageGallery",
445
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery",
446
- "targetExport": "ProductPageGallery",
447
- "targetModule": "@graphcommerce/magento-product",
448
- "type": "component",
449
- },
450
- {
451
- "enabled": true,
452
- "sourceExport": "CartItemActionCard",
453
- "sourceModule": "@graphcommerce/magento-product-simple/plugins/SimpleCartItemActionCard",
454
- "targetExport": "CartItemActionCard",
455
- "targetModule": "@graphcommerce/magento-cart-items",
456
- "type": "component",
457
- },
458
- {
459
- "enabled": true,
460
- "sourceExport": "CartItemActionCard",
461
- "sourceModule": "@graphcommerce/magento-product-virtual/plugins/VirtualCartItemActionCard",
462
- "targetExport": "CartItemActionCard",
463
- "targetModule": "@graphcommerce/magento-cart-items",
464
- "type": "component",
465
- },
466
426
  {
467
427
  "enabled": true,
468
428
  "sourceExport": "graphqlConfig",
@@ -601,110 +561,155 @@ it('finds plugins', () => {
601
561
  },
602
562
  {
603
563
  "enabled": false,
604
- "ifConfig": "algoliaApplicationId",
605
- "sourceExport": "useProductListApplySearchDefaults",
606
- "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoSearchApplyAlgoliaEngine",
607
- "targetExport": "useProductListApplySearchDefaults",
608
- "targetModule": "@graphcommerce/magento-search",
564
+ "ifConfig": "configurableVariantValues.content",
565
+ "sourceExport": "ProductShortDescription",
566
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductShortDescription",
567
+ "targetExport": "ProductShortDescription",
568
+ "targetModule": "@graphcommerce/magento-product",
569
+ "type": "component",
570
+ },
571
+ {
572
+ "enabled": false,
573
+ "ifConfig": "configurableVariantValues.content",
574
+ "sourceExport": "ProductPageName",
575
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageName",
576
+ "targetExport": "ProductPageName",
577
+ "targetModule": "@graphcommerce/magento-product",
578
+ "type": "component",
579
+ },
580
+ {
581
+ "enabled": false,
582
+ "ifConfig": "configurableVariantValues.url",
583
+ "sourceExport": "ProductPageMeta",
584
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageMeta",
585
+ "targetExport": "ProductPageMeta",
586
+ "targetModule": "@graphcommerce/magento-product",
587
+ "type": "component",
588
+ },
589
+ {
590
+ "enabled": false,
591
+ "ifConfig": "configurableVariantValues.content",
592
+ "sourceExport": "ProductPageJsonLd",
593
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageJsonLd",
594
+ "targetExport": "ProductPageJsonLd",
595
+ "targetModule": "@graphcommerce/magento-product",
596
+ "type": "component",
597
+ },
598
+ {
599
+ "enabled": false,
600
+ "ifConfig": "configurableVariantValues.content",
601
+ "sourceExport": "ProductPageDescription",
602
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageDescription",
603
+ "targetExport": "ProductPageDescription",
604
+ "targetModule": "@graphcommerce/magento-product",
605
+ "type": "component",
606
+ },
607
+ {
608
+ "enabled": false,
609
+ "ifConfig": "algolia.analyticsEnabled",
610
+ "sourceExport": "useSendEvent",
611
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/useSendEventAlgolia",
612
+ "targetExport": "useSendEvent",
613
+ "targetModule": "@graphcommerce/google-datalayer",
609
614
  "type": "function",
610
615
  },
611
616
  {
612
617
  "enabled": false,
613
- "ifConfig": "algoliaApplicationId",
614
- "sourceExport": "productListApplySearchDefaults",
615
- "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoSearchApplyAlgoliaEngine",
616
- "targetExport": "productListApplySearchDefaults",
617
- "targetModule": "@graphcommerce/magento-search",
618
+ "ifConfig": "algolia.personalizationEnabled",
619
+ "sourceExport": "getSearchSuggestionsInput",
620
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/getSearchSuggestionsPersonalization",
621
+ "targetExport": "getSearchSuggestionsInput",
622
+ "targetModule": "@graphcommerce/algolia-mesh",
618
623
  "type": "function",
619
624
  },
620
625
  {
621
626
  "enabled": false,
622
- "ifConfig": "algoliaApplicationId",
623
- "sourceExport": "searchDefaultsToProductListFilters",
624
- "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoSearchApplyAlgoliaEngine",
625
- "targetExport": "searchDefaultsToProductListFilters",
626
- "targetModule": "@graphcommerce/magento-search",
627
+ "ifConfig": "algolia.analyticsEnabled",
628
+ "sourceExport": "getSearchSuggestionsInput",
629
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/getSearchSuggestionsAnalytics",
630
+ "targetExport": "getSearchSuggestionsInput",
631
+ "targetModule": "@graphcommerce/algolia-mesh",
627
632
  "type": "function",
628
633
  },
629
634
  {
630
635
  "enabled": false,
631
- "ifConfig": "algoliaApplicationId",
632
- "sourceExport": "useProductListApplyCategoryDefaults",
633
- "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoProductApplyAlgoliaEngine",
634
- "targetExport": "useProductListApplyCategoryDefaults",
635
- "targetModule": "@graphcommerce/magento-product",
636
+ "ifConfig": "algolia.personalizationEnabled",
637
+ "sourceExport": "getSearchResultsInput",
638
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/getSearchResultsPersonalization",
639
+ "targetExport": "getSearchResultsInput",
640
+ "targetModule": "@graphcommerce/algolia-mesh",
636
641
  "type": "function",
637
642
  },
638
643
  {
639
644
  "enabled": false,
640
- "ifConfig": "algoliaApplicationId",
641
- "sourceExport": "productListApplyCategoryDefaults",
642
- "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoProductApplyAlgoliaEngine",
643
- "targetExport": "productListApplyCategoryDefaults",
644
- "targetModule": "@graphcommerce/magento-product",
645
+ "ifConfig": "algolia.personalizationEnabled",
646
+ "sourceExport": "getSearchResultsInput",
647
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/getSearchResultsAnalytics",
648
+ "targetExport": "getSearchResultsInput",
649
+ "targetModule": "@graphcommerce/algolia-mesh",
645
650
  "type": "function",
646
651
  },
647
652
  {
648
653
  "enabled": false,
649
- "ifConfig": "algoliaApplicationId",
650
- "sourceExport": "categoryDefaultsToProductListFilters",
651
- "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoProductApplyAlgoliaEngine",
652
- "targetExport": "categoryDefaultsToProductListFilters",
653
- "targetModule": "@graphcommerce/magento-product",
654
+ "ifConfig": "algolia.personalizationEnabled",
655
+ "sourceExport": "getInContextInput",
656
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/InContextInputAlgoliaUserToken",
657
+ "targetExport": "getInContextInput",
658
+ "targetModule": "@graphcommerce/graphql",
654
659
  "type": "function",
655
660
  },
656
661
  {
657
662
  "enabled": false,
658
- "ifConfig": "dataLayer.coreWebVitals",
659
- "sourceExport": "FramerNextPages",
660
- "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerWebVitals",
661
- "targetExport": "FramerNextPages",
662
- "targetModule": "@graphcommerce/framer-next-pages",
663
- "type": "component",
663
+ "ifConfig": "algolia.personalizationEnabled",
664
+ "sourceExport": "useInContextInput",
665
+ "sourceModule": "@graphcommerce/algolia-personalization/plugins/InContextInputAlgoliaUserToken",
666
+ "targetExport": "useInContextInput",
667
+ "targetModule": "@graphcommerce/graphql",
668
+ "type": "function",
664
669
  },
665
670
  {
666
671
  "enabled": false,
667
- "ifConfig": "configurableVariantValues.content",
668
- "sourceExport": "ProductShortDescription",
669
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductShortDescription",
670
- "targetExport": "ProductShortDescription",
672
+ "ifConfig": "algolia.catalogEnabled",
673
+ "sourceExport": "useProductListApplyCategoryDefaults",
674
+ "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoProductApplyAlgoliaEngine",
675
+ "targetExport": "useProductListApplyCategoryDefaults",
671
676
  "targetModule": "@graphcommerce/magento-product",
672
- "type": "component",
677
+ "type": "function",
673
678
  },
674
679
  {
675
680
  "enabled": false,
676
- "ifConfig": "configurableVariantValues.content",
677
- "sourceExport": "ProductPageName",
678
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageName",
679
- "targetExport": "ProductPageName",
681
+ "ifConfig": "algolia.catalogEnabled",
682
+ "sourceExport": "productListApplyCategoryDefaults",
683
+ "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoProductApplyAlgoliaEngine",
684
+ "targetExport": "productListApplyCategoryDefaults",
680
685
  "targetModule": "@graphcommerce/magento-product",
681
- "type": "component",
686
+ "type": "function",
682
687
  },
683
688
  {
684
689
  "enabled": false,
685
- "ifConfig": "configurableVariantValues.url",
686
- "sourceExport": "ProductPageMeta",
687
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageMeta",
688
- "targetExport": "ProductPageMeta",
690
+ "ifConfig": "algolia.catalogEnabled",
691
+ "sourceExport": "categoryDefaultsToProductListFilters",
692
+ "sourceModule": "@graphcommerce/algolia-mesh/plugins/magentoProductApplyAlgoliaEngine",
693
+ "targetExport": "categoryDefaultsToProductListFilters",
689
694
  "targetModule": "@graphcommerce/magento-product",
690
- "type": "component",
695
+ "type": "function",
691
696
  },
692
697
  {
693
698
  "enabled": false,
694
- "ifConfig": "configurableVariantValues.content",
695
- "sourceExport": "ProductPageJsonLd",
696
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageJsonLd",
697
- "targetExport": "ProductPageJsonLd",
698
- "targetModule": "@graphcommerce/magento-product",
699
+ "ifConfig": "algolia.customerGroupPricingEnabled",
700
+ "sourceExport": "GraphQLProvider",
701
+ "sourceModule": "@graphcommerce/algolia-mesh/plugins/GraphQLProviderAlgoliaCustomerGroupId",
702
+ "targetExport": "GraphQLProvider",
703
+ "targetModule": "@graphcommerce/graphql",
699
704
  "type": "component",
700
705
  },
701
706
  {
702
707
  "enabled": false,
703
- "ifConfig": "configurableVariantValues.content",
704
- "sourceExport": "ProductPageDescription",
705
- "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageDescription",
706
- "targetExport": "ProductPageDescription",
707
- "targetModule": "@graphcommerce/magento-product",
708
+ "ifConfig": "dataLayer.coreWebVitals",
709
+ "sourceExport": "FramerNextPages",
710
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerWebVitals",
711
+ "targetExport": "FramerNextPages",
712
+ "targetModule": "@graphcommerce/framer-next-pages",
708
713
  "type": "component",
709
714
  },
710
715
  {
@@ -23,8 +23,6 @@ it('resolves dependences', () => {
23
23
  "@graphcommerce/magento-cart-email" => "packages/magento-cart-email",
24
24
  "@graphcommerce/magento-cms" => "packages/magento-cms",
25
25
  "@graphcommerce/magento-compare" => "packages/magento-compare",
26
- "@graphcommerce/magento-customer" => "packages/magento-customer",
27
- "@graphcommerce/magento-graphql" => "packages/magento-graphql",
28
26
  "@graphcommerce/magento-graphql-rest" => "packages/magento-graphql-rest",
29
27
  "@graphcommerce/magento-newsletter" => "packages/magento-newsletter",
30
28
  "@graphcommerce/magento-payment-included" => "packages/magento-payment-included",
@@ -37,24 +35,26 @@ it('resolves dependences', () => {
37
35
  "@graphcommerce/magento-cart-pickup" => "packages/magento-cart-pickup",
38
36
  "@graphcommerce/magento-payment-braintree" => "packages/magento-payment-braintree",
39
37
  "@graphcommerce/mollie-magento-payment" => "packages/mollie-magento-payment",
40
- "@graphcommerce/magento-payment-paypal" => "packages/magento-payment-paypal",
41
- "@graphcommerce/algolia-mesh" => "packages/algolia-mesh",
42
- "@graphcommerce/google-datalayer" => "packages/google-datalayer",
43
38
  "@graphcommerce/magento-product-configurable" => "packages/magento-product-configurable",
44
39
  "@graphcommerce/magento-product-simple" => "packages/magento-product-simple",
45
40
  "@graphcommerce/magento-category" => "packages/magento-category",
46
41
  "@graphcommerce/magento-cart-items" => "packages/magento-cart-items",
47
42
  "@graphcommerce/lingui-next" => "packages/lingui-next",
48
- "@graphcommerce/magento-cart-shipping-method" => "packages/magento-cart-shipping-method",
49
- "@graphcommerce/magento-cart-payment-method" => "packages/magento-cart-payment-method",
50
- "@graphcommerce/magento-cart-shipping-address" => "packages/magento-cart-shipping-address",
43
+ "@graphcommerce/magento-payment-paypal" => "packages/magento-payment-paypal",
44
+ "@graphcommerce/algolia-personalization" => "packages/algolia-personalization",
45
+ "@graphcommerce/algolia-mesh" => "packages/algolia-mesh",
51
46
  "@graphcommerce/next-config" => "packagesDev/next-config",
52
47
  "@graphcommerce/magento-search" => "packages/magento-search",
48
+ "@graphcommerce/google-datalayer" => "packages/google-datalayer",
53
49
  "@graphcommerce/magento-product" => "packages/magento-product",
50
+ "@graphcommerce/magento-cart-shipping-method" => "packages/magento-cart-shipping-method",
51
+ "@graphcommerce/magento-cart-payment-method" => "packages/magento-cart-payment-method",
52
+ "@graphcommerce/magento-cart-shipping-address" => "packages/magento-cart-shipping-address",
54
53
  "@graphcommerce/magento-cart" => "packages/magento-cart",
55
54
  "@graphcommerce/magento-customer" => "packages/magento-customer",
56
55
  "@graphcommerce/magento-store" => "packages/magento-store",
57
56
  "@graphcommerce/magento-graphql" => "packages/magento-graphql",
57
+ "@graphcommerce/graphql-mesh" => "packages/graphql-mesh",
58
58
  "@graphcommerce/ecommerce-ui" => "packages/ecommerce-ui",
59
59
  "@graphcommerce/react-hook-form" => "packages/react-hook-form",
60
60
  "@graphcommerce/next-ui" => "packages/next-ui",
@@ -65,7 +65,6 @@ it('resolves dependences', () => {
65
65
  "@graphcommerce/graphql" => "packages/graphql",
66
66
  "@graphcommerce/graphql-codegen-relay-optimizer-plugin" => "packagesDev/graphql-codegen-relay-optimizer-plugin",
67
67
  "@graphcommerce/graphql-codegen-near-operation-file" => "packagesDev/graphql-codegen-near-operation-file",
68
- "@graphcommerce/graphql-mesh" => "packages/graphql-mesh",
69
68
  "@graphcommerce/prettier-config-pwa" => "packagesDev/prettier-config",
70
69
  "@graphcommerce/eslint-config-pwa" => "packagesDev/eslint-config",
71
70
  "@graphcommerce/typescript-config-pwa" => "packagesDev/typescript-config",
@@ -24,11 +24,6 @@ function DatalayerConfigSchema() {
24
24
  }
25
25
  function GraphCommerceConfigSchema() {
26
26
  return zod_1.z.object({
27
- algoliaApplicationId: zod_1.z.string().min(1),
28
- algoliaCatalogEnabled: zod_1.z.boolean().nullish(),
29
- algoliaCustomerGroupPricingEnabled: zod_1.z.boolean().nullish(),
30
- algoliaIndexNamePrefix: zod_1.z.string().min(1),
31
- algoliaSearchOnlyApiKey: zod_1.z.string().min(1),
32
27
  breadcrumbs: zod_1.z.boolean().default(false).nullish(),
33
28
  canonicalBaseUrl: zod_1.z.string().min(1),
34
29
  cartDisplayPricesInclTax: zod_1.z.boolean().nullish(),
@@ -79,7 +74,6 @@ function GraphCommerceDebugConfigSchema() {
79
74
  }
80
75
  function GraphCommerceStorefrontConfigSchema() {
81
76
  return zod_1.z.object({
82
- algoliaIndexNamePrefix: zod_1.z.string().nullish(),
83
77
  canonicalBaseUrl: zod_1.z.string().nullish(),
84
78
  cartDisplayPricesInclTax: zod_1.z.boolean().nullish(),
85
79
  customerCompanyFieldsEnable: zod_1.z.boolean().nullish(),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/next-config",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.0.0-canary.73",
5
+ "version": "9.0.0-canary.74",
6
6
  "type": "commonjs",
7
7
  "main": "dist/index.js",
8
8
  "types": "src/index.ts",
@@ -104,23 +104,6 @@ export type DatalayerConfig = {
104
104
  * Below is a list of all possible configurations that can be set by GraphCommerce.
105
105
  */
106
106
  export type GraphCommerceConfig = {
107
- /**
108
- * Configure your Algolia application ID.
109
- *
110
- * Stores > Configuration > Algolia Search > Credentials and Basic Setup > Application ID
111
- */
112
- algoliaApplicationId: Scalars['String']['input'];
113
- /** By default the catalog will not use algolia. Set this to true to enable Algolia for the catalog. */
114
- algoliaCatalogEnabled?: InputMaybe<Scalars['Boolean']['input']>;
115
- algoliaCustomerGroupPricingEnabled?: InputMaybe<Scalars['Boolean']['input']>;
116
- /** Stores > Configuration > Algolia Search > Credentials and Basic Setup > Index name prefix */
117
- algoliaIndexNamePrefix: Scalars['String']['input'];
118
- /**
119
- * Configure your Algolia Search Only API Key.
120
- *
121
- * Stores > Configuration > Algolia Search > Credentials and Basic Setup > Search-only (public) API key
122
- */
123
- algoliaSearchOnlyApiKey: Scalars['String']['input'];
124
107
  /** Configuration for the SidebarGallery component */
125
108
  breadcrumbs?: InputMaybe<Scalars['Boolean']['input']>;
126
109
  /**
@@ -376,8 +359,6 @@ export type GraphCommerceDebugConfig = {
376
359
 
377
360
  /** All storefront configuration for the project */
378
361
  export type GraphCommerceStorefrontConfig = {
379
- /** Stores > Configuration > Algolia Search > Credentials and Basic Setup > Index name prefix */
380
- algoliaIndexNamePrefix?: InputMaybe<Scalars['String']['input']>;
381
362
  /**
382
363
  * The canonical base URL is used for SEO purposes.
383
364
  *
@@ -512,11 +493,6 @@ export function DatalayerConfigSchema(): z.ZodObject<Properties<DatalayerConfig>
512
493
 
513
494
  export function GraphCommerceConfigSchema(): z.ZodObject<Properties<GraphCommerceConfig>> {
514
495
  return z.object({
515
- algoliaApplicationId: z.string().min(1),
516
- algoliaCatalogEnabled: z.boolean().nullish(),
517
- algoliaCustomerGroupPricingEnabled: z.boolean().nullish(),
518
- algoliaIndexNamePrefix: z.string().min(1),
519
- algoliaSearchOnlyApiKey: z.string().min(1),
520
496
  breadcrumbs: z.boolean().default(false).nullish(),
521
497
  canonicalBaseUrl: z.string().min(1),
522
498
  cartDisplayPricesInclTax: z.boolean().nullish(),
@@ -569,7 +545,6 @@ export function GraphCommerceDebugConfigSchema(): z.ZodObject<Properties<GraphCo
569
545
 
570
546
  export function GraphCommerceStorefrontConfigSchema(): z.ZodObject<Properties<GraphCommerceStorefrontConfig>> {
571
547
  return z.object({
572
- algoliaIndexNamePrefix: z.string().nullish(),
573
548
  canonicalBaseUrl: z.string().nullish(),
574
549
  cartDisplayPricesInclTax: z.boolean().nullish(),
575
550
  customerCompanyFieldsEnable: z.boolean().nullish(),