Phase 1 — Platform SDK integration: - Mobile: added @bytelyst/telemetry-client, feature-flag-client, kill-switch-client, blob-client deps - Mobile: created src/lib/platform.ts — centralized platform init (telemetry, flags, kill-switch, blob) - Mobile: wired initPlatform() into root layout startup - Web: refactored blob-client.ts to use shared @bytelyst/blob-client (eliminates hand-rolled SAS fetch code) - Web: added @bytelyst/blob-client dep DRY: Both web and mobile now use the same @bytelyst/blob-client package for blob operations. Verification: web typecheck + mobile typecheck pass.
47 lines
1.8 KiB
JSON
47 lines
1.8 KiB
JSON
{
|
|
"name": "@notelett/web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev --webpack",
|
|
"build": "next build --webpack",
|
|
"start": "next start",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/api-client": "file:../../learning_ai_common_plat/packages/api-client",
|
|
"@bytelyst/auth-client": "file:../../learning_ai_common_plat/packages/auth-client",
|
|
"@bytelyst/design-tokens": "file:../../learning_ai_common_plat/packages/design-tokens",
|
|
"@bytelyst/blob-client": "file:../../learning_ai_common_plat/packages/blob-client",
|
|
"@bytelyst/diagnostics-client": "file:../../learning_ai_common_plat/packages/diagnostics-client",
|
|
"@bytelyst/feature-flag-client": "file:../../learning_ai_common_plat/packages/feature-flag-client",
|
|
"@bytelyst/kill-switch-client": "file:../../learning_ai_common_plat/packages/kill-switch-client",
|
|
"@bytelyst/platform-client": "file:../../learning_ai_common_plat/packages/platform-client",
|
|
"@bytelyst/react-auth": "file:../../learning_ai_common_plat/packages/react-auth",
|
|
"@bytelyst/telemetry-client": "file:../../learning_ai_common_plat/packages/telemetry-client",
|
|
"lucide-react": "^0.575.0",
|
|
"next": "16.1.6",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"zod": "^4.3.6",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^22",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"jsdom": "^28.1.0",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5.9.3",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|