Skip to content

Commit 18826cd

Browse files
committed
refactor structure to comply with react-native 0.60.+
1 parent 5c31132 commit 18826cd

File tree

113 files changed

+5654
-24352
lines changed

Some content is hidden

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

113 files changed

+5654
-24352
lines changed

.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.babelrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
presets: ['module:metro-react-native-babel-preset'],
3+
sourceMaps: true
4+
};

.circleci/config.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@ jobs:
77
- checkout
88

99
- restore_cache:
10-
key: yarn-v1-{{ checksum "yarn.lock" }}
10+
key: yarn-v2-{{ checksum "yarn.lock" }}
1111
- restore_cache:
12-
key: node-v1-{{ checksum "package.json" }}
12+
key: node-v2-{{ checksum "package.json" }}
1313
- run: yarn install
1414
- save_cache:
15-
key: yarn-v1-{{ checksum "yarn.lock" }}
15+
key: yarn-v2-{{ checksum "yarn.lock" }}
1616
paths:
1717
- ~/.cache/yarn
1818
- save_cache:
19-
key: node-v1-{{ checksum "package.json" }}
19+
key: node-v2-{{ checksum "package.json" }}
2020
paths:
2121
- node_modules
2222

23-
- run: yarn run test:ci
23+
- run: yarn run test:ci
24+
- run: bash <(curl -s https://codecov.io/bash) -f coverage/coverage-final.json

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@react-native-community',
4+
};

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.pbxproj -text

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @auth0/sdk-team-approvers
1+
* @auth0/sdk-team-approvers

.github/ISSUE_TEMPLATE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Description of the bug or feature request and why it's a problem. Consider inclu
1111

1212
### Prerequisites
1313

14-
* [ ] Did you check the documentation? [Add a link]
15-
* [ ] Did you check the [Auth0 Community](https://community.auth0.com/)?
16-
* [ ] Are you reporting this to the correct repository?
17-
* [ ] Are there any related or duplicate Issues or PRs for this issue?
14+
- [ ] Did you check the documentation? [Add a link]
15+
- [ ] Did you check the [Auth0 Community](https://community.auth0.com/)?
16+
- [ ] Are you reporting this to the correct repository?
17+
- [ ] Are there any related or duplicate Issues or PRs for this issue?
1818

1919
### Environment
2020

@@ -34,4 +34,4 @@ Please include:
3434
- Application settings (redact/remove sensitive information)
3535
- React Native log information and HTTP request traces. Remember to obfuscate sensitive information.
3636
- Code snippet or sample project that reproduces the bug
37-
- Screenshots when appropriate
37+
- Screenshots when appropriate

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Please note any links that are not publicly accessible.
2222

2323
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
2424

25-
* [ ] This change adds unit test coverage
26-
* [ ] This change has been tested on the latest version of the platform/language or why not
25+
- [ ] This change adds unit test coverage
26+
- [ ] This change has been tested on the latest version of the platform/language or why not
2727

2828
### Checklist
2929

30-
* [ ] I have read the [Auth0 general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
31-
* [ ] All existing and new tests complete without errors
32-
* [ ] All active GitHub checks have passed
30+
- [ ] I have read the [Auth0 general contribution guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
31+
- [ ] All existing and new tests complete without errors
32+
- [ ] All active GitHub checks have passed

.gitignore

Lines changed: 30 additions & 207 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,9 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
6-
# Runtime data
7-
pids
8-
*.pid
9-
*.seed
10-
11-
# Directory for instrumented libs generated by jscoverage/JSCover
12-
lib-cov
13-
14-
# Coverage directory used by tools like istanbul
15-
coverage
16-
17-
# nyc test coverage
18-
.nyc_output
19-
20-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
21-
.grunt
22-
23-
# node-waf configuration
24-
.lock-wscript
25-
26-
# Compiled binary addons (http://nodejs.org/api/addons.html)
27-
build/Release
28-
29-
# Dependency directories
30-
node_modules
31-
jspm_packages
32-
33-
# Optional npm cache directory
34-
.npm
35-
36-
# Optional REPL history
37-
.node_repl_history
38-
39-
# OS X
1+
# OSX
2+
#
403
.DS_Store
414

42-
# Auth0
43-
Auth0.plist
44-
!Auth0Tests/Auth0.plist
45-
465
# Xcode
6+
#
477
build/
488
*.pbxuser
499
!default.pbxuser
@@ -55,188 +15,51 @@ build/
5515
!default.perspectivev3
5616
xcuserdata
5717
*.xccheckout
58-
profile
5918
*.moved-aside
6019
DerivedData
6120
*.hmap
6221
*.ipa
63-
64-
# Bundler
65-
.bundle
66-
67-
Pods/
68-
Carthage/Checkouts
69-
!Carthage/Build
70-
# Xcode
71-
#
72-
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
73-
74-
## Build generated
75-
build/
76-
DerivedData/
77-
78-
## Various settings
79-
*.pbxuser
80-
!default.pbxuser
81-
*.mode1v3
82-
!default.mode1v3
83-
*.mode2v3
84-
!default.mode2v3
85-
*.perspectivev3
86-
!default.perspectivev3
87-
xcuserdata/
88-
89-
## Other
90-
*.moved-aside
9122
*.xcuserstate
23+
project.xcworkspace
9224

93-
## Obj-C/Swift specific
94-
*.hmap
95-
*.ipa
96-
97-
## Playgrounds
98-
timeline.xctimeline
99-
playground.xcworkspace
100-
101-
# Swift Package Manager
102-
#
103-
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
104-
# Packages/
105-
.build/
106-
107-
# CocoaPods
25+
# Android/IntelliJ
10826
#
109-
# We recommend against adding the Pods directory to your .gitignore. However
110-
# you should judge for yourself, the pros and cons are mentioned at:
111-
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
112-
#
113-
# Pods/
27+
build/
28+
.idea
29+
.gradle
30+
local.properties
31+
*.iml
11432

115-
# Carthage
33+
# node.js
11634
#
117-
# Add this line if you want to avoid checking in source code from Carthage dependencies.
118-
# Carthage/Checkouts
35+
node_modules/
36+
npm-debug.log
37+
yarn-error.log
11938

120-
Carthage/Build
121-
.carthage_cache.yml
39+
# BUCK
40+
buck-out/
41+
\.buckd/
42+
*.keystore
12243

12344
# fastlane
12445
#
12546
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
12647
# screenshots whenever they are needed.
12748
# For more information about the recommended setup visit:
128-
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
129-
130-
fastlane/report.xml
131-
fastlane/Preview.html
132-
fastlane/screenshots
133-
fastlane/test_output
134-
135-
# AppCode
136-
#
137-
#
138-
.idea/
139-
140-
# Created by https://www.gitignore.io/api/intellij,android,osx,windows
141-
142-
### Intellij ###
143-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
144-
145-
*.iml
146-
147-
## Directory-based project format:
148-
.idea/
149-
# if you remove the above rule, at least ignore the following:
150-
151-
# User-specific stuff:
152-
# .idea/workspace.xml
153-
# .idea/tasks.xml
154-
# .idea/dictionaries
155-
# .idea/shelf
156-
157-
# Sensitive or high-churn files:
158-
# .idea/dataSources.ids
159-
# .idea/dataSources.xml
160-
# .idea/sqlDataSources.xml
161-
# .idea/dynamic.xml
162-
# .idea/uiDesigner.xml
163-
164-
# Gradle:
165-
# .idea/gradle.xml
166-
# .idea/libraries
167-
168-
# Mongo Explorer plugin:
169-
# .idea/mongoSettings.xml
170-
171-
## File-based project format:
172-
*.ipr
173-
*.iws
174-
175-
## Plugin-specific files:
49+
# https://docs.fastlane.tools/best-practices/source-control/
17650

177-
# IntelliJ
178-
/out/
51+
*/fastlane/report.xml
52+
*/fastlane/Preview.html
53+
*/fastlane/screenshots
17954

180-
# mpeltonen/sbt-idea plugin
181-
.idea_modules/
55+
# Bundle artifact
56+
*.jsbundle
18257

183-
# JIRA plugin
184-
atlassian-ide-plugin.xml
185-
186-
# Crashlytics plugin (for Android Studio and IntelliJ)
187-
com_crashlytics_export_strings.xml
188-
crashlytics.properties
189-
crashlytics-build.properties
190-
fabric.properties
191-
192-
193-
### Android ###
194-
# Built application files
195-
*.apk
196-
*.ap_
197-
198-
# Files for the Dalvik VM
199-
*.dex
200-
201-
# Java class files
202-
*.class
203-
204-
# Generated files
205-
bin/
206-
gen/
207-
208-
# Gradle files
209-
.gradle/
210-
build/
211-
212-
# Local configuration file (sdk path, etc)
213-
local.properties
214-
215-
# Log Files
216-
*.log
217-
218-
# Android Studio Navigation editor temp files
219-
.navigation/
220-
221-
# Android Studio captures folder
222-
captures/
223-
224-
### Android Patch ###
225-
gen-external-apklibs
226-
227-
228-
### OSX ###
229-
.DS_Store
230-
231-
# Files that might appear in the root of a volume
232-
.DocumentRevisions-V100
233-
.fseventsd
234-
.Spotlight-V100
235-
.TemporaryItems
236-
.Trashes
58+
# CocoaPods
59+
/ios/Pods/
23760

238-
# Release process
239-
.release
240-
.release-tmp-*/
61+
# Coverage
62+
coverage/
24163

242-
.project
64+
# Temp files
65+
out/

0 commit comments

Comments
 (0)