@computools/react-native-template-controller 1.0.50 → 1.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -3
- package/package.json +1 -1
- package/template/android/build.gradle +3 -3
- package/template/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/template/android/gradle.properties +5 -0
- package/template/package.json +16 -14
- package/template/patches/react-native-mmkv+3.3.0.patch +13 -0
- package/template/tsconfig.json +2 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# template-controller 🏄♂️
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@computools/react-native-template-controller)
|
|
4
4
|
[](https://www.npmjs.com/package/@computools/react-native-template-controller)
|
|
5
5
|
[](https://www.npmjs.com/package/@computools/react-native-template-controller)
|
|
6
6
|
<br />
|
|
@@ -10,11 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
<img src="https://ik.imagekit.io/computools/computools-background/upload-8a50e7e4-c14e-4b55-ae17-bd0cca2f6493.webp">
|
|
12
12
|
|
|
13
|
-
### Latest supported RN version [0.
|
|
13
|
+
### Latest supported RN version [0.81.0](https://github.com/facebook/react-native/releases/tag/v0.81.0) 🎯
|
|
14
14
|
|
|
15
15
|
### Precondition: 📗
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
'Android Studio' >= Narwhal | 2025.1.1 🐳
|
|
18
|
+
|
|
19
|
+
`node` >= 20.19.4
|
|
18
20
|
|
|
19
21
|
`java` >= 17
|
|
20
22
|
|
|
@@ -39,6 +41,7 @@ See the below table to find out which version of the template to use.
|
|
|
39
41
|
|
|
40
42
|
| React Native | Template |
|
|
41
43
|
| ------------ | -------- |
|
|
44
|
+
| 0.81 | 1.0.51 |
|
|
42
45
|
| 0.80 | 1.0.49 |
|
|
43
46
|
| 0.79 | 1.0.43 |
|
|
44
47
|
| 0.78 | 1.0.34 |
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
buildscript {
|
|
2
2
|
ext {
|
|
3
|
-
buildToolsVersion = "
|
|
3
|
+
buildToolsVersion = "36.0.0"
|
|
4
4
|
minSdkVersion = 24
|
|
5
|
-
compileSdkVersion =
|
|
6
|
-
targetSdkVersion =
|
|
5
|
+
compileSdkVersion = 36
|
|
6
|
+
targetSdkVersion = 36
|
|
7
7
|
ndkVersion = "27.1.12297006"
|
|
8
8
|
kotlinVersion = "2.1.20"
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
distributionBase=GRADLE_USER_HOME
|
|
2
2
|
distributionPath=wrapper/dists
|
|
3
|
-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.
|
|
3
|
+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
|
|
4
4
|
networkTimeout=10000
|
|
5
5
|
validateDistributionUrl=true
|
|
6
6
|
zipStoreBase=GRADLE_USER_HOME
|
|
@@ -37,3 +37,8 @@ newArchEnabled=true
|
|
|
37
37
|
# Use this property to enable or disable the Hermes JS engine.
|
|
38
38
|
# If set to false, you will be using JSC instead.
|
|
39
39
|
hermesEnabled=true
|
|
40
|
+
|
|
41
|
+
# Use this property to enable edge-to-edge display support.
|
|
42
|
+
# This allows your app to draw behind system bars for an immersive UI.
|
|
43
|
+
# Note: Only works with ReactActivity and should not be used with custom Activity.
|
|
44
|
+
edgeToEdgeEnabled=false
|
package/template/package.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"version": "0.0.1",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
|
+
"postinstall": "patch-package",
|
|
6
7
|
"android": "react-native run-android --mode=productiondebug --appId=com.reactnativetemplate",
|
|
7
8
|
"ios": "react-native run-ios --scheme \"ReactNativeTemplate\"",
|
|
8
9
|
"lint": "eslint .",
|
|
@@ -33,29 +34,30 @@
|
|
|
33
34
|
"i18next": "24.2.2",
|
|
34
35
|
"mobx": "6.13.7",
|
|
35
36
|
"mobx-react-lite": "4.1.0",
|
|
37
|
+
"patch-package": "^8.0.0",
|
|
36
38
|
"react": "19.1.0",
|
|
37
39
|
"react-hook-form": "7.54.2",
|
|
38
40
|
"react-i18next": "15.4.1",
|
|
39
|
-
"react-native": "0.
|
|
40
|
-
"react-native-bootsplash": "6.3.
|
|
41
|
+
"react-native": "0.81.0",
|
|
42
|
+
"react-native-bootsplash": "6.3.10",
|
|
41
43
|
"react-native-config": "1.5.3",
|
|
42
|
-
"react-native-mmkv": "3.
|
|
43
|
-
"react-native-safe-area-context": "5.
|
|
44
|
-
"react-native-screens": "4.
|
|
45
|
-
"react-native-svg": "15.12.
|
|
44
|
+
"react-native-mmkv": "^3.3.0",
|
|
45
|
+
"react-native-safe-area-context": "^5.5.2",
|
|
46
|
+
"react-native-screens": "^4.14.1",
|
|
47
|
+
"react-native-svg": "^15.12.1",
|
|
46
48
|
"zod": "3.24.2"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
49
51
|
"@babel/core": "^7.25.2",
|
|
50
52
|
"@babel/preset-env": "^7.25.3",
|
|
51
53
|
"@babel/runtime": "^7.25.0",
|
|
52
|
-
"@react-native-community/cli": "
|
|
53
|
-
"@react-native-community/cli-platform-android": "
|
|
54
|
-
"@react-native-community/cli-platform-ios": "
|
|
55
|
-
"@react-native/babel-preset": "0.
|
|
56
|
-
"@react-native/eslint-config": "0.
|
|
57
|
-
"@react-native/metro-config": "0.
|
|
58
|
-
"@react-native/typescript-config": "0.
|
|
54
|
+
"@react-native-community/cli": "20.0.0",
|
|
55
|
+
"@react-native-community/cli-platform-android": "20.0.0",
|
|
56
|
+
"@react-native-community/cli-platform-ios": "20.0.0",
|
|
57
|
+
"@react-native/babel-preset": "0.81.0",
|
|
58
|
+
"@react-native/eslint-config": "0.81.0",
|
|
59
|
+
"@react-native/metro-config": "0.81.0",
|
|
60
|
+
"@react-native/typescript-config": "0.81.0",
|
|
59
61
|
"@types/jest": "^29.5.13",
|
|
60
62
|
"@types/metro-config": "^0.76.3",
|
|
61
63
|
"@types/react": "^19.1.0",
|
|
@@ -67,7 +69,7 @@
|
|
|
67
69
|
"jest": "29.6.3",
|
|
68
70
|
"prettier": "2.8.8",
|
|
69
71
|
"react-test-renderer": "19.1.0",
|
|
70
|
-
"typescript": "5.
|
|
72
|
+
"typescript": "^5.8.3"
|
|
71
73
|
},
|
|
72
74
|
"engines": {
|
|
73
75
|
"node": ">=18"
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
diff --git a/node_modules/react-native-mmkv/android/CMakeLists.txt b/node_modules/react-native-mmkv/android/CMakeLists.txt
|
|
2
|
+
index 9b7794c..945c10c 100644
|
|
3
|
+
--- a/node_modules/react-native-mmkv/android/CMakeLists.txt
|
|
4
|
+
+++ b/node_modules/react-native-mmkv/android/CMakeLists.txt
|
|
5
|
+
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.9.0)
|
|
6
|
+
project(ReactNativeMmkv)
|
|
7
|
+
|
|
8
|
+
set(CMAKE_VERBOSE_MAKEFILE ON)
|
|
9
|
+
-set(CMAKE_CXX_STANDARD 17)
|
|
10
|
+
+set(CMAKE_CXX_STANDARD 20)
|
|
11
|
+
|
|
12
|
+
# Compile sources
|
|
13
|
+
add_library(
|