Merge pull request #18755 from brianphillips/devtools-spotify-plugins

Allow package prefixes to be customized for DevTools dependency listing
This commit is contained in:
Andre Wanlin
2023-07-28 12:59:54 -05:00
committed by GitHub
4 changed files with 44 additions and 3 deletions
+14 -2
View File
@@ -408,11 +408,23 @@ export const customDevToolsPage = <DevToolsPage />;
## Configuration
The following sections outline the configuration for the DevTools plugin
The following sections outline the configuration for the DevTools plugin.
### Package Dependencies
By default, only packages with names starting with `@backstage` and `@internal` will be listed on the main "Info" tab. If you would like additional packages to be listed, you can specify the package prefixes (not regular expressions) in your `app-config.yaml`. For example, to not only provide version information about backstage plugins provided by the core application (`@backstage/*` modules) but also `@roadiehq` and `@spotify` plugins, you can specify this configuration:
```yaml
devTools:
info:
packagePrefixes:
- @roadiehq/backstage-
- @spotify/backstage-
```
### External Dependencies Configuration
If you decide to use the External Dependencies tab then you'll need to setup the configuration for it in your `app-config.yaml`, if there is no config setup then the tab will be empty. Here's an example:
If you decide to use the External Dependencies tab then you'll need to setup the configuration for it in your `app-config.yaml`. If there is no endpoints configured, then the tab will be empty. Here's an example:
```yaml
devTools: