Merge remote-tracking branch 'origin/master' into mob/scaffolder-frontend

This commit is contained in:
Johan Haals
2021-02-11 14:42:42 +01:00
349 changed files with 11185 additions and 3477 deletions
+4 -3
View File
@@ -16,7 +16,7 @@
import React from 'react';
import { createDevApp } from '@backstage/dev-utils';
import { discoveryApiRef } from '@backstage/core';
import { discoveryApiRef, identityApiRef } from '@backstage/core';
import { CatalogClient } from '@backstage/catalog-client';
import { catalogApiRef } from '@backstage/plugin-catalog-react';
import { TemplateIndexPage, TemplatePage, TaskPage } from '../src/plugin';
@@ -30,8 +30,9 @@ createDevApp()
})
.registerApi({
api: scaffolderApiRef,
deps: { discoveryApi: discoveryApiRef },
factory: ({ discoveryApi }) => new ScaffolderClient({ discoveryApi }),
deps: { discoveryApi: discoveryApiRef, identityApi: identityApiRef },
factory: ({ discoveryApi, identityApi }) =>
new ScaffolderClient({ discoveryApi, identityApi }),
})
.addPage({
path: '/create',