mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Replace react-markdown with streamdown (minus mermaid) (#29977)
GitOrigin-RevId: c78f7c537f17085fd3e8a6189c6ade59ff98eb9f
This commit is contained in:
1046
package-lock.json
generated
1046
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -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": {
|
||||
|
||||
@@ -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",
|
||||
|
||||
1
services/web/stubs/mermaid-stub/index.d.ts
vendored
Normal file
1
services/web/stubs/mermaid-stub/index.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export type MermaidConfig = unknown
|
||||
1
services/web/stubs/mermaid-stub/index.js
Normal file
1
services/web/stubs/mermaid-stub/index.js
Normal file
@@ -0,0 +1 @@
|
||||
export default {}
|
||||
5
services/web/stubs/mermaid-stub/package.json
Normal file
5
services/web/stubs/mermaid-stub/package.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "mermaid",
|
||||
"version": "11.999.999",
|
||||
"description": "Empty stub for the mermaid package"
|
||||
}
|
||||
Reference in New Issue
Block a user