merge branch 'master' of github.com:spotify/backstage into mob/union-types
* 'master' of github.com:spotify/backstage: (88 commits) docs: update storybook url Separate port and host in configuration docs: fix broken links docs/verify-links: update to disallow path-absolute doc links microsite: mark package as private fix: path in gh-action fix: remove old link chore: add microsite build to gitignore CHANGELOG: add changes up until 52a3c6 cli: use version in lerna.json for scaffolded plugins Fix heading Fix button description Fix typo in documentation docs/features: fix static location entires not being list of objects chore(deps): bump uuid from 8.1.0 to 8.3.0 docs(cli): can't create-app with the cli anymore workflows: run CLI e2e tests with same scope as Frontend CI Update @types/swagger-ui-react catalog-backend: fix migration script not using uuid for ID This is supposed to be optional ...
This commit is contained in:
@@ -29,8 +29,9 @@ import { useHotCleanup } from '@backstage/backend-common';
|
||||
export default async function createPlugin({
|
||||
logger,
|
||||
database,
|
||||
config,
|
||||
}: PluginEnvironment) {
|
||||
const locationReader = new LocationReaders(logger);
|
||||
const locationReader = new LocationReaders({ logger, config });
|
||||
|
||||
const db = await DatabaseManager.createDatabase(database, { logger });
|
||||
const entitiesCatalog = new DatabaseEntitiesCatalog(db);
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
import { createRouter } from '@backstage/plugin-rollbar-backend';
|
||||
import type { PluginEnvironment } from '../types';
|
||||
|
||||
export default async function createPlugin({ logger }: PluginEnvironment) {
|
||||
return await createRouter({ logger });
|
||||
export default async function createPlugin({
|
||||
logger,
|
||||
config,
|
||||
}: PluginEnvironment) {
|
||||
return await createRouter({ logger, config });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user