From b94af16ac85cc9626e2051a0d19018c6d10d012a Mon Sep 17 00:00:00 2001 From: manusant Date: Thu, 10 Nov 2022 16:08:42 +0000 Subject: [PATCH] Updates according PR commentas Signed-off-by: manusant --- .changeset/unlucky-pigs-end.md | 1 + plugins/sonarqube/api-report.md | 5 ----- .../components/SonarQubeContentPage/SonarQubeContentPage.tsx | 1 - plugins/sonarqube/src/components/index.ts | 1 - 4 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.changeset/unlucky-pigs-end.md b/.changeset/unlucky-pigs-end.md index 9a33827087..7088a92c48 100644 --- a/.changeset/unlucky-pigs-end.md +++ b/.changeset/unlucky-pigs-end.md @@ -3,3 +3,4 @@ --- Fix sonarqube annotation parsing. Add content page for Sonarqube. +Removed the deprecated `plugin` export; please use `sonarQubePlugin` instead. diff --git a/plugins/sonarqube/api-report.md b/plugins/sonarqube/api-report.md index df9601ea8f..2edf80618e 100644 --- a/plugins/sonarqube/api-report.md +++ b/plugins/sonarqube/api-report.md @@ -38,11 +38,6 @@ export const SonarQubeCard: (props: { duplicationRatings?: DuplicationRating[]; }) => JSX.Element; -// @public (undocumented) -export const SonarQubeContentPage: ( - props: SonarQubeContentPageProps, -) => JSX.Element; - // @public (undocumented) export type SonarQubeContentPageProps = { title?: string; diff --git a/plugins/sonarqube/src/components/SonarQubeContentPage/SonarQubeContentPage.tsx b/plugins/sonarqube/src/components/SonarQubeContentPage/SonarQubeContentPage.tsx index c11fff7237..33a145b746 100644 --- a/plugins/sonarqube/src/components/SonarQubeContentPage/SonarQubeContentPage.tsx +++ b/plugins/sonarqube/src/components/SonarQubeContentPage/SonarQubeContentPage.tsx @@ -34,7 +34,6 @@ export type SonarQubeContentPageProps = { supportTitle?: string; }; -/** @public */ export const SonarQubeContentPage = (props: SonarQubeContentPageProps) => { const { entity } = useEntity(); const { title, supportTitle } = props; diff --git a/plugins/sonarqube/src/components/index.ts b/plugins/sonarqube/src/components/index.ts index 3cb54da601..8e1d93f85b 100644 --- a/plugins/sonarqube/src/components/index.ts +++ b/plugins/sonarqube/src/components/index.ts @@ -16,7 +16,6 @@ export { SonarQubeCard } from './SonarQubeCard'; export type { DuplicationRating } from './SonarQubeCard'; -export { SonarQubeContentPage } from './SonarQubeContentPage'; export type { SonarQubeContentPageProps } from './SonarQubeContentPage'; export { isSonarQubeAvailable,