Skip to content

Commit

Permalink
Add release 0.5.19-next.1
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 3, 2024
1 parent 711d538 commit 9f559e3
Show file tree
Hide file tree
Showing 125 changed files with 140,455 additions and 0 deletions.
2,100 changes: 2,100 additions & 0 deletions diffs/0.3.44..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,102 changes: 2,102 additions & 0 deletions diffs/0.3.45..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,094 changes: 2,094 additions & 0 deletions diffs/0.4.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,094 changes: 2,094 additions & 0 deletions diffs/0.4.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,074 changes: 2,074 additions & 0 deletions diffs/0.4.10..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,074 changes: 2,074 additions & 0 deletions diffs/0.4.11..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,084 changes: 2,084 additions & 0 deletions diffs/0.4.12..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,053 changes: 2,053 additions & 0 deletions diffs/0.4.13..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,045 changes: 2,045 additions & 0 deletions diffs/0.4.14..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,948 changes: 1,948 additions & 0 deletions diffs/0.4.15..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,944 changes: 1,944 additions & 0 deletions diffs/0.4.16..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,952 changes: 1,952 additions & 0 deletions diffs/0.4.18..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,951 changes: 1,951 additions & 0 deletions diffs/0.4.19..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,936 changes: 1,936 additions & 0 deletions diffs/0.4.20..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,938 changes: 1,938 additions & 0 deletions diffs/0.4.21..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,924 changes: 1,924 additions & 0 deletions diffs/0.4.22..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,877 changes: 1,877 additions & 0 deletions diffs/0.4.23..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,869 changes: 1,869 additions & 0 deletions diffs/0.4.24..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,871 changes: 1,871 additions & 0 deletions diffs/0.4.25..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,845 changes: 1,845 additions & 0 deletions diffs/0.4.26..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,623 changes: 1,623 additions & 0 deletions diffs/0.4.27..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,604 changes: 1,604 additions & 0 deletions diffs/0.4.28..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,605 changes: 1,605 additions & 0 deletions diffs/0.4.29..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,089 changes: 2,089 additions & 0 deletions diffs/0.4.3..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,595 changes: 1,595 additions & 0 deletions diffs/0.4.30..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,561 changes: 1,561 additions & 0 deletions diffs/0.4.31..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,402 changes: 1,402 additions & 0 deletions diffs/0.4.32..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,402 changes: 1,402 additions & 0 deletions diffs/0.4.33..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,303 changes: 1,303 additions & 0 deletions diffs/0.4.34..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,255 changes: 1,255 additions & 0 deletions diffs/0.4.35..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,251 changes: 1,251 additions & 0 deletions diffs/0.4.36..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,251 changes: 1,251 additions & 0 deletions diffs/0.4.37-next.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,198 changes: 1,198 additions & 0 deletions diffs/0.4.37-next.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,189 changes: 1,189 additions & 0 deletions diffs/0.4.37-next.2..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,189 changes: 1,189 additions & 0 deletions diffs/0.4.37..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,189 changes: 1,189 additions & 0 deletions diffs/0.4.38-next.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,180 changes: 1,180 additions & 0 deletions diffs/0.4.38-next.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,169 changes: 1,169 additions & 0 deletions diffs/0.4.38-next.2..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,162 changes: 1,162 additions & 0 deletions diffs/0.4.38..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,162 changes: 1,162 additions & 0 deletions diffs/0.4.39-next.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,163 changes: 1,163 additions & 0 deletions diffs/0.4.39-next.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,163 changes: 1,163 additions & 0 deletions diffs/0.4.39-next.2..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,163 changes: 1,163 additions & 0 deletions diffs/0.4.39-next.3..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,090 changes: 2,090 additions & 0 deletions diffs/0.4.4..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,096 changes: 2,096 additions & 0 deletions diffs/0.4.5..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,109 changes: 2,109 additions & 0 deletions diffs/0.4.6..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,105 changes: 2,105 additions & 0 deletions diffs/0.4.7..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,100 changes: 2,100 additions & 0 deletions diffs/0.4.8..0.5.19-next.1.diff

Large diffs are not rendered by default.

2,097 changes: 2,097 additions & 0 deletions diffs/0.4.9..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,163 changes: 1,163 additions & 0 deletions diffs/0.5.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,163 changes: 1,163 additions & 0 deletions diffs/0.5.1-next.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,166 changes: 1,166 additions & 0 deletions diffs/0.5.1-next.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,157 changes: 1,157 additions & 0 deletions diffs/0.5.1-next.2..0.5.19-next.1.diff

Large diffs are not rendered by default.

1,154 changes: 1,154 additions & 0 deletions diffs/0.5.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

861 changes: 861 additions & 0 deletions diffs/0.5.10..0.5.19-next.1.diff

Large diffs are not rendered by default.

861 changes: 861 additions & 0 deletions diffs/0.5.11-next.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

861 changes: 861 additions & 0 deletions diffs/0.5.11-next.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

852 changes: 852 additions & 0 deletions diffs/0.5.11-next.2..0.5.19-next.1.diff

Large diffs are not rendered by default.

847 changes: 847 additions & 0 deletions diffs/0.5.11-next.3..0.5.19-next.1.diff

Large diffs are not rendered by default.

845 changes: 845 additions & 0 deletions diffs/0.5.11..0.5.19-next.1.diff

Large diffs are not rendered by default.

845 changes: 845 additions & 0 deletions diffs/0.5.12-next.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

845 changes: 845 additions & 0 deletions diffs/0.5.12-next.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

836 changes: 836 additions & 0 deletions diffs/0.5.12-next.2..0.5.19-next.1.diff

Large diffs are not rendered by default.

395 changes: 395 additions & 0 deletions diffs/0.5.12..0.5.19-next.1.diff

Large diffs are not rendered by default.

395 changes: 395 additions & 0 deletions diffs/0.5.13..0.5.19-next.1.diff

Large diffs are not rendered by default.

395 changes: 395 additions & 0 deletions diffs/0.5.14-next.0..0.5.19-next.1.diff

Large diffs are not rendered by default.

395 changes: 395 additions & 0 deletions diffs/0.5.14-next.1..0.5.19-next.1.diff

Large diffs are not rendered by default.

390 changes: 390 additions & 0 deletions diffs/0.5.14..0.5.19-next.1.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,390 @@
diff --git a/app-config.production.yaml b/app-config.production.yaml
index 05b02ac..5d426f5 100644
--- a/app-config.production.yaml
+++ b/app-config.production.yaml
@@ -15,3 +15,3 @@ backend:

- # config options: https://node-postgres.com/api/client
+ # config options: https://node-postgres.com/apis/client
database:
@@ -32,3 +32,3 @@ auth:
providers:
- guest: null
+ guest: {}

@@ -38,2 +38,18 @@ catalog:
# on how to get entities into the catalog.
- locations: []
+ locations:
+ # Local example data, replace this with your production config, these are intended for demo use only.
+ # File locations are relative to the backend process, typically in a deployed context, such as in a Docker container, this will be the root
+ - type: file
+ target: ./examples/entities.yaml
+
+ # Local example template
+ - type: file
+ target: ./examples/template/template.yaml
+ rules:
+ - allow: [Template]
+
+ # Local example organizational data
+ - type: file
+ target: ./examples/org.yaml
+ rules:
+ - allow: [User, Group]
diff --git a/app-config.yaml b/app-config.yaml
index 248cff1..ca52ec5 100644
--- a/app-config.yaml
+++ b/app-config.yaml
@@ -105 +105,9 @@ catalog:
# - allow: [User, Group]
+
+kubernetes:
+ # see https://backstage.io/docs/features/kubernetes/configuration for kubernetes configuration options
+
+# see https://backstage.io/docs/permissions/getting-started for more on the permission framework
+permission:
+ # setting this to `false` will disable permissions
+ enabled: true
diff --git a/backstage.json b/backstage.json
index 2bdd973..f36e675 100644
--- a/backstage.json
+++ b/backstage.json
@@ -1,3 +1,3 @@
{
- "version": "1.26.0"
+ "version": "1.31.0-next.1"
}
diff --git a/package.json b/package.json
index d8d5629..5517e42 100644
--- a/package.json
+++ b/package.json
@@ -33,3 +33,3 @@
"devDependencies": {
- "@backstage/cli": "^0.26.3",
+ "@backstage/cli": "^0.27.1-next.1",
"@backstage/e2e-test-utils": "^0.1.1",
@@ -39,5 +39,5 @@
"lerna": "^7.3.0",
- "node-gyp": "^9.0.0",
+ "node-gyp": "^10.0.0",
"prettier": "^2.3.2",
- "typescript": "~5.3.0"
+ "typescript": "~5.4.0"
},
diff --git a/packages/app/package.json b/packages/app/package.json
index 7ca04af..5c7a3ca 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -16,27 +16,26 @@
"dependencies": {
- "@backstage/app-defaults": "^1.5.4",
- "@backstage/catalog-model": "^1.4.5",
- "@backstage/cli": "^0.26.3",
- "@backstage/core-app-api": "^1.12.4",
- "@backstage/core-components": "^0.14.4",
- "@backstage/core-plugin-api": "^1.9.2",
- "@backstage/integration-react": "^1.1.26",
- "@backstage/plugin-api-docs": "^0.11.4",
- "@backstage/plugin-catalog": "^1.19.0",
- "@backstage/plugin-catalog-common": "^1.0.22",
- "@backstage/plugin-catalog-graph": "^0.4.4",
- "@backstage/plugin-catalog-import": "^0.10.10",
- "@backstage/plugin-catalog-react": "^1.11.3",
- "@backstage/plugin-github-actions": "^0.6.15",
- "@backstage/plugin-org": "^0.6.24",
- "@backstage/plugin-permission-react": "^0.4.22",
- "@backstage/plugin-scaffolder": "^1.19.3",
- "@backstage/plugin-search": "^1.4.10",
- "@backstage/plugin-search-react": "^1.7.10",
- "@backstage/plugin-tech-radar": "^0.7.3",
- "@backstage/plugin-techdocs": "^1.10.4",
- "@backstage/plugin-techdocs-module-addons-contrib": "^1.1.9",
- "@backstage/plugin-techdocs-react": "^1.2.3",
- "@backstage/plugin-user-settings": "^0.8.5",
- "@backstage/theme": "^0.5.3",
+ "@backstage/app-defaults": "^1.5.11-next.0",
+ "@backstage/catalog-model": "^1.6.0",
+ "@backstage/cli": "^0.27.1-next.1",
+ "@backstage/core-app-api": "^1.14.2",
+ "@backstage/core-components": "^0.14.11-next.0",
+ "@backstage/core-plugin-api": "^1.9.3",
+ "@backstage/integration-react": "^1.1.30",
+ "@backstage/plugin-api-docs": "^0.11.9-next.1",
+ "@backstage/plugin-catalog": "^1.22.1-next.1",
+ "@backstage/plugin-catalog-common": "^1.0.26",
+ "@backstage/plugin-catalog-graph": "^0.4.9-next.1",
+ "@backstage/plugin-catalog-import": "^0.12.3-next.1",
+ "@backstage/plugin-catalog-react": "^1.12.4-next.1",
+ "@backstage/plugin-kubernetes": "^0.11.14-next.1",
+ "@backstage/plugin-org": "^0.6.29-next.1",
+ "@backstage/plugin-permission-react": "^0.4.25",
+ "@backstage/plugin-scaffolder": "^1.25.0-next.1",
+ "@backstage/plugin-search": "^1.4.16-next.1",
+ "@backstage/plugin-search-react": "^1.8.0-next.1",
+ "@backstage/plugin-techdocs": "^1.10.9-next.1",
+ "@backstage/plugin-techdocs-module-addons-contrib": "^1.1.14-next.1",
+ "@backstage/plugin-techdocs-react": "^1.2.8-next.1",
+ "@backstage/plugin-user-settings": "^0.8.12-next.1",
+ "@backstage/theme": "^0.5.6",
"@material-ui/core": "^4.12.2",
@@ -51,3 +50,3 @@
"devDependencies": {
- "@backstage/test-utils": "^1.5.4",
+ "@backstage/test-utils": "^1.6.0-next.0",
"@playwright/test": "^1.32.3",
diff --git a/packages/app/src/App.tsx b/packages/app/src/App.tsx
index f751cf6..e24c468 100644
--- a/packages/app/src/App.tsx
+++ b/packages/app/src/App.tsx
@@ -15,3 +15,2 @@ import { orgPlugin } from '@backstage/plugin-org';
import { SearchPage } from '@backstage/plugin-search';
-import { TechRadarPage } from '@backstage/plugin-tech-radar';
import {
@@ -85,6 +84,2 @@ const routes = (
<Route path="/api-docs" element={<ApiExplorerPage />} />
- <Route
- path="/tech-radar"
- element={<TechRadarPage width={1500} height={800} />}
- />
<Route
diff --git a/packages/app/src/components/Root/Root.tsx b/packages/app/src/components/Root/Root.tsx
index 6768b48..853d175 100644
--- a/packages/app/src/components/Root/Root.tsx
+++ b/packages/app/src/components/Root/Root.tsx
@@ -4,3 +4,2 @@ import HomeIcon from '@material-ui/icons/Home';
import ExtensionIcon from '@material-ui/icons/Extension';
-import MapIcon from '@material-ui/icons/MyLocation';
import LibraryBooks from '@material-ui/icons/LibraryBooks';
@@ -28,2 +27,4 @@ import MenuIcon from '@material-ui/icons/Menu';
import SearchIcon from '@material-ui/icons/Search';
+import { MyGroupsSidebarItem } from '@backstage/plugin-org';
+import GroupIcon from '@material-ui/icons/People';

@@ -68,2 +69,7 @@ export const Root = ({ children }: PropsWithChildren<{}>) => (
<SidebarItem icon={HomeIcon} to="catalog" text="Home" />
+ <MyGroupsSidebarItem
+ singularTitle="My Group"
+ pluralTitle="My Groups"
+ icon={GroupIcon}
+ />
<SidebarItem icon={ExtensionIcon} to="api-docs" text="APIs" />
@@ -74,3 +80,3 @@ export const Root = ({ children }: PropsWithChildren<{}>) => (
<SidebarScrollWrapper>
- <SidebarItem icon={MapIcon} to="tech-radar" text="Tech Radar" />
+ {/* Items in this group will be scrollable if they run out of space */}
</SidebarScrollWrapper>
diff --git a/packages/app/src/components/catalog/EntityPage.tsx b/packages/app/src/components/catalog/EntityPage.tsx
index 7c6a71e..6164c76 100644
--- a/packages/app/src/components/catalog/EntityPage.tsx
+++ b/packages/app/src/components/catalog/EntityPage.tsx
@@ -30,6 +30,2 @@ import {
} from '@backstage/plugin-catalog';
-import {
- isGithubActionsAvailable,
- EntityGithubActionsContent,
-} from '@backstage/plugin-github-actions';
import {
@@ -60,2 +56,7 @@ import { ReportIssue } from '@backstage/plugin-techdocs-module-addons-contrib';

+import {
+ EntityKubernetesContent,
+ isKubernetesAvailable,
+} from '@backstage/plugin-kubernetes';
+
const techdocsContent = (
@@ -72,5 +73,9 @@ const cicdContent = (
<EntitySwitch>
- <EntitySwitch.Case if={isGithubActionsAvailable}>
- <EntityGithubActionsContent />
- </EntitySwitch.Case>
+ {/*
+ Here you can add support for different CI/CD services, for example
+ using @backstage-community/plugin-github-actions as follows:
+ <EntitySwitch.Case if={isGithubActionsAvailable}>
+ <EntityGithubActionsContent />
+ </EntitySwitch.Case>
+ */}

@@ -152,2 +157,10 @@ const serviceEntityPage = (

+ <EntityLayout.Route
+ path="/kubernetes"
+ title="Kubernetes"
+ if={isKubernetesAvailable}
+ >
+ <EntityKubernetesContent />
+ </EntityLayout.Route>
+
<EntityLayout.Route path="/api" title="API">
@@ -190,2 +203,10 @@ const websiteEntityPage = (

+ <EntityLayout.Route
+ path="/kubernetes"
+ title="Kubernetes"
+ if={isKubernetesAvailable}
+ >
+ <EntityKubernetesContent />
+ </EntityLayout.Route>
+
<EntityLayout.Route path="/dependencies" title="Dependencies">
diff --git a/packages/backend/Dockerfile b/packages/backend/Dockerfile
index 18548e9..22fe721 100644
--- a/packages/backend/Dockerfile
+++ b/packages/backend/Dockerfile
@@ -36,3 +36,3 @@ WORKDIR /app
# This switches many Node.js dependencies to production mode.
-ENV NODE_ENV production
+ENV NODE_ENV=production

@@ -47,2 +47,5 @@ RUN --mount=type=cache,target=/home/node/.cache/yarn,sharing=locked,uid=1000,gid

+# This will include the examples, if you don't need these simply remove this line
+COPY --chown=node:node examples ./examples
+
# Then copy the rest of the backend bundle, along with any other files we might want.
diff --git a/packages/backend/package.json b/packages/backend/package.json
index b217bc0..532946e 100644
--- a/packages/backend/package.json
+++ b/packages/backend/package.json
@@ -18,28 +18,28 @@
"dependencies": {
- "@backstage/backend-common": "^0.21.7",
- "@backstage/backend-defaults": "^0.2.17",
- "@backstage/backend-tasks": "^0.5.22",
+ "@backstage/backend-defaults": "^0.5.0-next.1",
"@backstage/config": "^1.2.0",
- "@backstage/plugin-app-backend": "^0.3.65",
- "@backstage/plugin-auth-backend": "^0.22.4",
- "@backstage/plugin-auth-backend-module-github-provider": "^0.1.14",
- "@backstage/plugin-auth-backend-module-guest-provider": "^0.1.3",
- "@backstage/plugin-auth-node": "^0.4.12",
- "@backstage/plugin-catalog-backend": "^1.21.1",
- "@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.1.15",
- "@backstage/plugin-permission-backend": "^0.5.41",
- "@backstage/plugin-permission-backend-module-allow-all-policy": "^0.1.14",
- "@backstage/plugin-permission-common": "^0.7.13",
- "@backstage/plugin-permission-node": "^0.7.28",
- "@backstage/plugin-proxy-backend": "^0.4.15",
- "@backstage/plugin-scaffolder-backend": "^1.22.4",
- "@backstage/plugin-search-backend": "^1.5.7",
- "@backstage/plugin-search-backend-module-catalog": "^0.1.22",
- "@backstage/plugin-search-backend-module-techdocs": "^0.1.22",
- "@backstage/plugin-search-backend-node": "^1.2.21",
- "@backstage/plugin-techdocs-backend": "^1.10.4",
+ "@backstage/plugin-app-backend": "^0.3.74-next.1",
+ "@backstage/plugin-auth-backend": "^0.23.0-next.1",
+ "@backstage/plugin-auth-backend-module-github-provider": "^0.2.0-next.1",
+ "@backstage/plugin-auth-backend-module-guest-provider": "^0.2.0-next.1",
+ "@backstage/plugin-auth-node": "^0.5.2-next.1",
+ "@backstage/plugin-catalog-backend": "^1.25.3-next.1",
+ "@backstage/plugin-catalog-backend-module-logs": "^0.1.0-next.1",
+ "@backstage/plugin-catalog-backend-module-scaffolder-entity-model": "^0.2.0-next.1",
+ "@backstage/plugin-kubernetes-backend": "^0.18.6-next.1",
+ "@backstage/plugin-permission-backend": "^0.5.49-next.1",
+ "@backstage/plugin-permission-backend-module-allow-all-policy": "^0.2.0-next.1",
+ "@backstage/plugin-permission-common": "^0.8.1",
+ "@backstage/plugin-permission-node": "^0.8.3-next.1",
+ "@backstage/plugin-proxy-backend": "^0.5.6-next.1",
+ "@backstage/plugin-scaffolder-backend": "^1.25.0-next.1",
+ "@backstage/plugin-search-backend": "^1.5.17-next.1",
+ "@backstage/plugin-search-backend-module-catalog": "^0.2.2-next.1",
+ "@backstage/plugin-search-backend-module-pg": "^0.5.35-next.1",
+ "@backstage/plugin-search-backend-module-techdocs": "^0.2.2-next.1",
+ "@backstage/plugin-search-backend-node": "^1.3.2-next.1",
+ "@backstage/plugin-techdocs-backend": "^1.10.13-next.1",
"app": "link:../app",
"better-sqlite3": "^9.0.0",
- "dockerode": "^3.3.1",
- "node-gyp": "^9.0.0",
+ "node-gyp": "^10.0.0",
"pg": "^8.11.3",
@@ -48,4 +48,3 @@
"devDependencies": {
- "@backstage/cli": "^0.26.3",
- "@types/dockerode": "^3.3.0",
+ "@backstage/cli": "^0.27.1-next.1",
"@types/express": "^4.17.6",
diff --git a/packages/backend/src/index.test.ts b/packages/backend/src/index.test.ts
deleted file mode 100644
index 7814b8c..0000000
--- a/packages/backend/src/index.test.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { PluginEnvironment } from './types';
-
-describe('test', () => {
- it('unbreaks the test runner', () => {
- const unbreaker = {} as PluginEnvironment;
- expect(unbreaker).toBeTruthy();
- });
-});
diff --git a/packages/backend/src/index.ts b/packages/backend/src/index.ts
index 1c442a8..f57d4c5 100644
--- a/packages/backend/src/index.ts
+++ b/packages/backend/src/index.ts
@@ -29,4 +29,8 @@ backend.add(

+// See https://backstage.io/docs/features/software-catalog/configuration#subscribing-to-catalog-errors
+backend.add(import('@backstage/plugin-catalog-backend-module-logs'));
+
// permission plugin
backend.add(import('@backstage/plugin-permission-backend/alpha'));
+// See https://backstage.io/docs/permissions/getting-started for how to create your own permission policy
backend.add(
@@ -37,2 +41,8 @@ backend.add(
backend.add(import('@backstage/plugin-search-backend/alpha'));
+
+// search engine
+// See https://backstage.io/docs/features/search/search-engines
+backend.add(import('@backstage/plugin-search-backend-module-pg/alpha'));
+
+// search collators
backend.add(import('@backstage/plugin-search-backend-module-catalog/alpha'));
@@ -40,2 +50,5 @@ backend.add(import('@backstage/plugin-search-backend-module-techdocs/alpha'));

+// kubernetes
+backend.add(import('@backstage/plugin-kubernetes-backend/alpha'));
+
backend.start();
diff --git a/packages/backend/src/types.ts b/packages/backend/src/types.ts
deleted file mode 100644
index 9cd2c74..0000000
--- a/packages/backend/src/types.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { Logger } from 'winston';
-import { Config } from '@backstage/config';
-import {
- PluginCacheManager,
- PluginDatabaseManager,
- PluginEndpointDiscovery,
- TokenManager,
- UrlReader,
-} from '@backstage/backend-common';
-import { PluginTaskScheduler } from '@backstage/backend-tasks';
-import { PermissionEvaluator } from '@backstage/plugin-permission-common';
-import { IdentityApi } from '@backstage/plugin-auth-node';
-
-export type PluginEnvironment = {
- logger: Logger;
- database: PluginDatabaseManager;
- cache: PluginCacheManager;
- config: Config;
- reader: UrlReader;
- discovery: PluginEndpointDiscovery;
- tokenManager: TokenManager;
- scheduler: PluginTaskScheduler;
- permissions: PermissionEvaluator;
- identity: IdentityApi;
-};
diff --git a/tsconfig.json b/tsconfig.json
index ba3f901..2aa745d 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,3 +4,5 @@
"packages/*/src",
+ "packages/*/config.d.ts",
"plugins/*/src",
+ "plugins/*/config.d.ts",
"plugins/*/dev",
Loading

0 comments on commit 9f559e3

Please sign in to comment.