From f351bca924395781ca18d832d5495f6a7e7a240c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AF=92=E5=AF=92?= <2596194220@qq.com> Date: Tue, 8 Sep 2026 23:29:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20tsconfig=20=E6=8E=92=E9=99=A4=20scripts?= =?UTF-8?q?=20=E7=9B=AE=E5=BD=95=EF=BC=8C=E4=BF=AE=E5=A4=8D=20Docker=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit scripts/test-remove-days.ts 使用 .ts 扩展名导入(Node 直跑),被 tsc 全量检查时报 TS5097 导致 pnpm build 失败。将 scripts 加入 tsconfig exclude。 --- tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 3a13f90..e8263c5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -30,5 +30,5 @@ ".next/dev/types/**/*.ts", "**/*.mts" ], - "exclude": ["node_modules"] + "exclude": ["node_modules", "scripts"] }