🚀 Feature: Add the ability to generate a web-library plugin with backstage-cli
See original GitHub issue🔖 Feature description
backstage-cli
can bundle different kinds of Backstage plugins. You can see a complete list of available package roles in the source code. There are several packages that use this role: @backstage/theme
and @backstage/version-bridge
.
Unfortunately, backstage-cli
doesn’t support creating a plugin with a web-library
role.
🎤 Context
One of our clients has new contributors to their inner source Backstage portal. They would like to be able to create web-library
plugins. They would like to be able to tell their developers to use the CLI, but this is not currently possible.
✌️ Possible Implementation
This conversation came up in Discord where @Rugvip suggested that to implement this, we need to add a factory and a template.
Several existing factories can be used for inspiration. There are also existing templates that can be found here.
👀 Have you checked if this feature request has been raised before?
- I checked and didn’t find a similar issue
🏢 Have you read the Code of Conduct?
- I have read the Contributing Guidelines
Are you willing to submit PR?
Yes, I am willing to submit a PR!
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:6 (6 by maintainers)
Top GitHub Comments
@kurtaking 👋 thank you for picking this up.
@backstage/plugin-explore-react is a good example of a minimal web-library.
A good place to start could be to include the following,
@Rugvip do we need to add anything else?
👏 Thanks!