From c81c10e5a7f3a953aec461fc557df6447a0e7e79 Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Sat, 2 Nov 2024 11:40:40 -0400 Subject: [PATCH 1/4] fix frontend tsconfig includes --- packages/frontend/tsconfig.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/frontend/tsconfig.json b/packages/frontend/tsconfig.json index b88773b598c6..dbe329d26a70 100644 --- a/packages/frontend/tsconfig.json +++ b/packages/frontend/tsconfig.json @@ -45,8 +45,10 @@ }, "compileOnSave": false, "include": [ - "./**/*.ts", - "./**/*.vue" + "./src/**/*.ts", + "./src/**/*.vue", + "./test/**/*.ts", + "./test/**/*.vue" ], "exclude": [ ".storybook/**/*" From 65bc07569177a3434d5a0633f0e47f47bcaa13bb Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Sat, 2 Nov 2024 11:40:51 -0400 Subject: [PATCH 2/4] fix frontend-embed tsconfig includes --- packages/frontend-embed/tsconfig.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/frontend-embed/tsconfig.json b/packages/frontend-embed/tsconfig.json index 3701343623da..815f7dd7e530 100644 --- a/packages/frontend-embed/tsconfig.json +++ b/packages/frontend-embed/tsconfig.json @@ -33,7 +33,7 @@ "./node_modules" ], "types": [ - "vite/client", + "vite/client" ], "lib": [ "esnext", @@ -44,8 +44,8 @@ }, "compileOnSave": false, "include": [ - "./**/*.ts", - "./**/*.vue" + "./src/**/*.ts", + "./src/**/*.vue" ], "exclude": [ ".storybook/**/*" From 7a6920ea393d5a581f28026a0984df4572cf35da Mon Sep 17 00:00:00 2001 From: Hazelnoot Date: Sat, 2 Nov 2024 13:00:49 -0400 Subject: [PATCH 3/4] fix eslint in frontend / frontend-embed --- packages/frontend-embed/tsconfig.json | 3 ++- packages/frontend/tsconfig.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/frontend-embed/tsconfig.json b/packages/frontend-embed/tsconfig.json index 815f7dd7e530..45f933dc2844 100644 --- a/packages/frontend-embed/tsconfig.json +++ b/packages/frontend-embed/tsconfig.json @@ -45,7 +45,8 @@ "compileOnSave": false, "include": [ "./src/**/*.ts", - "./src/**/*.vue" + "./src/**/*.vue", + "./@types/**/*.ts" ], "exclude": [ ".storybook/**/*" diff --git a/packages/frontend/tsconfig.json b/packages/frontend/tsconfig.json index dbe329d26a70..4e5ca7f55944 100644 --- a/packages/frontend/tsconfig.json +++ b/packages/frontend/tsconfig.json @@ -48,7 +48,8 @@ "./src/**/*.ts", "./src/**/*.vue", "./test/**/*.ts", - "./test/**/*.vue" + "./test/**/*.vue", + "./@types/**/*.ts" ], "exclude": [ ".storybook/**/*" From b876b82c3307b11c2fa55b8f324da709ed6992f1 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Mon, 18 Nov 2024 22:39:36 +0900 Subject: [PATCH 4/4] Update Changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index aabd9f000ccf..d549cf9545e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,8 @@ - Fix: メールアドレス登録有効化時の「完了」ダイアログボックスの表示条件を修正 - Fix: 画面幅が狭い環境でデザインが崩れる問題を修正 (Cherry-picked from https://github.com/MisskeyIO/misskey/pull/815) +- Fix: TypeScriptの型チェック対象ファイルを限定してビルドを高速化するように + (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/725) ### Server - Enhance: DockerのNode.jsを22.11.0に更新