plugins: refactory to use default export for new backend system

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Johan Haals <johan.haals@gmail.com>
Co-authored-by: Philipp Hugenroth <philipph@spotify.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-09-06 14:57:24 +02:00
parent cb7fc410ed
commit 71114ac50e
120 changed files with 277 additions and 200 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ import { PluginEndpointDiscovery } from '@backstage/backend-common';
export function createRouter(options: RouterOptions): Promise<express.Router>;
// @alpha
export const proxyPlugin: () => BackendFeature;
const proxyPlugin: () => BackendFeature;
export default proxyPlugin;
// @public (undocumented)
export interface RouterOptions {
+1 -1
View File
@@ -21,4 +21,4 @@
*/
export * from './service';
export { proxyPlugin } from './plugin';
export { proxyPlugin as default } from './plugin';