Skip to content

Commit 1acf899

Browse files
committed
build(deps): yarn upgrade --latest except typedoc
1 parent 61302d9 commit 1acf899

File tree

5 files changed

+4181
-622
lines changed

5 files changed

+4181
-622
lines changed

.github/workflows/tests_e2e.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
timeout_minutes: 15
7979
retry_wait_seconds: 60
8080
max_attempts: 3
81-
command: yarn build:example:android
81+
command: yarn example:build:android
8282

8383
# ------------------
8484
# iOS
@@ -144,5 +144,5 @@ jobs:
144144

145145
- name: Build iOS App
146146
run: |
147-
yarn build:example:ios
147+
yarn example:build:ios
148148
shell: bash

package.json

+19-15
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,19 @@
66
"main": "lib/index.js",
77
"types": "lib/index.d.ts",
88
"scripts": {
9-
"tsc:compile": "npx tsc --noEmit",
9+
"tsc:compile": "tsc --noEmit",
1010
"build": "genversion --semi lib/version.js",
11-
"build:all": "yarn build:clean && yarn build && yarn build:example:android && yarn build:example:ios",
12-
"build:example:android": "cd example/android && ./gradlew assembleDebug",
13-
"build:example:ios": "cd example && (xcodebuild -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES || true)",
11+
"build:all": "yarn build:clean && yarn build && yarn example:build:android && yarn example:build:ios",
1412
"build:clean": "rimraf ios/build android/build example/android/app/build example/ios/build",
1513
"build:docs": "typedoc --includeDeclarations --excludeExternals --out docs --plugin typedoc-plugin-markdown --hideBreadcrumbs",
1614
"precommit": "yarn prepare && yarn build:all",
17-
"prepare": "yarn tsc:compile && yarn prepare:example",
18-
"prepare:example": "cd example && yarn && cd ios && (pod install || true)",
15+
"prepare": "yarn tsc:compile && yarn example:prepare",
16+
"example:prepare": "cd example && yarn && cd ios && (pod install || true)",
17+
"example:build:android": "cd example/android && ./gradlew assembleDebug",
18+
"example:build:ios": "cd example && (xcodebuild -workspace ios/testing.xcworkspace -scheme testing -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -UseModernBuildSystem=YES || true)",
19+
"example:start": "cd example && yarn start",
20+
"example:ios": "cd example && yarn ios",
21+
"example:android": "cd example && yarn android",
1922
"shipit": "yarn np"
2023
},
2124
"repository": {
@@ -37,16 +40,17 @@
3740
"apple authentication"
3841
],
3942
"devDependencies": {
40-
"@react-native-community/eslint-config": "^2.0.0",
41-
"@types/react": "16.9.56",
42-
"@types/react-native": "0.63.35",
43-
"genversion": "^2.2.1",
44-
"np": "^7.0.0",
45-
"prettier": "^2.1.2",
43+
"@react-native-community/eslint-config": "^3.0.1",
44+
"@types/react": "17.0.33",
45+
"@types/react-native": "0.66.2",
46+
"genversion": "^3.0.2",
47+
"np": "^7.5.0",
48+
"prettier": "^2.4.1",
49+
"react-native": "^0.66.1",
4650
"rimraf": "^3.0.2",
47-
"typedoc": "^0.19.2",
48-
"typedoc-plugin-markdown": "^3.0.11",
49-
"typescript": "^4.0.5"
51+
"typedoc": "^0.19",
52+
"typedoc-plugin-markdown": "~3.0",
53+
"typescript": "^4.4.4"
5054
},
5155
"publishConfig": {
5256
"access": "public"

tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"jsx": "react",
1010
"sourceMap": true,
1111
"esModuleInterop": true,
12-
"skipLibCheck": false,
12+
"skipLibCheck": true,
1313
"strict": true,
1414
"noUnusedLocals": true,
1515
"noUnusedParameters": true,

type-test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async function onAppleButtonPressAndroid() {
6868
console.log(response.user?.name?.firstName);
6969
console.log(response.user?.name?.lastName);
7070
console.log(response.user?.email);
71-
} catch (error) {
71+
} catch (error: any) {
7272
if (error && error.message) {
7373
switch (error.message) {
7474
case appleAuthAndroid.Error.NOT_CONFIGURED:

0 commit comments

Comments
 (0)