🔧 fix(figgos): align mobile setup with other SDK 54 apps

- Reanimated v4 + react-native-worklets (matches ManaDeck/Picture)
- newArchEnabled: true
- Add tsconfigPaths, baseUrl, jsx: react-jsx
- Remove worklets: false workaround from babel config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Chr1st1anG 2026-02-11 00:19:53 +01:00
parent 76c69a10b1
commit 9992b32e3e
5 changed files with 116 additions and 100 deletions

View file

@ -7,7 +7,7 @@
"orientation": "portrait",
"icon": "./assets/images/icon.png",
"userInterfaceStyle": "automatic",
"newArchEnabled": false,
"newArchEnabled": true,
"splash": {
"image": "./assets/images/splash-icon.png",
"resizeMode": "contain",
@ -33,7 +33,8 @@
},
"plugins": ["expo-router", "expo-secure-store"],
"experiments": {
"typedRoutes": true
"typedRoutes": true,
"tsconfigPaths": true
}
}
}

View file

@ -2,7 +2,7 @@ module.exports = function (api) {
api.cache(true);
return {
presets: [
['babel-preset-expo', { jsxImportSource: 'nativewind', worklets: false }],
['babel-preset-expo', { jsxImportSource: 'nativewind' }],
'nativewind/babel',
],
plugins: ['react-native-reanimated/plugin'],

View file

@ -34,10 +34,11 @@
"react-native": "0.81.5",
"react-native-css-interop": "0.2.1",
"react-native-gesture-handler": "~2.28.0",
"react-native-reanimated": "~3.16.0",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"react-native-web": "~0.21.0",
"react-native-worklets": "0.5.1",
"@react-native-async-storage/async-storage": "2.2.0"
},
"devDependencies": {

View file

@ -2,6 +2,8 @@
"extends": "expo/tsconfig.base",
"compilerOptions": {
"strict": true,
"jsx": "react-jsx",
"baseUrl": ".",
"paths": {
"~/*": ["./*"]
}