Une version 56.x avait été installée par erreur et transpilait mal pour Hermes
(« private properties are not supported »). Retour à la version du SDK 54.
Retire aussi le plugin worklets manuel (déjà fourni par le preset).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- ajoute babel-preset-expo en devDependency (manquant après migration SDK 54,
bloquait le bundling Metro)
- remplace le fr-btns-group du wizard de saisie par un flex simple : les
libellés "Précédent/Suivant/Enregistrer" ne sont plus tronqués
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mobile (Expo SDK 53) :
- supprime victory-native et react-native-svg (dépendances mortes, non
importées) qui empêchaient l'installation (ETARGET sur svg@~16.0.0 +
conflit de peer reanimated/skia)
- ajoute les peers manquants expo-constants et expo-linking (requis par
expo-router)
- aligne expo-router, react-native et react-native-screens sur le SDK 53
- ajoute package-lock.json (installs reproductibles)
- expo-doctor 18/18, tsc sans erreur
Frontend (Next.js) :
- EmotionChart : remplace 4 `any` par les types Recharts (ValueType/NameType)
- EditSaisieModal : remplace le setState dans useEffect par l'ajustement
d'état pendant le rendu (pattern recommandé par React)
- tsc, eslint et build de production sans erreur
Backend : 15 tests passent (Auth, Admin, Tracker, RGPD).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Added favicon and icon assets for the mobile app.
- Implemented EmotionPicker component for selecting emotions with child options.
- Created hooks for fetching emotions, feeds, and rapport data.
- Established API service for handling requests and authentication.
- Integrated Zustand for state management of user authentication.
- Defined color palette for the application.
- Set up TypeScript types for various entities including User, Emotion, and Feed.
- Configured Babel and TypeScript for the mobile project.
- Added package.json with necessary dependencies for Expo and React Native.