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
+3 -3
View File
@@ -6,10 +6,10 @@
"dependencies": {
"@backstage/catalog-model": "^0.8.3",
"@backstage/cli": "^0.7.1",
"@backstage/core": "^0.7.13",
"@backstage/integration-react": "^0.1.3",
"@backstage/core-app-api": "^0.1.2",
"@backstage/core-components": "^0.1.1",
"@backstage/core-components": "^0.1.3",
"@backstage/core-plugin-api": "^0.1.2",
"@backstage/integration-react": "^0.1.3",
"@backstage/plugin-api-docs": "^0.5.0",
"@backstage/plugin-badges": "^0.2.2",
"@backstage/plugin-catalog": "^0.6.3",
+3 -1
View File
@@ -120,7 +120,9 @@
"devDependencies": {
"@backstage/backend-common": "^0.8.3",
"@backstage/config": "^0.1.5",
"@backstage/core": "^0.7.13",
"@backstage/core-components": "^0.1.3",
"@backstage/core-plugin-api": "^0.1.2",
"@backstage/core-app-api": "^0.1.2",
"@backstage/dev-utils": "^0.1.17",
"@backstage/test-utils": "^0.1.13",
"@backstage/theme": "^0.2.8",
@@ -6,7 +6,9 @@
"dependencies": {
"@backstage/catalog-model": "^{{version '@backstage/catalog-model'}}",
"@backstage/cli": "^{{version '@backstage/cli'}}",
"@backstage/core": "^{{version '@backstage/core'}}",
"@backstage/core-app-api": "^{{version '@backstage/core-app-api'}}",
"@backstage/core-components": "^{{version '@backstage/core-components'}}",
"@backstage/core-plugin-api": "^{{version '@backstage/core-plugin-api'}}",
"@backstage/integration-react": "^{{version '@backstage/integration-react'}}",
"@backstage/plugin-api-docs": "^{{version '@backstage/plugin-api-docs'}}",
"@backstage/plugin-catalog": "^{{version '@backstage/plugin-catalog'}}",
+3 -1
View File
@@ -29,7 +29,9 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/core": "^0.7.12",
"@backstage/core-app-api": "^0.1.2",
"@backstage/core-components": "^0.1.3",
"@backstage/core-plugin-api": "^0.1.2",
"@backstage/catalog-model": "^0.8.2",
"@backstage/integration-react": "^0.1.3",
"@backstage/plugin-catalog-react": "^0.2.2",
+2 -1
View File
@@ -21,7 +21,8 @@
},
"dependencies": {
"@backstage/config": "^0.1.2",
"@backstage/core": "^0.7.9",
"@backstage/core-components": "^0.1.3",
"@backstage/core-plugin-api": "^0.1.2",
"@backstage/integration": "^0.5.6",
"@backstage/theme": "^0.2.3",
"@material-ui/core": "^4.11.0",
+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,