Replace react-markdown with streamdown (minus mermaid) (#29977)

GitOrigin-RevId: c78f7c537f17085fd3e8a6189c6ade59ff98eb9f
This commit is contained in:
Alf Eaton
2025-12-03 13:41:11 +00:00
committed by Copybot
parent 0b0de92444
commit 83db1e858f
6 changed files with 995 additions and 63 deletions

1046
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -40,6 +40,9 @@
"request@2.88.2": {
"tough-cookie": "5.1.2",
"form-data": "2.5.5"
},
"streamdown": {
"mermaid": "file:./services/web/stubs/mermaid-stub"
}
},
"scripts": {

View File

@@ -378,7 +378,6 @@
"react-google-recaptcha": "^3.1.0",
"react-i18next": "^13.3.1",
"react-linkify": "^1.0.0-alpha",
"react-markdown": "^10.1.0",
"react-refresh": "^0.14.0",
"react-resizable-panels": "^2.1.1",
"react-syntax-highlighter": "^15.6.6",
@@ -397,6 +396,7 @@
"sinon-chai": "^3.7.0",
"sinon-mongoose": "^2.3.0",
"storybook": "^8.6.12",
"streamdown": "^1.6.9",
"stylelint-config-standard-scss": "^13.1.0",
"tailwindcss": "^3.4.4",
"terser-webpack-plugin": "^5.3.9",

View File

@@ -0,0 +1 @@
export type MermaidConfig = unknown

View File

@@ -0,0 +1 @@
export default {}

View File

@@ -0,0 +1,5 @@
{
"name": "mermaid",
"version": "11.999.999",
"description": "Empty stub for the mermaid package"
}