diff --git a/bun.lock b/bun.lock index 6ab9f777..3814cf11 100644 --- a/bun.lock +++ b/bun.lock @@ -47,7 +47,7 @@ "react-native-safe-area-context": "5.6.2", "react-native-screens": "4.21.0", "react-native-sortables": "1.9.4", - "react-native-superconfig": "^0.8.0", + "react-native-superconfig": "^0.9.0", "react-native-text-ticker": "^1.15.0", "react-native-toast-message": "^2.3.3", "react-native-track-player": "5.0.0-alpha0", @@ -1929,7 +1929,7 @@ "react-native-sortables": ["react-native-sortables@1.9.4", "", { "optionalDependencies": { "react-native-haptic-feedback": ">=2.0.0" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-gesture-handler": ">=2.0.0", "react-native-reanimated": ">=3.0.0" } }, "sha512-a6hxT+gl14HA5Sm8UiLXJqF8KMEQVa+mUJd75OnzoVsmrxUDtjAatlMdV0kI9qTQDT/ZSFLPRmdUhOR762IA4g=="], - "react-native-superconfig": ["react-native-superconfig@0.8.0", "", { "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": "*" } }, "sha512-BwNGXqGlxfLzVo6P4nDi0jNcvGoF95xQymJxlysSR5a6XaFVp61bGZRfxqG7AaCumyOBCZJoNz3kokf/r8QszA=="], + "react-native-superconfig": ["react-native-superconfig@0.9.0", "", { "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": "*" } }, "sha512-2pidRRmbILy85N8kVU8DyUsyKOX3dl/XsviZe1jydckwjP73LMP3AT4hnj9FuTPaLISSGzaY3+iJc2E7cqf1FA=="], "react-native-tab-view": ["react-native-tab-view@4.2.2", "", { "dependencies": { "use-latest-callback": "^0.2.4" }, "peerDependencies": { "react": ">= 18.2.0", "react-native": "*", "react-native-pager-view": ">= 6.0.0" } }, "sha512-NXtrG6OchvbGjsvbySJGVocXxo4Y2vA17ph4rAaWtA2jh+AasD8OyikKBRg2SmllEfeQ+GEhcKe8kulHv8BhTg=="], diff --git a/package.json b/package.json index f2a11457..c43a1e4f 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,8 @@ "sendOTA:iOS": "bash scripts/ota-iOS.sh", "sendOTA:PR": "bash scripts/ota-PR.sh", "android-build": "cd android && ./gradlew generateCodegenArtifactsFromSchema && ./gradlew assembleRelease", - "postinstall": "patch-package" + "generate-config": "node ./node_modules/react-native-superconfig/scripts/generate-config.js", + "postinstall": "bun run generate-config && patch-package" }, "dependencies": { "@jellify-music/react-native-reanimated-slider": "0.3.4", @@ -80,7 +81,7 @@ "react-native-safe-area-context": "5.6.2", "react-native-screens": "4.21.0", "react-native-sortables": "1.9.4", - "react-native-superconfig": "^0.8.0", + "react-native-superconfig": "^0.9.0", "react-native-text-ticker": "^1.15.0", "react-native-toast-message": "^2.3.3", "react-native-track-player": "5.0.0-alpha0",