mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
Add automatic svelte-check validation for staged Svelte files: - Create svelte-check-staged.sh that runs on affected web apps only - Create build-check-staged.sh for production build validation - Integrate svelte-check into pre-commit hook - Add optional pre-push hook for full build checks - Update lint-staged config to handle Svelte files separately
5 lines
155 B
Text
5 lines
155 B
Text
pnpm exec lint-staged
|
|
pnpm run type-check
|
|
|
|
# Run svelte-check on staged web apps (catches a11y, imports, Svelte 5 issues)
|
|
./scripts/svelte-check-staged.sh
|