From 4dbd200c4e4883b0321c8cb63debb27819595ed2 Mon Sep 17 00:00:00 2001 From: CiscoRob <133238823+CiscoRob@users.noreply.github.com> Date: Tue, 9 Apr 2024 16:59:25 -0500 Subject: [PATCH 1/3] Update plugin/badges README.md Change `export` to `import` to reflect what the user will be doing in their code Signed-off-by: CiscoRob <133238823+CiscoRob@users.noreply.github.com> --- plugins/badges/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/badges/README.md b/plugins/badges/README.md index 06c0e3e413..3badfd2ea1 100644 --- a/plugins/badges/README.md +++ b/plugins/badges/README.md @@ -89,7 +89,7 @@ This plugin requires explicit registration, so you will need to add it to your A ```ts // ... -export { badgesPlugin } from '@backstage/plugin-badges'; +import { badgesPlugin } from '@backstage/plugin-badges'; ``` If you don't have a `plugins.ts` file see: [troubleshooting](#troubleshooting) From 93c1d9c5b2a2920234525f1e7bcad34b734872b0 Mon Sep 17 00:00:00 2001 From: Coderrob Date: Tue, 9 Apr 2024 17:07:49 -0500 Subject: [PATCH 2/3] Add changeset identifier Signed-off-by: Coderrob --- .changeset/spotty-ravens-whisper.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/spotty-ravens-whisper.md diff --git a/.changeset/spotty-ravens-whisper.md b/.changeset/spotty-ravens-whisper.md new file mode 100644 index 0000000000..6c52f22111 --- /dev/null +++ b/.changeset/spotty-ravens-whisper.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-badges': patch +--- + +Update README to fix invalid import command From 7f849b82e3541345de7afaac9445b77b06965017 Mon Sep 17 00:00:00 2001 From: Coderrob Date: Tue, 9 Apr 2024 17:14:29 -0500 Subject: [PATCH 3/3] Make it easier to copy pasta by removing comment from code with no actual comment Signed-off-by: Coderrob --- plugins/badges/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/badges/README.md b/plugins/badges/README.md index 3badfd2ea1..202b26762d 100644 --- a/plugins/badges/README.md +++ b/plugins/badges/README.md @@ -88,7 +88,6 @@ yarn --cwd packages/app add @backstage/plugin-badges This plugin requires explicit registration, so you will need to add it to your App's `plugins.ts` file: ```ts -// ... import { badgesPlugin } from '@backstage/plugin-badges'; ```