user-settings: fix dev setup

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-16 17:41:37 +02:00
parent 43ed18e9d9
commit 4051adf8fb
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -15,6 +15,7 @@
*/
import React from 'react';
import { CatalogEntityPage } from '@backstage/plugin-catalog';
import { createDevApp } from '@backstage/dev-utils';
import { userSettingsPlugin, UserSettingsPage } from '../src/plugin';
@@ -22,6 +23,8 @@ createDevApp()
.registerPlugin(userSettingsPlugin)
.addPage({
title: 'Settings',
path: '/settings',
element: <UserSettingsPage />,
})
.addPage({ element: <CatalogEntityPage /> })
.render();
+1
View File
@@ -68,6 +68,7 @@
"devDependencies": {
"@backstage/cli": "workspace:^",
"@backstage/dev-utils": "workspace:^",
"@backstage/plugin-catalog": "workspace:^",
"@backstage/test-utils": "workspace:^",
"@testing-library/dom": "^8.0.0",
"@testing-library/jest-dom": "^5.10.1",