Add changesets and API reports

Signed-off-by: Brian Phillips <28457+brianphillips@users.noreply.github.com>
This commit is contained in:
Brian Phillips
2023-05-24 09:11:24 -05:00
parent 3656c99897
commit 5852458844
5 changed files with 27 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-adr': patch
---
Render table of front matter metadata when displaying MADR v3 formatted ADR
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-adr-backend': patch
---
Use front matter parser for MADR v3 formatted ADRs when indexing status/date
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-adr-common': patch
---
Add utility function for parsing MADR front matter
+11
View File
@@ -35,4 +35,15 @@ export const MADR_DATE_FORMAT = 'yyyy-MM-dd';
// @public
export const madrFilePathFilter: AdrFilePathFilterFn;
// @public
export interface ParsedMadr {
attributes: Record<string, unknown>;
content: string;
date?: string;
status?: string;
}
// @public
export const parseMadrWithFrontmatter: (content: string) => ParsedMadr;
```
+1
View File
@@ -80,6 +80,7 @@ export const AdrReader: {
decorators: Readonly<{
createRewriteRelativeLinksDecorator(): AdrContentDecorator;
createRewriteRelativeEmbedsDecorator(): AdrContentDecorator;
createFrontMatterFormatterDecorator(): AdrContentDecorator;
}>;
};