fix: update changeset docs

Signed-off-by: Alisson Fabiano <afabiano@eshopworld.com>
This commit is contained in:
Alisson Fabiano
2022-08-22 10:38:22 +01:00
parent 988e023fd2
commit cb1cfc018b
3 changed files with 41 additions and 29 deletions
+39
View File
@@ -0,0 +1,39 @@
---
'@backstage/plugin-azure-devops-backend': patch
---
`createRouter` now requires an additional reader: `UrlReader` argument
```diff
export default async function createPlugin(
env: PluginEnvironment,
): Promise<Router> {
return createRouter({
logger: env.logger,
config: env.config,
+ reader: env.reader,
});
}
```
Remember to check if you have already provided these settings previously.
#### [Azure DevOps]
```yaml
# app-config.yaml
azureDevOps:
host: dev.azure.com
token: my-token
organization: my-company
```
#### [Azure Integrations]
```yaml
# app-config.yaml
integrations:
azure:
- host: dev.azure.com
token: ${AZURE_TOKEN}
```
+1 -28
View File
@@ -1,36 +1,9 @@
---
'@backstage/plugin-azure-devops': minor
'@backstage/plugin-azure-devops-backend': minor
'@backstage/plugin-azure-devops-common': minor
---
Added README card for Azure Devops
**Before:**
Remember to check if you have already provided these settings previously, as we will need them for the reamde card to work.
#### [Azure DevOps](https://github.com/backstage/backstage/blob/master/app-config.yaml#L48L51:~:text=azureDevOps%3A,%3A%20my%2Dcompany)
```yaml
# app-config.yaml
azureDevOps:
host: dev.azure.com
token: my-token
organization: my-company
```
#### [Azure Integrations](https://github.com/backstage/backstage/blob/master/app-config.yaml#L48L51:~:text=azure%3A,%3A%20%24%7BAZURE_TOKEN%7D)
```yaml
# app-config.yaml
integrations:
azure:
- host: dev.azure.com
token: ${AZURE_TOKEN}
```
**After:**
Added README card `EntityAzureReadmeCard` for Azure Devops.
To get the README component working you'll need to do the following two steps:
+1 -1
View File
@@ -76,7 +76,7 @@ In this case `<project-name>` will be the name of your Team Project and `<build-
To get the Azure Pipelines component working you'll need to do the following two steps:
1. First we need to add the @backstage/plugin-azure-devops package to your frontend app:
1. First we need to add the `@backstage/plugin-azure-devops` package to your frontend app:
```bash
# From your Backstage root directory