From c5aa242ce3ce66fde76abd7916ea863bbccaa507 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 23 Oct 2023 14:28:27 +0200 Subject: [PATCH] Update plugins/code-coverage-backend/README.md Signed-off-by: Patrik Oldsberg --- plugins/code-coverage-backend/README.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/plugins/code-coverage-backend/README.md b/plugins/code-coverage-backend/README.md index 4d5c473c56..2b22b0ad1d 100644 --- a/plugins/code-coverage-backend/README.md +++ b/plugins/code-coverage-backend/README.md @@ -74,20 +74,7 @@ The code coverage backend plugin has support for the [new backend system](https: In your `packages/backend/src/index.ts` make the following changes: ```diff - import { createBackend } from '@backstage/backend-defaults'; -+ import { codeCoveragePlugin } from '@backstage/plugin-code-coverage-backend'; - const backend = createBackend(); - // ... other feature additions -+ backend.add(codeCoveragePlugin()); - backend.start(); -``` - -Alternatively, you can actually remove the import line above, and do this instead. - -```diff - backend.add(explorePlugin()); + backend.add(import('@backstage/plugin-explore-backend')); - ``` ## Configuring your entity