react-native-tvos 0.81.1-0 → 0.81.1-2
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/React/Base/RCTVersion.m
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-tvos",
|
|
3
|
-
"version": "0.81.1-
|
|
3
|
+
"version": "0.81.1-2",
|
|
4
4
|
"description": "A framework for building native apps using React",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
"whatwg-fetch": "^3.0.0",
|
|
199
199
|
"ws": "^6.2.3",
|
|
200
200
|
"yargs": "^17.6.2",
|
|
201
|
-
"@react-native-tvos/virtualized-lists": "0.81.1-
|
|
201
|
+
"@react-native-tvos/virtualized-lists": "0.81.1-2"
|
|
202
202
|
},
|
|
203
203
|
"codegenConfig": {
|
|
204
204
|
"libraries": [
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# LICENSE file in the root directory of this source tree.
|
|
5
5
|
|
|
6
6
|
require "json"
|
|
7
|
+
require_relative "../scripts/cocoapods/utils.rb"
|
|
7
8
|
|
|
8
9
|
begin
|
|
9
10
|
react_native_path = File.dirname(Pod::Executable.execute_command('node', ['-p',
|
|
@@ -20,12 +21,13 @@ end
|
|
|
20
21
|
# package.json
|
|
21
22
|
package = JSON.parse(File.read(File.join(react_native_path, "package.json")))
|
|
22
23
|
version = package['version']
|
|
24
|
+
core_version = ReactNativePodsUtils.core_version_for_tv_version(version)
|
|
23
25
|
|
|
24
26
|
source = ReactNativeDependenciesUtils.resolve_podspec_source()
|
|
25
27
|
|
|
26
28
|
Pod::Spec.new do |spec|
|
|
27
29
|
spec.name = 'ReactNativeDependencies'
|
|
28
|
-
spec.version =
|
|
30
|
+
spec.version = core_version
|
|
29
31
|
spec.summary = 'React Native Dependencies'
|
|
30
32
|
spec.description = 'ReactNativeDependencies is a podspec that contains all the third-party dependencies of React Native.'
|
|
31
33
|
spec.homepage = 'https://github.com/facebook/react-native'
|
|
@@ -82,7 +84,7 @@ Pod::Spec.new do |spec|
|
|
|
82
84
|
CONFIG="Debug"
|
|
83
85
|
fi
|
|
84
86
|
|
|
85
|
-
"$NODE_BINARY" "$REACT_NATIVE_PATH/third-party-podspecs/replace_dependencies_version.js" -c "$CONFIG" -r "#{
|
|
87
|
+
"$NODE_BINARY" "$REACT_NATIVE_PATH/third-party-podspecs/replace_dependencies_version.js" -c "$CONFIG" -r "#{core_version}" -p "$PODS_ROOT"
|
|
86
88
|
EOS
|
|
87
89
|
}
|
|
88
90
|
|