mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 10:21:37 +08:00
rn754
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -49,3 +49,4 @@ yarn-error.log
|
|||||||
Example/testHotUpdate/.yarn
|
Example/testHotUpdate/.yarn
|
||||||
android/bin
|
android/bin
|
||||||
Example/testHotUpdate/harmony
|
Example/testHotUpdate/harmony
|
||||||
|
Example/testHotUpdate/android/app/.cxx
|
||||||
|
@@ -2,15 +2,14 @@
|
|||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
ext {
|
ext {
|
||||||
buildToolsVersion = "33.0.0"
|
buildToolsVersion = "34.0.0"
|
||||||
minSdkVersion = 23
|
minSdkVersion = 23
|
||||||
compileSdkVersion = 33
|
compileSdkVersion = 34
|
||||||
targetSdkVersion = 33
|
targetSdkVersion = 34
|
||||||
|
ndkVersion = "26.1.10909125"
|
||||||
|
kotlinVersion = "1.9.24"
|
||||||
|
|
||||||
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
|
kotlin_version = '1.9.24'
|
||||||
ndkVersion = "23.1.7779620"
|
|
||||||
|
|
||||||
kotlin_version = '1.7.20'
|
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
@@ -19,6 +18,6 @@ buildscript {
|
|||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle")
|
classpath("com.android.tools.build:gradle")
|
||||||
classpath("com.facebook.react:react-native-gradle-plugin")
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
|||||||
# your application. You should enable this flag either if you want
|
# your application. You should enable this flag either if you want
|
||||||
# to write custom TurboModules/Fabric components OR use libraries that
|
# to write custom TurboModules/Fabric components OR use libraries that
|
||||||
# are providing them.
|
# are providing them.
|
||||||
newArchEnabled=false
|
newArchEnabled=true
|
||||||
|
|
||||||
# Use this property to enable or disable the Hermes JS engine.
|
# Use this property to enable or disable the Hermes JS engine.
|
||||||
# If set to false, you will be using JSC instead.
|
# If set to false, you will be using JSC instead.
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-all.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
Binary file not shown.
@@ -1,24 +1,11 @@
|
|||||||
const {mergeConfig, getDefaultConfig} = require('@react-native/metro-config');
|
const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
|
||||||
const {createHarmonyMetroConfig} = require('react-native-harmony/metro.config');
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {import("metro-config").ConfigT}
|
* Metro configuration
|
||||||
|
* https://reactnative.dev/docs/metro
|
||||||
|
*
|
||||||
|
* @type {import('metro-config').MetroConfig}
|
||||||
*/
|
*/
|
||||||
const config = {
|
const config = {};
|
||||||
transformer: {
|
|
||||||
getTransformOptions: async () => ({
|
|
||||||
transform: {
|
|
||||||
experimentalImportSupport: false,
|
|
||||||
inlineRequires: true,
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
module.exports = mergeConfig(
|
module.exports = mergeConfig(getDefaultConfig(__dirname), config);
|
||||||
getDefaultConfig(__dirname),
|
|
||||||
createHarmonyMetroConfig({
|
|
||||||
reactNativeHarmonyPackageName: 'react-native-harmony',
|
|
||||||
}),
|
|
||||||
config,
|
|
||||||
);
|
|
||||||
|
@@ -14,39 +14,34 @@
|
|||||||
"dev": "react-native bundle-harmony --dev"
|
"dev": "react-native bundle-harmony --dev"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@react-native-oh-tpl/react-native-camera-kit": "file:../react-native-harmony/react-native-oh-tpl-react-native-camera-kit-14.0.0-beta15-0.0.3.tgz",
|
|
||||||
"patch-package": "^8.0.0",
|
"patch-package": "^8.0.0",
|
||||||
"postinstall-postinstall": "^2.1.0",
|
"postinstall-postinstall": "^2.1.0",
|
||||||
"react": "18.2.0",
|
"react": "18.3.1",
|
||||||
"react-native": "0.72.5",
|
"react-native": "0.75.4",
|
||||||
"react-native-camera-kit": "^14.0.0-beta15",
|
"react-native-camera-kit": "^14.0.0-beta15",
|
||||||
"react-native-harmony": "file:../react-native-harmony/rnoh-react-native-harmony-0.72.29.tgz",
|
|
||||||
"react-native-paper": "^5.12.5",
|
"react-native-paper": "^5.12.5",
|
||||||
"react-native-safe-area-context": "^4.11.0",
|
"react-native-safe-area-context": "^4.11.1",
|
||||||
"react-native-update": "^10.15.0",
|
"react-native-update": "^10.15.1",
|
||||||
"react-native-vector-icons": "^10.2.0"
|
"react-native-vector-icons": "^10.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.20.0",
|
"@babel/core": "^7.25.9",
|
||||||
"@babel/preset-env": "^7.20.0",
|
"@babel/preset-env": "^7.25.9",
|
||||||
"@babel/runtime": "^7.20.0",
|
"@babel/runtime": "^7.25.9",
|
||||||
"@react-native/eslint-config": "^0.72.2",
|
"@react-native/babel-preset": "0.75.4",
|
||||||
"@react-native/metro-config": "^0.72.11",
|
"@react-native/eslint-config": "0.75.4",
|
||||||
"@tsconfig/react-native": "^3.0.0",
|
"@react-native/metro-config": "0.75.4",
|
||||||
"@types/react": "^18.0.24",
|
"@react-native/typescript-config": "0.75.4",
|
||||||
"@types/react-test-renderer": "^18.0.0",
|
"@types/react": "^18.3.12",
|
||||||
"babel-jest": "^29.2.1",
|
"@types/react-test-renderer": "^18.3.0",
|
||||||
|
"babel-jest": "^29.7.0",
|
||||||
"eslint": "^8.19.0",
|
"eslint": "^8.19.0",
|
||||||
"jest": "^29.2.1",
|
"jest": "^29.7.0",
|
||||||
"metro-react-native-babel-preset": "0.76.8",
|
"prettier": "2.8.8",
|
||||||
"prettier": "^2.4.1",
|
"react-test-renderer": "18.3.1",
|
||||||
"react-test-renderer": "18.2.0",
|
|
||||||
"typescript": "5.6.3"
|
"typescript": "5.6.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=16"
|
||||||
},
|
|
||||||
"resolutions": {
|
|
||||||
"@react-native-community/cli": "11.3.6"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user