search: fix incorrect metadata due to inconsistent package name

According to the usual Backstage package naming
conventions, @backstage/plugin-search-backend-node
should be called @backstage/plugin-search-node.
Because of this mismatch, metadata was generated
incorrectly.

Adjust the metadata in all search packages to
include the node package, and fix the pluginId in
the node package itself.

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
Co-authored-by: Jack Palmer <jackpalmer@spotify.com>
This commit is contained in:
MT Lewis
2024-08-01 11:41:28 +01:00
parent 23af0b6d0b
commit 3123c16a0a
6 changed files with 27 additions and 10 deletions
+6 -2
View File
@@ -4,9 +4,13 @@
"description": "A library for Backstage backend plugins that want to interact with the search backend plugin",
"backstage": {
"role": "node-library",
"pluginId": "search-backend",
"pluginId": "search",
"pluginPackages": [
"@backstage/plugin-search-backend-node"
"@backstage/plugin-search-backend-node",
"@backstage/plugin-search-backend",
"@backstage/plugin-search-common",
"@backstage/plugin-search-react",
"@backstage/plugin-search"
]
},
"publishConfig": {