chore: making the changes backwards compatible with default extensions being rendered when nothing supplied, and updating changeset to reflect This

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-05-31 10:58:21 +02:00
parent f0cfac64d2
commit c2c83f46a7
7 changed files with 77 additions and 35 deletions
@@ -14,9 +14,6 @@ import {
} from '@backstage/plugin-catalog';
import {CatalogImportPage, catalogImportPlugin} from '@backstage/plugin-catalog-import';
import {
OwnerPickerFieldExtension,
RepoUrlPickerFieldExtension,
ScaffolderFieldExtensions,
ScaffolderPage,
scaffolderPlugin
} from '@backstage/plugin-scaffolder';
@@ -57,12 +54,7 @@ const routes = (
{entityPage}
</Route>
<Route path="/docs" element={<TechdocsPage />} />
<Route path="/create" element={<ScaffolderPage />}>
<ScaffolderFieldExtensions>
<RepoUrlPickerFieldExtension />
<OwnerPickerFieldExtension />
</ScaffolderFieldExtensions>
</Route>
<Route path="/create" element={<ScaffolderPage />} />
<Route path="/api-docs" element={<ApiExplorerPage />} />
<Route
path="/tech-radar"