@graphcommerce/next-config 8.1.0-canary.9 → 9.0.0-canary.100
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 +261 -67
- package/__tests__/config/utils/__snapshots__/mergeEnvIntoConfig.ts.snap +159 -3
- package/__tests__/config/utils/configToImportMeta.ts +0 -4
- package/__tests__/config/utils/mergeEnvIntoConfig.ts +20 -2
- package/__tests__/config/utils/rewriteLegancyEnv.ts +1 -1
- package/__tests__/interceptors/findPlugins.ts +366 -240
- package/__tests__/interceptors/generateInterceptors.ts +138 -59
- package/__tests__/interceptors/parseStructure.ts +132 -2
- package/__tests__/utils/resolveDependenciesSync.ts +39 -33
- package/dist/config/commands/exportConfig.js +1 -2
- package/dist/config/commands/generateConfig.js +1 -2
- package/dist/config/demoConfig.js +5 -0
- package/dist/config/loadConfig.js +1 -2
- package/dist/config/utils/configToImportMeta.js +1 -2
- package/dist/config/utils/diff.js +1 -1
- package/dist/config/utils/exportConfigToEnv.js +1 -2
- package/dist/config/utils/mergeEnvIntoConfig.js +12 -5
- package/dist/config/utils/replaceConfigInString.js +1 -2
- package/dist/config/utils/rewriteLegacyEnv.js +1 -2
- package/dist/generated/config.js +37 -16
- package/dist/interceptors/Visitor.js +1 -1
- package/dist/interceptors/commands/codegenInterceptors.js +1 -2
- package/dist/interceptors/extractExports.js +23 -20
- package/dist/interceptors/findOriginalSource.js +19 -4
- package/dist/interceptors/findPlugins.js +1 -2
- package/dist/interceptors/generateInterceptor.js +11 -12
- package/dist/interceptors/generateInterceptors.js +1 -2
- package/dist/interceptors/parseStructure.js +20 -7
- package/dist/interceptors/swc.js +2 -3
- package/dist/interceptors/writeInterceptors.js +8 -9
- package/dist/utils/isMonorepo.js +1 -2
- package/dist/utils/resolveDependenciesSync.js +3 -4
- package/dist/withGraphCommerce.js +22 -15
- package/package.json +10 -11
- package/src/config/demoConfig.ts +5 -0
- package/src/config/utils/mergeEnvIntoConfig.ts +9 -1
- package/src/generated/config.ts +109 -22
- package/src/interceptors/Visitor.ts +1 -1
- package/src/interceptors/extractExports.ts +21 -21
- package/src/interceptors/findOriginalSource.ts +17 -2
- package/src/interceptors/generateInterceptor.ts +4 -6
- package/src/interceptors/parseStructure.ts +25 -5
- package/src/interceptors/writeInterceptors.ts +7 -7
- package/src/utils/resolveDependenciesSync.ts +1 -1
- package/src/withGraphCommerce.ts +21 -13
|
@@ -24,25 +24,25 @@ it('finds plugins', () => {
|
|
|
24
24
|
{
|
|
25
25
|
"enabled": true,
|
|
26
26
|
"ifConfig": "googleAnalyticsId",
|
|
27
|
-
"sourceExport": "
|
|
27
|
+
"sourceExport": "sendEvent",
|
|
28
28
|
"sourceModule": "@graphcommerce/googleanalytics/plugins/gtagEvent",
|
|
29
29
|
"targetExport": "sendEvent",
|
|
30
|
-
"targetModule": "@graphcommerce/google-datalayer
|
|
30
|
+
"targetModule": "@graphcommerce/google-datalayer",
|
|
31
31
|
"type": "function",
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"enabled": true,
|
|
35
35
|
"ifConfig": "googleAnalyticsId",
|
|
36
|
-
"sourceExport": "
|
|
36
|
+
"sourceExport": "DocumentHeadEnd",
|
|
37
37
|
"sourceModule": "@graphcommerce/googleanalytics/plugins/GoogleAnalyticsTag",
|
|
38
|
-
"targetExport": "
|
|
39
|
-
"targetModule": "@graphcommerce/
|
|
38
|
+
"targetExport": "DocumentHeadEnd",
|
|
39
|
+
"targetModule": "@graphcommerce/next-ui/server",
|
|
40
40
|
"type": "component",
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"enabled": true,
|
|
44
44
|
"ifConfig": "googleRecaptchaKey",
|
|
45
|
-
"sourceExport": "
|
|
45
|
+
"sourceExport": "GraphQLProvider",
|
|
46
46
|
"sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaGraphQLProvider",
|
|
47
47
|
"targetExport": "GraphQLProvider",
|
|
48
48
|
"targetModule": "@graphcommerce/graphql",
|
|
@@ -51,7 +51,7 @@ it('finds plugins', () => {
|
|
|
51
51
|
{
|
|
52
52
|
"enabled": true,
|
|
53
53
|
"ifConfig": "googleRecaptchaKey",
|
|
54
|
-
"sourceExport": "
|
|
54
|
+
"sourceExport": "ApolloErrorSnackbar",
|
|
55
55
|
"sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorSnackbar",
|
|
56
56
|
"targetExport": "ApolloErrorSnackbar",
|
|
57
57
|
"targetModule": "@graphcommerce/ecommerce-ui",
|
|
@@ -60,7 +60,7 @@ it('finds plugins', () => {
|
|
|
60
60
|
{
|
|
61
61
|
"enabled": true,
|
|
62
62
|
"ifConfig": "googleRecaptchaKey",
|
|
63
|
-
"sourceExport": "
|
|
63
|
+
"sourceExport": "ApolloErrorFullPage",
|
|
64
64
|
"sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorFullPage",
|
|
65
65
|
"targetExport": "ApolloErrorFullPage",
|
|
66
66
|
"targetModule": "@graphcommerce/ecommerce-ui",
|
|
@@ -69,7 +69,7 @@ it('finds plugins', () => {
|
|
|
69
69
|
{
|
|
70
70
|
"enabled": true,
|
|
71
71
|
"ifConfig": "googleRecaptchaKey",
|
|
72
|
-
"sourceExport": "
|
|
72
|
+
"sourceExport": "ApolloErrorAlert",
|
|
73
73
|
"sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorAlert",
|
|
74
74
|
"targetExport": "ApolloErrorAlert",
|
|
75
75
|
"targetModule": "@graphcommerce/ecommerce-ui",
|
|
@@ -77,347 +77,455 @@ it('finds plugins', () => {
|
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
"enabled": true,
|
|
80
|
-
"sourceExport": "
|
|
81
|
-
"sourceModule": "@graphcommerce/
|
|
82
|
-
"targetExport": "
|
|
83
|
-
"targetModule": "@graphcommerce/
|
|
84
|
-
"type": "
|
|
80
|
+
"sourceExport": "hygraphPageContent",
|
|
81
|
+
"sourceModule": "@graphcommerce/hygraph-dynamic-rows/plugins/hygraphDynamicRowsPageContent",
|
|
82
|
+
"targetExport": "hygraphPageContent",
|
|
83
|
+
"targetModule": "@graphcommerce/graphcms-ui",
|
|
84
|
+
"type": "function",
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
87
|
"enabled": true,
|
|
88
|
-
"sourceExport": "
|
|
89
|
-
"sourceModule": "@graphcommerce/
|
|
90
|
-
"targetExport": "
|
|
91
|
-
"targetModule": "@graphcommerce/
|
|
92
|
-
"type": "
|
|
88
|
+
"sourceExport": "previewModeDefaults",
|
|
89
|
+
"sourceModule": "@graphcommerce/graphcms-ui/plugins/hygraphPreviewModeDefaults",
|
|
90
|
+
"targetExport": "previewModeDefaults",
|
|
91
|
+
"targetModule": "@graphcommerce/ecommerce-ui",
|
|
92
|
+
"type": "function",
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"enabled": true,
|
|
96
|
-
"sourceExport": "
|
|
97
|
-
"sourceModule": "@graphcommerce/
|
|
98
|
-
"targetExport": "
|
|
99
|
-
"targetModule": "@graphcommerce/
|
|
96
|
+
"sourceExport": "graphqlConfig",
|
|
97
|
+
"sourceModule": "@graphcommerce/graphcms-ui/plugins/hygraphGraphqlConfig",
|
|
98
|
+
"targetExport": "graphqlConfig",
|
|
99
|
+
"targetModule": "@graphcommerce/graphql",
|
|
100
|
+
"type": "function",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"enabled": true,
|
|
104
|
+
"sourceExport": "PreviewModeToolbar",
|
|
105
|
+
"sourceModule": "@graphcommerce/graphcms-ui/plugins/HygraphPreviewModeToolbar",
|
|
106
|
+
"targetExport": "PreviewModeToolbar",
|
|
107
|
+
"targetModule": "@graphcommerce/ecommerce-ui",
|
|
100
108
|
"type": "component",
|
|
101
109
|
},
|
|
102
110
|
{
|
|
103
111
|
"enabled": true,
|
|
104
|
-
"sourceExport": "
|
|
105
|
-
"sourceModule": "@graphcommerce/
|
|
106
|
-
"targetExport": "
|
|
107
|
-
"targetModule": "@graphcommerce/
|
|
112
|
+
"sourceExport": "meshConfig",
|
|
113
|
+
"sourceModule": "@graphcommerce/magento-graphql-rest/plugins/meshConfigM2Rest",
|
|
114
|
+
"targetExport": "meshConfig",
|
|
115
|
+
"targetModule": "@graphcommerce/graphql-mesh/meshConfig",
|
|
116
|
+
"type": "function",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"enabled": true,
|
|
120
|
+
"sourceExport": "PaymentMethodContextProvider",
|
|
121
|
+
"sourceModule": "@graphcommerce/magento-payment-included/plugins/AddIncludedMethods",
|
|
122
|
+
"targetExport": "PaymentMethodContextProvider",
|
|
123
|
+
"targetModule": "@graphcommerce/magento-cart-payment-method",
|
|
108
124
|
"type": "component",
|
|
109
125
|
},
|
|
110
126
|
{
|
|
111
127
|
"enabled": true,
|
|
112
|
-
"sourceExport": "
|
|
113
|
-
"sourceModule": "@graphcommerce/
|
|
114
|
-
"targetExport": "
|
|
128
|
+
"sourceExport": "CartItemActionCard",
|
|
129
|
+
"sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleCartItemActionCard",
|
|
130
|
+
"targetExport": "CartItemActionCard",
|
|
115
131
|
"targetModule": "@graphcommerce/magento-cart-items",
|
|
116
132
|
"type": "component",
|
|
117
133
|
},
|
|
118
134
|
{
|
|
119
135
|
"enabled": true,
|
|
120
|
-
"sourceExport": "
|
|
121
|
-
"sourceModule": "@graphcommerce/
|
|
122
|
-
"targetExport": "
|
|
136
|
+
"sourceExport": "CartItemActionCard",
|
|
137
|
+
"sourceModule": "@graphcommerce/magento-product-virtual/plugins/VirtualCartItemActionCard",
|
|
138
|
+
"targetExport": "CartItemActionCard",
|
|
123
139
|
"targetModule": "@graphcommerce/magento-cart-items",
|
|
124
140
|
"type": "component",
|
|
125
141
|
},
|
|
126
142
|
{
|
|
127
143
|
"enabled": true,
|
|
128
|
-
"sourceExport": "
|
|
129
|
-
"sourceModule": "@graphcommerce/
|
|
130
|
-
"targetExport": "
|
|
144
|
+
"sourceExport": "AddProductsToCartForm",
|
|
145
|
+
"sourceModule": "@graphcommerce/magento-wishlist/plugins/WishlistProductAddToCartFormPlugin",
|
|
146
|
+
"targetExport": "AddProductsToCartForm",
|
|
131
147
|
"targetModule": "@graphcommerce/magento-product",
|
|
132
148
|
"type": "component",
|
|
133
149
|
},
|
|
134
150
|
{
|
|
135
151
|
"enabled": true,
|
|
136
|
-
"sourceExport": "
|
|
137
|
-
"sourceModule": "@graphcommerce/
|
|
138
|
-
"targetExport": "
|
|
139
|
-
"targetModule": "@graphcommerce/magento-
|
|
152
|
+
"sourceExport": "WishlistItemActionCard",
|
|
153
|
+
"sourceModule": "@graphcommerce/magento-wishlist/plugins/ConfigurableWishlistItemActionCard",
|
|
154
|
+
"targetExport": "WishlistItemActionCard",
|
|
155
|
+
"targetModule": "@graphcommerce/magento-wishlist",
|
|
140
156
|
"type": "component",
|
|
141
157
|
},
|
|
142
158
|
{
|
|
143
159
|
"enabled": true,
|
|
144
|
-
"sourceExport": "
|
|
145
|
-
"sourceModule": "@graphcommerce/
|
|
146
|
-
"targetExport": "
|
|
147
|
-
"targetModule": "@graphcommerce/magento-
|
|
160
|
+
"sourceExport": "WishlistItemActionCard",
|
|
161
|
+
"sourceModule": "@graphcommerce/magento-wishlist/plugins/BundleWishlistItemActionCard",
|
|
162
|
+
"targetExport": "WishlistItemActionCard",
|
|
163
|
+
"targetModule": "@graphcommerce/magento-wishlist",
|
|
148
164
|
"type": "component",
|
|
149
165
|
},
|
|
150
166
|
{
|
|
151
167
|
"enabled": true,
|
|
152
|
-
"sourceExport": "
|
|
153
|
-
"sourceModule": "@graphcommerce/
|
|
168
|
+
"sourceExport": "ShippingMethodForm",
|
|
169
|
+
"sourceModule": "@graphcommerce/magento-cart-pickup/plugins/AddPickupInStore",
|
|
170
|
+
"targetExport": "ShippingMethodForm",
|
|
171
|
+
"targetModule": "@graphcommerce/magento-cart-shipping-method",
|
|
172
|
+
"type": "component",
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"enabled": true,
|
|
176
|
+
"sourceExport": "PaymentMethodContextProvider",
|
|
177
|
+
"sourceModule": "@graphcommerce/magento-payment-braintree/plugins/AddBraintreeMethods",
|
|
154
178
|
"targetExport": "PaymentMethodContextProvider",
|
|
155
179
|
"targetModule": "@graphcommerce/magento-cart-payment-method",
|
|
156
180
|
"type": "component",
|
|
157
181
|
},
|
|
158
182
|
{
|
|
159
183
|
"enabled": true,
|
|
160
|
-
"sourceExport": "
|
|
161
|
-
"sourceModule": "@graphcommerce/
|
|
162
|
-
"targetExport": "
|
|
184
|
+
"sourceExport": "PaymentMethodContextProvider",
|
|
185
|
+
"sourceModule": "@graphcommerce/mollie-magento-payment/plugins/AddMollieMethods",
|
|
186
|
+
"targetExport": "PaymentMethodContextProvider",
|
|
163
187
|
"targetModule": "@graphcommerce/magento-cart-payment-method",
|
|
164
188
|
"type": "component",
|
|
165
189
|
},
|
|
166
190
|
{
|
|
167
191
|
"enabled": true,
|
|
168
|
-
"sourceExport": "
|
|
169
|
-
"sourceModule": "@graphcommerce/
|
|
170
|
-
"targetExport": "
|
|
171
|
-
"targetModule": "@graphcommerce/magento-cart",
|
|
192
|
+
"sourceExport": "CartItemActionCard",
|
|
193
|
+
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableCartItemActionCard",
|
|
194
|
+
"targetExport": "CartItemActionCard",
|
|
195
|
+
"targetModule": "@graphcommerce/magento-cart-items",
|
|
172
196
|
"type": "component",
|
|
173
197
|
},
|
|
174
198
|
{
|
|
175
199
|
"enabled": true,
|
|
176
|
-
"sourceExport": "
|
|
177
|
-
"sourceModule": "@graphcommerce/
|
|
178
|
-
"targetExport": "
|
|
179
|
-
"targetModule": "@graphcommerce/magento-
|
|
200
|
+
"sourceExport": "ProductPagePriceTiers",
|
|
201
|
+
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePriceTiers",
|
|
202
|
+
"targetExport": "ProductPagePriceTiers",
|
|
203
|
+
"targetModule": "@graphcommerce/magento-product",
|
|
180
204
|
"type": "component",
|
|
181
205
|
},
|
|
182
206
|
{
|
|
183
207
|
"enabled": true,
|
|
184
|
-
"sourceExport": "
|
|
185
|
-
"sourceModule": "@graphcommerce/
|
|
186
|
-
"targetExport": "
|
|
187
|
-
"targetModule": "@graphcommerce/magento-
|
|
208
|
+
"sourceExport": "ProductPagePrice",
|
|
209
|
+
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePrice",
|
|
210
|
+
"targetExport": "ProductPagePrice",
|
|
211
|
+
"targetModule": "@graphcommerce/magento-product",
|
|
188
212
|
"type": "component",
|
|
189
213
|
},
|
|
190
214
|
{
|
|
191
215
|
"enabled": true,
|
|
192
|
-
"sourceExport": "
|
|
193
|
-
"sourceModule": "@graphcommerce/
|
|
194
|
-
"targetExport": "
|
|
195
|
-
"targetModule": "@graphcommerce/magento-
|
|
216
|
+
"sourceExport": "ProductPageGallery",
|
|
217
|
+
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery",
|
|
218
|
+
"targetExport": "ProductPageGallery",
|
|
219
|
+
"targetModule": "@graphcommerce/magento-product",
|
|
196
220
|
"type": "component",
|
|
197
221
|
},
|
|
198
222
|
{
|
|
199
223
|
"enabled": true,
|
|
200
|
-
"sourceExport": "
|
|
201
|
-
"sourceModule": "@graphcommerce/
|
|
202
|
-
"targetExport": "
|
|
203
|
-
"targetModule": "@graphcommerce/magento-
|
|
224
|
+
"sourceExport": "CartItemActionCard",
|
|
225
|
+
"sourceModule": "@graphcommerce/magento-product-simple/plugins/SimpleCartItemActionCard",
|
|
226
|
+
"targetExport": "CartItemActionCard",
|
|
227
|
+
"targetModule": "@graphcommerce/magento-cart-items",
|
|
204
228
|
"type": "component",
|
|
205
229
|
},
|
|
206
230
|
{
|
|
207
231
|
"enabled": true,
|
|
208
|
-
"sourceExport": "
|
|
209
|
-
"sourceModule": "@graphcommerce/
|
|
210
|
-
"targetExport": "
|
|
211
|
-
"targetModule": "@graphcommerce/
|
|
232
|
+
"sourceExport": "PaymentMethodContextProvider",
|
|
233
|
+
"sourceModule": "@graphcommerce/magento-payment-paypal/plugins/AddPaypalMethods",
|
|
234
|
+
"targetExport": "PaymentMethodContextProvider",
|
|
235
|
+
"targetModule": "@graphcommerce/magento-cart-payment-method",
|
|
236
|
+
"type": "component",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"enabled": true,
|
|
240
|
+
"sourceExport": "meshConfig",
|
|
241
|
+
"sourceModule": "@graphcommerce/algolia-categories/plugins/meshConfigAlgoliaCategories",
|
|
242
|
+
"targetExport": "meshConfig",
|
|
243
|
+
"targetModule": "@graphcommerce/graphql-mesh/meshConfig",
|
|
212
244
|
"type": "function",
|
|
213
245
|
},
|
|
214
246
|
{
|
|
215
247
|
"enabled": true,
|
|
216
|
-
"sourceExport": "
|
|
217
|
-
"sourceModule": "@graphcommerce/
|
|
218
|
-
"targetExport": "
|
|
219
|
-
"targetModule": "@graphcommerce/
|
|
248
|
+
"sourceExport": "getSearchSuggestionsInput",
|
|
249
|
+
"sourceModule": "@graphcommerce/algolia-personalization/plugins/getSearchSuggestionsInputPersonalization",
|
|
250
|
+
"targetExport": "getSearchSuggestionsInput",
|
|
251
|
+
"targetModule": "@graphcommerce/algolia-products",
|
|
220
252
|
"type": "function",
|
|
221
253
|
},
|
|
222
254
|
{
|
|
223
255
|
"enabled": true,
|
|
224
|
-
"sourceExport": "
|
|
225
|
-
"sourceModule": "@graphcommerce/
|
|
226
|
-
"targetExport": "
|
|
227
|
-
"targetModule": "@graphcommerce/
|
|
256
|
+
"sourceExport": "getSearchResultsInput",
|
|
257
|
+
"sourceModule": "@graphcommerce/algolia-personalization/plugins/getSearchResultsInputPersonalization",
|
|
258
|
+
"targetExport": "getSearchResultsInput",
|
|
259
|
+
"targetModule": "@graphcommerce/algolia-products",
|
|
228
260
|
"type": "function",
|
|
229
261
|
},
|
|
230
262
|
{
|
|
231
263
|
"enabled": true,
|
|
232
|
-
"sourceExport": "
|
|
233
|
-
"sourceModule": "@graphcommerce/
|
|
234
|
-
"targetExport": "
|
|
264
|
+
"sourceExport": "getInContextInput",
|
|
265
|
+
"sourceModule": "@graphcommerce/algolia-personalization/plugins/InContextInputAlgoliaUserToken",
|
|
266
|
+
"targetExport": "getInContextInput",
|
|
235
267
|
"targetModule": "@graphcommerce/graphql",
|
|
236
|
-
"type": "
|
|
268
|
+
"type": "function",
|
|
237
269
|
},
|
|
238
270
|
{
|
|
239
271
|
"enabled": true,
|
|
240
|
-
"sourceExport": "
|
|
241
|
-
"sourceModule": "@graphcommerce/
|
|
242
|
-
"targetExport": "
|
|
272
|
+
"sourceExport": "useInContextInput",
|
|
273
|
+
"sourceModule": "@graphcommerce/algolia-personalization/plugins/InContextInputAlgoliaUserToken",
|
|
274
|
+
"targetExport": "useInContextInput",
|
|
243
275
|
"targetModule": "@graphcommerce/graphql",
|
|
244
|
-
"type": "
|
|
276
|
+
"type": "function",
|
|
245
277
|
},
|
|
246
278
|
{
|
|
247
279
|
"enabled": true,
|
|
248
|
-
"sourceExport": "
|
|
249
|
-
"sourceModule": "@graphcommerce/
|
|
250
|
-
"targetExport": "
|
|
251
|
-
"targetModule": "@graphcommerce/
|
|
280
|
+
"sourceExport": "useSendEvent",
|
|
281
|
+
"sourceModule": "@graphcommerce/algolia-insights/plugins/useSendEventAlgolia",
|
|
282
|
+
"targetExport": "useSendEvent",
|
|
283
|
+
"targetModule": "@graphcommerce/google-datalayer",
|
|
252
284
|
"type": "function",
|
|
253
285
|
},
|
|
254
286
|
{
|
|
255
287
|
"enabled": true,
|
|
256
|
-
"sourceExport": "
|
|
257
|
-
"sourceModule": "@graphcommerce/
|
|
258
|
-
"targetExport": "
|
|
259
|
-
"targetModule": "@graphcommerce/
|
|
288
|
+
"sourceExport": "meshConfig",
|
|
289
|
+
"sourceModule": "@graphcommerce/algolia-insights/plugins/meshConfigAlgoliaInsights",
|
|
290
|
+
"targetExport": "meshConfig",
|
|
291
|
+
"targetModule": "@graphcommerce/graphql-mesh/meshConfig",
|
|
292
|
+
"type": "function",
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"enabled": true,
|
|
296
|
+
"sourceExport": "getSearchSuggestionsInput",
|
|
297
|
+
"sourceModule": "@graphcommerce/algolia-insights/plugins/getSearchSuggestionsInputInsights",
|
|
298
|
+
"targetExport": "getSearchSuggestionsInput",
|
|
299
|
+
"targetModule": "@graphcommerce/algolia-products",
|
|
300
|
+
"type": "function",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"enabled": true,
|
|
304
|
+
"sourceExport": "getSearchResultsInput",
|
|
305
|
+
"sourceModule": "@graphcommerce/algolia-insights/plugins/getSearchResultsInputInsights",
|
|
306
|
+
"targetExport": "getSearchResultsInput",
|
|
307
|
+
"targetModule": "@graphcommerce/algolia-products",
|
|
308
|
+
"type": "function",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"enabled": true,
|
|
312
|
+
"sourceExport": "meshConfig",
|
|
313
|
+
"sourceModule": "@graphcommerce/algolia-recommend/plugins/meshConfigAlgoliaRecommend",
|
|
314
|
+
"targetExport": "meshConfig",
|
|
315
|
+
"targetModule": "@graphcommerce/graphql-mesh/meshConfig",
|
|
316
|
+
"type": "function",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"enabled": true,
|
|
320
|
+
"sourceExport": "meshConfig",
|
|
321
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/meshConfigAlgolia",
|
|
322
|
+
"targetExport": "meshConfig",
|
|
323
|
+
"targetModule": "@graphcommerce/graphql-mesh/meshConfig",
|
|
324
|
+
"type": "function",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"enabled": true,
|
|
328
|
+
"sourceExport": "useProductListApplySearchDefaults",
|
|
329
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/magentoSearchApplyAlgoliaEngine",
|
|
330
|
+
"targetExport": "useProductListApplySearchDefaults",
|
|
331
|
+
"targetModule": "@graphcommerce/magento-search",
|
|
332
|
+
"type": "function",
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"enabled": true,
|
|
336
|
+
"sourceExport": "productListApplySearchDefaults",
|
|
337
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/magentoSearchApplyAlgoliaEngine",
|
|
338
|
+
"targetExport": "productListApplySearchDefaults",
|
|
339
|
+
"targetModule": "@graphcommerce/magento-search",
|
|
340
|
+
"type": "function",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"enabled": true,
|
|
344
|
+
"sourceExport": "searchDefaultsToProductListFilters",
|
|
345
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/magentoSearchApplyAlgoliaEngine",
|
|
346
|
+
"targetExport": "searchDefaultsToProductListFilters",
|
|
347
|
+
"targetModule": "@graphcommerce/magento-search",
|
|
348
|
+
"type": "function",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"enabled": true,
|
|
352
|
+
"sourceExport": "ProductListItemsBase",
|
|
353
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/ProductListItemsBaseAlgolia",
|
|
354
|
+
"targetExport": "ProductListItemsBase",
|
|
355
|
+
"targetModule": "@graphcommerce/magento-product",
|
|
260
356
|
"type": "component",
|
|
261
357
|
},
|
|
262
358
|
{
|
|
263
359
|
"enabled": true,
|
|
264
|
-
"sourceExport": "
|
|
265
|
-
"sourceModule": "@graphcommerce/
|
|
266
|
-
"targetExport": "
|
|
267
|
-
"targetModule": "@graphcommerce/magento-
|
|
360
|
+
"sourceExport": "ProductPageMeta",
|
|
361
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerViewItem",
|
|
362
|
+
"targetExport": "ProductPageMeta",
|
|
363
|
+
"targetModule": "@graphcommerce/magento-product",
|
|
268
364
|
"type": "component",
|
|
269
365
|
},
|
|
270
366
|
{
|
|
271
367
|
"enabled": true,
|
|
272
|
-
"sourceExport": "
|
|
273
|
-
"sourceModule": "@graphcommerce/
|
|
274
|
-
"targetExport": "
|
|
368
|
+
"sourceExport": "UpdateItemQuantity",
|
|
369
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerUseRemoveItemFromCart",
|
|
370
|
+
"targetExport": "UpdateItemQuantity",
|
|
275
371
|
"targetModule": "@graphcommerce/magento-cart-items",
|
|
276
372
|
"type": "component",
|
|
277
373
|
},
|
|
278
374
|
{
|
|
279
375
|
"enabled": true,
|
|
280
|
-
"sourceExport": "
|
|
281
|
-
"sourceModule": "@graphcommerce/
|
|
282
|
-
"targetExport": "
|
|
283
|
-
"targetModule": "@graphcommerce/magento-cart-
|
|
376
|
+
"sourceExport": "ShippingMethodForm",
|
|
377
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerShippingMethodForm",
|
|
378
|
+
"targetExport": "ShippingMethodForm",
|
|
379
|
+
"targetModule": "@graphcommerce/magento-cart-shipping-method",
|
|
284
380
|
"type": "component",
|
|
285
381
|
},
|
|
286
382
|
{
|
|
287
383
|
"enabled": true,
|
|
288
|
-
"sourceExport": "
|
|
289
|
-
"sourceModule": "@graphcommerce/
|
|
290
|
-
"targetExport": "
|
|
384
|
+
"sourceExport": "useRemoveItemFromCart",
|
|
385
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerRemoveItemFromCart",
|
|
386
|
+
"targetExport": "useRemoveItemFromCart",
|
|
291
387
|
"targetModule": "@graphcommerce/magento-cart-items",
|
|
292
|
-
"type": "
|
|
388
|
+
"type": "function",
|
|
293
389
|
},
|
|
294
390
|
{
|
|
295
391
|
"enabled": true,
|
|
296
|
-
"sourceExport": "
|
|
297
|
-
"sourceModule": "@graphcommerce/
|
|
298
|
-
"targetExport": "
|
|
392
|
+
"sourceExport": "ProductListItemsBase",
|
|
393
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerProductListItemsBase",
|
|
394
|
+
"targetExport": "ProductListItemsBase",
|
|
299
395
|
"targetModule": "@graphcommerce/magento-product",
|
|
300
396
|
"type": "component",
|
|
301
397
|
},
|
|
302
398
|
{
|
|
303
399
|
"enabled": true,
|
|
304
|
-
"sourceExport": "
|
|
305
|
-
"sourceModule": "@graphcommerce/
|
|
306
|
-
"targetExport": "
|
|
400
|
+
"sourceExport": "ProductListItem",
|
|
401
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerProductListItem",
|
|
402
|
+
"targetExport": "ProductListItem",
|
|
307
403
|
"targetModule": "@graphcommerce/magento-product",
|
|
308
404
|
"type": "component",
|
|
309
405
|
},
|
|
310
406
|
{
|
|
311
407
|
"enabled": true,
|
|
312
|
-
"sourceExport": "
|
|
313
|
-
"sourceModule": "@graphcommerce/
|
|
314
|
-
"targetExport": "
|
|
315
|
-
"targetModule": "@graphcommerce/magento-
|
|
408
|
+
"sourceExport": "PaymentMethodContextProvider",
|
|
409
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerPaymentMethodContextProvider",
|
|
410
|
+
"targetExport": "PaymentMethodContextProvider",
|
|
411
|
+
"targetModule": "@graphcommerce/magento-cart-payment-method",
|
|
316
412
|
"type": "component",
|
|
317
413
|
},
|
|
318
414
|
{
|
|
319
415
|
"enabled": true,
|
|
320
|
-
"sourceExport": "
|
|
321
|
-
"sourceModule": "@graphcommerce/
|
|
322
|
-
"targetExport": "
|
|
323
|
-
"targetModule": "@graphcommerce/magento-cart-
|
|
416
|
+
"sourceExport": "PaymentMethodButton",
|
|
417
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerPaymentMethodButton",
|
|
418
|
+
"targetExport": "PaymentMethodButton",
|
|
419
|
+
"targetModule": "@graphcommerce/magento-cart-payment-method",
|
|
324
420
|
"type": "component",
|
|
325
421
|
},
|
|
326
422
|
{
|
|
327
423
|
"enabled": true,
|
|
328
|
-
"sourceExport": "
|
|
329
|
-
"sourceModule": "@graphcommerce/
|
|
330
|
-
"targetExport": "
|
|
331
|
-
"targetModule": "@graphcommerce/magento-cart
|
|
424
|
+
"sourceExport": "CartStartCheckoutLinkOrButton",
|
|
425
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckoutLinkOrButton",
|
|
426
|
+
"targetExport": "CartStartCheckoutLinkOrButton",
|
|
427
|
+
"targetModule": "@graphcommerce/magento-cart",
|
|
332
428
|
"type": "component",
|
|
333
429
|
},
|
|
334
430
|
{
|
|
335
431
|
"enabled": true,
|
|
336
|
-
"sourceExport": "
|
|
337
|
-
"sourceModule": "@graphcommerce/
|
|
338
|
-
"targetExport": "
|
|
339
|
-
"targetModule": "@graphcommerce/magento-cart
|
|
432
|
+
"sourceExport": "CartStartCheckout",
|
|
433
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckout",
|
|
434
|
+
"targetExport": "CartStartCheckout",
|
|
435
|
+
"targetModule": "@graphcommerce/magento-cart",
|
|
340
436
|
"type": "component",
|
|
341
437
|
},
|
|
342
438
|
{
|
|
343
439
|
"enabled": true,
|
|
344
|
-
"sourceExport": "
|
|
345
|
-
"sourceModule": "@graphcommerce/
|
|
346
|
-
"targetExport": "
|
|
347
|
-
"targetModule": "@graphcommerce/magento-
|
|
440
|
+
"sourceExport": "AddProductsToCartForm",
|
|
441
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerAddProductsToCartForm",
|
|
442
|
+
"targetExport": "AddProductsToCartForm",
|
|
443
|
+
"targetModule": "@graphcommerce/magento-product",
|
|
348
444
|
"type": "component",
|
|
349
445
|
},
|
|
350
446
|
{
|
|
351
447
|
"enabled": true,
|
|
352
|
-
"sourceExport": "
|
|
353
|
-
"sourceModule": "@graphcommerce/magento-
|
|
354
|
-
"targetExport": "
|
|
355
|
-
"targetModule": "@graphcommerce/
|
|
448
|
+
"sourceExport": "useSignInForm",
|
|
449
|
+
"sourceModule": "@graphcommerce/magento-cart/plugins/useSignInFormMergeCart",
|
|
450
|
+
"targetExport": "useSignInForm",
|
|
451
|
+
"targetModule": "@graphcommerce/magento-customer",
|
|
356
452
|
"type": "function",
|
|
357
453
|
},
|
|
358
454
|
{
|
|
359
455
|
"enabled": true,
|
|
360
|
-
"sourceExport": "
|
|
361
|
-
"sourceModule": "@graphcommerce/magento-
|
|
362
|
-
"targetExport": "
|
|
363
|
-
"targetModule": "@graphcommerce/
|
|
456
|
+
"sourceExport": "GraphQLProvider",
|
|
457
|
+
"sourceModule": "@graphcommerce/magento-cart/plugins/MagentoCartGraphqlProvider",
|
|
458
|
+
"targetExport": "GraphQLProvider",
|
|
459
|
+
"targetModule": "@graphcommerce/graphql",
|
|
364
460
|
"type": "component",
|
|
365
461
|
},
|
|
366
462
|
{
|
|
367
463
|
"enabled": true,
|
|
368
|
-
"sourceExport": "
|
|
369
|
-
"sourceModule": "@graphcommerce/magento-
|
|
370
|
-
"targetExport": "
|
|
371
|
-
"targetModule": "@graphcommerce/
|
|
372
|
-
"type": "
|
|
464
|
+
"sourceExport": "getInContextInput",
|
|
465
|
+
"sourceModule": "@graphcommerce/magento-customer/plugins/magentoCustomerGetInContext",
|
|
466
|
+
"targetExport": "getInContextInput",
|
|
467
|
+
"targetModule": "@graphcommerce/graphql",
|
|
468
|
+
"type": "function",
|
|
373
469
|
},
|
|
374
470
|
{
|
|
375
471
|
"enabled": true,
|
|
376
|
-
"sourceExport": "
|
|
377
|
-
"sourceModule": "@graphcommerce/magento-
|
|
378
|
-
"targetExport": "
|
|
379
|
-
"targetModule": "@graphcommerce/
|
|
380
|
-
"type": "
|
|
472
|
+
"sourceExport": "useInContextInput",
|
|
473
|
+
"sourceModule": "@graphcommerce/magento-customer/plugins/magentoCustomerGetInContext",
|
|
474
|
+
"targetExport": "useInContextInput",
|
|
475
|
+
"targetModule": "@graphcommerce/graphql",
|
|
476
|
+
"type": "function",
|
|
381
477
|
},
|
|
382
478
|
{
|
|
383
479
|
"enabled": true,
|
|
384
|
-
"
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
480
|
+
"ifConfig": [
|
|
481
|
+
"customerXMagentoCacheIdDisable",
|
|
482
|
+
false,
|
|
483
|
+
],
|
|
484
|
+
"sourceExport": "GraphQLProvider",
|
|
485
|
+
"sourceModule": "@graphcommerce/magento-customer/plugins/XMagentoCacheIdGraphQLProvider",
|
|
486
|
+
"targetExport": "GraphQLProvider",
|
|
487
|
+
"targetModule": "@graphcommerce/graphql",
|
|
388
488
|
"type": "component",
|
|
389
489
|
},
|
|
390
490
|
{
|
|
391
491
|
"enabled": true,
|
|
392
|
-
"sourceExport": "
|
|
393
|
-
"sourceModule": "@graphcommerce/magento-
|
|
394
|
-
"targetExport": "
|
|
395
|
-
"targetModule": "@graphcommerce/
|
|
492
|
+
"sourceExport": "GraphQLProvider",
|
|
493
|
+
"sourceModule": "@graphcommerce/magento-customer/plugins/MagentoCustomerGraphqlProvider",
|
|
494
|
+
"targetExport": "GraphQLProvider",
|
|
495
|
+
"targetModule": "@graphcommerce/graphql",
|
|
396
496
|
"type": "component",
|
|
397
497
|
},
|
|
398
498
|
{
|
|
399
499
|
"enabled": true,
|
|
400
|
-
"sourceExport": "
|
|
401
|
-
"sourceModule": "@graphcommerce/magento-
|
|
402
|
-
"targetExport": "
|
|
403
|
-
"targetModule": "@graphcommerce/
|
|
404
|
-
"type": "
|
|
500
|
+
"sourceExport": "graphqlConfig",
|
|
501
|
+
"sourceModule": "@graphcommerce/magento-store/plugins/magentoStoreGraphqlConfig",
|
|
502
|
+
"targetExport": "graphqlConfig",
|
|
503
|
+
"targetModule": "@graphcommerce/graphql",
|
|
504
|
+
"type": "function",
|
|
405
505
|
},
|
|
406
506
|
{
|
|
407
507
|
"enabled": true,
|
|
408
|
-
"sourceExport": "
|
|
409
|
-
"sourceModule": "@graphcommerce/
|
|
410
|
-
"targetExport": "
|
|
411
|
-
"targetModule": "@graphcommerce/
|
|
412
|
-
"type": "
|
|
508
|
+
"sourceExport": "meshConfig",
|
|
509
|
+
"sourceModule": "@graphcommerce/magento-graphql/plugins/meshConfigAttrValue",
|
|
510
|
+
"targetExport": "meshConfig",
|
|
511
|
+
"targetModule": "@graphcommerce/graphql-mesh/meshConfig",
|
|
512
|
+
"type": "function",
|
|
413
513
|
},
|
|
414
514
|
{
|
|
415
515
|
"enabled": true,
|
|
416
|
-
"sourceExport": "
|
|
417
|
-
"sourceModule": "@graphcommerce/magento-
|
|
418
|
-
"targetExport": "
|
|
419
|
-
"targetModule": "@graphcommerce/
|
|
420
|
-
"type": "
|
|
516
|
+
"sourceExport": "graphqlConfig",
|
|
517
|
+
"sourceModule": "@graphcommerce/magento-graphql/plugins/magentoGraphqlConfig",
|
|
518
|
+
"targetExport": "graphqlConfig",
|
|
519
|
+
"targetModule": "@graphcommerce/graphql",
|
|
520
|
+
"type": "function",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"enabled": true,
|
|
524
|
+
"sourceExport": "meshConfig",
|
|
525
|
+
"sourceModule": "@graphcommerce/graphql-mesh/plugins/meshConfigFake",
|
|
526
|
+
"targetExport": "meshConfig",
|
|
527
|
+
"targetModule": "@graphcommerce/graphql-mesh/meshConfig",
|
|
528
|
+
"type": "function",
|
|
421
529
|
},
|
|
422
530
|
]
|
|
423
531
|
`)
|
|
@@ -435,7 +543,7 @@ it('finds plugins', () => {
|
|
|
435
543
|
{
|
|
436
544
|
"enabled": false,
|
|
437
545
|
"ifConfig": "demoMode",
|
|
438
|
-
"sourceExport": "
|
|
546
|
+
"sourceExport": "RowLinks",
|
|
439
547
|
"sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoRowLinks",
|
|
440
548
|
"targetExport": "RowLinks",
|
|
441
549
|
"targetModule": "@graphcommerce/next-ui",
|
|
@@ -444,7 +552,7 @@ it('finds plugins', () => {
|
|
|
444
552
|
{
|
|
445
553
|
"enabled": false,
|
|
446
554
|
"ifConfig": "demoMode",
|
|
447
|
-
"sourceExport": "
|
|
555
|
+
"sourceExport": "RecentlyViewedProducts",
|
|
448
556
|
"sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoRecentlyViewedProducts",
|
|
449
557
|
"targetExport": "RecentlyViewedProducts",
|
|
450
558
|
"targetModule": "@graphcommerce/magento-recently-viewed-products",
|
|
@@ -453,25 +561,7 @@ it('finds plugins', () => {
|
|
|
453
561
|
{
|
|
454
562
|
"enabled": false,
|
|
455
563
|
"ifConfig": "demoMode",
|
|
456
|
-
"sourceExport": "
|
|
457
|
-
"sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItemsBase",
|
|
458
|
-
"targetExport": "ProductListItemsBase",
|
|
459
|
-
"targetModule": "@graphcommerce/magento-product",
|
|
460
|
-
"type": "component",
|
|
461
|
-
},
|
|
462
|
-
{
|
|
463
|
-
"enabled": false,
|
|
464
|
-
"ifConfig": "demoMode",
|
|
465
|
-
"sourceExport": "Plugin",
|
|
466
|
-
"sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItemsBase",
|
|
467
|
-
"targetExport": "ProductListItemsBase",
|
|
468
|
-
"targetModule": "@graphcommerce/magento-product",
|
|
469
|
-
"type": "component",
|
|
470
|
-
},
|
|
471
|
-
{
|
|
472
|
-
"enabled": false,
|
|
473
|
-
"ifConfig": "demoMode",
|
|
474
|
-
"sourceExport": "Plugin",
|
|
564
|
+
"sourceExport": "ProductListItemConfigurable",
|
|
475
565
|
"sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItemConfigurable",
|
|
476
566
|
"targetExport": "ProductListItemConfigurable",
|
|
477
567
|
"targetModule": "@graphcommerce/magento-product-configurable",
|
|
@@ -479,44 +569,44 @@ it('finds plugins', () => {
|
|
|
479
569
|
},
|
|
480
570
|
{
|
|
481
571
|
"enabled": false,
|
|
482
|
-
"ifConfig": "
|
|
483
|
-
"sourceExport": "
|
|
484
|
-
"sourceModule": "@graphcommerce/
|
|
485
|
-
"targetExport": "
|
|
572
|
+
"ifConfig": "recentlyViewedProducts.enabled",
|
|
573
|
+
"sourceExport": "ProductPageMeta",
|
|
574
|
+
"sourceModule": "@graphcommerce/magento-recently-viewed-products/plugins/RegisterProductAsRecentlyViewed",
|
|
575
|
+
"targetExport": "ProductPageMeta",
|
|
486
576
|
"targetModule": "@graphcommerce/magento-product",
|
|
487
577
|
"type": "component",
|
|
488
578
|
},
|
|
489
579
|
{
|
|
490
580
|
"enabled": false,
|
|
491
581
|
"ifConfig": "googleTagmanagerId",
|
|
492
|
-
"sourceExport": "
|
|
582
|
+
"sourceExport": "sendEvent",
|
|
493
583
|
"sourceModule": "@graphcommerce/googletagmanager/plugins/tagmanagerEvent",
|
|
494
584
|
"targetExport": "sendEvent",
|
|
495
|
-
"targetModule": "@graphcommerce/google-datalayer
|
|
585
|
+
"targetModule": "@graphcommerce/google-datalayer",
|
|
496
586
|
"type": "function",
|
|
497
587
|
},
|
|
498
588
|
{
|
|
499
589
|
"enabled": false,
|
|
500
590
|
"ifConfig": "googleTagmanagerId",
|
|
501
|
-
"sourceExport": "
|
|
591
|
+
"sourceExport": "DocumentBodyStart",
|
|
502
592
|
"sourceModule": "@graphcommerce/googletagmanager/plugins/GoogleTagmanagerTag",
|
|
503
|
-
"targetExport": "
|
|
504
|
-
"targetModule": "@graphcommerce/
|
|
593
|
+
"targetExport": "DocumentBodyStart",
|
|
594
|
+
"targetModule": "@graphcommerce/next-ui/server",
|
|
505
595
|
"type": "component",
|
|
506
596
|
},
|
|
507
597
|
{
|
|
508
598
|
"enabled": false,
|
|
509
|
-
"ifConfig": "
|
|
510
|
-
"sourceExport": "
|
|
511
|
-
"sourceModule": "@graphcommerce/
|
|
512
|
-
"targetExport": "
|
|
513
|
-
"targetModule": "@graphcommerce/
|
|
599
|
+
"ifConfig": "googleTagmanagerId",
|
|
600
|
+
"sourceExport": "DocumentHeadEnd",
|
|
601
|
+
"sourceModule": "@graphcommerce/googletagmanager/plugins/GoogleTagmanagerTag",
|
|
602
|
+
"targetExport": "DocumentHeadEnd",
|
|
603
|
+
"targetModule": "@graphcommerce/next-ui/server",
|
|
514
604
|
"type": "component",
|
|
515
605
|
},
|
|
516
606
|
{
|
|
517
607
|
"enabled": false,
|
|
518
608
|
"ifConfig": "compare",
|
|
519
|
-
"sourceExport": "
|
|
609
|
+
"sourceExport": "ProductListItem",
|
|
520
610
|
"sourceModule": "@graphcommerce/magento-compare/plugins/CompareAbleProductListItem",
|
|
521
611
|
"targetExport": "ProductListItem",
|
|
522
612
|
"targetModule": "@graphcommerce/magento-product",
|
|
@@ -534,7 +624,7 @@ it('finds plugins', () => {
|
|
|
534
624
|
{
|
|
535
625
|
"enabled": false,
|
|
536
626
|
"ifConfig": "compare",
|
|
537
|
-
"sourceExport": "
|
|
627
|
+
"sourceExport": "ProductPageAddToCartActionsRow",
|
|
538
628
|
"sourceModule": "@graphcommerce/magento-compare/plugins/AddCompareToProductPage",
|
|
539
629
|
"targetExport": "ProductPageAddToCartActionsRow",
|
|
540
630
|
"targetModule": "@graphcommerce/magento-product",
|
|
@@ -543,25 +633,16 @@ it('finds plugins', () => {
|
|
|
543
633
|
{
|
|
544
634
|
"enabled": false,
|
|
545
635
|
"ifConfig": "compare",
|
|
546
|
-
"sourceExport": "
|
|
636
|
+
"sourceExport": "CartFab",
|
|
547
637
|
"sourceModule": "@graphcommerce/magento-compare/plugins/AddCompareFabNextToCart",
|
|
548
638
|
"targetExport": "CartFab",
|
|
549
639
|
"targetModule": "@graphcommerce/magento-cart",
|
|
550
640
|
"type": "component",
|
|
551
641
|
},
|
|
552
|
-
{
|
|
553
|
-
"enabled": false,
|
|
554
|
-
"ifConfig": "debug.sessions",
|
|
555
|
-
"sourceExport": "FramerNextPages",
|
|
556
|
-
"sourceModule": "@graphcommerce/magento-customer/plugins/SessionDebuggerPlugin",
|
|
557
|
-
"targetExport": "FramerNextPages",
|
|
558
|
-
"targetModule": "@graphcommerce/framer-next-pages",
|
|
559
|
-
"type": "component",
|
|
560
|
-
},
|
|
561
642
|
{
|
|
562
643
|
"enabled": false,
|
|
563
644
|
"ifConfig": "configurableVariantValues.content",
|
|
564
|
-
"sourceExport": "
|
|
645
|
+
"sourceExport": "ProductShortDescription",
|
|
565
646
|
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductShortDescription",
|
|
566
647
|
"targetExport": "ProductShortDescription",
|
|
567
648
|
"targetModule": "@graphcommerce/magento-product",
|
|
@@ -570,7 +651,7 @@ it('finds plugins', () => {
|
|
|
570
651
|
{
|
|
571
652
|
"enabled": false,
|
|
572
653
|
"ifConfig": "configurableVariantValues.content",
|
|
573
|
-
"sourceExport": "
|
|
654
|
+
"sourceExport": "ProductPageName",
|
|
574
655
|
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageName",
|
|
575
656
|
"targetExport": "ProductPageName",
|
|
576
657
|
"targetModule": "@graphcommerce/magento-product",
|
|
@@ -579,7 +660,7 @@ it('finds plugins', () => {
|
|
|
579
660
|
{
|
|
580
661
|
"enabled": false,
|
|
581
662
|
"ifConfig": "configurableVariantValues.url",
|
|
582
|
-
"sourceExport": "
|
|
663
|
+
"sourceExport": "ProductPageMeta",
|
|
583
664
|
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageMeta",
|
|
584
665
|
"targetExport": "ProductPageMeta",
|
|
585
666
|
"targetModule": "@graphcommerce/magento-product",
|
|
@@ -588,7 +669,7 @@ it('finds plugins', () => {
|
|
|
588
669
|
{
|
|
589
670
|
"enabled": false,
|
|
590
671
|
"ifConfig": "configurableVariantValues.content",
|
|
591
|
-
"sourceExport": "
|
|
672
|
+
"sourceExport": "ProductPageJsonLd",
|
|
592
673
|
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageJsonLd",
|
|
593
674
|
"targetExport": "ProductPageJsonLd",
|
|
594
675
|
"targetModule": "@graphcommerce/magento-product",
|
|
@@ -597,7 +678,7 @@ it('finds plugins', () => {
|
|
|
597
678
|
{
|
|
598
679
|
"enabled": false,
|
|
599
680
|
"ifConfig": "configurableVariantValues.content",
|
|
600
|
-
"sourceExport": "
|
|
681
|
+
"sourceExport": "ProductPageDescription",
|
|
601
682
|
"sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageDescription",
|
|
602
683
|
"targetExport": "ProductPageDescription",
|
|
603
684
|
"targetModule": "@graphcommerce/magento-product",
|
|
@@ -605,20 +686,65 @@ it('finds plugins', () => {
|
|
|
605
686
|
},
|
|
606
687
|
{
|
|
607
688
|
"enabled": false,
|
|
608
|
-
"ifConfig": "
|
|
609
|
-
"sourceExport": "
|
|
610
|
-
"sourceModule": "@graphcommerce/
|
|
611
|
-
"targetExport": "
|
|
689
|
+
"ifConfig": "algolia.catalogEnabled",
|
|
690
|
+
"sourceExport": "useProductListApplyCategoryDefaults",
|
|
691
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/magentoProductApplyAlgoliaEngine",
|
|
692
|
+
"targetExport": "useProductListApplyCategoryDefaults",
|
|
612
693
|
"targetModule": "@graphcommerce/magento-product",
|
|
613
|
-
"type": "
|
|
694
|
+
"type": "function",
|
|
614
695
|
},
|
|
615
696
|
{
|
|
616
697
|
"enabled": false,
|
|
617
|
-
"ifConfig": "
|
|
618
|
-
"sourceExport": "
|
|
619
|
-
"sourceModule": "@graphcommerce/
|
|
620
|
-
"targetExport": "
|
|
698
|
+
"ifConfig": "algolia.catalogEnabled",
|
|
699
|
+
"sourceExport": "productListApplyCategoryDefaults",
|
|
700
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/magentoProductApplyAlgoliaEngine",
|
|
701
|
+
"targetExport": "productListApplyCategoryDefaults",
|
|
702
|
+
"targetModule": "@graphcommerce/magento-product",
|
|
703
|
+
"type": "function",
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"enabled": false,
|
|
707
|
+
"ifConfig": "algolia.catalogEnabled",
|
|
708
|
+
"sourceExport": "categoryDefaultsToProductListFilters",
|
|
709
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/magentoProductApplyAlgoliaEngine",
|
|
710
|
+
"targetExport": "categoryDefaultsToProductListFilters",
|
|
621
711
|
"targetModule": "@graphcommerce/magento-product",
|
|
712
|
+
"type": "function",
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"enabled": false,
|
|
716
|
+
"ifConfig": "algolia.customerGroupPricingEnabled",
|
|
717
|
+
"sourceExport": "GraphQLProvider",
|
|
718
|
+
"sourceModule": "@graphcommerce/algolia-products/plugins/GraphQLProviderAlgoliaCustomerGroupId",
|
|
719
|
+
"targetExport": "GraphQLProvider",
|
|
720
|
+
"targetModule": "@graphcommerce/graphql",
|
|
721
|
+
"type": "component",
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"enabled": false,
|
|
725
|
+
"ifConfig": "dataLayer.coreWebVitals",
|
|
726
|
+
"sourceExport": "FramerNextPages",
|
|
727
|
+
"sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerWebVitals",
|
|
728
|
+
"targetExport": "FramerNextPages",
|
|
729
|
+
"targetModule": "@graphcommerce/framer-next-pages",
|
|
730
|
+
"type": "component",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"enabled": false,
|
|
734
|
+
"ifConfig": "debug.sessions",
|
|
735
|
+
"sourceExport": "FramerNextPages",
|
|
736
|
+
"sourceModule": "@graphcommerce/magento-customer/plugins/SessionDebuggerPlugin",
|
|
737
|
+
"targetExport": "FramerNextPages",
|
|
738
|
+
"targetModule": "@graphcommerce/framer-next-pages",
|
|
739
|
+
"type": "component",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"enabled": false,
|
|
743
|
+
"ifConfig": "previewSecret",
|
|
744
|
+
"sourceExport": "FramerNextPages",
|
|
745
|
+
"sourceModule": "@graphcommerce/ecommerce-ui/plugins/PreviewModeFramerNextPages",
|
|
746
|
+
"targetExport": "FramerNextPages",
|
|
747
|
+
"targetModule": "@graphcommerce/framer-next-pages",
|
|
622
748
|
"type": "component",
|
|
623
749
|
},
|
|
624
750
|
]
|