wudebin 5 месяцев назад
Родитель
Сommit
a21d3d4d5a
2 измененных файлов с 10 добавлено и 6 удалено
  1. 6 1
      Strides-SPAPP/babel.config.js
  2. 4 5
      Strides-SPAPP/package.json

+ 6 - 1
Strides-SPAPP/babel.config.js

@@ -3,6 +3,11 @@ module.exports = {
     'module:@react-native/babel-preset',
   ],
   plugins: [
-    'react-native-reanimated/plugin',
+    "react-native-reanimated/plugin",
+    ["module-resolver", {
+      alias: {
+        "^react-native$": "react-native"
+      }
+    }]
   ],
 };

+ 4 - 5
Strides-SPAPP/package.json

@@ -54,9 +54,8 @@
     "react-native-device-info": "14.0.4",
     "react-native-gesture-handler": "2.22.0",
     "react-native-i18n": "https://gitee.com/vbes/react-native-i18n.git",
-    "react-native-image-crop-picker": "0.41.6",
+    "react-native-image-crop-picker": "0.51.1",
     "react-native-linear-gradient": "2.8.3",
-    "react-native-location-enabler": "https://gitee.com/vbes/react-native-location-enabler.git",
     "react-native-map-clustering": "3.4.2",
     "react-native-map-link": "2.11.2",
     "react-native-maps": "1.25.1",
@@ -66,8 +65,7 @@
     "react-native-permissions": "5.4.0",
     "react-native-progress": "5.0.1",
     "react-native-push-notification": "8.1.1",
-    "react-native-reanimated": "3.16.7",
-    "react-native-reanimated-skeleton": "^1.6.0",
+    "react-native-reanimated": "3.18.0",
     "react-native-root-siblings": "5.0.1",
     "react-native-root-toast": "3.6.0",
     "react-native-safe-area-context": "^5.4.1",
@@ -80,7 +78,7 @@
     "react-native-web": "0.19.13",
     "react-native-webview": "13.15.0",
     "vbe-cluster-map": "https://gitee.com/vbes/vbe-cluster-map2.git",
-    "victory-native": "37.3.2"
+    "victory-native": "41.17.1"
   },
   "devDependencies": {
     "@babel/core": "^7.25.2",
@@ -96,6 +94,7 @@
     "@types/jest": "^29.5.13",
     "@types/react": "^18.2.6",
     "@types/react-test-renderer": "^18.0.0",
+    "babel-plugin-module-resolver": "^5.0.2",
     "eslint": "^8.19.0",
     "jest": "^29.6.3",
     "patch-package": "^8.0.0",