From ca20cda59bdab1699a347495ff9098b0dc1ed768 Mon Sep 17 00:00:00 2001 From: Montse Ortega Date: Wed, 6 Mar 2024 10:13:55 +0100 Subject: [PATCH] Add more external components --- fec.config.js | 24 +++++++++++++++++++ .../AssistedInstallerDetailCard.tsx | 3 +++ .../AssistedInstallerExtraDetailCard.tsx | 3 +++ src/components/ClusterStatus.tsx | 3 +++ src/components/FeatureSupportsLevel.tsx | 3 +++ src/components/HostsClusterDetailTab.tsx | 3 +++ src/components/Services.tsx | 3 +++ 7 files changed, 42 insertions(+) create mode 100644 src/components/AssistedInstallerDetailCard.tsx create mode 100644 src/components/AssistedInstallerExtraDetailCard.tsx create mode 100644 src/components/ClusterStatus.tsx create mode 100644 src/components/FeatureSupportsLevel.tsx create mode 100644 src/components/HostsClusterDetailTab.tsx create mode 100644 src/components/Services.tsx diff --git a/fec.config.js b/fec.config.js index 3909780..0e22bd0 100644 --- a/fec.config.js +++ b/fec.config.js @@ -36,6 +36,30 @@ module.exports = { __dirname, './src/components/ExternalLink.tsx', ), + './AssistedInstallerDetailCard': path.resolve( + __dirname, + './src/components/AssistedInstallerDetailCard.tsx', + ), + './AssistedInstallerExtraDetailCard': path.resolve( + __dirname, + './src/components/AssistedInstallerExtraDetailCard.tsx', + ), + './ClusterStatus': path.resolve( + __dirname, + './src/components/ClusterStatus.tsx', + ), + './FeatureSupportsLevel': path.resolve( + __dirname, + './src/components/FeatureSupportsLevel.tsx', + ), + './HostsClusterDetailTab': path.resolve( + __dirname, + './src/components/HostsClusterDetailTab.tsx', + ), + './Services': path.resolve( + __dirname, + './src/components/Services.tsx', + ), }, exclude: [], shared: [], diff --git a/src/components/AssistedInstallerDetailCard.tsx b/src/components/AssistedInstallerDetailCard.tsx new file mode 100644 index 0000000..ac46831 --- /dev/null +++ b/src/components/AssistedInstallerDetailCard.tsx @@ -0,0 +1,3 @@ +import { AssistedInstallerDetailCard } from '@openshift-assisted/ui-lib/ocm'; +import '../i18n'; +export default AssistedInstallerDetailCard; diff --git a/src/components/AssistedInstallerExtraDetailCard.tsx b/src/components/AssistedInstallerExtraDetailCard.tsx new file mode 100644 index 0000000..8cb06dc --- /dev/null +++ b/src/components/AssistedInstallerExtraDetailCard.tsx @@ -0,0 +1,3 @@ +import { AssistedInstallerExtraDetailCard } from '@openshift-assisted/ui-lib/ocm'; +import '../i18n'; +export default AssistedInstallerExtraDetailCard; diff --git a/src/components/ClusterStatus.tsx b/src/components/ClusterStatus.tsx new file mode 100644 index 0000000..6c2a8b9 --- /dev/null +++ b/src/components/ClusterStatus.tsx @@ -0,0 +1,3 @@ +import { ClusterStatus } from '@openshift-assisted/ui-lib/ocm'; +import '../i18n'; +export default ClusterStatus; diff --git a/src/components/FeatureSupportsLevel.tsx b/src/components/FeatureSupportsLevel.tsx new file mode 100644 index 0000000..fb77b63 --- /dev/null +++ b/src/components/FeatureSupportsLevel.tsx @@ -0,0 +1,3 @@ +import { FeaturesSupportsLevel } from '@openshift-assisted/ui-lib/ocm'; +import '../i18n'; +export default FeaturesSupportsLevel; diff --git a/src/components/HostsClusterDetailTab.tsx b/src/components/HostsClusterDetailTab.tsx new file mode 100644 index 0000000..358644c --- /dev/null +++ b/src/components/HostsClusterDetailTab.tsx @@ -0,0 +1,3 @@ +import { HostsClusterDetailTab } from '@openshift-assisted/ui-lib/ocm'; +import '../i18n'; +export default HostsClusterDetailTab; diff --git a/src/components/Services.tsx b/src/components/Services.tsx new file mode 100644 index 0000000..f6097b4 --- /dev/null +++ b/src/components/Services.tsx @@ -0,0 +1,3 @@ +import { Services } from '@openshift-assisted/ui-lib/ocm'; +import '../i18n'; +export default Services;