From 5b73a850ad70422968da54451234dc532f8226f0 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Fri, 7 Apr 2023 15:36:31 +0800 Subject: [PATCH] chore(deps): update dependency @uiw/react-markdown-preview to v4 #39 --- package.json | 2 +- website/App.tsx | 3 +++ website/Example.tsx | 1 + website/tsconfig.json | 9 +++++++++ 4 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 website/tsconfig.json diff --git a/package.json b/package.json index 9b00fca1..ba1f4502 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "@types/react": "^18.0.33", "@types/react-dom": "^18.0.11", "@uiw/react-github-corners": "~1.5.3", - "@uiw/react-markdown-preview": "~3.5.1", + "@uiw/react-markdown-preview": "^4.1.10", "react": "^18.2.0", "react-dom": "^18.2.0", "kkt": "^7.4.9", diff --git a/website/App.tsx b/website/App.tsx index 670f36d4..f01e7bf2 100644 --- a/website/App.tsx +++ b/website/App.tsx @@ -21,6 +21,9 @@ const App: React.FC = () => { /, '')} /> diff --git a/website/Example.tsx b/website/Example.tsx index cdff7955..146dd92e 100644 --- a/website/Example.tsx +++ b/website/Example.tsx @@ -1,3 +1,4 @@ +import React from 'react'; import StackBlitz from '../'; const code = `import React from "react"; diff --git a/website/tsconfig.json b/website/tsconfig.json new file mode 100644 index 00000000..ee85ecbe --- /dev/null +++ b/website/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "../tsconfig", + "include": ["../"], + "compilerOptions": { + "baseUrl": ".", + "emitDeclarationOnly": true, + "noEmit": false + } +} \ No newline at end of file