diff --git a/package-lock.json b/package-lock.json index 764374bf1..f7611d903 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42172,7 +42172,7 @@ }, "packages/config": { "name": "@redhat-cloud-services/frontend-components-config", - "version": "6.2.0", + "version": "6.2.2", "license": "Apache-2.0", "dependencies": { "@pmmmwh/react-refresh-webpack-plugin": "^0.5.8", @@ -43207,7 +43207,7 @@ }, "packages/utils": { "name": "@redhat-cloud-services/frontend-components-utilities", - "version": "4.0.14", + "version": "4.0.16", "license": "Apache-2.0", "dependencies": { "@redhat-cloud-services/rbac-client": "^1.0.111 || 2.x", diff --git a/packages/config-utils/src/federated-modules.ts b/packages/config-utils/src/federated-modules.ts index bd2cd75a2..3bc8f5ced 100644 --- a/packages/config-utils/src/federated-modules.ts +++ b/packages/config-utils/src/federated-modules.ts @@ -90,8 +90,9 @@ const federatedModules = ({ * It is required to share the context via `useChrome`. * No application should be installing/interacting with scalprum directly. */ - if (dependencies['@redhat-cloud-services/frontend-components']) { + if (dependencies['@redhat-cloud-services/frontend-components'] || dependencies['@scalprum/react-core'] || dependencies['@scalprum/core']) { sharedDeps['@scalprum/react-core'] = { requiredVersion: '*', singleton: true, eager: false, import: false }; + sharedDeps['@scalprum/core'] = { requiredVersion: '*', singleton: true, eager: false, import: false }; } /**