From 5a2ad3b021f20078bc20d9e6ff0be4e90b6d3ada Mon Sep 17 00:00:00 2001 From: Bren Date: Tue, 21 Feb 2023 15:27:35 +0000 Subject: [PATCH] Update README.md Typo in the plugin name. Router is not needed. Signed-off-by: Bren --- plugins/lighthouse-backend/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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';