docs(deps): document local common platform default

This commit is contained in:
Saravana Achu Mac 2026-05-07 13:08:43 -07:00
parent 34ecfddf38
commit 2a23f88334

View File

@ -6,7 +6,7 @@ Live source of truth for migrating `learning_ai_invt_trdg` UI/UX and platform cl
- Product repo: `/Users/saravana/BytelystAI/learning_ai/learning_ai_invt_trdg`
- Common platform repo: `/Users/saravana/BytelystAI/learning_ai/learning_ai_common_plat`
- Local package toggle: `BYTELYST_PACKAGE_SOURCE=common-plat pnpm install -r`
- Local package default: `@bytelyst/*` resolves from the sibling `learning_ai_common_plat` checkout by default via `.pnpmfile.cjs`; set `BYTELYST_PACKAGE_SOURCE=gitea` only when registry resolution is explicitly required.
- Current common-platform usage: `@bytelyst/api-client`, `@bytelyst/design-tokens`, `@bytelyst/errors`, `@bytelyst/kill-switch-client`, `@bytelyst/react-auth`, `@bytelyst/react-native-platform-sdk`, `@bytelyst/telemetry-client`, `@bytelyst/ui`
- UI adapter in code: `web/src/components/ui/Primitives.tsx` imports from `@bytelyst/ui`, re-exports common primitives, and owns product status-to-tone mapping.
- Design token foundation in code: `web/src/index.css` imports `@bytelyst/design-tokens/generated/tokens.css` and defines product `--bl-*` aliases.