Commit graph

3 commits

Author SHA1 Message Date
senke
be06ce90f8 implicit: implement Implicit 10.3 - add optional test check to pre-commit hook
- Added optional test check to pre-commit hook
- Runs unit tests only (fast, not E2E)
- Can be skipped with SKIP_TESTS=1 environment variable
- Blocks commits with failing tests
- Provides helpful error messages and tips
- Keeps pre-commit hook fast by only running unit tests
2026-01-16 14:18:41 +01:00
senke
9a0e1c4680 implicit: implement Implicit 9.2, 10.1, 10.2 - env validation and pre-commit hooks
- Implicit 9.2: Verified env validation already implemented (Zod schema with clear errors)
- Implicit 10.1: Added type checking to pre-commit hook (blocks on errors, allows warnings)
- Implicit 10.2: Added linting to pre-commit hook (blocks on errors, allows warnings)
- Pre-commit hook now runs: type generation, type checking, linting
- Prevents commits with TypeScript or linting errors
- Provides helpful error messages and tips
- Note: Pre-existing TypeScript errors in codebase will block commits until fixed
2026-01-16 13:04:49 +01:00
senke
b8cad69e3a api-contracts: add type generation to pre-commit hook
- Install husky as dev dependency
- Create pre-commit hook to run type generation script
- Ensures types are always up-to-date with backend API before commit
- Hook runs from apps/web directory to execute generate-types.sh
2026-01-15 17:00:30 +01:00