lighthouse: migrate to new composability API

This commit is contained in:
Patrik Oldsberg
2021-02-02 19:06:24 +01:00
parent d941f6187b
commit a5628df400
9 changed files with 68 additions and 38 deletions
+2 -2
View File
@@ -15,11 +15,11 @@
*/
import { createDevApp } from '@backstage/dev-utils';
import { plugin } from '../src/plugin';
import { lighthousePlugin } from '../src/plugin';
import { lighthouseApiRef, LighthouseRestApi } from '../src';
createDevApp()
.registerPlugin(plugin)
.registerPlugin(lighthousePlugin)
.registerApi({
api: lighthouseApiRef,
deps: {},