@graphcommerce/next-config 8.1.0-canary.5 → 8.1.0-canary.50

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 (47) hide show
  1. package/CHANGELOG.md +159 -0
  2. package/Config.graphqls +5 -5
  3. package/__tests__/config/utils/__snapshots__/mergeEnvIntoConfig.ts.snap +48 -2
  4. package/__tests__/config/utils/configToImportMeta.ts +0 -4
  5. package/__tests__/config/utils/mergeEnvIntoConfig.ts +15 -2
  6. package/__tests__/config/utils/rewriteLegancyEnv.ts +1 -1
  7. package/__tests__/interceptors/findPlugins.ts +144 -194
  8. package/__tests__/interceptors/generateInterceptors.ts +174 -91
  9. package/__tests__/interceptors/parseStructure.ts +50 -0
  10. package/__tests__/utils/resolveDependenciesSync.ts +4 -0
  11. package/dist/config/commands/exportConfig.js +5 -0
  12. package/dist/config/commands/generateConfig.js +5 -0
  13. package/dist/config/commands/generateIntercetors.js +9 -0
  14. package/dist/config/demoConfig.js +5 -0
  15. package/dist/config/utils/mergeEnvIntoConfig.js +8 -1
  16. package/dist/generated/config.js +17 -9
  17. package/dist/index.js +1 -0
  18. package/dist/interceptors/commands/codegenInterceptors.js +23 -0
  19. package/dist/interceptors/commands/generateIntercetors.js +9 -0
  20. package/dist/interceptors/extractExports.js +21 -18
  21. package/dist/interceptors/findOriginalSource.js +17 -1
  22. package/dist/interceptors/findPlugins.js +7 -3
  23. package/dist/interceptors/generateInterceptor.js +32 -15
  24. package/dist/interceptors/generateInterceptors.js +6 -5
  25. package/dist/interceptors/parseStructure.js +9 -1
  26. package/dist/interceptors/writeInterceptors.js +7 -7
  27. package/dist/utils/resolveDependenciesSync.js +5 -4
  28. package/dist/utils/resolveDependency.js +5 -0
  29. package/dist/withGraphCommerce.js +14 -5
  30. package/package.json +1 -1
  31. package/src/config/commands/exportConfig.ts +3 -0
  32. package/src/config/commands/generateConfig.ts +3 -0
  33. package/src/config/demoConfig.ts +5 -0
  34. package/src/config/utils/mergeEnvIntoConfig.ts +9 -1
  35. package/src/generated/config.ts +57 -19
  36. package/src/index.ts +1 -0
  37. package/src/interceptors/commands/codegenInterceptors.ts +27 -0
  38. package/src/interceptors/extractExports.ts +21 -21
  39. package/src/interceptors/findOriginalSource.ts +16 -1
  40. package/src/interceptors/findPlugins.ts +7 -3
  41. package/src/interceptors/generateInterceptor.ts +39 -15
  42. package/src/interceptors/generateInterceptors.ts +9 -6
  43. package/src/interceptors/parseStructure.ts +14 -1
  44. package/src/interceptors/writeInterceptors.ts +7 -7
  45. package/src/utils/resolveDependenciesSync.ts +11 -3
  46. package/src/utils/resolveDependency.ts +7 -0
  47. package/src/withGraphCommerce.ts +15 -6
@@ -25,7 +25,7 @@ it('finds plugins', () => {
25
25
  "enabled": true,
26
26
  "ifConfig": "googleAnalyticsId",
27
27
  "sourceExport": "plugin",
28
- "sourceModule": "./@graphcommerce/googleanalytics/plugins/gtagEvent",
28
+ "sourceModule": "@graphcommerce/googleanalytics/plugins/gtagEvent",
29
29
  "targetExport": "sendEvent",
30
30
  "targetModule": "@graphcommerce/google-datalayer/api/sendEvent",
31
31
  "type": "function",
@@ -33,17 +33,17 @@ it('finds plugins', () => {
33
33
  {
34
34
  "enabled": true,
35
35
  "ifConfig": "googleAnalyticsId",
36
- "sourceExport": "Plugin",
37
- "sourceModule": "./@graphcommerce/googleanalytics/plugins/GaFramerNextPages",
38
- "targetExport": "FramerNextPages",
39
- "targetModule": "@graphcommerce/framer-next-pages",
36
+ "sourceExport": "DocumentHeadEnd",
37
+ "sourceModule": "@graphcommerce/googleanalytics/plugins/GoogleAnalyticsTag",
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
45
  "sourceExport": "Plugin",
46
- "sourceModule": "./@graphcommerce/googlerecaptcha/plugins/GrecaptchaGraphQLProvider",
46
+ "sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaGraphQLProvider",
47
47
  "targetExport": "GraphQLProvider",
48
48
  "targetModule": "@graphcommerce/graphql",
49
49
  "type": "component",
@@ -52,7 +52,7 @@ it('finds plugins', () => {
52
52
  "enabled": true,
53
53
  "ifConfig": "googleRecaptchaKey",
54
54
  "sourceExport": "Plugin",
55
- "sourceModule": "./@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorSnackbar",
55
+ "sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorSnackbar",
56
56
  "targetExport": "ApolloErrorSnackbar",
57
57
  "targetModule": "@graphcommerce/ecommerce-ui",
58
58
  "type": "component",
@@ -61,7 +61,7 @@ it('finds plugins', () => {
61
61
  "enabled": true,
62
62
  "ifConfig": "googleRecaptchaKey",
63
63
  "sourceExport": "Plugin",
64
- "sourceModule": "./@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorFullPage",
64
+ "sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorFullPage",
65
65
  "targetExport": "ApolloErrorFullPage",
66
66
  "targetModule": "@graphcommerce/ecommerce-ui",
67
67
  "type": "component",
@@ -70,7 +70,7 @@ it('finds plugins', () => {
70
70
  "enabled": true,
71
71
  "ifConfig": "googleRecaptchaKey",
72
72
  "sourceExport": "Plugin",
73
- "sourceModule": "./@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorAlert",
73
+ "sourceModule": "@graphcommerce/googlerecaptcha/plugins/GrecaptchaApolloErrorAlert",
74
74
  "targetExport": "ApolloErrorAlert",
75
75
  "targetModule": "@graphcommerce/ecommerce-ui",
76
76
  "type": "component",
@@ -78,7 +78,7 @@ it('finds plugins', () => {
78
78
  {
79
79
  "enabled": true,
80
80
  "sourceExport": "Plugin",
81
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerViewItem",
81
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerViewItem",
82
82
  "targetExport": "ProductPageMeta",
83
83
  "targetModule": "@graphcommerce/magento-product",
84
84
  "type": "component",
@@ -86,7 +86,7 @@ it('finds plugins', () => {
86
86
  {
87
87
  "enabled": true,
88
88
  "sourceExport": "Plugin",
89
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerUpdateItemQuantity",
89
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerUseRemoveItemFromCart",
90
90
  "targetExport": "UpdateItemQuantity",
91
91
  "targetModule": "@graphcommerce/magento-cart-items/components/UpdateItemQuantity/UpdateItemQuantity",
92
92
  "type": "component",
@@ -94,63 +94,23 @@ it('finds plugins', () => {
94
94
  {
95
95
  "enabled": true,
96
96
  "sourceExport": "Plugin",
97
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerShippingMethodForm",
97
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerShippingMethodForm",
98
98
  "targetExport": "ShippingMethodForm",
99
99
  "targetModule": "@graphcommerce/magento-cart-shipping-method",
100
100
  "type": "component",
101
101
  },
102
102
  {
103
103
  "enabled": true,
104
- "sourceExport": "Plugin",
105
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerShippingMethodForm",
106
- "targetExport": "ShippingMethodForm",
107
- "targetModule": "@graphcommerce/magento-cart-shipping-method",
108
- "type": "component",
109
- },
110
- {
111
- "enabled": true,
112
- "sourceExport": "Plugin",
113
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerRemoveItemFromCartFab",
114
- "targetExport": "RemoveItemFromCartFab",
115
- "targetModule": "@graphcommerce/magento-cart-items/components/RemoveItemFromCart/RemoveItemFromCartFab",
116
- "type": "component",
117
- },
118
- {
119
- "enabled": true,
120
- "sourceExport": "Plugin",
121
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerRemoveItemFromCartFab",
122
- "targetExport": "RemoveItemFromCartFab",
123
- "targetModule": "@graphcommerce/magento-cart-items/components/RemoveItemFromCart/RemoveItemFromCartFab",
124
- "type": "component",
125
- },
126
- {
127
- "enabled": true,
128
- "sourceExport": "Plugin",
129
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerRemoveItemFromCart",
130
- "targetExport": "RemoveItemFromCart",
131
- "targetModule": "@graphcommerce/magento-cart-items/components/RemoveItemFromCart/RemoveItemFromCart",
132
- "type": "component",
133
- },
134
- {
135
- "enabled": true,
136
- "sourceExport": "Plugin",
137
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerRemoveItemFromCart",
138
- "targetExport": "RemoveItemFromCart",
139
- "targetModule": "@graphcommerce/magento-cart-items/components/RemoveItemFromCart/RemoveItemFromCart",
140
- "type": "component",
141
- },
142
- {
143
- "enabled": true,
144
- "sourceExport": "Plugin",
145
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerProductListItemsBase",
146
- "targetExport": "ProductListItemsBase",
147
- "targetModule": "@graphcommerce/magento-product",
148
- "type": "component",
104
+ "sourceExport": "useRemoveItemFromCart",
105
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerRemoveItemFromCart",
106
+ "targetExport": "useRemoveItemFromCart",
107
+ "targetModule": "@graphcommerce/magento-cart-items",
108
+ "type": "function",
149
109
  },
150
110
  {
151
111
  "enabled": true,
152
112
  "sourceExport": "Plugin",
153
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerProductListItemsBase",
113
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerProductListItemsBase",
154
114
  "targetExport": "ProductListItemsBase",
155
115
  "targetModule": "@graphcommerce/magento-product",
156
116
  "type": "component",
@@ -158,7 +118,7 @@ it('finds plugins', () => {
158
118
  {
159
119
  "enabled": true,
160
120
  "sourceExport": "Plugin",
161
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerProductListItem",
121
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerProductListItem",
162
122
  "targetExport": "ProductListItem",
163
123
  "targetModule": "@graphcommerce/magento-product",
164
124
  "type": "component",
@@ -166,7 +126,7 @@ it('finds plugins', () => {
166
126
  {
167
127
  "enabled": true,
168
128
  "sourceExport": "Plugin",
169
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerPaymentMethodContextProvider",
129
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerPaymentMethodContextProvider",
170
130
  "targetExport": "PaymentMethodContextProvider",
171
131
  "targetModule": "@graphcommerce/magento-cart-payment-method",
172
132
  "type": "component",
@@ -174,7 +134,7 @@ it('finds plugins', () => {
174
134
  {
175
135
  "enabled": true,
176
136
  "sourceExport": "Plugin",
177
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerPaymentMethodButton",
137
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerPaymentMethodButton",
178
138
  "targetExport": "PaymentMethodButton",
179
139
  "targetModule": "@graphcommerce/magento-cart-payment-method",
180
140
  "type": "component",
@@ -182,15 +142,7 @@ it('finds plugins', () => {
182
142
  {
183
143
  "enabled": true,
184
144
  "sourceExport": "Plugin",
185
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckoutLinkOrButton",
186
- "targetExport": "CartStartCheckoutLinkOrButton",
187
- "targetModule": "@graphcommerce/magento-cart",
188
- "type": "component",
189
- },
190
- {
191
- "enabled": true,
192
- "sourceExport": "Plugin",
193
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckoutLinkOrButton",
145
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckoutLinkOrButton",
194
146
  "targetExport": "CartStartCheckoutLinkOrButton",
195
147
  "targetModule": "@graphcommerce/magento-cart",
196
148
  "type": "component",
@@ -198,7 +150,7 @@ it('finds plugins', () => {
198
150
  {
199
151
  "enabled": true,
200
152
  "sourceExport": "Plugin",
201
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckout",
153
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckout",
202
154
  "targetExport": "CartStartCheckout",
203
155
  "targetModule": "@graphcommerce/magento-cart",
204
156
  "type": "component",
@@ -206,31 +158,39 @@ it('finds plugins', () => {
206
158
  {
207
159
  "enabled": true,
208
160
  "sourceExport": "Plugin",
209
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerCartStartCheckout",
210
- "targetExport": "CartStartCheckout",
211
- "targetModule": "@graphcommerce/magento-cart",
161
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerAddProductsToCartForm",
162
+ "targetExport": "AddProductsToCartForm",
163
+ "targetModule": "@graphcommerce/magento-product",
212
164
  "type": "component",
213
165
  },
214
166
  {
215
167
  "enabled": true,
216
- "sourceExport": "Plugin",
217
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerAddProductsToCartForm",
218
- "targetExport": "AddProductsToCartForm",
219
- "targetModule": "@graphcommerce/magento-product",
220
- "type": "component",
168
+ "sourceExport": "previewModeDefaults",
169
+ "sourceModule": "@graphcommerce/graphcms-ui/plugins/hygraphPreviewModeDefaults",
170
+ "targetExport": "previewModeDefaults",
171
+ "targetModule": "@graphcommerce/ecommerce-ui",
172
+ "type": "function",
221
173
  },
222
174
  {
223
175
  "enabled": true,
224
176
  "sourceExport": "plugin",
225
- "sourceModule": "./@graphcommerce/graphcms-ui/plugins/hygraphGraphqlConfig",
177
+ "sourceModule": "@graphcommerce/graphcms-ui/plugins/hygraphGraphqlConfig",
226
178
  "targetExport": "graphqlConfig",
227
179
  "targetModule": "@graphcommerce/graphql",
228
180
  "type": "function",
229
181
  },
182
+ {
183
+ "enabled": true,
184
+ "sourceExport": "PreviewModeToolbar",
185
+ "sourceModule": "@graphcommerce/graphcms-ui/plugins/HygraphPreviewModeToolbar",
186
+ "targetExport": "PreviewModeToolbar",
187
+ "targetModule": "@graphcommerce/ecommerce-ui",
188
+ "type": "component",
189
+ },
230
190
  {
231
191
  "enabled": true,
232
192
  "sourceExport": "plugin",
233
- "sourceModule": "./@graphcommerce/hygraph-dynamic-rows/plugins/hygraphDynamicRowsPageContent",
193
+ "sourceModule": "@graphcommerce/hygraph-dynamic-rows/plugins/hygraphDynamicRowsPageContent",
234
194
  "targetExport": "hygraphPageContent",
235
195
  "targetModule": "@graphcommerce/graphcms-ui",
236
196
  "type": "function",
@@ -238,71 +198,71 @@ it('finds plugins', () => {
238
198
  {
239
199
  "enabled": true,
240
200
  "sourceExport": "plugin",
241
- "sourceModule": "./@graphcommerce/magento-cart/plugins/useSignInFormMergeCart",
201
+ "sourceModule": "@graphcommerce/magento-cart/plugins/useSignInFormMergeCart",
242
202
  "targetExport": "useSignInForm",
243
203
  "targetModule": "@graphcommerce/magento-customer",
244
204
  "type": "function",
245
205
  },
246
206
  {
247
207
  "enabled": true,
248
- "sourceExport": "Plugin",
249
- "sourceModule": "./@graphcommerce/magento-cart/plugins/MagentoCartGraphqlProvider",
208
+ "sourceExport": "GraphQLProvider",
209
+ "sourceModule": "@graphcommerce/magento-cart/plugins/MagentoCartGraphqlProvider",
250
210
  "targetExport": "GraphQLProvider",
251
211
  "targetModule": "@graphcommerce/graphql",
252
212
  "type": "component",
253
213
  },
254
214
  {
255
215
  "enabled": true,
256
- "sourceExport": "Plugin",
257
- "sourceModule": "./@graphcommerce/magento-customer/plugins/MagentoCustomerGraphqlProvider",
258
- "targetExport": "GraphQLProvider",
216
+ "sourceExport": "getInContextInput",
217
+ "sourceModule": "@graphcommerce/magento-customer/plugins/magentoCustomerGetInContext",
218
+ "targetExport": "getInContextInput",
259
219
  "targetModule": "@graphcommerce/graphql",
260
- "type": "component",
220
+ "type": "function",
261
221
  },
262
222
  {
263
223
  "enabled": true,
264
- "sourceExport": "plugin",
265
- "sourceModule": "./@graphcommerce/magento-graphql/plugins/magentoGraphqlConfig",
266
- "targetExport": "graphqlConfig",
267
- "targetModule": "@graphcommerce/graphql/config",
224
+ "sourceExport": "useInContextInput",
225
+ "sourceModule": "@graphcommerce/magento-customer/plugins/magentoCustomerGetInContext",
226
+ "targetExport": "useInContextInput",
227
+ "targetModule": "@graphcommerce/graphql",
268
228
  "type": "function",
269
229
  },
270
230
  {
271
231
  "enabled": true,
272
- "sourceExport": "Plugin",
273
- "sourceModule": "./@graphcommerce/magento-payment-included/plugins/AddIncludedMethods",
274
- "targetExport": "PaymentMethodContextProvider",
275
- "targetModule": "@graphcommerce/magento-cart-payment-method",
232
+ "sourceExport": "GraphQLProvider",
233
+ "sourceModule": "@graphcommerce/magento-customer/plugins/MagentoCustomerGraphqlProvider",
234
+ "targetExport": "GraphQLProvider",
235
+ "targetModule": "@graphcommerce/graphql",
276
236
  "type": "component",
277
237
  },
278
238
  {
279
239
  "enabled": true,
280
- "sourceExport": "Plugin",
281
- "sourceModule": "./@graphcommerce/magento-product-bundle/plugins/BundleCartItemActionCard",
282
- "targetExport": "CartItemActionCard",
283
- "targetModule": "@graphcommerce/magento-cart-items",
284
- "type": "component",
240
+ "sourceExport": "plugin",
241
+ "sourceModule": "@graphcommerce/magento-graphql/plugins/magentoGraphqlConfig",
242
+ "targetExport": "graphqlConfig",
243
+ "targetModule": "@graphcommerce/graphql/config",
244
+ "type": "function",
285
245
  },
286
246
  {
287
247
  "enabled": true,
288
248
  "sourceExport": "Plugin",
289
- "sourceModule": "./@graphcommerce/magento-product-bundle/plugins/BundleCartItemActionCard",
290
- "targetExport": "CartItemActionCard",
291
- "targetModule": "@graphcommerce/magento-cart-items",
249
+ "sourceModule": "@graphcommerce/magento-payment-included/plugins/AddIncludedMethods",
250
+ "targetExport": "PaymentMethodContextProvider",
251
+ "targetModule": "@graphcommerce/magento-cart-payment-method",
292
252
  "type": "component",
293
253
  },
294
254
  {
295
255
  "enabled": true,
296
- "sourceExport": "Plugin",
297
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableCartItemActionCard",
256
+ "sourceExport": "CartItemActionCard",
257
+ "sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleCartItemActionCard",
298
258
  "targetExport": "CartItemActionCard",
299
259
  "targetModule": "@graphcommerce/magento-cart-items",
300
260
  "type": "component",
301
261
  },
302
262
  {
303
263
  "enabled": true,
304
- "sourceExport": "Plugin",
305
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableCartItemActionCard",
264
+ "sourceExport": "CartItemActionCard",
265
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableCartItemActionCard",
306
266
  "targetExport": "CartItemActionCard",
307
267
  "targetModule": "@graphcommerce/magento-cart-items",
308
268
  "type": "component",
@@ -310,7 +270,7 @@ it('finds plugins', () => {
310
270
  {
311
271
  "enabled": true,
312
272
  "sourceExport": "Plugin",
313
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePriceTiers",
273
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePriceTiers",
314
274
  "targetExport": "ProductPagePriceTiers",
315
275
  "targetModule": "@graphcommerce/magento-product",
316
276
  "type": "component",
@@ -318,7 +278,7 @@ it('finds plugins', () => {
318
278
  {
319
279
  "enabled": true,
320
280
  "sourceExport": "Plugin",
321
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePrice",
281
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPagePrice",
322
282
  "targetExport": "ProductPagePrice",
323
283
  "targetModule": "@graphcommerce/magento-product",
324
284
  "type": "component",
@@ -326,39 +286,23 @@ it('finds plugins', () => {
326
286
  {
327
287
  "enabled": true,
328
288
  "sourceExport": "Plugin",
329
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery",
289
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageGallery",
330
290
  "targetExport": "ProductPageGallery",
331
291
  "targetModule": "@graphcommerce/magento-product",
332
292
  "type": "component",
333
293
  },
334
294
  {
335
295
  "enabled": true,
336
- "sourceExport": "Plugin",
337
- "sourceModule": "./@graphcommerce/magento-product-simple/plugins/SimpleCartItemActionCard",
296
+ "sourceExport": "CartItemActionCard",
297
+ "sourceModule": "@graphcommerce/magento-product-simple/plugins/SimpleCartItemActionCard",
338
298
  "targetExport": "CartItemActionCard",
339
299
  "targetModule": "@graphcommerce/magento-cart-items",
340
300
  "type": "component",
341
301
  },
342
302
  {
343
303
  "enabled": true,
344
- "sourceExport": "Plugin",
345
- "sourceModule": "./@graphcommerce/magento-product-simple/plugins/SimpleCartItemActionCard",
346
- "targetExport": "CartItemActionCard",
347
- "targetModule": "@graphcommerce/magento-cart-items",
348
- "type": "component",
349
- },
350
- {
351
- "enabled": true,
352
- "sourceExport": "Plugin",
353
- "sourceModule": "./@graphcommerce/magento-product-virtual/plugins/VirtualCartItemActionCard",
354
- "targetExport": "CartItemActionCard",
355
- "targetModule": "@graphcommerce/magento-cart-items",
356
- "type": "component",
357
- },
358
- {
359
- "enabled": true,
360
- "sourceExport": "Plugin",
361
- "sourceModule": "./@graphcommerce/magento-product-virtual/plugins/VirtualCartItemActionCard",
304
+ "sourceExport": "CartItemActionCard",
305
+ "sourceModule": "@graphcommerce/magento-product-virtual/plugins/VirtualCartItemActionCard",
362
306
  "targetExport": "CartItemActionCard",
363
307
  "targetModule": "@graphcommerce/magento-cart-items",
364
308
  "type": "component",
@@ -366,7 +310,7 @@ it('finds plugins', () => {
366
310
  {
367
311
  "enabled": true,
368
312
  "sourceExport": "graphqlConfig",
369
- "sourceModule": "./@graphcommerce/magento-store/plugins/magentoStoreGraphqlConfig",
313
+ "sourceModule": "@graphcommerce/magento-store/plugins/magentoStoreGraphqlConfig",
370
314
  "targetExport": "graphqlConfig",
371
315
  "targetModule": "@graphcommerce/graphql",
372
316
  "type": "function",
@@ -374,7 +318,7 @@ it('finds plugins', () => {
374
318
  {
375
319
  "enabled": true,
376
320
  "sourceExport": "Plugin",
377
- "sourceModule": "./@graphcommerce/magento-wishlist/plugins/WishlistProductAddToCartFormPlugin",
321
+ "sourceModule": "@graphcommerce/magento-wishlist/plugins/WishlistProductAddToCartFormPlugin",
378
322
  "targetExport": "AddProductsToCartForm",
379
323
  "targetModule": "@graphcommerce/magento-product",
380
324
  "type": "component",
@@ -382,7 +326,7 @@ it('finds plugins', () => {
382
326
  {
383
327
  "enabled": true,
384
328
  "sourceExport": "Plugin",
385
- "sourceModule": "./@graphcommerce/magento-wishlist/plugins/ConfigurableWishlistItemActionCard",
329
+ "sourceModule": "@graphcommerce/magento-wishlist/plugins/ConfigurableWishlistItemActionCard",
386
330
  "targetExport": "WishlistItemActionCard",
387
331
  "targetModule": "@graphcommerce/magento-wishlist",
388
332
  "type": "component",
@@ -390,7 +334,7 @@ it('finds plugins', () => {
390
334
  {
391
335
  "enabled": true,
392
336
  "sourceExport": "Plugin",
393
- "sourceModule": "./@graphcommerce/magento-wishlist/plugins/BundleWishlistItemActionCard",
337
+ "sourceModule": "@graphcommerce/magento-wishlist/plugins/BundleWishlistItemActionCard",
394
338
  "targetExport": "WishlistItemActionCard",
395
339
  "targetModule": "@graphcommerce/magento-wishlist",
396
340
  "type": "component",
@@ -398,9 +342,33 @@ it('finds plugins', () => {
398
342
  {
399
343
  "enabled": true,
400
344
  "sourceExport": "Plugin",
401
- "sourceModule": "./@graphcommerce/magento-wishlist/plugins/BundleWishlistItemActionCard",
402
- "targetExport": "WishlistItemActionCard",
403
- "targetModule": "@graphcommerce/magento-wishlist",
345
+ "sourceModule": "@graphcommerce/magento-cart-pickup/plugins/AddPickupInStore",
346
+ "targetExport": "ShippingMethodForm",
347
+ "targetModule": "@graphcommerce/magento-cart-shipping-method",
348
+ "type": "component",
349
+ },
350
+ {
351
+ "enabled": true,
352
+ "sourceExport": "Plugin",
353
+ "sourceModule": "@graphcommerce/magento-payment-braintree/plugins/AddBraintreeMethods",
354
+ "targetExport": "PaymentMethodContextProvider",
355
+ "targetModule": "@graphcommerce/magento-cart-payment-method",
356
+ "type": "component",
357
+ },
358
+ {
359
+ "enabled": true,
360
+ "sourceExport": "Plugin",
361
+ "sourceModule": "@graphcommerce/mollie-magento-payment/plugins/AddMollieMethods",
362
+ "targetExport": "PaymentMethodContextProvider",
363
+ "targetModule": "@graphcommerce/magento-cart-payment-method",
364
+ "type": "component",
365
+ },
366
+ {
367
+ "enabled": true,
368
+ "sourceExport": "Plugin",
369
+ "sourceModule": "@graphcommerce/magento-payment-paypal/plugins/AddPaypalMethods",
370
+ "targetExport": "PaymentMethodContextProvider",
371
+ "targetModule": "@graphcommerce/magento-cart-payment-method",
404
372
  "type": "component",
405
373
  },
406
374
  ]
@@ -411,7 +379,7 @@ it('finds plugins', () => {
411
379
  "enabled": false,
412
380
  "ifConfig": "demoMode",
413
381
  "sourceExport": "AddProductsToCartForm",
414
- "sourceModule": "././plugins/EnableCrosssellsPlugin",
382
+ "sourceModule": "./plugins/EnableCrosssellsPlugin",
415
383
  "targetExport": "AddProductsToCartForm",
416
384
  "targetModule": "@graphcommerce/magento-product",
417
385
  "type": "component",
@@ -420,7 +388,7 @@ it('finds plugins', () => {
420
388
  "enabled": false,
421
389
  "ifConfig": "demoMode",
422
390
  "sourceExport": "Plugin",
423
- "sourceModule": "./@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoRowLinks",
391
+ "sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoRowLinks",
424
392
  "targetExport": "RowLinks",
425
393
  "targetModule": "@graphcommerce/next-ui",
426
394
  "type": "component",
@@ -429,7 +397,7 @@ it('finds plugins', () => {
429
397
  "enabled": false,
430
398
  "ifConfig": "demoMode",
431
399
  "sourceExport": "Plugin",
432
- "sourceModule": "./@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoRecentlyViewedProducts",
400
+ "sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoRecentlyViewedProducts",
433
401
  "targetExport": "RecentlyViewedProducts",
434
402
  "targetModule": "@graphcommerce/magento-recently-viewed-products",
435
403
  "type": "component",
@@ -438,43 +406,25 @@ it('finds plugins', () => {
438
406
  "enabled": false,
439
407
  "ifConfig": "demoMode",
440
408
  "sourceExport": "Plugin",
441
- "sourceModule": "./@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItemsBase",
442
- "targetExport": "ProductListItemsBase",
443
- "targetModule": "@graphcommerce/magento-product",
444
- "type": "component",
445
- },
446
- {
447
- "enabled": false,
448
- "ifConfig": "demoMode",
449
- "sourceExport": "Plugin",
450
- "sourceModule": "./@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItemsBase",
451
- "targetExport": "ProductListItemsBase",
452
- "targetModule": "@graphcommerce/magento-product",
453
- "type": "component",
454
- },
455
- {
456
- "enabled": false,
457
- "ifConfig": "demoMode",
458
- "sourceExport": "Plugin",
459
- "sourceModule": "./@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItemConfigurable",
409
+ "sourceModule": "@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItemConfigurable",
460
410
  "targetExport": "ProductListItemConfigurable",
461
411
  "targetModule": "@graphcommerce/magento-product-configurable",
462
412
  "type": "component",
463
413
  },
464
414
  {
465
415
  "enabled": false,
466
- "ifConfig": "demoMode",
467
- "sourceExport": "Plugin",
468
- "sourceModule": "./@graphcommerce/demo-magento-graphcommerce/plugins/demo/DemoProductListItem",
469
- "targetExport": "ProductListItem",
470
- "targetModule": "@graphcommerce/magento-product",
416
+ "ifConfig": "previewSecret",
417
+ "sourceExport": "FramerNextPages",
418
+ "sourceModule": "@graphcommerce/ecommerce-ui/plugins/PreviewModeFramerNextPages",
419
+ "targetExport": "FramerNextPages",
420
+ "targetModule": "@graphcommerce/framer-next-pages",
471
421
  "type": "component",
472
422
  },
473
423
  {
474
424
  "enabled": false,
475
425
  "ifConfig": "googleTagmanagerId",
476
426
  "sourceExport": "plugin",
477
- "sourceModule": "./@graphcommerce/googletagmanager/plugins/tagmanagerEvent",
427
+ "sourceModule": "@graphcommerce/googletagmanager/plugins/tagmanagerEvent",
478
428
  "targetExport": "sendEvent",
479
429
  "targetModule": "@graphcommerce/google-datalayer/api/sendEvent",
480
430
  "type": "function",
@@ -482,17 +432,26 @@ it('finds plugins', () => {
482
432
  {
483
433
  "enabled": false,
484
434
  "ifConfig": "googleTagmanagerId",
485
- "sourceExport": "Plugin",
486
- "sourceModule": "./@graphcommerce/googletagmanager/plugins/GtagFramerNextPages",
487
- "targetExport": "FramerNextPages",
488
- "targetModule": "@graphcommerce/framer-next-pages",
435
+ "sourceExport": "DocumentBodyStart",
436
+ "sourceModule": "@graphcommerce/googletagmanager/plugins/GoogleTagmanagerTag",
437
+ "targetExport": "DocumentBodyStart",
438
+ "targetModule": "@graphcommerce/next-ui/server",
439
+ "type": "component",
440
+ },
441
+ {
442
+ "enabled": false,
443
+ "ifConfig": "googleTagmanagerId",
444
+ "sourceExport": "DocumentHeadEnd",
445
+ "sourceModule": "@graphcommerce/googletagmanager/plugins/GoogleTagmanagerTag",
446
+ "targetExport": "DocumentHeadEnd",
447
+ "targetModule": "@graphcommerce/next-ui/server",
489
448
  "type": "component",
490
449
  },
491
450
  {
492
451
  "enabled": false,
493
452
  "ifConfig": "dataLayer.coreWebVitals",
494
- "sourceExport": "Plugin",
495
- "sourceModule": "./@graphcommerce/google-datalayer/plugins/GoogleDatalayerWebVitals",
453
+ "sourceExport": "FramerNextPages",
454
+ "sourceModule": "@graphcommerce/google-datalayer/plugins/GoogleDatalayerWebVitals",
496
455
  "targetExport": "FramerNextPages",
497
456
  "targetModule": "@graphcommerce/framer-next-pages",
498
457
  "type": "component",
@@ -501,7 +460,7 @@ it('finds plugins', () => {
501
460
  "enabled": false,
502
461
  "ifConfig": "compare",
503
462
  "sourceExport": "Plugin",
504
- "sourceModule": "./@graphcommerce/magento-compare/plugins/CompareAbleProductListItem",
463
+ "sourceModule": "@graphcommerce/magento-compare/plugins/CompareAbleProductListItem",
505
464
  "targetExport": "ProductListItem",
506
465
  "targetModule": "@graphcommerce/magento-product",
507
466
  "type": "component",
@@ -509,8 +468,8 @@ it('finds plugins', () => {
509
468
  {
510
469
  "enabled": false,
511
470
  "ifConfig": "compare",
512
- "sourceExport": "Plugin",
513
- "sourceModule": "./@graphcommerce/magento-compare/plugins/AddCompareTypePolicies",
471
+ "sourceExport": "GraphQLProvider",
472
+ "sourceModule": "@graphcommerce/magento-compare/plugins/AddCompareTypePolicies",
514
473
  "targetExport": "GraphQLProvider",
515
474
  "targetModule": "@graphcommerce/graphql",
516
475
  "type": "component",
@@ -519,7 +478,7 @@ it('finds plugins', () => {
519
478
  "enabled": false,
520
479
  "ifConfig": "compare",
521
480
  "sourceExport": "Plugin",
522
- "sourceModule": "./@graphcommerce/magento-compare/plugins/AddCompareToProductPage",
481
+ "sourceModule": "@graphcommerce/magento-compare/plugins/AddCompareToProductPage",
523
482
  "targetExport": "ProductPageAddToCartActionsRow",
524
483
  "targetModule": "@graphcommerce/magento-product",
525
484
  "type": "component",
@@ -528,7 +487,7 @@ it('finds plugins', () => {
528
487
  "enabled": false,
529
488
  "ifConfig": "compare",
530
489
  "sourceExport": "Plugin",
531
- "sourceModule": "./@graphcommerce/magento-compare/plugins/AddCompareFabNextToCart",
490
+ "sourceModule": "@graphcommerce/magento-compare/plugins/AddCompareFabNextToCart",
532
491
  "targetExport": "CartFab",
533
492
  "targetModule": "@graphcommerce/magento-cart",
534
493
  "type": "component",
@@ -536,8 +495,8 @@ it('finds plugins', () => {
536
495
  {
537
496
  "enabled": false,
538
497
  "ifConfig": "debug.sessions",
539
- "sourceExport": "Plugin",
540
- "sourceModule": "./@graphcommerce/magento-customer/plugins/SessionDebuggerPlugin",
498
+ "sourceExport": "FramerNextPages",
499
+ "sourceModule": "@graphcommerce/magento-customer/plugins/SessionDebuggerPlugin",
541
500
  "targetExport": "FramerNextPages",
542
501
  "targetModule": "@graphcommerce/framer-next-pages",
543
502
  "type": "component",
@@ -546,7 +505,7 @@ it('finds plugins', () => {
546
505
  "enabled": false,
547
506
  "ifConfig": "configurableVariantValues.content",
548
507
  "sourceExport": "Plugin",
549
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductShortDescription",
508
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductShortDescription",
550
509
  "targetExport": "ProductShortDescription",
551
510
  "targetModule": "@graphcommerce/magento-product",
552
511
  "type": "component",
@@ -555,7 +514,7 @@ it('finds plugins', () => {
555
514
  "enabled": false,
556
515
  "ifConfig": "configurableVariantValues.content",
557
516
  "sourceExport": "Plugin",
558
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageName",
517
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageName",
559
518
  "targetExport": "ProductPageName",
560
519
  "targetModule": "@graphcommerce/magento-product",
561
520
  "type": "component",
@@ -564,7 +523,7 @@ it('finds plugins', () => {
564
523
  "enabled": false,
565
524
  "ifConfig": "configurableVariantValues.url",
566
525
  "sourceExport": "Plugin",
567
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageMeta",
526
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageMeta",
568
527
  "targetExport": "ProductPageMeta",
569
528
  "targetModule": "@graphcommerce/magento-product",
570
529
  "type": "component",
@@ -573,7 +532,7 @@ it('finds plugins', () => {
573
532
  "enabled": false,
574
533
  "ifConfig": "configurableVariantValues.content",
575
534
  "sourceExport": "Plugin",
576
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageJsonLd",
535
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageJsonLd",
577
536
  "targetExport": "ProductPageJsonLd",
578
537
  "targetModule": "@graphcommerce/magento-product",
579
538
  "type": "component",
@@ -582,16 +541,7 @@ it('finds plugins', () => {
582
541
  "enabled": false,
583
542
  "ifConfig": "configurableVariantValues.content",
584
543
  "sourceExport": "Plugin",
585
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageDescription",
586
- "targetExport": "ProductPageDescription",
587
- "targetModule": "@graphcommerce/magento-product",
588
- "type": "component",
589
- },
590
- {
591
- "enabled": false,
592
- "ifConfig": "configurableVariantValues.content",
593
- "sourceExport": "Plugin",
594
- "sourceModule": "./@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageDescription",
544
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/ConfigurableProductPage/ConfigurableProductPageDescription",
595
545
  "targetExport": "ProductPageDescription",
596
546
  "targetModule": "@graphcommerce/magento-product",
597
547
  "type": "component",
@@ -600,7 +550,7 @@ it('finds plugins', () => {
600
550
  "enabled": false,
601
551
  "ifConfig": "recentlyViewedProducts.enabled",
602
552
  "sourceExport": "Plugin",
603
- "sourceModule": "./@graphcommerce/magento-recently-viewed-products/plugins/RegisterProductAsRecentlyViewed",
553
+ "sourceModule": "@graphcommerce/magento-recently-viewed-products/plugins/RegisterProductAsRecentlyViewed",
604
554
  "targetExport": "ProductPageMeta",
605
555
  "targetModule": "@graphcommerce/magento-product",
606
556
  "type": "component",