Add changeset
Signed-off-by: Magnus Persson <magnus.persson@fortnox.se>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
---
|
||||
'@backstage/plugin-sonarqube': minor
|
||||
'@backstage/plugin-sonarqube-react': minor
|
||||
---
|
||||
|
||||
Parts of plugin-sonarqube have been moved into a new plugin-sonarqube-react package. Additionally some types that were
|
||||
previously internal to plugin-sonarqube have been made public and will allow access for third-parties. As the sonarqube
|
||||
plugin has not yet reached 1.0 breaking changes are expected in the future. As such exports of plugin-sonarqube-react
|
||||
require importing via the `/alpha` entrypoint:
|
||||
|
||||
```ts
|
||||
import { sonarQubeApiRef } from '@backstage/plugin-sonarqube-react/alpha';
|
||||
|
||||
const sonarQubeApi = useApi(sonarQubeApiRef);
|
||||
```
|
||||
|
||||
Moved from plugin-sonarqube to plugin-sonarqube-react:
|
||||
|
||||
- isSonarQubeAvailable
|
||||
- SONARQUBE_PROJECT_KEY_ANNOTATION
|
||||
|
||||
Exports that been introduced to plugin-sonarqube-react are documented in the [API report](https://github.com/backstage/backstage/blob/master/plugins/sonarqube-react/api-report.md).
|
||||
Reference in New Issue
Block a user