plugins should not depend on core-api
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^0.6.0",
|
||||
"@backstage/core": "^0.4.3",
|
||||
"@backstage/core-api": "^0.2.8",
|
||||
"@backstage/plugin-catalog": "^0.2.9",
|
||||
"@backstage/test-utils": "^0.1.6",
|
||||
"@backstage/theme": "^0.2.2",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ApiProvider, ApiRegistry } from '@backstage/core-api';
|
||||
import { ApiProvider, ApiRegistry } from '@backstage/core';
|
||||
import { CatalogApi, catalogApiRef } from '@backstage/plugin-catalog';
|
||||
import { wrapInTestApp } from '@backstage/test-utils';
|
||||
import { render } from '@testing-library/react';
|
||||
|
||||
@@ -17,7 +17,7 @@ import React from 'react';
|
||||
import { TechDocsPage } from './TechDocsPage';
|
||||
import { render, act } from '@testing-library/react';
|
||||
import { wrapInTestApp } from '@backstage/test-utils';
|
||||
import { ApiRegistry, ApiProvider } from '@backstage/core-api';
|
||||
import { ApiRegistry, ApiProvider } from '@backstage/core';
|
||||
import {
|
||||
techdocsApiRef,
|
||||
TechDocsApi,
|
||||
|
||||
Reference in New Issue
Block a user