more review comments

Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
Brian Fletcher
2023-05-22 12:38:30 +01:00
parent 83511df00b
commit 277da332d6
4 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
"@backstage/core-plugin-api": "workspace:^",
"@backstage/errors": "workspace:^",
"@backstage/plugin-catalog-react": "workspace:^",
"@backstage/plugin-home": "workspace:^",
"@backstage/plugin-home-react": "workspace:^",
"@backstage/theme": "workspace:^",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
+7 -1
View File
@@ -29,8 +29,14 @@ export {
export * from './components';
// @deprecated Please use EntityPagerDutyCard
/**
* @deprecated Please use EntityPagerDutyCard
*/
export { EntityPagerDutyCard as PagerDutyCard } from './components';
/**
* @deprecated Please use EntityPagerDutyCardProps
*/
export type { EntityPagerDutyCardProps as PagerDutyCardProps } from './components';
export * from './api';
+2 -9
View File
@@ -23,7 +23,7 @@ import {
configApiRef,
createComponentExtension,
} from '@backstage/core-plugin-api';
import { createCardExtension } from '@backstage/plugin-home';
import { createCardExtension } from '@backstage/plugin-home-react';
import { HomePagePagerDutyCardProps } from './components/HomePagePagerDutyCard/Content';
export const rootRouteRef = createRouteRef({
@@ -60,15 +60,8 @@ export const EntityPagerDutyCard = pagerDutyPlugin.provide(
}),
);
export const homePlugin = createPlugin({
id: 'pagerduty-home',
routes: {
root: rootRouteRef,
},
});
/** @public */
export const HomePagePagerDutyCard = homePlugin.provide(
export const HomePagePagerDutyCard = pagerDutyPlugin.provide(
createCardExtension<HomePagePagerDutyCardProps>({
name: 'HomePagePagerDutyCard',
title: 'PagerDuty Homepage Card',
+1 -1
View File
@@ -7726,7 +7726,7 @@ __metadata:
"@backstage/dev-utils": "workspace:^"
"@backstage/errors": "workspace:^"
"@backstage/plugin-catalog-react": "workspace:^"
"@backstage/plugin-home": "workspace:^"
"@backstage/plugin-home-react": "workspace:^"
"@backstage/test-utils": "workspace:^"
"@backstage/theme": "workspace:^"
"@material-ui/core": ^4.12.2