mirror of
https://github.com/QWRK-ORG/qwrk-laconic-core.git
synced 2026-09-08 15:44:06 +00:00
* chore: Onboarding components migrated * chore: wrap pages * chore(components): Migrate core and navigation components Migrated core and navigation components from Snowballtools repository: - Core components: Dropdown, FormatMilliSecond, Logo, SearchBar, Stepper, StopWatch, VerticalStepper - Navigation components: GitHubSessionButton, LaconicIcon, NavigationActions, WalletSessionId Follows component migration guidelines with: - Tailwind styling - Consistent file structure - TypeScript type definitions - README documentation * chore(routing): Basic routing within navigation * chore: Import project cards and deps
Scripts and Hooks
This directory contains utility scripts for the project.
Lefthook Configuration
The project uses Lefthook for git hooks to ensure code quality before commits.
Pre-commit Hooks
The pre-commit hooks run:
- Linting - Checks and fixes code style issues
- Formatting - Ensures consistent code formatting
- Type Checking - Verifies TypeScript types
These hooks are configured in lefthook.yaml in the root directory.
Usage
The hooks run automatically when you commit code. You can also run them manually:
# Run all pre-commit hooks
pnpm test:hooks
# Run individual commands
pnpm lint:fix
pnpm format:fix
pnpm check-types
pnpm fix-all
VS Code Integration
TypeScript errors will show up directly in VS Code thanks to the configuration in .vscode/settings.json.