@terasky/backstage-plugin-devpod
Version:
Automatically launch Devpod workspaces for your Backstage services
22 lines (19 loc) • 740 B
JavaScript
import { jsx } from 'react/jsx-runtime';
import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
import { isDevpodAvailable } from './components/DevpodComponent/DevpodComponent.esm.js';
import { EntityCardBlueprint } from '@backstage/plugin-catalog-react/alpha';
const devpodPlugin = createFrontendPlugin({
pluginId: "devpod",
extensions: [
EntityCardBlueprint.make({
name: "devpod",
params: {
filter: isDevpodAvailable,
loader: () => import('./components/DevpodComponent/DevpodComponent.esm.js').then((m) => /* @__PURE__ */ jsx(m.DevpodComponent, {}))
},
disabled: false
})
]
});
export { devpodPlugin as default, devpodPlugin };
//# sourceMappingURL=alpha.esm.js.map