Skip to content

Commit 2039512

Browse files
I just copy pasted these changes from other repos (#47)
1 parent 50ad67c commit 2039512

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
},
2323
"dependencies": {
2424
"@backstage/catalog-model": "^0.8.2",
25-
"@backstage/core": "^0.7.10",
25+
"@backstage/core-app-api": "^0.1.10",
26+
"@backstage/core-plugin-api": "^0.1.6",
27+
"@backstage/core-components": "^0.3.3",
2628
"@backstage/plugin-catalog-react": "^0.2.5",
2729
"@material-ui/core": "^4.11.0",
2830
"react": "^16.13.1",

src/Router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Entity } from "@backstage/catalog-model";
2-
import { MissingAnnotationEmptyState } from "@backstage/core";
2+
import { MissingAnnotationEmptyState } from "@backstage/core-components";
33
import React from "react";
44
import { Route, Routes } from "react-router";
55
import { HarborDashboardPage } from "./components/HarborDashboardPage";

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createApiRef, DiscoveryApi } from "@backstage/core";
1+
import { createApiRef, DiscoveryApi } from "@backstage/core-plugin-api";
22

33
export interface harborApi {}
44

src/components/HarborDashboardPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { Entity } from "@backstage/catalog-model";
3-
import { InfoCard } from "@backstage/core";
3+
import { InfoCard } from "@backstage/core-components";
44

55
import { HarborRepository } from "./HarborRepository";
66
import { useHarborAppData } from "./useHarborAppData";

src/components/HarborWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { Card, CardHeader } from "@material-ui/core";
3-
import { MissingAnnotationEmptyState } from "@backstage/core";
3+
import { MissingAnnotationEmptyState } from "@backstage/core-components";
44
import { Entity } from "@backstage/catalog-model";
55
import { HarborRepository } from "./HarborRepository";
66
import {

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
createRoutableExtension,
77
createRouteRef,
88
discoveryApiRef,
9-
} from "@backstage/core";
9+
} from "@backstage/core-plugin-api";
1010

1111
import { HarborApiClient, harborApiRef } from "./api";
1212
import { HARBOR_ANNOTATION_REPOSITORY } from "./components/useHarborAppData";

0 commit comments

Comments
 (0)