Createa @backstage/plugin-catalog-common-react package

This commit is contained in:
Oliver Sand
2021-01-26 18:53:29 +01:00
parent aca1ada8dc
commit 019fe39a08
100 changed files with 488 additions and 228 deletions
+3 -3
View File
@@ -15,17 +15,17 @@
*/
import { Entity } from '@backstage/catalog-model';
import { EntityProvider } from '@backstage/plugin-catalog';
import { Content, Header, Page } from '@backstage/core';
import { createDevApp, EntityGridItem } from '@backstage/dev-utils';
import { EntityProvider } from '@backstage/plugin-catalog-common-react';
import { Grid } from '@material-ui/core';
import React from 'react';
import {
EntitySentryCard,
EntitySentryContent,
MockSentryApi,
SentryApi,
sentryApiRef,
EntitySentryCard,
EntitySentryContent,
} from '../src';
import { SENTRY_PROJECT_SLUG_ANNOTATION } from '../src/components/useProjectSlug';
+1 -1
View File
@@ -33,7 +33,7 @@
"dependencies": {
"@backstage/catalog-model": "^0.7.0",
"@backstage/core": "^0.5.0",
"@backstage/plugin-catalog": "^0.2.14",
"@backstage/plugin-catalog-common-react": "^0.0.1",
"@backstage/theme": "^0.2.2",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
+2 -2
View File
@@ -14,12 +14,12 @@
* limitations under the License.
*/
import React from 'react';
import {
createComponentExtension,
createRoutableExtension,
} from '@backstage/core';
import { useEntity } from '@backstage/plugin-catalog';
import { useEntity } from '@backstage/plugin-catalog-common-react';
import React from 'react';
import { plugin, rootRouteRef } from './plugin';
export const EntitySentryContent = plugin.provide(