@backstage/plugin-register-component
TypeScript icon, indicating that this package has built-in type declarations

0.2.22 • Public • Published

Register component plugin

This plugin is deprecated in favor of @backstage/catalog-import, and will be soon removed from the project.

Welcome to the register-component plugin!

This plugin allows you to submit your Backstage component using your software's YAML config.

When installed it is accessible on localhost:3000/register-component.

Standalone setup

  1. Install plugin and its dependency plugin-catalog
# From your Backstage root directory
cd packages/app
yarn add @backstage/plugin-register-component
  1. Add the RegisterComponentPage extension to your App.tsx:
// packages/app/src/App.tsx
import { RegisterComponentPage } from '@backstage/plugin-cost-insights';

<FlatRoutes>
  ...
  <Route path="/register-component" element={<RegisterComponentPage />} />
  ...
</FlatRoutes>;

Running

Just run the backstage.

yarn start && yarn --cwd packages/backend start

Usage

Pretty straightforward, navigate to localhost:3000/register-component and enter your component's YAML config URL.

Readme

Keywords

Package Sidebar

Install

npm i @backstage/plugin-register-component

Homepage

backstage.io

Weekly Downloads

4

Version

0.2.22

License

Apache-2.0

Unpacked Size

54.2 kB

Total Files

11

Last publish

Collaborators

  • patriko
  • freben
  • marcuseide