fix(ui): replace react-markdown with inline parser to fix ESM Jest failures
react-markdown v8+ is ESM-only and breaks Jest in Node-role packages that transitively import @backstage/ui via core-app-api. Since the Header description only needs inline link support, a small regex-based parser is sufficient and avoids the ESM dependency entirely. Signed-off-by: Charles de Dreuille <charles.dedreuille@gmail.com>
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
"clsx": "^2.1.1",
|
||||
"react-aria": "~3.48.0",
|
||||
"react-aria-components": "~1.17.0",
|
||||
"react-markdown": "^8.0.0",
|
||||
"react-stately": "~3.46.0",
|
||||
"use-sync-external-store": "^1.4.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user