Skip to content

Commit 26b0684

Browse files
authored
⬆️ (Upgrade): Upgrade dependencies (#289)
1 parent dd5720f commit 26b0684

18 files changed

+900
-524
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thecodingmachine/react-native-boilerplate",
3-
"version": "3.2.5",
3+
"version": "3.3.0",
44
"description": "TheCodingMachine React Native Boilerplate",
55
"repository": {
66
"type": "git",

template/.bundle/config

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BUNDLE_PATH: "vendor/bundle"
2+
BUNDLE_FORCE_RUBY_PLATFORM: 1

template/.editorconfig

-3
This file was deleted.

template/.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7.4

template/Gemfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
source 'https://rubygems.org'
2+
3+
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4+
ruby '2.7.4'
5+
6+
gem 'cocoapods', '~> 1.11', '>= 1.11.2'

template/Gemfile.lock

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.5)
5+
rexml
6+
activesupport (6.1.5)
7+
concurrent-ruby (~> 1.0, >= 1.0.2)
8+
i18n (>= 1.6, < 2)
9+
minitest (>= 5.1)
10+
tzinfo (~> 2.0)
11+
zeitwerk (~> 2.3)
12+
addressable (2.8.0)
13+
public_suffix (>= 2.0.2, < 5.0)
14+
algoliasearch (1.27.5)
15+
httpclient (~> 2.8, >= 2.8.3)
16+
json (>= 1.5.1)
17+
atomos (0.1.3)
18+
claide (1.1.0)
19+
cocoapods (1.11.3)
20+
addressable (~> 2.8)
21+
claide (>= 1.0.2, < 2.0)
22+
cocoapods-core (= 1.11.3)
23+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
24+
cocoapods-downloader (>= 1.4.0, < 2.0)
25+
cocoapods-plugins (>= 1.0.0, < 2.0)
26+
cocoapods-search (>= 1.0.0, < 2.0)
27+
cocoapods-trunk (>= 1.4.0, < 2.0)
28+
cocoapods-try (>= 1.1.0, < 2.0)
29+
colored2 (~> 3.1)
30+
escape (~> 0.0.4)
31+
fourflusher (>= 2.3.0, < 3.0)
32+
gh_inspector (~> 1.0)
33+
molinillo (~> 0.8.0)
34+
nap (~> 1.0)
35+
ruby-macho (>= 1.0, < 3.0)
36+
xcodeproj (>= 1.21.0, < 2.0)
37+
cocoapods-core (1.11.3)
38+
activesupport (>= 5.0, < 7)
39+
addressable (~> 2.8)
40+
algoliasearch (~> 1.0)
41+
concurrent-ruby (~> 1.1)
42+
fuzzy_match (~> 2.0.4)
43+
nap (~> 1.0)
44+
netrc (~> 0.11)
45+
public_suffix (~> 4.0)
46+
typhoeus (~> 1.0)
47+
cocoapods-deintegrate (1.0.5)
48+
cocoapods-downloader (1.5.1)
49+
cocoapods-plugins (1.0.0)
50+
nap
51+
cocoapods-search (1.0.1)
52+
cocoapods-trunk (1.6.0)
53+
nap (>= 0.8, < 2.0)
54+
netrc (~> 0.11)
55+
cocoapods-try (1.2.0)
56+
colored2 (3.1.2)
57+
concurrent-ruby (1.1.9)
58+
escape (0.0.4)
59+
ethon (0.15.0)
60+
ffi (>= 1.15.0)
61+
ffi (1.15.5)
62+
fourflusher (2.3.1)
63+
fuzzy_match (2.0.4)
64+
gh_inspector (1.1.3)
65+
httpclient (2.8.3)
66+
i18n (1.10.0)
67+
concurrent-ruby (~> 1.0)
68+
json (2.6.1)
69+
minitest (5.15.0)
70+
molinillo (0.8.0)
71+
nanaimo (0.3.0)
72+
nap (1.1.0)
73+
netrc (0.11.0)
74+
public_suffix (4.0.6)
75+
rexml (3.2.5)
76+
ruby-macho (2.5.1)
77+
typhoeus (1.4.0)
78+
ethon (>= 0.9.0)
79+
tzinfo (2.0.4)
80+
concurrent-ruby (~> 1.0)
81+
xcodeproj (1.21.0)
82+
CFPropertyList (>= 2.3.3, < 4.0)
83+
atomos (~> 0.1.3)
84+
claide (>= 1.0.2, < 2.0)
85+
colored2 (~> 3.1)
86+
nanaimo (~> 0.3.0)
87+
rexml (~> 3.2.4)
88+
zeitwerk (2.5.4)
89+
PLATFORMS
90+
ruby
91+
DEPENDENCIES
92+
cocoapods (~> 1.11, >= 1.11.2)
93+
RUBY VERSION
94+
ruby 2.7.4p191
95+
BUNDLED WITH
96+
2.2.27

template/_flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ untyped-import
6262
untyped-type-import
6363

6464
[version]
65-
^0.158.0
65+
^0.162.0

template/_gitattributes

-3
This file was deleted.

template/_ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.7.4

template/android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def jscFlavor = 'org.webkit:android-jsc:+'
114114
/**
115115
* Whether to enable the Hermes VM.
116116
*
117-
* This should be set on project.ext.react and mirrored here. If it is not set
117+
* This should be set on project.ext.react and that value will be read here. If it is not set
118118
* on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
119119
* and the benefits of using Hermes will therefore be sharply reduced.
120120
*/

template/android/build.gradle

+7-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ buildscript {
2121

2222
allprojects {
2323
repositories {
24-
mavenCentral()
25-
mavenLocal()
2624
maven {
2725
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
2826
url("$rootDir/../node_modules/react-native/android")
@@ -31,7 +29,13 @@ allprojects {
3129
// Android JSC is installed from npm
3230
url("$rootDir/../node_modules/jsc-android/dist")
3331
}
34-
32+
mavenCentral {
33+
// We don't want to fetch react-native from Maven Central as there are
34+
// older versions over there.
35+
content {
36+
excludeGroup "com.facebook.react"
37+
}
38+
}
3539
google()
3640
maven { url 'https://www.jitpack.io' }
3741
}

template/android/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Specifies the JVM arguments used for the daemon process.
1111
# The setting is particularly useful for tweaking memory settings.
12-
# Default value: -Xmx10248m -XX:MaxPermSize=256m
12+
# Default value: -Xmx1024m -XX:MaxPermSize=256m
1313
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
1414

1515
# When configured, Gradle will run in incubating parallel mode.
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

template/ios/Boilerplate.xcodeproj/project.pbxproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@
843843
COPY_PHASE_STRIP = NO;
844844
ENABLE_STRICT_OBJC_MSGSEND = YES;
845845
ENABLE_TESTABILITY = YES;
846-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 i386";
846+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
847847
GCC_C_LANGUAGE_STANDARD = gnu99;
848848
GCC_DYNAMIC_NO_PIC = NO;
849849
GCC_NO_COMMON_BLOCKS = YES;
@@ -865,8 +865,8 @@
865865
"$(inherited)",
866866
);
867867
LIBRARY_SEARCH_PATHS = (
868+
"$(SDKROOT)/usr/lib/swift",
868869
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
869-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
870870
"\"$(inherited)\"",
871871
);
872872
MTL_ENABLE_DEBUG_INFO = YES;
@@ -907,7 +907,7 @@
907907
COPY_PHASE_STRIP = YES;
908908
ENABLE_NS_ASSERTIONS = NO;
909909
ENABLE_STRICT_OBJC_MSGSEND = YES;
910-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 i386";
910+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386;
911911
GCC_C_LANGUAGE_STANDARD = gnu99;
912912
GCC_NO_COMMON_BLOCKS = YES;
913913
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
@@ -922,8 +922,8 @@
922922
"$(inherited)",
923923
);
924924
LIBRARY_SEARCH_PATHS = (
925+
"$(SDKROOT)/usr/lib/swift",
925926
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
926-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
927927
"\"$(inherited)\"",
928928
);
929929
MTL_ENABLE_DEBUG_INFO = NO;

0 commit comments

Comments
 (0)