@graphcommerce/next-config 9.1.0-canary.18 → 9.1.0-canary.20

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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.1.0-canary.20
4
+
5
+ ## 9.1.0-canary.19
6
+
7
+ ### Patch Changes
8
+
9
+ - [#2499](https://github.com/graphcommerce-org/graphcommerce/pull/2499) [`9cf0450`](https://github.com/graphcommerce-org/graphcommerce/commit/9cf0450a41c4c74292b96f5795c7428f9d6a930c) - Remove the 'ignored' string when loading the graphcommerce config env variable loading, as that isn't always correct ([@paales](https://github.com/paales))
10
+
3
11
  ## 9.1.0-canary.18
4
12
 
5
13
  ### Patch Changes
@@ -215,6 +215,30 @@ it('finds plugins', () => {
215
215
  "targetModule": "@graphcommerce/magento-product",
216
216
  "type": "component",
217
217
  },
218
+ {
219
+ "enabled": true,
220
+ "sourceExport": "OrderItem",
221
+ "sourceModule": "@graphcommerce/magento-product-downloadable/plugins/DownloadableOrderItem",
222
+ "targetExport": "OrderItem",
223
+ "targetModule": "@graphcommerce/magento-customer",
224
+ "type": "component",
225
+ },
226
+ {
227
+ "enabled": true,
228
+ "sourceExport": "InvoiceItem",
229
+ "sourceModule": "@graphcommerce/magento-product-downloadable/plugins/DownloadableInvoiceItem",
230
+ "targetExport": "InvoiceItem",
231
+ "targetModule": "@graphcommerce/magento-customer",
232
+ "type": "component",
233
+ },
234
+ {
235
+ "enabled": true,
236
+ "sourceExport": "CreditMemoItem",
237
+ "sourceModule": "@graphcommerce/magento-product-downloadable/plugins/DownloadableCreditMemoItem",
238
+ "targetExport": "CreditMemoItem",
239
+ "targetModule": "@graphcommerce/magento-customer",
240
+ "type": "component",
241
+ },
218
242
  {
219
243
  "enabled": true,
220
244
  "sourceExport": "CartItemActionCard",
@@ -231,6 +255,54 @@ it('finds plugins', () => {
231
255
  "targetModule": "@graphcommerce/magento-customer",
232
256
  "type": "component",
233
257
  },
258
+ {
259
+ "enabled": true,
260
+ "sourceExport": "cartItemToCartItemInput",
261
+ "sourceModule": "@graphcommerce/magento-product-bundle/plugins/Bundle_cartItemToCartItemInput",
262
+ "targetExport": "cartItemToCartItemInput",
263
+ "targetModule": "@graphcommerce/magento-cart-items",
264
+ "type": "function",
265
+ },
266
+ {
267
+ "enabled": true,
268
+ "sourceExport": "ShipmentItem",
269
+ "sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleShipmentItem",
270
+ "targetExport": "ShipmentItem",
271
+ "targetModule": "@graphcommerce/magento-customer",
272
+ "type": "component",
273
+ },
274
+ {
275
+ "enabled": true,
276
+ "sourceExport": "ProductPagePrice",
277
+ "sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleProductPagePrice",
278
+ "targetExport": "ProductPagePrice",
279
+ "targetModule": "@graphcommerce/magento-product",
280
+ "type": "component",
281
+ },
282
+ {
283
+ "enabled": true,
284
+ "sourceExport": "OrderItem",
285
+ "sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleOrderItem",
286
+ "targetExport": "OrderItem",
287
+ "targetModule": "@graphcommerce/magento-customer",
288
+ "type": "component",
289
+ },
290
+ {
291
+ "enabled": true,
292
+ "sourceExport": "InvoiceItem",
293
+ "sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleInvoiceItem",
294
+ "targetExport": "InvoiceItem",
295
+ "targetModule": "@graphcommerce/magento-customer",
296
+ "type": "component",
297
+ },
298
+ {
299
+ "enabled": true,
300
+ "sourceExport": "CreditMemoItem",
301
+ "sourceModule": "@graphcommerce/magento-product-bundle/plugins/BundleCreditMemoItem",
302
+ "targetExport": "CreditMemoItem",
303
+ "targetModule": "@graphcommerce/magento-customer",
304
+ "type": "component",
305
+ },
234
306
  {
235
307
  "enabled": true,
236
308
  "sourceExport": "CartItemActionCard",
@@ -247,6 +319,14 @@ it('finds plugins', () => {
247
319
  "targetModule": "@graphcommerce/magento-cart-items",
248
320
  "type": "component",
249
321
  },
322
+ {
323
+ "enabled": true,
324
+ "sourceExport": "AccountMenuItem",
325
+ "sourceModule": "@graphcommerce/magento-payment-tokens/plugins/PaymentTokensAccountMenuItem",
326
+ "targetExport": "AccountMenuItem",
327
+ "targetModule": "@graphcommerce/magento-customer",
328
+ "type": "component",
329
+ },
250
330
  {
251
331
  "enabled": true,
252
332
  "sourceExport": "PaymentMethodContextProvider",
@@ -468,6 +548,14 @@ it('finds plugins', () => {
468
548
  "targetModule": "@graphcommerce/magento-product-configurable",
469
549
  "type": "component",
470
550
  },
551
+ {
552
+ "enabled": true,
553
+ "sourceExport": "cartItemToCartItemInput",
554
+ "sourceModule": "@graphcommerce/magento-product-configurable/plugins/Configurable_cartItemToCartItemInput",
555
+ "targetExport": "cartItemToCartItemInput",
556
+ "targetModule": "@graphcommerce/magento-cart-items",
557
+ "type": "function",
558
+ },
471
559
  {
472
560
  "enabled": true,
473
561
  "sourceExport": "CartItemActionCard",
@@ -1,5 +1,4 @@
1
1
  import { resolveDependenciesSync, sortDependencies } from '../../src/utils/resolveDependenciesSync'
2
-
3
2
  const projectRoot = `${process.cwd()}/examples/magento-graphcms`
4
3
  it('It resolves and sorts dependencies beginning with the root example package and ending with the the packages used everywhere.', () => {
5
4
  const dependencies = resolveDependenciesSync(projectRoot)
@@ -23,6 +22,7 @@ it('It resolves and sorts dependencies beginning with the root example package a
23
22
  "@graphcommerce/magento-product-downloadable" => "packages/magento-product-downloadable",
24
23
  "@graphcommerce/magento-product-bundle" => "packages/magento-product-bundle",
25
24
  "@graphcommerce/magento-product-virtual" => "packages/magento-product-virtual",
25
+ "@graphcommerce/magento-payment-tokens" => "packages/magento-payment-tokens",
26
26
  "@graphcommerce/magento-payment-included" => "packages/magento-payment-included",
27
27
  "@graphcommerce/magento-newsletter" => "packages/magento-newsletter",
28
28
  "@graphcommerce/magento-graphql-rest" => "packages/magento-graphql-rest",
@@ -32,7 +32,6 @@ it('It resolves and sorts dependencies beginning with the root example package a
32
32
  "@graphcommerce/magento-cart-email" => "packages/magento-cart-email",
33
33
  "@graphcommerce/magento-cart-checkout" => "packages/magento-cart-checkout",
34
34
  "@graphcommerce/magento-cart-coupon" => "packages/magento-cart-coupon",
35
- "@graphcommerce/magento-cart-billing-address" => "packages/magento-cart-billing-address",
36
35
  "@graphcommerce/hygraph-dynamic-rows" => "packages/hygraph-dynamic-rows",
37
36
  "@graphcommerce/hygraph-ui" => "packages/hygraph-ui",
38
37
  "@graphcommerce/googletagmanager" => "packages/googletagmanager",
package/dist/index.js CHANGED
@@ -618,7 +618,7 @@ function formatAppliedEnv(applyResult) {
618
618
  return `${chalk.yellowBright(` \u203C ${envVariableFmt}`)} => ${warning.join(", ")}`;
619
619
  }
620
620
  if (!dotVar) return chalk.red(`${envVariableFmt} => ignored (no matching config)`);
621
- if (from === void 0 && to === void 0) return ` = ${baseLog}: (ignored)`;
621
+ if (from === void 0 && to === void 0) return ` = ${baseLog}`;
622
622
  if (from === void 0 && to !== void 0) return ` ${chalk.green("+")} ${baseLog}`;
623
623
  if (from !== void 0 && to === void 0) return ` ${chalk.red("-")} ${baseLog}`;
624
624
  return ` ${chalk.yellowBright("~")} ${baseLog}`;
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.1.0-canary.18",
5
+ "version": "9.1.0-canary.20",
6
6
  "type": "module",
7
7
  "types": "./src/index.ts",
8
8
  "exports": {
@@ -43,7 +43,7 @@
43
43
  "zod": "^3.24.1"
44
44
  },
45
45
  "peerDependencies": {
46
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.18",
46
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.20",
47
47
  "@lingui/loader": "*",
48
48
  "@lingui/macro": "*",
49
49
  "@lingui/react": "*",
@@ -223,7 +223,7 @@ export function formatAppliedEnv(applyResult: ApplyResult) {
223
223
 
224
224
  if (!dotVar) return chalk.red(`${envVariableFmt} => ignored (no matching config)`)
225
225
 
226
- if (from === undefined && to === undefined) return ` = ${baseLog}: (ignored)`
226
+ if (from === undefined && to === undefined) return ` = ${baseLog}`
227
227
  if (from === undefined && to !== undefined) return ` ${chalk.green('+')} ${baseLog}`
228
228
  if (from !== undefined && to === undefined) return ` ${chalk.red('-')} ${baseLog}`
229
229
  return ` ${chalk.yellowBright('~')} ${baseLog}`