Skip to content

Commit 81348f1

Browse files
fix(frontend): TypeScriptの型チェック対象ファイルを限定して高速化するように (#14994)
* fix frontend tsconfig includes * fix frontend-embed tsconfig includes * fix eslint in frontend / frontend-embed * Update Changelog --------- Co-authored-by: Hazelnoot <acomputerdog@gmail.com>
1 parent 0df6c79 commit 81348f1

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
- Fix: メールアドレス登録有効化時の「完了」ダイアログボックスの表示条件を修正
4040
- Fix: 画面幅が狭い環境でデザインが崩れる問題を修正
4141
(Cherry-picked from https://github.com/MisskeyIO/misskey/pull/815)
42+
- Fix: TypeScriptの型チェック対象ファイルを限定してビルドを高速化するように
43+
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/725)
4244

4345
### Server
4446
- Enhance: DockerのNode.jsを22.11.0に更新

packages/frontend-embed/tsconfig.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"./node_modules"
3434
],
3535
"types": [
36-
"vite/client",
36+
"vite/client"
3737
],
3838
"lib": [
3939
"esnext",
@@ -44,8 +44,9 @@
4444
},
4545
"compileOnSave": false,
4646
"include": [
47-
"./**/*.ts",
48-
"./**/*.vue"
47+
"./src/**/*.ts",
48+
"./src/**/*.vue",
49+
"./@types/**/*.ts"
4950
],
5051
"exclude": [
5152
".storybook/**/*"

packages/frontend/tsconfig.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,11 @@
4545
},
4646
"compileOnSave": false,
4747
"include": [
48-
"./**/*.ts",
49-
"./**/*.vue"
48+
"./src/**/*.ts",
49+
"./src/**/*.vue",
50+
"./test/**/*.ts",
51+
"./test/**/*.vue",
52+
"./@types/**/*.ts"
5053
],
5154
"exclude": [
5255
".storybook/**/*"

0 commit comments

Comments
 (0)