repo: promote app-next to main example app

This renames packages to make the new frontend system the default:

- packages/app → packages/app-legacy (example-app-legacy)
- packages/app-next → packages/app (example-app)
- packages/app-next-example-plugin → packages/app-example-plugin

Updated all related configuration, scripts, and documentation.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Patrik Oldsberg
2026-02-05 23:12:06 +01:00
parent 9848734ce6
commit be7ebadb21
93 changed files with 15461 additions and 15241 deletions
+5
View File
@@ -0,0 +1,5 @@
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
rules: {
'@backstage/no-top-level-material-ui-4-imports': 'error',
},
});
+789
View File
@@ -0,0 +1,789 @@
# app-example-plugin
## 0.0.32-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.18.6-next.0
- @backstage/frontend-plugin-api@0.14.0-next.0
## 0.0.31
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.13.3
- @backstage/core-components@0.18.5
## 0.0.31-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.18.5-next.0
## 0.0.30
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.13.2
- @backstage/core-components@0.18.4
## 0.0.30-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.13.2-next.0
- @backstage/core-components@0.18.4-next.0
## 0.0.29
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.13.0
- @backstage/core-components@0.18.3
## 0.0.29-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.18.3-next.0
- @backstage/frontend-plugin-api@0.12.2-next.0
## 0.0.28
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.18.2
- @backstage/frontend-plugin-api@0.12.1
## 0.0.28-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.18.2-next.0
- @backstage/frontend-plugin-api@0.12.1-next.0
## 0.0.27
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.12.0
- @backstage/core-components@0.18.0
## 0.0.27-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.11.1-next.0
- @backstage/core-components@0.17.6-next.0
## 0.0.26
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.5
- @backstage/frontend-plugin-api@0.11.0
## 0.0.26-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.11.0-next.0
- @backstage/core-components@0.17.5-next.0
## 0.0.25
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.4
- @backstage/frontend-plugin-api@0.10.4
## 0.0.25-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.4-next.0
- @backstage/frontend-plugin-api@0.10.4-next.0
## 0.0.24
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.3
- @backstage/frontend-plugin-api@0.10.3
## 0.0.24-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.3-next.0
- @backstage/frontend-plugin-api@0.10.3-next.1
## 0.0.24-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.10.3-next.0
## 0.0.23
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.10.2
- @backstage/core-components@0.17.2
## 0.0.23-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.2-next.1
- @backstage/frontend-plugin-api@0.10.2-next.1
## 0.0.23-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.2-next.0
- @backstage/frontend-plugin-api@0.10.2-next.0
## 0.0.22
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.10.1
- @backstage/core-components@0.17.1
## 0.0.22-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.10.1-next.1
- @backstage/core-components@0.17.1-next.1
## 0.0.22-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.1-next.0
- @backstage/frontend-plugin-api@0.10.1-next.0
## 0.0.21
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.17.0
- @backstage/frontend-plugin-api@0.10.0
## 0.0.21-next.2
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.10.0-next.2
- @backstage/core-components@0.16.5-next.1
## 0.0.21-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.5-next.0
- @backstage/frontend-plugin-api@0.9.6-next.1
## 0.0.21-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.6-next.0
## 0.0.20
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.4
- @backstage/frontend-plugin-api@0.9.5
## 0.0.20-next.3
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.5-next.3
- @backstage/core-components@0.16.4-next.1
## 0.0.20-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.4-next.1
- @backstage/frontend-plugin-api@0.9.5-next.2
## 0.0.20-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.4-next.0
- @backstage/frontend-plugin-api@0.9.5-next.1
## 0.0.20-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.5-next.0
- @backstage/core-components@0.16.3
## 0.0.19
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.4
- @backstage/core-components@0.16.3
## 0.0.19-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.4-next.0
- @backstage/core-components@0.16.3-next.0
## 0.0.18
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.3
- @backstage/core-components@0.16.2
## 0.0.18-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.2-next.2
- @backstage/frontend-plugin-api@0.9.3-next.2
## 0.0.18-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.2-next.1
- @backstage/frontend-plugin-api@0.9.3-next.1
## 0.0.18-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.3-next.0
- @backstage/core-components@0.16.2-next.0
## 0.0.17
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.0
- @backstage/frontend-plugin-api@0.9.1
## 0.0.17-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.0-next.2
- @backstage/frontend-plugin-api@0.9.1-next.2
## 0.0.17-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.0-next.1
- @backstage/frontend-plugin-api@0.9.1-next.1
## 0.0.17-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.16.0-next.0
- @backstage/frontend-plugin-api@0.9.1-next.0
## 0.0.16
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.15.1
- @backstage/frontend-plugin-api@0.9.0
## 0.0.16-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.15.1-next.2
- @backstage/frontend-plugin-api@0.9.0-next.2
## 0.0.16-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.15.1-next.1
- @backstage/frontend-plugin-api@0.9.0-next.1
## 0.0.16-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.9.0-next.0
- @backstage/core-components@0.15.1-next.0
## 0.0.15
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.15.0
- @backstage/frontend-plugin-api@0.8.0
## 0.0.15-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.11-next.1
- @backstage/frontend-plugin-api@0.8.0-next.2
## 0.0.15-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.8.0-next.1
- @backstage/core-components@0.14.11-next.0
## 0.0.15-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.8.0-next.0
- @backstage/core-components@0.14.10
## 0.0.14
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.7.0
- @backstage/core-components@0.14.10
## 0.0.14-next.3
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.7.0-next.3
- @backstage/core-components@0.14.10-next.0
## 0.0.14-next.2
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.7.0-next.2
- @backstage/core-components@0.14.10-next.0
## 0.0.14-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.6.8-next.1
- @backstage/core-components@0.14.10-next.0
## 0.0.14-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.6.8-next.0
- @backstage/core-components@0.14.10-next.0
## 0.0.13
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.9
- @backstage/frontend-plugin-api@0.6.7
## 0.0.13-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.9-next.1
- @backstage/frontend-plugin-api@0.6.7-next.1
## 0.0.13-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.9-next.0
- @backstage/frontend-plugin-api@0.6.7-next.0
## 0.0.12
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.8
- @backstage/frontend-plugin-api@0.6.6
## 0.0.12-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.8-next.2
- @backstage/frontend-plugin-api@0.6.6-next.2
## 0.0.12-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.8-next.1
- @backstage/frontend-plugin-api@0.6.6-next.1
## 0.0.12-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.8-next.0
- @backstage/frontend-plugin-api@0.6.6-next.0
## 0.0.11
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.7
- @backstage/frontend-plugin-api@0.6.5
## 0.0.11-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.6-next.1
- @backstage/frontend-plugin-api@0.6.5-next.1
## 0.0.11-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.5-next.0
- @backstage/frontend-plugin-api@0.6.5-next.0
## 0.0.10
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.4
- @backstage/frontend-plugin-api@0.6.4
## 0.0.10-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.6.4-next.1
- @backstage/core-components@0.14.4-next.0
## 0.0.10-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.4-next.0
- @backstage/frontend-plugin-api@0.6.4-next.0
## 0.0.9
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.3
- @backstage/frontend-plugin-api@0.6.3
## 0.0.8
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.2
- @backstage/frontend-plugin-api@0.6.2
## 0.0.7
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.1
- @backstage/frontend-plugin-api@0.6.1
## 0.0.7-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.1-next.2
- @backstage/frontend-plugin-api@0.6.1-next.2
## 0.0.7-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.1-next.1
- @backstage/frontend-plugin-api@0.6.1-next.1
## 0.0.7-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.1-next.0
- @backstage/frontend-plugin-api@0.6.1-next.0
## 0.0.6
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.6.0
- @backstage/core-components@0.14.0
## 0.0.6-next.3
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.0-next.2
- @backstage/frontend-plugin-api@0.6.0-next.3
## 0.0.6-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.14.0-next.1
- @backstage/frontend-plugin-api@0.6.0-next.2
## 0.0.6-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.6.0-next.1
- @backstage/core-components@0.14.0-next.0
## 0.0.6-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.5.1-next.0
- @backstage/core-components@0.13.10
## 0.0.5
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.5.0
- @backstage/core-components@0.13.10
## 0.0.5-next.2
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.4.1-next.2
## 0.0.5-next.1
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.10-next.1
- @backstage/frontend-plugin-api@0.4.1-next.1
## 0.0.5-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.10-next.0
- @backstage/frontend-plugin-api@0.4.1-next.0
## 0.0.4
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.4.0
- @backstage/core-components@0.13.9
## 0.0.4-next.3
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.9-next.3
- @backstage/frontend-plugin-api@0.4.0-next.3
## 0.0.4-next.2
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.4.0-next.2
- @backstage/core-components@0.13.9-next.2
## 0.0.4-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.4.0-next.1
- @backstage/core-components@0.13.9-next.1
## 0.0.4-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.9-next.0
- @backstage/frontend-plugin-api@0.3.1-next.0
## 0.0.3
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.8
- @backstage/frontend-plugin-api@0.3.0
## 0.0.3-next.2
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.8-next.2
- @backstage/frontend-plugin-api@0.3.0-next.2
## 0.0.3-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.3.0-next.1
- @backstage/core-components@0.13.8-next.1
## 0.0.3-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.7-next.0
- @backstage/frontend-plugin-api@0.3.0-next.0
## 0.0.2
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.2.0
- @backstage/core-components@0.13.6
## 0.0.2-next.2
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.2.0-next.2
- @backstage/core-components@0.13.6-next.2
## 0.0.2-next.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.1.1-next.1
- @backstage/core-components@0.13.6-next.1
## 0.0.2-next.0
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.13.6-next.0
- @backstage/frontend-plugin-api@0.1.1-next.0
## 0.0.1
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.1.0
- @backstage/core-components@0.13.5
## 0.0.1-next.0
### Patch Changes
- Updated dependencies
- @backstage/frontend-plugin-api@0.1.0-next.0
- @backstage/core-components@0.13.5-next.3
@@ -0,0 +1,10 @@
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: app-example-plugin
title: app-example-plugin
description: Backstage internal example plugin
spec:
lifecycle: experimental
type: backstage-frontend-plugin
owner: framework-maintainers
@@ -0,0 +1,9 @@
# Knip report
## Unused devDependencies (2)
| Name | Location | Severity |
| :---------- | :----------- | :------- |
| cross-fetch | packages/app-example-plugin/package.json | error |
| msw | packages/app-example-plugin/package.json | error |
+68
View File
@@ -0,0 +1,68 @@
{
"name": "app-example-plugin",
"version": "0.0.32-next.0",
"description": "Backstage internal example plugin",
"backstage": {
"role": "frontend-plugin",
"pluginId": "example",
"pluginPackages": [
"app-example-plugin"
]
},
"publishConfig": {
"access": "public",
"main": "dist/index.esm.js",
"types": "dist/index.d.ts"
},
"private": true,
"keywords": [
"backstage"
],
"homepage": "https://backstage.io",
"repository": {
"type": "git",
"url": "https://github.com/backstage/backstage",
"directory": "packages/app-example-plugin"
},
"license": "Apache-2.0",
"sideEffects": false,
"main": "src/index.ts",
"types": "src/index.ts",
"files": [
"dist"
],
"scripts": {
"build": "backstage-cli package build",
"clean": "backstage-cli package clean",
"lint": "backstage-cli package lint",
"prepack": "backstage-cli package prepack",
"postpack": "backstage-cli package postpack",
"start": "backstage-cli package start",
"test": "backstage-cli package test"
},
"dependencies": {
"@backstage/core-components": "workspace:^",
"@backstage/frontend-plugin-api": "workspace:^",
"@material-ui/icons": "^4.9.1"
},
"devDependencies": {
"@backstage/cli": "workspace:^",
"@types/react": "^18.0.0",
"cross-fetch": "^4.0.0",
"msw": "^1.0.0",
"react": "^18.0.2",
"react-dom": "^18.0.2",
"react-router-dom": "^6.30.2"
},
"peerDependencies": {
"@types/react": "^17.0.0 || ^18.0.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"react-router-dom": "^6.30.2"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
}
}
+54
View File
@@ -0,0 +1,54 @@
## API Report File for "app-example-plugin"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { AnyRouteRefParams } from '@backstage/frontend-plugin-api';
import { ExtensionDataRef } from '@backstage/frontend-plugin-api';
import { JSX as JSX_2 } from 'react';
import { JSX as JSX_3 } from 'react/jsx-runtime';
import { OverridableExtensionDefinition } from '@backstage/frontend-plugin-api';
import { OverridableFrontendPlugin } from '@backstage/frontend-plugin-api';
import { RouteRef } from '@backstage/frontend-plugin-api';
// @public (undocumented)
const examplePlugin: OverridableFrontendPlugin<
{},
{},
{
'page:example': OverridableExtensionDefinition<{
kind: 'page';
name: undefined;
config: {
path: string | undefined;
};
configInput: {
path?: string | undefined;
};
output:
| ExtensionDataRef<string, 'core.routing.path', {}>
| ExtensionDataRef<JSX_2.Element, 'core.reactElement', {}>
| ExtensionDataRef<
RouteRef<AnyRouteRefParams>,
'core.routing.ref',
{
optional: true;
}
>;
inputs: {};
params: {
defaultPath?: [Error: `Use the 'path' param instead`];
path: string;
loader: () => Promise<JSX.Element>;
routeRef?: RouteRef;
};
}>;
}
>;
export default examplePlugin;
// @public (undocumented)
export const ExampleSidebarItem: () => JSX_3.Element;
// (No @packageDocumentation comment for this package)
```
@@ -0,0 +1,21 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export const Component = () => (
<div>
<h1>SHIP IT!</h1>
</div>
);
@@ -0,0 +1,23 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { SidebarItem } from '@backstage/core-components';
import SaveIcon from '@material-ui/icons/Save';
/** @public */
export const ExampleSidebarItem = () => (
<SidebarItem text="Example" to="/example" icon={SaveIcon} />
);
+20
View File
@@ -0,0 +1,20 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { examplePlugin as default } from './plugin';
// TODO: This should be an extension created & exported in the `plugin.tsx`
export { ExampleSidebarItem } from './ExampleSidebarItem';
@@ -0,0 +1,33 @@
/*
* Copyright 2023 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import {
PageBlueprint,
createFrontendPlugin,
} from '@backstage/frontend-plugin-api';
export const ExamplePage = PageBlueprint.make({
params: {
path: '/example',
loader: () => import('./Component').then(m => <m.Component />),
},
});
/** @public */
export const examplePlugin = createFrontendPlugin({
pluginId: 'example',
extensions: [ExamplePage],
});