misskey-dev / misskey

🌎 A completely free and open interplanetary microblogging platform 🚀
https://misskey-hub.net/
GNU Affero General Public License v3.0
10.09k stars 1.38k forks source link

fix(frontend): TypeScriptの型チェック対象ファイルを限定して高速化するように #14994

Closed kakkokari-gtyih closed 3 days ago

kakkokari-gtyih commented 4 days ago

What

Modifies the frontend and frontend-embed TS configs to include only the project source. This fixes type errors and slow linting caused by TS trying to check the JS-based config files and various auto-generated code.

TypeScriptが自動生成されたファイルやJavaScriptで書かれたコンフィグファイルまでチェックしてしまい、型チェックが遅くなる問題を修正(tsconfigのsourceをプロジェクトルートに限定)

Why

Additional info (optional)

Checklist

codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 19.32%. Comparing base (0df6c79) to head (af5fbb5). Report is 1 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #14994 +/- ## ============================================ - Coverage 39.97% 19.32% -20.66% ============================================ Files 1561 727 -834 Lines 197313 103687 -93626 Branches 3622 990 -2632 ============================================ - Hits 78878 20033 -58845 + Misses 117829 83101 -34728 + Partials 606 553 -53 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

syuilo commented 3 days ago

🙏