react-native-macos 0.72.7 → 0.72.9
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/package.json +1 -1
- package/scripts/cocoapods/codegen.rb +5 -16
- package/template/package.json +1 -1
package/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -11,23 +11,12 @@
|
|
|
11
11
|
# - dir_manager: a class that implements the `Dir` interface. Defaults to `Dir`, the Dependency can be injected for testing purposes.
|
|
12
12
|
# @throws an error if it could not find the codegen folder.
|
|
13
13
|
def build_codegen!(react_native_path, relative_installation_root, dir_manager: Dir)
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
codegen_cli_path = ""
|
|
14
|
+
codegen_repo_path = "#{relative_installation_root}/#{react_native_path}/../react-native-codegen";
|
|
15
|
+
return unless dir_manager.exist?(codegen_repo_path) && !dir_manager.exist?("#{codegen_repo_path}/lib")
|
|
17
16
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
codegen_cli_path = codegen_npm_path
|
|
22
|
-
else
|
|
23
|
-
raise "[codegen] Could not find react-native-codegen."
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
if !dir_manager.exist?("#{codegen_cli_path}/lib")
|
|
27
|
-
Pod::UI.puts "[Codegen] building #{codegen_cli_path}."
|
|
28
|
-
system("#{codegen_cli_path}/scripts/oss/build.sh")
|
|
29
|
-
end
|
|
30
|
-
end
|
|
17
|
+
Pod::UI.puts "[Codegen] building #{codegen_repo_path}"
|
|
18
|
+
system("#{codegen_repo_path}/scripts/oss/build.sh")
|
|
19
|
+
end
|
|
31
20
|
|
|
32
21
|
# It generates an empty `ThirdPartyProvider`, required by Fabric to load the components
|
|
33
22
|
#
|