How atul4549/monorepo works
This repository is a small pnpm monorepo with a React app named Synergy, shared UI and utility packages, and PWA support. The evidenced user-facing workflow is browser startup rendering the app; the app’s internals are not shown. PWA behavior is represented separately because the excerpts do not show the badge being rendered by the app. Shared package implementations are indexed but not sampled, so their runtime relationships are left unspecified.
Main entry points: PWABadge.tsx PWA update badge · main.tsx React entry · sw.ts Offline service worker · App.tsx Synergy app
Components 8
Synergy app
- React entry
apps/synergy/src/main.tsx - Synergy app
apps/synergy/src/App.tsx
PWA support
- PWA update badge
apps/synergy/src/PWABadge.tsx - Offline service worker
apps/synergy/src/sw.ts
Shared packages
- Shared Button
packages/ui/src/Button.tsx - Shared utilities
packages/utils/src/index.ts
Other components
- Browser user
- PWA registration runtime
Connections 5
- Browser user → React entry: loads app
apps/synergy/src/main.tsx - React entry → Synergy app: renders
apps/synergy/src/main.tsx - PWA update badge → PWA registration runtime: registers worker
apps/synergy/src/PWABadge.tsx - PWA update badge → PWA registration runtime: checks updates
apps/synergy/src/PWABadge.tsx - Offline service worker → Offline service worker: serves offline
apps/synergy/src/sw.ts