Skip to content

Commit

Permalink
Kinde React Native SDK >= 0.60
Browse files Browse the repository at this point in the history
  • Loading branch information
trunges21 committed Nov 24, 2022
0 parents commit a628f72
Show file tree
Hide file tree
Showing 98 changed files with 5,575 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript",
"module:metro-react-native-babel-preset"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions",
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-logical-assignment-operators",
"@babel/plugin-proposal-optional-chaining",
[
"@babel/plugin-proposal-pipeline-operator",
{
"proposal": "minimal"
}
],
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-do-expressions",
"@babel/plugin-proposal-function-bind"
]
}
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
dist
.DS_Store
coverage
27 changes: 27 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module.exports = {
env: {
browser: true,
es2021: true
},
globals: {
window: true,
module: true,
jest: true
},
extends: ['eslint:recommended', 'prettier'],
parserOptions: {
ecmaVersion: 13,
sourceType: 'module'
},
parser: '@babel/eslint-parser',
plugins: [],
rules: {
'no-prototype-builtins': 'off',
'no-useless-escape': 'off',
'no-undef': 'off',
'no-empty': 'off',
'no-redeclare': 'off',
'no-async-promise-executor': 'off',
'no-unused-vars': 'off'
}
};
94 changes: 94 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
node_modules

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml

# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# Lock files
package-lock.json
yarn.lock

# BUCK
buck-out/
\.buckd/
*.keystore

# fastlane
#
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
# screenshots whenever they are needed.
# For more information about the recommended setup visit:
# https://docs.fastlane.tools/best-practices/source-control/

*/fastlane/report.xml
*/fastlane/Preview.html
*/fastlane/screenshots

# Jest
.jest/
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
23 changes: 23 additions & 0 deletions .openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
58 changes: 58 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
.babelrc
.eslintignore
.eslintignore
.eslintrc.js
.gitignore
.husky/pre-commit
.openapi-generator-ignore
.prettierignore
.prettierrc.json
.travis.yml
.watchmanconfig
LICENSE
README.md
__tests__/index.spec.ts
android/app/BUCK
android/app/build.gradle
android/app/proguard-rules.pro
android/app/src/main/AndroidManifest.xml
android/app/src/main/java/com/kindesdkrn/MainActivity.java
android/app/src/main/java/com/kindesdkrn/MainApplication.java
android/build.gradle
android/gradle.properties
android/gradle/wrapper/gradle-wrapper.jar
android/gradle/wrapper/gradle-wrapper.properties
android/gradlew
android/gradlew.bat
android/settings.gradle
app.json
git_push.sh
ios/KindeSDKRN.xcodeproj/project.pbxproj
ios/KindeSDKRN.xcodeproj/xcshareddata/xcschemes/KindeSDKRN.xcscheme
ios/KindeSDKRN/AppDelegate.h
ios/KindeSDKRN/AppDelegate.m
ios/KindeSDKRN/Base.lproj/LaunchScreen.xib
ios/KindeSDKRN/Images.xcassets/AppIcon.appiconset/Contents.json
ios/KindeSDKRN/Images.xcassets/Contents.json
ios/KindeSDKRN/Info.plist
ios/KindeSDKRN/main.m
ios/KindeSDKRNTests/Info.plist
ios/KindeSDKRNTests/KindeSDKRNTests.m
mocha.opts
package.json
src/ApiClient.ts
src/SDK/KindeSDK.ts
src/SDK/OAuth/AuthorizationCode.ts
src/SDK/Storage/Base.ts
src/SDK/Storage/index.ts
src/SDK/Utils.ts
src/apis/UserApi.ts
src/apis/index.ts
src/common/exceptions/property-required.exception.ts
src/index.ts
src/models/User.ts
src/models/UserProfile.ts
src/models/Users.ts
src/models/index.ts
src/types/global.d.ts
tsconfig.json
1 change: 1 addition & 0 deletions .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
6.1.0-SNAPSHOT
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
8 changes: 8 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"tabWidth": 4,
"requireConfig": false,
"useTabs": false
}
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
language: node_js
cache: npm
node_js:
- '6'
- '6.1'
3 changes: 3 additions & 0 deletions .watchmanconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"ignore_dirs": [".git", "node_modules", null]
}
Loading

0 comments on commit a628f72

Please sign in to comment.