From cf9a54e300378a0ca77aa7e39e4a95788359028d Mon Sep 17 00:00:00 2001 From: Paul Hachmang Date: Thu, 27 Feb 2025 11:18:47 +0100 Subject: [PATCH 1/2] Solve issue where ActionCard would crash the whole app because it forwarded components to string attributes --- .changeset/giant-meals-explode.md | 5 +++++ packages/next-ui/ActionCard/ActionCard.tsx | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changeset/giant-meals-explode.md diff --git a/.changeset/giant-meals-explode.md b/.changeset/giant-meals-explode.md new file mode 100644 index 0000000000..0686d62357 --- /dev/null +++ b/.changeset/giant-meals-explode.md @@ -0,0 +1,5 @@ +--- +'@graphcommerce/next-ui': patch +--- + +Solve issue where ActionCard would crash the whole app because it forwarded components to string attributes diff --git a/packages/next-ui/ActionCard/ActionCard.tsx b/packages/next-ui/ActionCard/ActionCard.tsx index 1400940b53..f94c11326d 100644 --- a/packages/next-ui/ActionCard/ActionCard.tsx +++ b/packages/next-ui/ActionCard/ActionCard.tsx @@ -121,7 +121,6 @@ export function ActionCard(props: Acti layout = 'list', error = false, slotProps = {}, - ...other } = props const classes = withState({ @@ -263,7 +262,6 @@ export function ActionCard(props: Acti slotProps.root?.sx, )} {...slotProps.root} - {...other} > Date: Thu, 27 Feb 2025 11:32:56 +0100 Subject: [PATCH 2/2] Solve issue: TypeError: InMemoryLRUCache is not a constructor --- .changeset/sour-beds-promise.md | 8 ++++ examples/magento-graphcms/package.json | 40 +++++++++---------- examples/magento-open-source/package.json | 40 +++++++++---------- package.json | 8 ++-- .../package.json | 2 +- .../package.json | 2 +- 6 files changed, 54 insertions(+), 46 deletions(-) create mode 100644 .changeset/sour-beds-promise.md diff --git a/.changeset/sour-beds-promise.md b/.changeset/sour-beds-promise.md new file mode 100644 index 0000000000..9057675d54 --- /dev/null +++ b/.changeset/sour-beds-promise.md @@ -0,0 +1,8 @@ +--- +'@graphcommerce/graphql-codegen-near-operation-file': patch +'@graphcommerce/graphql-codegen-markdown-docs': patch +'@graphcommerce/magento-open-source': patch +'@graphcommerce/magento-graphcms': patch +--- + +Solve issue: TypeError: InMemoryLRUCache is not a constructor diff --git a/examples/magento-graphcms/package.json b/examples/magento-graphcms/package.json index 81e280ffaa..0dc0776ee1 100644 --- a/examples/magento-graphcms/package.json +++ b/examples/magento-graphcms/package.json @@ -79,26 +79,26 @@ "@graphcommerce/next-ui": "9.0.3", "@graphcommerce/react-hook-form": "9.0.3", "@graphcommerce/service-worker": "9.0.3", - "@graphql-mesh/cli": "0.98.14", - "@graphql-mesh/config": "0.106.14", - "@graphql-mesh/cross-helpers": "0.4.9", - "@graphql-mesh/graphql": "0.103.10", - "@graphql-mesh/http": "0.105.9", - "@graphql-mesh/json-schema": "0.108.9", - "@graphql-mesh/openapi": "0.108.11", - "@graphql-mesh/plugin-http-details-extensions": "0.103.9", - "@graphql-mesh/runtime": "0.105.9", - "@graphql-mesh/transform-encapsulate": "0.103.9", - "@graphql-mesh/transform-filter-schema": "0.103.9", - "@graphql-mesh/transform-hoist-field": "0.103.10", - "@graphql-mesh/transform-naming-convention": "0.103.11", - "@graphql-mesh/transform-prefix": "0.103.11", - "@graphql-mesh/transform-prune": "0.103.9", - "@graphql-mesh/transform-rename": "0.103.10", - "@graphql-mesh/transform-replace-field": "0.103.10", - "@graphql-mesh/transform-type-merging": "0.103.9", - "@graphql-mesh/types": "0.103.9", - "@graphql-mesh/utils": "0.103.9", + "@graphql-mesh/cli": "0.99.2", + "@graphql-mesh/config": "0.107.2", + "@graphql-mesh/cross-helpers": "0.4.10", + "@graphql-mesh/graphql": "0.103.22", + "@graphql-mesh/http": "0.105.23", + "@graphql-mesh/json-schema": "0.108.24", + "@graphql-mesh/openapi": "0.108.25", + "@graphql-mesh/plugin-http-details-extensions": "0.103.22", + "@graphql-mesh/runtime": "0.105.23", + "@graphql-mesh/transform-encapsulate": "0.103.21", + "@graphql-mesh/transform-filter-schema": "0.103.21", + "@graphql-mesh/transform-hoist-field": "0.104.2", + "@graphql-mesh/transform-naming-convention": "0.104.2", + "@graphql-mesh/transform-prefix": "0.104.2", + "@graphql-mesh/transform-prune": "0.103.21", + "@graphql-mesh/transform-rename": "0.104.2", + "@graphql-mesh/transform-replace-field": "0.104.2", + "@graphql-mesh/transform-type-merging": "0.103.21", + "@graphql-mesh/types": "0.103.21", + "@graphql-mesh/utils": "0.103.21", "@lingui/conf": "4.14.1", "@lingui/core": "4.14.1", "@lingui/loader": "4.14.1", diff --git a/examples/magento-open-source/package.json b/examples/magento-open-source/package.json index 54191d3e77..1947b11a3c 100644 --- a/examples/magento-open-source/package.json +++ b/examples/magento-open-source/package.json @@ -75,26 +75,26 @@ "@graphcommerce/next-ui": "9.0.3", "@graphcommerce/react-hook-form": "9.0.3", "@graphcommerce/service-worker": "9.0.3", - "@graphql-mesh/cli": "0.98.14", - "@graphql-mesh/config": "0.106.14", - "@graphql-mesh/cross-helpers": "0.4.9", - "@graphql-mesh/graphql": "0.103.10", - "@graphql-mesh/http": "0.105.9", - "@graphql-mesh/json-schema": "0.108.9", - "@graphql-mesh/openapi": "0.108.11", - "@graphql-mesh/plugin-http-details-extensions": "0.103.9", - "@graphql-mesh/runtime": "0.105.9", - "@graphql-mesh/transform-encapsulate": "0.103.9", - "@graphql-mesh/transform-filter-schema": "0.103.9", - "@graphql-mesh/transform-hoist-field": "0.103.10", - "@graphql-mesh/transform-naming-convention": "0.103.11", - "@graphql-mesh/transform-prefix": "0.103.11", - "@graphql-mesh/transform-prune": "0.103.9", - "@graphql-mesh/transform-rename": "0.103.10", - "@graphql-mesh/transform-replace-field": "0.103.10", - "@graphql-mesh/transform-type-merging": "0.103.9", - "@graphql-mesh/types": "0.103.9", - "@graphql-mesh/utils": "0.103.9", + "@graphql-mesh/cli": "0.99.2", + "@graphql-mesh/config": "0.107.2", + "@graphql-mesh/cross-helpers": "0.4.10", + "@graphql-mesh/graphql": "0.103.22", + "@graphql-mesh/http": "0.105.23", + "@graphql-mesh/json-schema": "0.108.24", + "@graphql-mesh/openapi": "0.108.25", + "@graphql-mesh/plugin-http-details-extensions": "0.103.22", + "@graphql-mesh/runtime": "0.105.23", + "@graphql-mesh/transform-encapsulate": "0.103.21", + "@graphql-mesh/transform-filter-schema": "0.103.21", + "@graphql-mesh/transform-hoist-field": "0.104.2", + "@graphql-mesh/transform-naming-convention": "0.104.2", + "@graphql-mesh/transform-prefix": "0.104.2", + "@graphql-mesh/transform-prune": "0.103.21", + "@graphql-mesh/transform-rename": "0.104.2", + "@graphql-mesh/transform-replace-field": "0.104.2", + "@graphql-mesh/transform-type-merging": "0.103.21", + "@graphql-mesh/types": "0.103.21", + "@graphql-mesh/utils": "0.103.21", "@lingui/conf": "4.14.1", "@lingui/core": "4.14.1", "@lingui/loader": "4.14.1", diff --git a/package.json b/package.json index c745d87e88..5ce02d6c52 100644 --- a/package.json +++ b/package.json @@ -64,10 +64,10 @@ "@graphcommerce/prettier-config-pwa": "workspace:^", "@graphcommerce/typescript-config-pwa": "workspace:^", "@graphql-codegen/testing": "3.0.4", - "@graphql-mesh/cli": "0.98.14", - "@graphql-mesh/runtime": "0.105.9", - "@graphql-mesh/types": "0.103.9", - "@graphql-mesh/utils": "0.103.9", + "@graphql-mesh/cli": "0.99.2", + "@graphql-mesh/runtime": "0.105.23", + "@graphql-mesh/types": "0.103.21", + "@graphql-mesh/utils": "0.103.21", "@lingui/loader": "4.14.1", "@lingui/macro": "4.14.1", "@lingui/react": "4.14.1", diff --git a/packagesDev/graphql-codegen-markdown-docs/package.json b/packagesDev/graphql-codegen-markdown-docs/package.json index 9da18e97f9..6505cb5071 100644 --- a/packagesDev/graphql-codegen-markdown-docs/package.json +++ b/packagesDev/graphql-codegen-markdown-docs/package.json @@ -24,7 +24,7 @@ "@graphql-codegen/add": "5.0.3", "@graphql-codegen/plugin-helpers": "5.1.0", "@graphql-codegen/visitor-plugin-common": "5.6.0", - "@graphql-tools/utils": "^10.6.4", + "@graphql-tools/utils": "^10.8.3", "@types/parse-filepath": "^1.0.2", "graphql": "^16.10.0", "parse-filepath": "^1.0.2" diff --git a/packagesDev/graphql-codegen-near-operation-file/package.json b/packagesDev/graphql-codegen-near-operation-file/package.json index ff3df00d1d..1591821a48 100644 --- a/packagesDev/graphql-codegen-near-operation-file/package.json +++ b/packagesDev/graphql-codegen-near-operation-file/package.json @@ -23,7 +23,7 @@ "@graphql-codegen/add": "5.0.3", "@graphql-codegen/plugin-helpers": "5.1.0", "@graphql-codegen/visitor-plugin-common": "5.6.0", - "@graphql-tools/utils": "^10.6.4", + "@graphql-tools/utils": "^10.8.3", "@types/parse-filepath": "^1.0.2", "graphql": "^16.10.0", "parse-filepath": "^1.0.2"