Skip to content

chore: drop unused shadcn scaffolding#122

Merged
nkcoder merged 1 commit into
mainfrom
chore/drop-unused-shadcn-scaffolding
Jul 1, 2026
Merged

chore: drop unused shadcn scaffolding#122
nkcoder merged 1 commit into
mainfrom
chore/drop-unused-shadcn-scaffolding

Conversation

@nkcoder

@nkcoder nkcoder commented Jul 1, 2026

Copy link
Copy Markdown
Owner

What

Follow-up to #121. Removes the shadcn/ui scaffolding, which was set up but never actually used.

  • No src/components/ui directory ever existed.
  • cn() (the sole consumer of clsx + tailwind-merge) was referenced only by a smoke test.
  • class-variance-authority was never imported anywhere.

Changes

  • Remove cn() and its imports from src/lib/utils.ts (keep fmtDuration, which HistoryDrawer uses).
  • Drop the cn test block from smoke.test.ts.
  • Delete components.json (shadcn CLI config).
  • Uninstall clsx, tailwind-merge, class-variance-authority.

Verification

  • npm run build — succeeds (tsc clean, no dangling references).
  • npm run test — 438/438 pass (was 440; the 2 removed tests were cn's).
  • lefthook pre-commit (biome, gofmt, govet, golangci) green.

The shadcn setup was scaffolded but never used: no src/components/ui,
and cn() (the only consumer of clsx + tailwind-merge) was referenced
only by a smoke test. class-variance-authority was never imported at all.

- Remove cn() and its imports from src/lib/utils.ts (keep fmtDuration)
- Drop the cn test block from smoke.test.ts
- Delete components.json (shadcn CLI config)
- Uninstall clsx, tailwind-merge, class-variance-authority

Verified: build succeeds and 438/438 frontend tests pass.
@nkcoder nkcoder merged commit d0b4cdb into main Jul 1, 2026
2 checks passed
@nkcoder nkcoder deleted the chore/drop-unused-shadcn-scaffolding branch July 1, 2026 21:16
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