mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 11:26:41 +02:00
✨ feat(nutriphi): prepare for production release with tests and improved UX
- Remove broken header links to non-existent settings/profile pages
- Replace header links with settings page link
- Remove TODO comments for credit system in analysis controller
- Add comprehensive error handling with German messages in meals store
- Add loading states, retry buttons, and error displays in UI components
- Create new settings page with daily goals editor
- Add 99 tests across backend, web, and shared packages:
- Backend: MealService, GoalsService, StatsService, FavoritesService,
RecommendationsService, nutrition.utils (Jest)
- Web: API client tests with mocks (Vitest)
- Shared: utility function tests (Vitest)
- Set up test infrastructure (Jest for NestJS, Vitest for SvelteKit)
This commit is contained in:
parent
ee630158c5
commit
3ff8d3833b
28 changed files with 2470 additions and 119 deletions
|
|
@ -10,7 +10,12 @@
|
|||
"dev:landing": "pnpm --filter @nutriphi/landing dev",
|
||||
"db:push": "pnpm --filter @nutriphi/backend db:push",
|
||||
"db:studio": "pnpm --filter @nutriphi/backend db:studio",
|
||||
"db:seed": "pnpm --filter @nutriphi/backend db:seed"
|
||||
"db:seed": "pnpm --filter @nutriphi/backend db:seed",
|
||||
"test": "pnpm --filter @nutriphi/backend test && pnpm --filter @nutriphi/shared test && pnpm --filter @nutriphi/web test",
|
||||
"test:backend": "pnpm --filter @nutriphi/backend test",
|
||||
"test:web": "pnpm --filter @nutriphi/web test",
|
||||
"test:shared": "pnpm --filter @nutriphi/shared test",
|
||||
"test:cov": "pnpm --filter @nutriphi/backend test:cov"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.9.3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue