331a72b20d004d9ddbd9f8dd0654bfb86af84866
* 'master' of github.com:spotify/backstage: (25 commits) backend/scaffolder: fix build backend,proto: added builds service that calls out to github api proto: update README proto: switch to grpc-web plugin + ship protoc plugin binary, because meh feat: returning correct list of included facts refactor: Protobuf messages No separate login link anymore add failing scenario for getting entity Persist login (for now - due to constant page reloads) feat: add set fact endpoint Mark package as private frontend: remove gen-proto script, replaced by proto package Updated docs Fixed prototool Added generated files Added service=grpc-web flag Added protobuf-gen-ts to prototool.yaml Ran yarn install Added a @backstage/protobuf-definitions package frontend/core: simplify plugin output handling ...
Backstage
What is Backstage?
Backstage is an open platform for building developer portals.
Getting started
Protobuf Definitions
To generate the Protobuf definitions in Go and TypeScript, run the following command from the root with Prototool:
$ prototool generate ./proto
See proto/README.md for more information.
Plugins
Creating a Plugin
Run the following:
$ ./tools/cookiecutter/init.sh frontend/packages/plugins/_template --output-dir frontend/packages/plugins
This will generate a plugin in the frontend/packages/plugins folder. It is important to note you will still need to include the plugin in your frontend/packages/app in the package.json. You will then be able to import it as follows:
$ ./tools/cookiecutter/init.sh frontend/packages/plugins/_template --output-dir frontend/packages/plugins
plugin_name [example-plugin]: github-api
$ vim frontend/packages/app/package.json
# Add the following line to your package.json
# Note all plugins are prefixed with "plugin-" by default with a version number of "0.0.0"
# "@backstage/plugin-github-api": "0.0.0",
$ vim frontend/packages/app/src/App.tsx
# Add the following line to import your generated component
# import { ExampleComponent } from '@backstage/plugin-github-api';
# <ExampleComponent />
Documentation
License
Copyright 2020 Spotify AB.
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
Description
Languages
TypeScript
93.9%
MDX
2%
JavaScript
2%
CSS
1.5%
Handlebars
0.3%