-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add all TS files to front type checker. #6436
Labels
Comments
@lucasbordeau I would like to work on this issue |
@Mihan786Chistie Let me know if you are not working on this. I can take this up! |
lucasbordeau
added a commit
that referenced
this issue
Aug 20, 2024
Fixes: #6436 Changes made: - Added typecheck step before twenty-ui build to check stories TS errors - Added a tsconfig.dev.json to add stories and tests to typecheking when in dev mode - Added tsconfig.dev.json to storybook dev command of twenty-ui to typecheck stories while developing - Fixed twenty-ui stories that were broken - Added a serve command to serve front build - Fixed unit test from another PR --------- Co-authored-by: Félix Malfait <[email protected]> Co-authored-by: Lucas Bordeau <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scope & Context
We often have problems with the CI for typecheck because stories and test files aren't tested by the typescript process during regular development.
This makes us lose time during code review and create work that could just be solved easily when the developer sees warnings in the console.
Technical inputs
We want to integrate all typescript files in the typescript process that Vite uses for running the frontend, so that even test files TS errors appear during the normal development flow.
The text was updated successfully, but these errors were encountered: