Skip to content

Add DX tooling — biome, lefthook, CI, and task runner#2

Merged
nahiyankhan merged 5 commits intomainfrom
dx-setup
Apr 4, 2026
Merged

Add DX tooling — biome, lefthook, CI, and task runner#2
nahiyankhan merged 5 commits intomainfrom
dx-setup

Conversation

@nahiyankhan
Copy link
Copy Markdown
Collaborator

@nahiyankhan nahiyankhan commented Apr 4, 2026

Summary

  • Add biome for linting/formatting, lefthook for git hooks
  • Add GitHub Actions CI pipeline (ci.yml)
  • Add justfile for common dev tasks and a file size check script
  • Add Claude Code project settings

Test plan

  • pnpm check passes (biome + typecheck + file sizes)
  • pnpm fmt formats correctly
  • CI workflow runs on push

🤖 Generated with Claude Code

nahiyankhan and others added 5 commits April 3, 2026 18:09
Scaffold pnpm monorepo with two packages:
- @ghost/core: detection engine with CSS/registry resolvers, values scanner
  (token-override, hardcoded-color, missing-token), structure scanner
  (component diffing), and CLI/JSON reporters
- ghost-cli: CLI wrapper with `ghost scan` command

24 tests passing across resolvers, scanners, and e2e.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Introduces the third core scanner alongside values and structure. When
enabled (scan.visual: true), Ghost creates a temporary Vite+React project,
renders registry and consumer component variants via Playwright, and
compares screenshots with pixelmatch. Diff images and percentage scores
are written to .ghost/visual/ and reported in CLI/JSON output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Set up biome for linting/formatting, lefthook for git hooks,
GitHub Actions CI pipeline, justfile for common tasks, and
a file size check script.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nahiyankhan nahiyankhan merged commit d7261a4 into main Apr 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant