From 7c27dc44a3ba03eefce9dafb177cfc2fc6182cc4 Mon Sep 17 00:00:00 2001 From: ruan-cat <1219043956@qq.com> Date: Thu, 28 Nov 2024 00:26:19 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(vercel-deploy-tool):=20?= =?UTF-8?q?=E5=A4=8D=E7=94=A8=20tsconfig.md.json=20=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3=E6=9C=AC=E5=8C=85=E5=86=85=E9=83=A8?= =?UTF-8?q?=E7=9A=84md=E6=8A=A5=E9=94=99=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vercel-deploy-tool/tsconfig.json | 5 +++++ tsconfig.md.json | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/vercel-deploy-tool/tsconfig.json b/packages/vercel-deploy-tool/tsconfig.json index f1af206..e524b05 100644 --- a/packages/vercel-deploy-tool/tsconfig.json +++ b/packages/vercel-deploy-tool/tsconfig.json @@ -1,5 +1,10 @@ { "extends": "../../tsconfig.base.json", + "references": [ + { + "path": "../../tsconfig.md.json" + } + ], "compilerOptions": { "target": "ESNext", "module": "ESNext", diff --git a/tsconfig.md.json b/tsconfig.md.json index 9bea6be..bee3bd6 100644 --- a/tsconfig.md.json +++ b/tsconfig.md.json @@ -2,7 +2,9 @@ // 为全部的md文件提供识别配置 "extends": "./tsconfig.base.json", "compilerOptions": { - "baseUrl": "./" + "baseUrl": "./", + // 本文件被其他的 tsconfig.json 组合 ,用于提供md配置,避免其他包的md文件报错。 + "composite": true }, "include": [ // 匹配本项目内全部的md文件