Skip to content

Commit 912efeb

Browse files
Gerardoderekblank
authored andcommitted
Update FBReactNativeSpec
1 parent a609673 commit 912efeb

10 files changed

+14
-32
lines changed

bin/generate-podspecs.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,11 +170,12 @@ do
170170
# Making a temp copy of react_native_pods.rb
171171
cp $REACT_NATIVE_PODS_PATH $REACT_NATIVE_PODS_MODIFIED_PATH
172172
# Modify the get_react_codegen_spec method to return the result using print and JSON.pretty
173+
sed -i '' -e "s/:git => ''/:git => 'https:\/\/github.com\/facebook\/react-native.git', :tag => 'v$RN_VERSION'/" "$REACT_NATIVE_PODS_MODIFIED_PATH"
173174
sed -i '' -e 's/return spec/print JSON.pretty_generate(spec)/' "$REACT_NATIVE_PODS_MODIFIED_PATH"
174175
# Run get_react_codegen_spec and generate React-Codegen.podspec.json
175176
ruby -r "./scripts/react_native_pods_modified.rb" -e "get_react_codegen_spec" > "$DEST/React-Codegen.podspec.json"
176177
TMP_ReactCodeGenSpec=$(mktemp)
177-
jq 'del(.source) | .source_files = "third-party-podspecs/FBReactNativeSpec/**/*.{c,h,m,mm,cpp}"' "$DEST/React-Codegen.podspec.json" > "$TMP_ReactCodeGenSpec"
178+
jq '.source_files = "third-party-podspecs/FBReactNativeSpec/**/*.{c,h,m,mm,cpp}"' "$DEST/React-Codegen.podspec.json" > "$TMP_ReactCodeGenSpec"
178179
mv "$TMP_ReactCodeGenSpec" "$DEST/React-Codegen.podspec.json"
179180
# Remove temp copy of react_native_pods.rb
180181
rm $REACT_NATIVE_PODS_MODIFIED_PATH

third-party-podspecs/FBReactNativeSpec/FBReactNativeSpec.podspec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"compiler_flags": "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-nullability-completeness",
1212
"source": {
1313
"git": "https://github.com/wordpress-mobile/gutenberg-mobile.git",
14-
"commit": "02899f43c8c7b7d900b2c0cb2c7c9ef9c7959193",
14+
"commit": "0",
1515
"submodules": "true"
1616
},
1717
"header_dir": "FBReactNativeSpec",

third-party-podspecs/RNCClipboard.podspec.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"version": "1.9.0",
44
"summary": "React Native Clipboard API for macOS, iOS, Android, and Windows",
55
"license": "MIT",
6-
"authors": {
7-
"name": "M.Haris Baig",
8-
"email": "[email protected]"
9-
},
6+
"authors": "M.Haris Baig <[email protected]>",
107
"homepage": "https://github.com/react-native-clipboard/clipboard#readme",
118
"platforms": {
129
"ios": "9.0",

third-party-podspecs/RNCMaskedView.podspec.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"version": "0.2.6",
44
"summary": "React Native MaskedView component",
55
"license": "MIT",
6-
"authors": {
7-
"name": "Mike Nedosekin",
8-
"email": "[email protected]"
9-
},
6+
"authors": "Mike Nedosekin <[email protected]>",
107
"homepage": "https://github.com/react-native-masked-view/masked-view#readme",
118
"platforms": {
129
"ios": "9.0",

third-party-podspecs/React-Codegen.podspec.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
"license": "Unlicense",
77
"authors": "Facebook",
88
"compiler_flags": "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -Wno-nullability-completeness -std=c++17",
9+
"source": {
10+
"git": "https://github.com/facebook/react-native.git",
11+
"tag": "v0.69.4"
12+
},
913
"header_mappings_dir": "./",
1014
"platforms": {
1115
"ios": "11.0"

third-party-podspecs/react-native-blur.podspec.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
"summary": "React Native Blur component",
55
"homepage": "https://github.com/react-native-community/react-native-blur",
66
"license": "MIT",
7-
"authors": {
8-
"name": "Alexey Kureev",
9-
"email": "[email protected]",
10-
"url": "https://github.com/Kureev"
11-
},
7+
"authors": "Alexey Kureev <[email protected]> (https://github.com/Kureev)",
128
"platforms": {
139
"ios": "10.0"
1410
},

third-party-podspecs/react-native-keyboard-aware-scroll-view.podspec.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
"homepage": "https://github.com/APSL/react-native-keyboard-aware-scroll-view#readme",
55
"summary": "A React Native ScrollView component that resizes when the keyboard appears.",
66
"license": "MIT",
7-
"authors": {
8-
"name": "Alvaro Medina Ballester",
9-
"email": "[email protected]"
10-
},
7+
"authors": "Alvaro Medina Ballester <[email protected]>",
118
"platforms": {
129
"ios": "8.0"
1310
},

third-party-podspecs/react-native-safe-area-context.podspec.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"version": "3.2.0",
44
"summary": "A flexible way to handle safe area, also works on Android and web.",
55
"license": "MIT",
6-
"authors": {
7-
"name": "Janic Duplessis",
8-
"email": "[email protected]"
9-
},
6+
"authors": "Janic Duplessis <[email protected]>",
107
"homepage": "https://github.com/th3rdwave/react-native-safe-area-context#readme",
118
"platforms": {
129
"ios": "9.0",

third-party-podspecs/react-native-video.podspec.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
"summary": "A <Video /> element for react-native",
55
"description": "A <Video /> element for react-native",
66
"license": "MIT",
7-
"authors": {
8-
"name": "Brent Vatne",
9-
"email": "[email protected]",
10-
"url": "https://github.com/brentvatne"
11-
},
7+
"authors": "Brent Vatne <[email protected]> (https://github.com/brentvatne)",
128
"homepage": "https://github.com/react-native-community/react-native-video",
139
"source": {
1410
"git": "https://github.com/wordpress-mobile/react-native-video.git",

third-party-podspecs/react-native-webview.podspec.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"version": "11.6.2",
44
"summary": "React Native WebView component for iOS, Android, macOS, and Windows",
55
"license": "MIT",
6-
"authors": {
7-
"name": "Jamon Holmgren",
8-
"email": "[email protected]"
9-
},
6+
"authors": "Jamon Holmgren <[email protected]>",
107
"homepage": "https://github.com/react-native-webview/react-native-webview#readme",
118
"platforms": {
129
"ios": "9.0",

0 commit comments

Comments
 (0)