qwrk-laconic-core/scripts
Ian Cameron Lyles 9f9870113c
chore(ui): LAC-126 components migrated (#4)
* 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
2025-03-20 08:17:54 -07:00
..
clean.sh chore: Fetches gh orgs 2025-03-07 16:31:51 -08:00
folderize-components.sh chore(ui): LAC-126 components migrated (#4) 2025-03-20 08:17:54 -07:00
hooks-logger.js chore: update pre-commit hooks to remove staged file references and clean up logger output 2025-02-27 10:52:05 -08:00
README.md Add precommit hook 2025-02-27 10:48:04 -08:00
setup-component-structure.js chore(ui): LAC-126 components migrated (#4) 2025-03-20 08:17:54 -07:00

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:

  1. Linting - Checks and fixes code style issues
  2. Formatting - Ensures consistent code formatting
  3. 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.