mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
clippy -D warnings (dead_code) fails on macOS because PROD_ORIGIN, DEV_ORIGIN, and is_trusted_media_origin are only referenced from the target_os = "linux" implementation and the test module. Gate them with cfg(any(target_os = "linux", test)) so all-targets clippy passes on every host while Linux builds and the cross-platform unit tests are unchanged. Co-authored-by: Thomas Petersen <thomasp@squareup.com> Signed-off-by: Thomas Petersen <thomasp@squareup.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