diff --git a/plugins/jira-dashboard-backend/package.json b/plugins/jira-dashboard-backend/package.json index fad0724c..53791183 100644 --- a/plugins/jira-dashboard-backend/package.json +++ b/plugins/jira-dashboard-backend/package.json @@ -24,19 +24,24 @@ }, "dependencies": { "@backstage/backend-common": "^0.19.8", + "@backstage/backend-plugin-api": "^0.6.6", + "@backstage/catalog-client": "^1.4.5", "@backstage/config": "^1.1.1", + "@backstage/plugin-auth-node": "^0.4.0", + "@backstage/plugin-permission-common": "^0.7.9", + "@internal/plugin-jira-dashboard-common": "^0.1.0", "@types/express": "*", "express": "^4.17.1", "express-promise-router": "^4.1.0", - "winston": "^3.2.1", "node-fetch": "^2.6.7", + "winston": "^3.2.1", "yn": "^4.0.0" }, "devDependencies": { "@backstage/cli": "^0.23.0", "@types/supertest": "^2.0.12", - "supertest": "^6.2.4", - "msw": "^1.0.0" + "msw": "^1.0.0", + "supertest": "^6.2.4" }, "files": [ "dist" diff --git a/plugins/jira-dashboard-backend/src/service/router.ts b/plugins/jira-dashboard-backend/src/service/router.ts index 2fcadef4..ff2486f1 100644 --- a/plugins/jira-dashboard-backend/src/service/router.ts +++ b/plugins/jira-dashboard-backend/src/service/router.ts @@ -13,12 +13,12 @@ import { IdentityApi } from '@backstage/plugin-auth-node'; import { getDefaultFilters } from '../filters'; import { - COMPONENT_ANNOTATION, + type COMPONENT_ANNOTATION, FILTER_ANNOTATION, - Filter, - JiraResponse, + type Filter, + type JiraResponse, PROJECT_KEY_ANNOTATION, - Project, + type Project, } from '@internal/plugin-jira-dashboard-common'; import stream from 'stream'; import { getProjectAvatar } from '../api'; diff --git a/plugins/jira-dashboard-backend/src/service/service.ts b/plugins/jira-dashboard-backend/src/service/service.ts index 6230f165..032615bd 100644 --- a/plugins/jira-dashboard-backend/src/service/service.ts +++ b/plugins/jira-dashboard-backend/src/service/service.ts @@ -1,9 +1,9 @@ import { CacheClient } from '@backstage/backend-common'; import { Config } from '@backstage/config'; import { - Filter, - JiraDataResponse, - Project, + type Filter, + type JiraDataResponse, + type Project, } from '@internal/plugin-jira-dashboard-common'; import { getFilterById, diff --git a/plugins/jira-dashboard/package.json b/plugins/jira-dashboard/package.json index f0d8f1e2..53850057 100644 --- a/plugins/jira-dashboard/package.json +++ b/plugins/jira-dashboard/package.json @@ -24,13 +24,17 @@ "postpack": "backstage-cli package postpack" }, "dependencies": { + "@backstage/catalog-model": "^1.4.3", "@backstage/core-components": "^0.13.6", "@backstage/core-plugin-api": "^1.7.0", - "@internal/plugin-jira-dashboard-common": "0.1.0", + "@backstage/errors": "^1.2.3", + "@backstage/plugin-catalog-react": "^1.8.5", "@backstage/theme": "^0.4.3", + "@internal/plugin-jira-dashboard-common": "0.1.0", "@material-ui/core": "^4.12.2", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.61", + "lodash": "^4.17.21", "react-use": "^17.2.4" }, "peerDependencies": { @@ -40,6 +44,7 @@ "@backstage/cli": "^0.23.0", "@backstage/core-app-api": "^1.11.0", "@backstage/dev-utils": "^1.0.22", + "@backstage/plugin-catalog-react": "^1.8.5", "@backstage/test-utils": "^1.4.4", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^12.1.3",