packages: manually migrate rest away from @backstage/core deps

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2021-06-17 20:12:27 +02:00
parent 89e3ef223f
commit 8997d3fcca
10 changed files with 21 additions and 12 deletions
+2 -2
View File
@@ -30,7 +30,8 @@
"dependencies": {
"@backstage/catalog-client": "^0.3.13",
"@backstage/catalog-model": "^0.8.3",
"@backstage/core": "^0.7.13",
"@backstage/core-app-api": "^0.1.2",
"@backstage/core-components": "^0.1.3",
"@backstage/core-plugin-api": "^0.1.2",
"@backstage/integration": "^0.5.6",
"@material-ui/core": "^4.11.0",
@@ -45,7 +46,6 @@
},
"devDependencies": {
"@backstage/cli": "^0.7.1",
"@backstage/core": "^0.7.13",
"@backstage/dev-utils": "^0.1.17",
"@backstage/test-utils": "^0.1.13",
"@testing-library/jest-dom": "^5.10.1",
@@ -28,6 +28,8 @@ import {
import { ScrollContext, ScrollContextProps } from '../hooks/useScroll';
import { Group, Duration } from '../types';
// TODO(Rugvip): Could be good to have a clear place to put test utils that is linted accordingly
// eslint-disable-next-line import/no-extraneous-dependencies
import { ApiProvider, ApiRegistry } from '@backstage/core-app-api';
import { IdentityApi, identityApiRef } from '@backstage/core-plugin-api';
+1 -1
View File
@@ -28,7 +28,7 @@
"postpack": "backstage-cli postpack"
},
"dependencies": {
"@backstage/core": "^0.7.9"
"@backstage/core-plugin-api": "^0.1.2"
},
"devDependencies": {
"@backstage/cli": "^0.7.0",
@@ -15,7 +15,7 @@
*/
import { Entity, GroupEntity } from '@backstage/catalog-model';
import { ApiProvider, ApiRegistry } from '@backstage/core-api';
import { ApiProvider, ApiRegistry } from '@backstage/core-app-api';
import { catalogApiRef, EntityContext } from '@backstage/plugin-catalog-react';
import { Grid } from '@material-ui/core';
import React from 'react';
@@ -15,7 +15,7 @@
*/
import { GroupEntity } from '@backstage/catalog-model';
import { ApiProvider, ApiRegistry } from '@backstage/core-api';
import { ApiProvider, ApiRegistry } from '@backstage/core-app-api';
import {
CatalogApi,
catalogApiRef,