Skip to content

Commit

Permalink
Update packages and remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonfro authored Feb 8, 2025
1 parent e1d8f55 commit 87d7132
Show file tree
Hide file tree
Showing 8 changed files with 2,462 additions and 1,759 deletions.
2 changes: 1 addition & 1 deletion backstage.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "1.32.2"
"version": "1.35.1"
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"node": "20"
},
"scripts": {
"dev": "yarn workspaces foreach -A --include backend --include app --parallel -v -i run start",
"dev": "yarn workspaces foreach -A --include backend --include app --parallel --jobs unlimited -v -i run start",
"start": "yarn workspace app start",
"start-backend": "yarn workspace backend start",
"build:backend": "yarn workspace backend build",
Expand Down Expand Up @@ -34,11 +34,12 @@
]
},
"devDependencies": {
"@backstage/cli": "^0.28.0",
"@backstage/cli": "^0.29.6",
"@backstage/e2e-test-utils": "^0.1.1",
"@playwright/test": "^1.32.3",
"@spotify/prettier-config": "^12.0.0",
"concurrently": "^8.0.0",
"jsonpath-plus": "^10.2.0",
"lerna": "^7.3.0",
"node-gyp": "^10.0.0",
"prettier": "^2.3.2",
Expand All @@ -50,7 +51,7 @@
"@mui/material": "5.16.4",
"swagger-ui-react": "5.10.5"
},
"prettier": "@spotify/prettier-config",
"prettier": "@backstage/cli/config/prettier-config",
"lint-staged": {
"*.{js,jsx,ts,tsx,mjs,cjs}": [
"eslint --fix",
Expand Down
54 changes: 27 additions & 27 deletions packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,32 @@
"@backstage-community/plugin-lighthouse": "^0.4.20",
"@backstage-community/plugin-linguist": "^0.1.20",
"@backstage-community/plugin-tech-radar": "^0.7.4",
"@backstage/app-defaults": "^1.5.12",
"@backstage/catalog-model": "^1.7.0",
"@backstage/cli": "^0.28.0",
"@backstage/core-app-api": "^1.15.1",
"@backstage/core-components": "^0.15.1",
"@backstage/core-plugin-api": "^1.10.0",
"@backstage/integration-react": "^1.2.0",
"@backstage/plugin-api-docs": "^0.11.11",
"@backstage/plugin-catalog": "^1.24.0",
"@backstage/plugin-catalog-common": "^1.1.0",
"@backstage/plugin-catalog-graph": "^0.4.11",
"@backstage/plugin-catalog-import": "^0.12.5",
"@backstage/plugin-catalog-react": "^1.14.0",
"@backstage/plugin-devtools": "^0.1.19",
"@backstage/plugin-home": "^0.8.0",
"@backstage/plugin-kubernetes": "^0.11.16",
"@backstage/plugin-org": "^0.6.31",
"@backstage/plugin-permission-react": "^0.4.27",
"@backstage/plugin-scaffolder": "^1.26.1",
"@backstage/plugin-search": "^1.4.18",
"@backstage/plugin-search-react": "^1.8.1",
"@backstage/plugin-techdocs": "^1.11.0",
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.16",
"@backstage/plugin-techdocs-react": "^1.2.9",
"@backstage/plugin-user-settings": "^0.8.14",
"@backstage/theme": "^0.6.0",
"@backstage/app-defaults": "^1.5.16",
"@backstage/catalog-model": "^1.7.3",
"@backstage/cli": "^0.29.6",
"@backstage/core-app-api": "^1.15.4",
"@backstage/core-components": "^0.16.3",
"@backstage/core-plugin-api": "^1.10.3",
"@backstage/integration-react": "^1.2.3",
"@backstage/plugin-api-docs": "^0.12.3",
"@backstage/plugin-catalog": "^1.26.1",
"@backstage/plugin-catalog-common": "^1.1.3",
"@backstage/plugin-catalog-graph": "^0.4.15",
"@backstage/plugin-catalog-import": "^0.12.9",
"@backstage/plugin-catalog-react": "^1.15.1",
"@backstage/plugin-devtools": "^0.1.23",
"@backstage/plugin-home": "^0.8.4",
"@backstage/plugin-kubernetes": "^0.12.3",
"@backstage/plugin-org": "^0.6.35",
"@backstage/plugin-permission-react": "^0.4.30",
"@backstage/plugin-scaffolder": "^1.27.5",
"@backstage/plugin-search": "^1.4.22",
"@backstage/plugin-search-react": "^1.8.5",
"@backstage/plugin-techdocs": "^1.12.2",
"@backstage/plugin-techdocs-module-addons-contrib": "^1.1.20",
"@backstage/plugin-techdocs-react": "^1.2.13",
"@backstage/plugin-user-settings": "^0.8.18",
"@backstage/theme": "^0.6.3",
"@k-phoen/backstage-plugin-grafana": "^0.1.22",
"@kartverket/backstage-plugin-opencost": "0.1.0",
"@kartverket/backstage-plugin-risk-scorecard": "2.1.6",
Expand All @@ -61,7 +61,7 @@
"react-use": "^17.2.4"
},
"devDependencies": {
"@backstage/test-utils": "^1.7.0",
"@backstage/test-utils": "^1.7.4",
"@playwright/test": "^1.32.3",
"@testing-library/dom": "^8.0.0",
"@testing-library/jest-dom": "^5.10.1",
Expand Down
12 changes: 0 additions & 12 deletions packages/app/src/components/catalog/EntityPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
import { ReportIssue } from '@backstage/plugin-techdocs-module-addons-contrib';
import { EntityLinguistCard } from '@backstage-community/plugin-linguist';
import { EntityLighthouseContent } from '@backstage-community/plugin-lighthouse';
import {
EntityKubernetesContent,
isKubernetesAvailable,
} from '@backstage/plugin-kubernetes';
import {
EntityGrafanaAlertsCard,
EntityGrafanaDashboardsCard,
Expand Down Expand Up @@ -279,14 +275,6 @@ const defaultEntityPage = (
<EntityLayout.Route path="/docs" title="Docs">
{techdocsContent}
</EntityLayout.Route>

<EntityLayout.Route
path="/kubernetes"
title="Kubernetes"
if={isKubernetesAvailable}
>
<EntityKubernetesContent />
</EntityLayout.Route>
</EntityLayout>
);

Expand Down
5 changes: 2 additions & 3 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@backstage/backend-plugin-api": "^1.0.1",
"@backstage/backend-tasks": "^0.6.1",
"@backstage/catalog-client": "^1.7.1",
"@backstage/catalog-model": "^1.7.0",
"@backstage/catalog-model": "^1.7.3",
"@backstage/config": "^1.2.0",
"@backstage/errors": "^1.2.5",
"@backstage/plugin-app-backend": "^0.3.76",
Expand All @@ -40,7 +40,6 @@
"@backstage/plugin-catalog-backend-module-msgraph": "^0.6.3",
"@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.2.1",
"@backstage/plugin-devtools-backend": "^0.4.1",
"@backstage/plugin-kubernetes-backend": "^0.18.7",
"@backstage/plugin-permission-common": "^0.8.1",
"@backstage/plugin-permission-node": "^0.8.4",
"@backstage/plugin-proxy-backend": "^0.5.7",
Expand All @@ -63,7 +62,7 @@
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/cli": "^0.28.0",
"@backstage/cli": "^0.29.6",
"@types/dockerode": "^3.3.0",
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5",
Expand Down
3 changes: 0 additions & 3 deletions packages/backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ backend.add(import('@backstage-community/plugin-explore-backend'));
// Devtools
backend.add(import('@backstage/plugin-devtools-backend'));

// Kubernetes
backend.add(import('@backstage/plugin-kubernetes-backend/alpha'));

// Lighthouse
backend.add(import('@backstage-community/plugin-lighthouse-backend'));

Expand Down
14 changes: 7 additions & 7 deletions plugins/ros/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"tsc": "tsc"
},
"dependencies": {
"@backstage/core-components": "^0.15.0",
"@backstage/core-plugin-api": "^1.9.4",
"@backstage/core-components": "^0.16.3",
"@backstage/core-plugin-api": "^1.10.3",
"@backstage/plugin-catalog-react": "^1.13.1",
"@backstage/theme": "^0.5.7",
"@backstage/theme": "^0.6.3",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
Expand All @@ -59,10 +59,10 @@
"react-router-dom": "^6.3.0"
},
"devDependencies": {
"@backstage/cli": "^0.27.1",
"@backstage/core-app-api": "^1.15.0",
"@backstage/dev-utils": "^1.1.2",
"@backstage/test-utils": "^1.6.0",
"@backstage/cli": "^0.29.6",
"@backstage/core-app-api": "^1.15.4",
"@backstage/dev-utils": "^1.1.6",
"@backstage/test-utils": "^1.7.4",
"@spotify/prettier-config": "^12.0.0",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
Expand Down
Loading

0 comments on commit 87d7132

Please sign in to comment.