Skip to content

Commit d54d4b1

Browse files
authored
Support React Native 0.82 (#47)
1 parent db0a8dd commit d54d4b1

59 files changed

Lines changed: 7029 additions & 6021 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.8.1
1+
20.19.5

Example/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
22
root: true,
3-
extends: '@react-native-community',
3+
extends: '@react-native',
44
};

Example/.gitignore

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ DerivedData
2020
*.hmap
2121
*.ipa
2222
*.xcuserstate
23-
ios/.xcode.env.local
23+
**/.xcode.env.local
2424

2525
# Android/IntelliJ
2626
#
@@ -33,6 +33,7 @@ local.properties
3333
.cxx/
3434
*.keystore
3535
!debug.keystore
36+
.kotlin/
3637

3738
# node.js
3839
#
@@ -56,8 +57,19 @@ yarn-error.log
5657
*.jsbundle
5758

5859
# Ruby / CocoaPods
59-
/ios/Pods/
60+
**/Pods/
6061
/vendor/bundle/
6162

6263
# Temporary files created by Metro to check the health of the file watcher
6364
.metro-health-check*
65+
66+
# testing
67+
/coverage
68+
69+
# Yarn
70+
.yarn/*
71+
!.yarn/patches
72+
!.yarn/plugins
73+
!.yarn/releases
74+
!.yarn/sdks
75+
!.yarn/versions

Example/.node-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Example/.prettierrc.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module.exports = {
22
arrowParens: 'avoid',
3-
bracketSameLine: true,
4-
bracketSpacing: false,
53
singleQuote: true,
64
trailingComma: 'all',
75
};

Example/.ruby-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

Example/.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{}
1+
{}

Example/App.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import React from 'react';
2-
import {ScrollView} from 'react-native';
2+
import { ScrollView } from 'react-native';
33
import VectorImage from 'react-native-vector-image';
44

55
const App = () => (
66
<ScrollView
77
contentInsetAdjustmentBehavior="automatic"
8-
contentContainerStyle={{padding: 20}}>
8+
contentContainerStyle={{ padding: 20 }}
9+
>
910
<VectorImage source={require('./react.svg')} />
1011
</ScrollView>
1112
);

Example/Gemfile

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
source 'https://rubygems.org'
22

33
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4-
ruby File.read(File.join(__dir__, '.ruby-version')).strip
4+
ruby ">= 2.6.10"
55

6-
gem 'cocoapods', '~> 1.11', '>= 1.11.3'
6+
# Exclude problematic versions of cocoapods and activesupport that causes build failures.
7+
gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8+
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9+
gem 'xcodeproj', '< 1.26.0'
10+
gem 'concurrent-ruby', '< 1.3.4'
11+
12+
# Ruby 3.4.0 has removed some libraries from the standard library.
13+
gem 'bigdecimal'
14+
gem 'logger'
15+
gem 'benchmark'
16+
gem 'mutex_m'

Example/Gemfile.lock

Lines changed: 53 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,38 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.6)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
6-
activesupport (7.0.4.3)
7-
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
activesupport (7.2.2.2)
9+
base64
10+
benchmark (>= 0.3)
11+
bigdecimal
12+
concurrent-ruby (~> 1.0, >= 1.3.1)
13+
connection_pool (>= 2.2.5)
14+
drb
815
i18n (>= 1.6, < 2)
16+
logger (>= 1.4.2)
917
minitest (>= 5.1)
10-
tzinfo (~> 2.0)
11-
addressable (2.8.1)
12-
public_suffix (>= 2.0.2, < 6.0)
18+
securerandom (>= 0.3)
19+
tzinfo (~> 2.0, >= 2.0.5)
20+
addressable (2.8.7)
21+
public_suffix (>= 2.0.2, < 7.0)
1322
algoliasearch (1.27.5)
1423
httpclient (~> 2.8, >= 2.8.3)
1524
json (>= 1.5.1)
1625
atomos (0.1.3)
26+
base64 (0.3.0)
27+
benchmark (0.4.1)
28+
bigdecimal (3.3.0)
1729
claide (1.1.0)
18-
cocoapods (1.12.0)
30+
cocoapods (1.15.2)
1931
addressable (~> 2.8)
2032
claide (>= 1.0.2, < 2.0)
21-
cocoapods-core (= 1.12.0)
33+
cocoapods-core (= 1.15.2)
2234
cocoapods-deintegrate (>= 1.0.3, < 2.0)
23-
cocoapods-downloader (>= 1.6.0, < 2.0)
35+
cocoapods-downloader (>= 2.1, < 3.0)
2436
cocoapods-plugins (>= 1.0.0, < 2.0)
2537
cocoapods-search (>= 1.0.0, < 2.0)
2638
cocoapods-trunk (>= 1.6.0, < 2.0)
@@ -32,8 +44,8 @@ GEM
3244
molinillo (~> 0.8.0)
3345
nap (~> 1.0)
3446
ruby-macho (>= 2.3.0, < 3.0)
35-
xcodeproj (>= 1.21.0, < 2.0)
36-
cocoapods-core (1.12.0)
47+
xcodeproj (>= 1.23.0, < 2.0)
48+
cocoapods-core (1.15.2)
3749
activesupport (>= 5.0, < 8)
3850
addressable (~> 2.8)
3951
algoliasearch (~> 1.0)
@@ -44,7 +56,7 @@ GEM
4456
public_suffix (~> 4.0)
4557
typhoeus (~> 1.0)
4658
cocoapods-deintegrate (1.0.5)
47-
cocoapods-downloader (1.6.3)
59+
cocoapods-downloader (2.1)
4860
cocoapods-plugins (1.0.0)
4961
nap
5062
cocoapods-search (1.0.1)
@@ -53,46 +65,60 @@ GEM
5365
netrc (~> 0.11)
5466
cocoapods-try (1.2.0)
5567
colored2 (3.1.2)
56-
concurrent-ruby (1.2.2)
68+
concurrent-ruby (1.3.3)
69+
connection_pool (2.5.4)
70+
drb (2.2.3)
5771
escape (0.0.4)
58-
ethon (0.16.0)
72+
ethon (0.15.0)
5973
ffi (>= 1.15.0)
60-
ffi (1.15.5)
74+
ffi (1.17.2)
6175
fourflusher (2.3.1)
6276
fuzzy_match (2.0.4)
6377
gh_inspector (1.1.3)
64-
httpclient (2.8.3)
65-
i18n (1.12.0)
78+
httpclient (2.9.0)
79+
mutex_m
80+
i18n (1.14.7)
6681
concurrent-ruby (~> 1.0)
67-
json (2.6.3)
68-
minitest (5.18.0)
82+
json (2.15.1)
83+
logger (1.7.0)
84+
minitest (5.26.0)
6985
molinillo (0.8.0)
86+
mutex_m (0.3.0)
7087
nanaimo (0.3.0)
7188
nap (1.1.0)
7289
netrc (0.11.0)
90+
nkf (0.2.0)
7391
public_suffix (4.0.7)
74-
rexml (3.2.5)
92+
rexml (3.4.4)
7593
ruby-macho (2.5.1)
76-
typhoeus (1.4.0)
77-
ethon (>= 0.9.0)
94+
securerandom (0.4.1)
95+
typhoeus (1.5.0)
96+
ethon (>= 0.9.0, < 0.16.0)
7897
tzinfo (2.0.6)
7998
concurrent-ruby (~> 1.0)
80-
xcodeproj (1.22.0)
99+
xcodeproj (1.25.1)
81100
CFPropertyList (>= 2.3.3, < 4.0)
82101
atomos (~> 0.1.3)
83102
claide (>= 1.0.2, < 2.0)
84103
colored2 (~> 3.1)
85104
nanaimo (~> 0.3.0)
86-
rexml (~> 3.2.4)
105+
rexml (>= 3.3.6, < 4.0)
87106

88107
PLATFORMS
89108
ruby
90109

91110
DEPENDENCIES
92-
cocoapods (~> 1.11, >= 1.11.3)
111+
activesupport (>= 6.1.7.5, != 7.1.0)
112+
benchmark
113+
bigdecimal
114+
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
115+
concurrent-ruby (< 1.3.4)
116+
logger
117+
mutex_m
118+
xcodeproj (< 1.26.0)
93119

94120
RUBY VERSION
95-
ruby 2.7.6p219
121+
ruby 3.2.1p31
96122

97123
BUNDLED WITH
98-
2.1.4
124+
2.4.22

0 commit comments

Comments
 (0)