From 73fa59f6b20d34fd183ca6dc06a2c838267f1c84 Mon Sep 17 00:00:00 2001 From: Emma Indal Date: Thu, 2 Jun 2022 13:20:29 +0200 Subject: [PATCH] replace all usages of @backstage/search-common with @backstage/plugin-search-common Signed-off-by: Emma Indal --- .changeset/pre.json | 1 - contrib/search/confluence/ConfluenceCollator.md | 2 +- contrib/search/confluence/ConfluenceResultListItem.md | 2 +- plugins/catalog-common/package.json | 2 +- plugins/catalog-common/src/search/CatalogEntityDocument.ts | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.changeset/pre.json b/.changeset/pre.json index a7ee74e62c..4d4f1e0623 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -25,7 +25,6 @@ "@backstage/integration": "1.2.0", "@backstage/integration-react": "1.1.0", "@backstage/release-manifests": "0.0.3", - "@backstage/search-common": "0.3.4", "@techdocs/cli": "1.1.1", "techdocs-cli-embedded-app": "0.2.70", "@backstage/techdocs-common": "0.11.15", diff --git a/contrib/search/confluence/ConfluenceCollator.md b/contrib/search/confluence/ConfluenceCollator.md index f636ae88ea..7d7c8641f3 100644 --- a/contrib/search/confluence/ConfluenceCollator.md +++ b/contrib/search/confluence/ConfluenceCollator.md @@ -1,7 +1,7 @@ ConfluenceCollator.ts reference ```ts -import { DocumentCollator } from '@backstage/search-common'; +import { DocumentCollator } from '@backstage/plugin-search-common'; import fetch from 'cross-fetch'; export class ConfluenceCollator implements DocumentCollator { diff --git a/contrib/search/confluence/ConfluenceResultListItem.md b/contrib/search/confluence/ConfluenceResultListItem.md index ba7c4f91a9..059048d731 100644 --- a/contrib/search/confluence/ConfluenceResultListItem.md +++ b/contrib/search/confluence/ConfluenceResultListItem.md @@ -3,7 +3,7 @@ ConfluenceResultListItem.tsx reference ```tsx import React from 'react'; import { Link } from '@backstage/core-components'; -import { IndexableDocument } from '@backstage/search-common'; +import { IndexableDocument } from '@backstage/plugin-search-common'; import { Divider, ListItem, diff --git a/plugins/catalog-common/package.json b/plugins/catalog-common/package.json index 0e14a01006..c53acd3dd9 100644 --- a/plugins/catalog-common/package.json +++ b/plugins/catalog-common/package.json @@ -35,7 +35,7 @@ }, "dependencies": { "@backstage/plugin-permission-common": "^0.6.2-next.0", - "@backstage/search-common": "^0.3.5-next.0" + "@backstage/plugin-search-common": "^0.3.4" }, "devDependencies": { "@backstage/cli": "^0.17.2-next.1" diff --git a/plugins/catalog-common/src/search/CatalogEntityDocument.ts b/plugins/catalog-common/src/search/CatalogEntityDocument.ts index 834dde2568..0c53c369cf 100644 --- a/plugins/catalog-common/src/search/CatalogEntityDocument.ts +++ b/plugins/catalog-common/src/search/CatalogEntityDocument.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { IndexableDocument } from '@backstage/search-common'; +import { IndexableDocument } from '@backstage/plugin-search-common'; /** * The Document format for an Entity in the Catalog for search