feat(DevSpacesPlugin): created a base plugin for DevSpaces
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
"@backstage/plugin-user-settings": "^0.8.5",
|
||||
"@backstage/theme": "^0.5.3",
|
||||
"@bestsellerit/backstage-plugin-harbor": "^0.3.1",
|
||||
"@internal/backstage-plugin-devspaces-plugin": "^0.1.0",
|
||||
"@material-ui/core": "^4.12.2",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
"@roadiehq/backstage-plugin-argo-cd": "^2.6.4",
|
||||
|
||||
@@ -39,6 +39,7 @@ import { RequirePermission } from '@backstage/plugin-permission-react';
|
||||
import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common/alpha';
|
||||
import { githubAuthApiRef } from '@backstage/core-plugin-api';
|
||||
import { DevToolsPage } from '@backstage/plugin-devtools';
|
||||
import { DevspacesPluginPage } from '@internal/backstage-plugin-devspaces-plugin';
|
||||
|
||||
|
||||
const app = createApp({
|
||||
@@ -118,6 +119,7 @@ const routes = (
|
||||
</Route>
|
||||
<Route path="/settings" element={<UserSettingsPage />} />
|
||||
<Route path="/catalog-graph" element={<CatalogGraphPage />} />
|
||||
<Route path="/devspaces-plugin" element={<DevspacesPluginPage />} />
|
||||
</FlatRoutes>
|
||||
);
|
||||
|
||||
|
||||
@@ -71,7 +71,9 @@ import {
|
||||
EntityGithubPullRequestsContent,
|
||||
EntityGithubPullRequestsOverviewCard,
|
||||
} from '@roadiehq/backstage-plugin-github-pull-requests';
|
||||
|
||||
import {
|
||||
DevspacesPluginPage,
|
||||
} from '@internal/backstage-plugin-devspaces-plugin'
|
||||
const techdocsContent = (
|
||||
<EntityTechdocsContent>
|
||||
<TechDocsAddons>
|
||||
@@ -160,6 +162,9 @@ const overviewContent = (
|
||||
<Grid item md={6} xs={12}>
|
||||
<EntityAboutCard variant="gridItem" />
|
||||
</Grid>
|
||||
<Grid>
|
||||
<DevspacesPluginPage />
|
||||
</Grid>
|
||||
<EntitySwitch>
|
||||
<EntitySwitch.Case if={isArgocdAvailable}>
|
||||
<Grid item md={6} xs={12}>
|
||||
|
||||
Reference in New Issue
Block a user