Rename from @backstage/plugin-catalog-common-react to @backstage/plugin-catalog-react

This commit is contained in:
Oliver Sand
2021-01-26 19:24:04 +01:00
parent 019fe39a08
commit c677643afa
97 changed files with 81 additions and 120 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
"@backstage/catalog-model": "^0.7.0",
"@backstage/config": "^0.1.2",
"@backstage/core": "^0.5.0",
"@backstage/plugin-catalog-common-react": "^0.0.1",
"@backstage/plugin-catalog-react": "^0.0.1",
"@backstage/theme": "^0.2.2",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
@@ -16,7 +16,7 @@
import { Entity } from '@backstage/catalog-model';
import { ApiProvider, ApiRegistry, errorApiRef } from '@backstage/core';
import { EntityContext } from '@backstage/plugin-catalog-common-react';
import { EntityContext } from '@backstage/plugin-catalog-react';
import { lightTheme } from '@backstage/theme';
import { ThemeProvider } from '@material-ui/core';
import { render } from '@testing-library/react';
@@ -15,7 +15,7 @@
*/
import { Entity } from '@backstage/catalog-model';
import { EntityContext } from '@backstage/plugin-catalog-common-react';
import { EntityContext } from '@backstage/plugin-catalog-react';
import { lightTheme } from '@backstage/theme';
import { ThemeProvider } from '@material-ui/core';
import { render } from '@testing-library/react';
@@ -15,7 +15,7 @@
*/
import { Entity } from '@backstage/catalog-model';
import { ApiProvider, ApiRegistry, errorApiRef } from '@backstage/core';
import { EntityContext } from '@backstage/plugin-catalog-common-react';
import { EntityContext } from '@backstage/plugin-catalog-react';
import { renderHook } from '@testing-library/react-hooks';
import React, { PropsWithChildren } from 'react';
import { lighthouseApiRef, WebsiteListResponse } from '../api';
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { errorApiRef, useApi } from '@backstage/core';
import { useEntity } from '@backstage/plugin-catalog-common-react';
import { useEntity } from '@backstage/plugin-catalog-react';
import { useAsync } from 'react-use';
import { LIGHTHOUSE_WEBSITE_URL_ANNOTATION } from '../../constants';
import { lighthouseApiRef } from '../api';