Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions workspaces/lightspeed/.changeset/bright-doors-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@red-hat-developer-hub/backstage-plugin-lightspeed': minor
---

Add dedicated module export for the Lightspeed FAB component to enable standalone app-root-wrapper registration in the new frontend system.
3 changes: 2 additions & 1 deletion workspaces/lightspeed/packages/backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,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'));

// RBAC backend (registers as "permission" and provides /rbac; do not add plugin-permission-backend separately)
backend.add(import('@backstage/plugin-permission-backend'));

backend.add(import('@backstage-community/plugin-rbac-backend'));

// search plugin
Expand Down
5 changes: 5 additions & 0 deletions workspaces/lightspeed/plugins/lightspeed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"exports": {
".": "./src/index.ts",
"./alpha": "./src/alpha/index.tsx",
"./lightspeed-fab-module": "./src/alpha/lightspeedFABModuleExport.ts",
"./dev": "./dev/CustomDrawer.tsx",
"./package.json": "./package.json"
},
Expand All @@ -18,6 +19,9 @@
"alpha": [
"src/alpha/index.tsx"
],
"lightspeed-fab-module": [
"src/alpha/lightspeedFABModuleExport.ts"
],
"dev": [
"dev/CustomDrawer.tsx"
],
Expand Down Expand Up @@ -110,6 +114,7 @@
"name": "red-hat-developer-hub.backstage-plugin-lightspeed",
"exposedModules": {
"Alpha": "./src/alpha/index.tsx",
"LightspeedFABModule": "./src/alpha/lightspeedFABModuleExport.ts",
"PluginRoot": "./src/index.ts",
"LightspeedPlugin": "./src/index.ts"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## API Report File for "@red-hat-developer-hub/backstage-plugin-lightspeed"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
import { FrontendModule } from '@backstage/frontend-plugin-api';

// @alpha (undocumented)
const lightspeedFABModule: FrontendModule;
export default lightspeedFABModule;

// (No @packageDocumentation comment for this package)
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* Copyright Red Hat, Inc.
*
* 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 { lightspeedFABModule as default } from './index';
Loading