backstage-toolkit
v0.0.4
Published
Help teams to generate and validate their Backstage Entities for their Backstage Catalog.
Maintainers
Readme
Backstage Toolkit
Help teams to generate and validate their Backstage Entities for their Backstage Catalog.
How to use it?
- Install the
backstage-toolkit:
npm install -g backstage-toolkit- Generate the catalog:
backstage-toolkit generate-catalog --helpFeatures
Generate fake catalog
Generate a fake catalog based on the configuration file backstage-toolkit.config.js.
backstage-toolkit generate --fakeSetup custom entities for your catalog
Create a file backstage-toolkit.config.js in the root of your project with the following content, to setup your custom entities:
{
"output": "tmp",
"generator": {
"groups": 10,
"components": 2500,
"apis": 8400,
"domains": 5,
"systems": 10,
"relations": true,
"openapiDefinition": "https://github.com/APIs-guru/openapi-directory/blob/dab6854d4d599aafb0eb36e6c7ae1fe0c37509b7/APIs/spotify.com/2021.4.2/openapi.yaml"
},
"approach": "centralized"
}How to install this repo locally?
- Clone the repo:
git clone- Install the dependencies:
npm install- Include the backstage-toolkit
cliglobally to run it from anywhere:
npm install -g ./
backstage-toolkit --help