@computools/react-native-template-controller 1.0.34 → 1.0.35
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
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
### Usage: 🚛
|
22
22
|
```sh
|
23
|
-
npx @react-native-community/cli init MyApp --
|
23
|
+
npx @react-native-community/cli init MyApp --template @computools/react-native-template-controller
|
24
24
|
```
|
25
25
|
|
26
26
|
### Preview: 😍
|
package/package.json
CHANGED
package/template/package.json
CHANGED
@@ -23,8 +23,7 @@
|
|
23
23
|
"apk:stage": "cd android && ./gradlew clean && ./gradlew assembleStagingRelease",
|
24
24
|
"aab:dev": "cd android && ./gradlew clean && ./gradlew bundleDevelopmentRelease",
|
25
25
|
"aab:prod": "cd android && ./gradlew clean && ./gradlew bundleProductionRelease",
|
26
|
-
"aab:stage": "cd android && ./gradlew clean && ./gradlew bundleStagingRelease"
|
27
|
-
"postinstall": "patch-package"
|
26
|
+
"aab:stage": "cd android && ./gradlew clean && ./gradlew bundleStagingRelease"
|
28
27
|
},
|
29
28
|
"dependencies": {
|
30
29
|
"@hookform/resolvers": "3.3.4",
|
@@ -42,8 +41,8 @@
|
|
42
41
|
"react-native-config": "1.5.3",
|
43
42
|
"react-native-mmkv": "3.2.0",
|
44
43
|
"react-native-safe-area-context": "5.2.0",
|
45
|
-
"react-native-screens": "4.9.
|
46
|
-
"react-native-svg": "15.11.
|
44
|
+
"react-native-screens": "4.9.1",
|
45
|
+
"react-native-svg": "15.11.2",
|
47
46
|
"yup": "1.6.1"
|
48
47
|
},
|
49
48
|
"devDependencies": {
|
@@ -67,7 +66,6 @@
|
|
67
66
|
"eslint-import-resolver-babel-module": "5.3.2",
|
68
67
|
"jest": "29.6.3",
|
69
68
|
"prettier": "2.8.8",
|
70
|
-
"patch-package": "8.0.0",
|
71
69
|
"react-test-renderer": "19.0.0",
|
72
70
|
"typescript": "5.0.4"
|
73
71
|
},
|
@@ -1,16 +0,0 @@
|
|
1
|
-
diff --git a/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp b/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp
|
2
|
-
index a42fde9..7c66b93 100644
|
3
|
-
--- a/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp
|
4
|
-
+++ b/node_modules/react-native-svg/common/cpp/react/renderer/components/rnsvg/RNSVGLayoutableShadowNode.cpp
|
5
|
-
@@ -24,7 +24,10 @@ void RNSVGLayoutableShadowNode::setZeroDimensions() {
|
6
|
-
// views in the layout inspector when Yoga attempts to interpret SVG
|
7
|
-
// properties like width when viewBox scale is set.
|
8
|
-
auto style = yogaNode_.style();
|
9
|
-
-#if REACT_NATIVE_MINOR_VERSION >= 77
|
10
|
-
+#if REACT_NATIVE_MINOR_VERSION >= 78
|
11
|
-
+ style.setDimension(yoga::Dimension::Width, yoga::StyleSizeLength::points(0));
|
12
|
-
+ style.setDimension(yoga::Dimension::Height, yoga::StyleSizeLength::points(0));
|
13
|
-
+#elif REACT_NATIVE_MINOR_VERSION >= 77
|
14
|
-
style.setDimension(yoga::Dimension::Width, yoga::StyleLength::points(0));
|
15
|
-
style.setDimension(yoga::Dimension::Height, yoga::StyleLength::points(0));
|
16
|
-
#else
|