- Add pnpm-workspace.yaml (backend + web + common-plat packages) - Add root package.json with workspace scripts and pnpm config - Add packageManager: pnpm@10.6.5 to backend/web manifests - Remove package-lock.json files, generate pnpm-lock.yaml - Add root .gitignore (was missing) - Update CI to use pnpm workspace commands - Add transpilePackages + webpack symlinks to next.config.ts - Update docker-prep.sh for backend + web consumers - Rewrite backend/web Dockerfiles to .docker-deps consumer pattern - Add .dockerignore Verified: typecheck + 576 tests (182 backend + 394 web) + builds pass Docker: backend + web smoke builds pass
56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"packageManager": "pnpm@10.6.5",
|
|
"scripts": {
|
|
"dev": "next dev --webpack",
|
|
"build": "next build --webpack",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"typecheck": "tsc --noEmit",
|
|
"test:e2e": "playwright test",
|
|
"test:e2e:ui": "playwright test --ui"
|
|
},
|
|
"dependencies": {
|
|
"@bytelyst/api-client": "file:../../learning_ai_common_plat/packages/api-client",
|
|
"@bytelyst/sync": "file:../../learning_ai_common_plat/packages/sync",
|
|
"@bytelyst/auth-client": "file:../../learning_ai_common_plat/packages/auth-client",
|
|
"@bytelyst/react-auth": "file:../../learning_ai_common_plat/packages/react-auth",
|
|
"@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/subscription-client": "file:../../learning_ai_common_plat/packages/subscription-client",
|
|
"@bytelyst/telemetry-client": "file:../../learning_ai_common_plat/packages/telemetry-client",
|
|
"@serwist/next": "^9.5.6",
|
|
"date-fns": "^4.1.0",
|
|
"idb": "^8.0.3",
|
|
"lucide-react": "^0.575.0",
|
|
"next": "16.1.6",
|
|
"react": "19.2.3",
|
|
"react-dom": "19.2.3",
|
|
"recharts": "^3.7.0",
|
|
"serwist": "^9.5.6",
|
|
"uuid": "^13.0.0",
|
|
"zod": "^4.3.6",
|
|
"zustand": "^5.0.11"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.58.2",
|
|
"@tailwindcss/postcss": "^4",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/uuid": "^10.0.0",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.1.6",
|
|
"jsdom": "^28.1.0",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5",
|
|
"vitest": "^4.0.18"
|
|
}
|
|
}
|