diff --git a/package.json b/package.json index d4a755b..4295bc9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cortexapps/backstage-plugin", - "version": "2.13.5", + "version": "2.13.6", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", diff --git a/src/index.ts b/src/index.ts index 652cb57..19aff52 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,5 +1,5 @@ /* - * Copyright 2024 Cortex Applications, Inc. + * Copyright 2025 Cortex Applications, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ export { SystemCortexContent, extendableCortexPlugin, CortexHomepage, + CortexInsightsCard, } from './plugin'; export { extensionApiRef } from './api/ExtensionApi'; export type { CortexScorecardWidgetProps } from './components/CortexScorecardWidget/CortexScorecardWidget'; diff --git a/src/plugin.ts b/src/plugin.ts index 6347912..b6c65c4 100644 --- a/src/plugin.ts +++ b/src/plugin.ts @@ -1,5 +1,5 @@ /* - * Copyright 2024 Cortex Applications, Inc. + * Copyright 2025 Cortex Applications, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -202,3 +202,15 @@ export const CortexHomepage = cortexPlugin.provide( }, }), ); + +export const CortexInsightsCard = cortexPlugin.provide( + createComponentExtension({ + name: 'CortexInsightsCard', + component: { + lazy: () => + import('./components/Homepage/HomepageInsights').then( + m => m.HomepageInsights, + ), + }, + }), +);