diff --git a/.changeset/rich-clocks-approve.md b/.changeset/rich-clocks-approve.md new file mode 100644 index 0000000000..319a8a7c9c --- /dev/null +++ b/.changeset/rich-clocks-approve.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-lighthouse-backend': patch +--- + +Update README.md; typo with plugin name & removed unneeded "import { Router } from 'express';" diff --git a/plugins/lighthouse-backend/README.md b/plugins/lighthouse-backend/README.md index 8ae737725c..2c648754b3 100644 --- a/plugins/lighthouse-backend/README.md +++ b/plugins/lighthouse-backend/README.md @@ -8,13 +8,12 @@ Lighthouse Backend allows you to run scheduled lighthouse Tests for each Website ```bash # From your Backstage root directory -yarn add --cwd packages/backend @backstage/lighthouse-backend +yarn add --cwd packages/backend @backstage/plugin-lighthouse-backend ``` 2. Create a `lighthouse.ts` file inside `packages/backend/src/plugins/`: ```typescript -import { Router } from 'express'; import { createScheduler } from '@backstage/plugin-lighthouse-backend'; import { PluginEnvironment } from '../types'; import { CatalogClient } from '@backstage/catalog-client';