user-settings: fix dev setup
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -9864,6 +9864,7 @@ __metadata:
|
||||
"@backstage/core-plugin-api": "workspace:^"
|
||||
"@backstage/dev-utils": "workspace:^"
|
||||
"@backstage/errors": "workspace:^"
|
||||
"@backstage/plugin-catalog": "workspace:^"
|
||||
"@backstage/plugin-catalog-react": "workspace:^"
|
||||
"@backstage/test-utils": "workspace:^"
|
||||
"@backstage/theme": "workspace:^"
|
||||
|
||||
Reference in New Issue
Block a user