mirror of
https://github.com/block/buzz.git
synced 2026-10-29 13:31:44 +00:00
tests.rs had grown to 1249 lines, over the 1000-line repository ceiling the differential file-size gate enforces. Split it along the seams that were already there as section comments, keeping the shared fixtures in the parent module: - packaging: activation, the bundled template, validation, byte limits - containment: what the host serves and refuses — declared-script bootstrap, capability gating, path containment, CSP, navigation, ipc - avatars: the `__buzz/avatar/<pubkey>` route All 42 tests move unchanged; only the import paths differ. Signed-off-by: Matt Toohey <contact@matttoohey.com>
Buzz
Desktop chat shell with:
- Tauri + React + TypeScript + Vite
- Tailwind CSS
- shadcn/ui-ready shared components
- Biome (lint/format/check)
- Feature-driven frontend structure
Scripts
pnpm dev- run the web frontendpnpm tauri dev- run the desktop apppnpm build- typecheck and build frontendpnpm typecheck- TypeScript checkspnpm lint- Biome lintpnpm format- Biome format (write)pnpm check- Biome check
Structure
src/shared- reusable app-wide code (ui,lib,styles)src/features- feature modules (vertical slices)src/app- top-level app composition