Integrate TypeScript type checking into build process with conditional execution

- Add type checking to build scripts for production/test builds only
- Fix TypeScript errors in migration service, router, and platform services
- Add electronAPI type declarations for Electron platform
- Remove type checking from development builds for faster hot reload
- Update tsconfig.node.json to resolve configuration conflicts
- Ensure type safety for production while maintaining fast development workflow
This commit is contained in:
Matthew Raymer
2025-08-01 05:47:43 +00:00
parent 8b2c6714ec
commit c30b94dcc7
9 changed files with 53 additions and 15 deletions

View File

@@ -338,7 +338,7 @@ router.onError(errorHandler); // Assign the error handler to the router instance
* @param from - Source route
* @param next - Navigation function
*/
router.beforeEach(async (to, from, next) => {
router.beforeEach(async (to, _from, next) => {
try {
// Skip identity check for routes that handle identity creation manually
const skipIdentityRoutes = [