@computools/react-native-template-controller 1.0.14 → 1.0.16
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
CHANGED
@@ -10,7 +10,7 @@
|
|
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.73.
|
13
|
+
### Latest supported RN version [0.73.5](https://github.com/facebook/react-native/releases/tag/v0.73.5) 🎯
|
14
14
|
|
15
15
|
### Precondition: 📗
|
16
16
|
|
package/package.json
CHANGED
package/template/Gemfile
CHANGED
@@ -3,5 +3,7 @@ source 'https://rubygems.org'
|
|
3
3
|
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
|
4
4
|
ruby ">= 2.6.10"
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper
|
7
|
+
# bound in the template on Cocoapods with next React Native release.
|
8
|
+
gem 'cocoapods', '>= 1.13', '< 1.15'
|
9
|
+
gem 'activesupport', '>= 6.1.7.5', '< 7.1.0'
|
@@ -16,10 +16,10 @@ class MainApplication : Application(), ReactApplication {
|
|
16
16
|
|
17
17
|
override val reactNativeHost: ReactNativeHost =
|
18
18
|
object : DefaultReactNativeHost(this) {
|
19
|
-
override fun getPackages(): List<ReactPackage>
|
19
|
+
override fun getPackages(): List<ReactPackage> =
|
20
|
+
PackageList(this).packages.apply {
|
20
21
|
// Packages that cannot be autolinked yet can be added manually here, for example:
|
21
|
-
//
|
22
|
-
return PackageList(this).packages
|
22
|
+
// add(MyReactNativePackage())
|
23
23
|
}
|
24
24
|
|
25
25
|
override fun getJSMainModuleName(): String = "index"
|
package/template/package.json
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
"react": "18.2.0",
|
37
37
|
"react-hook-form": "7.49.2",
|
38
38
|
"react-i18next": "14.0.0",
|
39
|
-
"react-native": "0.73.
|
39
|
+
"react-native": "0.73.5",
|
40
40
|
"react-native-bootsplash": "4.5.3",
|
41
41
|
"react-native-config": "1.5.1",
|
42
42
|
"react-native-mmkv": "2.11.0",
|
@@ -50,9 +50,9 @@
|
|
50
50
|
"@babel/preset-env": "^7.20.0",
|
51
51
|
"@babel/runtime": "^7.20.0",
|
52
52
|
"@computools/eslint-config-react-native": "1.1.1",
|
53
|
-
"@react-native/babel-preset": "0.73.
|
54
|
-
"@react-native/eslint-config": "0.73.
|
55
|
-
"@react-native/metro-config": "0.73.
|
53
|
+
"@react-native/babel-preset": "0.73.21",
|
54
|
+
"@react-native/eslint-config": "0.73.2",
|
55
|
+
"@react-native/metro-config": "0.73.5",
|
56
56
|
"@react-native/typescript-config": "0.73.1",
|
57
57
|
"@types/jest": "^29.2.1",
|
58
58
|
"@types/metro-config": "^0.76.3",
|