fix: upgrade markdown and other stuff
This commit is contained in:
parent
2e3328c4c4
commit
da6a1ec9f6
|
|
@ -14,7 +14,7 @@
|
|||
"@uiw/react-codemirror": "^4.24.2",
|
||||
"@vitejs/plugin-react": "^4.7.0",
|
||||
"axios": "^0.21.1",
|
||||
"detect-browser": "^5.2.0",
|
||||
"detect-browser": "^5.3.0",
|
||||
"mobx": "^5.15.6",
|
||||
"mobx-react": "^6.3.0",
|
||||
"mobx-utils": "^5.6.1",
|
||||
|
|
@ -22,13 +22,13 @@
|
|||
"notistack": "^3.0.2",
|
||||
"react": "^19.1.1",
|
||||
"react-dom": "^19.1.1",
|
||||
"react-markdown": "^6.0.2",
|
||||
"react-markdown": "^10.1.0",
|
||||
"react-router": "^7.7.1",
|
||||
"react-router-dom": "^7.7.1",
|
||||
"react-timeago": "^6.2.1",
|
||||
"react-timeago": "^8.3.0",
|
||||
"react-virtuoso": "^4.13.0",
|
||||
"remark-gfm": "^1.0.0",
|
||||
"remove-markdown": "^0.3.0",
|
||||
"remark-gfm": "^4.0.1",
|
||||
"remove-markdown": "^0.6.2",
|
||||
"tss-react": "^4.9.19",
|
||||
"typeface-roboto": "1.1.13",
|
||||
"vite": "^7.0.6",
|
||||
|
|
@ -44,25 +44,25 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.32.0",
|
||||
"@types/detect-browser": "^4.0.0",
|
||||
"@types/detect-browser": "^4.0.3",
|
||||
"@types/get-port": "^4.0.0",
|
||||
"@types/node": "^15.12.2",
|
||||
"@types/notifyjs": "^3.0.2",
|
||||
"@types/notifyjs": "^3.0.5",
|
||||
"@types/puppeteer": "^5.4.6",
|
||||
"@types/react": "^19.1.9",
|
||||
"@types/react-dom": "^19.1.7",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@types/remove-markdown": "^0.3.0",
|
||||
"@types/rimraf": "^3.0.0",
|
||||
"@types/remove-markdown": "^0.3.4",
|
||||
"@types/rimraf": "^4.0.5",
|
||||
"eslint": "^9.32.0",
|
||||
"get-port": "^5.1.1",
|
||||
"get-port": "^7.1.0",
|
||||
"prettier": "^2.3.1",
|
||||
"puppeteer": "^17.1.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"rimraf": "^6.0.1",
|
||||
"tree-kill": "^1.2.0",
|
||||
"typescript": "^5.9.2",
|
||||
"typescript-eslint": "^8.38.0",
|
||||
"wait-on": "^5.3.0"
|
||||
"wait-on": "^8.0.4"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
|
|
|||
|
|
@ -3,5 +3,5 @@ import ReactMarkdown from 'react-markdown';
|
|||
import gfm from 'remark-gfm';
|
||||
|
||||
export const Markdown = ({children}: {children: string}) => (
|
||||
<ReactMarkdown plugins={[gfm]}>{children}</ReactMarkdown>
|
||||
<ReactMarkdown remarkPlugins={[gfm]}>{children}</ReactMarkdown>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import getPort from 'get-port';
|
||||
import {spawn, exec, ChildProcess} from 'child_process';
|
||||
import rimraf from 'rimraf';
|
||||
import {rimrafSync} from 'rimraf';
|
||||
import path from 'path';
|
||||
import puppeteer, {Browser, Page} from 'puppeteer';
|
||||
import fs from 'fs';
|
||||
|
|
@ -54,7 +54,7 @@ export const newTest = async (pluginsDir = ''): Promise<GotifyTest> => {
|
|||
kill(gotifyInstance.pid!, 'SIGKILL', () => resolve(undefined))
|
||||
),
|
||||
]);
|
||||
rimraf.sync(gotifyFile, {maxBusyTries: 8});
|
||||
rimrafSync(gotifyFile, {maxRetries: 8});
|
||||
},
|
||||
url: gotifyURL,
|
||||
browser,
|
||||
|
|
|
|||
1930
ui/yarn.lock
1930
ui/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue