Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

chore: upgrade APP to 2.39.0 #347

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .buckconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
target = Google Inc.:Google APIs:23

[maven_repositories]
central = https://repo1.maven.org/maven2
central = https://repo1.maven.org/maven2
11 changes: 6 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
extends: [
'@apollosproject/eslint-config/client',
],
}

root: true,
extends: ['@react-native-community', 'plugin:react/jsx-runtime'],
env: {
'jest/globals': true,
},
};
65 changes: 65 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
[ignore]
; We fork some components by platform
.*/*[.]android.js

; Ignore "BUCK" generated dirs
<PROJECT_ROOT>/\.buckd/

; Ignore polyfills
node_modules/react-native/Libraries/polyfills/.*

; Flow doesn't support platforms
.*/Libraries/Utilities/LoadingView.js

[untyped]
.*/node_modules/@react-native-community/cli/.*/.*

[include]

[libs]
node_modules/react-native/interface.js
node_modules/react-native/flow/

[options]
emoji=true

exact_by_default=true

format.bracket_spacing=false

module.file_ext=.js
module.file_ext=.json
module.file_ext=.ios.js

munge_underscores=true

module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/node_modules/react-native/\1'
module.name_mapper='^@?[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> '<PROJECT_ROOT>/node_modules/react-native/Libraries/Image/RelativeImageStub'

suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FlowFixMeProps
suppress_type=$FlowFixMeState

[lints]
sketchy-null-number=warn
sketchy-null-mixed=warn
sketchy-number=warn
untyped-type-import=warn
nonstrict-import=warn
deprecated-type=warn
unsafe-getters-setters=warn
unnecessary-invariant=warn
signature-verification-failure=warn

[strict]
deprecated-type
nonstrict-import
sketchy-null
unclear-type
unsafe-getters-setters
untyped-import
untyped-type-import

[version]
^0.158.0
4 changes: 3 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.pbxproj -text
# Windows files should use crlf line endings
# https://help.github.com/articles/dealing-with-line-endings/
*.bat text eol=crlf
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ keystore.properties
apolloskeystoreupload.keystore
local.properties
*.iml
*.hprof

# Xcode
build/
Expand All @@ -133,7 +134,6 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# misc
.env.local
Expand All @@ -148,7 +148,11 @@ project.xcworkspace
fastlane/report.xml

# symbols
newspringchurchapp.app.dSYM.zip
*.app.dSYM.zip

# iOS keys
push.pem
*.p8

# Google Play authentication key
key.json
Expand All @@ -158,5 +162,4 @@ key.json
.env.shared

# GraphQL info
schema.graphql
fragmentTypes.json
fragmentTypes.json
7 changes: 7 additions & 0 deletions .prettier.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
bracketSpacing: true, // custom for Apollos, RN defaults to 'false'
jsxBracketSameLine: false, // custom for Apollos, RN defaults to 'true'
singleQuote: true,
trailingComma: 'es5', // custom for Apollos, RN defaults to 'all'
arrowParens: 'always', // custom for Apollos, RN defaults to 'avoid'
};
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'https://rubygems.org'
gem 'cocoapods', '1.10.1'
gem 'fastlane', '2.179.0'
gem 'cocoapods', '1.11.2'
gem 'fastlane', '2.197.0'
Loading