Skip to content
This repository was archived by the owner on Nov 27, 2022. It is now read-only.

Commit 64e03bf

Browse files
committed
chore: upgrade deps
1 parent ffc5c0f commit 64e03bf

15 files changed

+4600
-4964
lines changed

commitlint.config.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable import/no-commonjs */
2-
31
module.exports = {
42
extends: ['@commitlint/config-conventional'],
53
};

example/app.json

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,13 @@
44
"description": "Demonstrates the various capabilities of react-native-tab-view: https://github.com/react-native-community/react-native-tab-view",
55
"slug": "react-native-tab-view-demos",
66
"privacy": "public",
7-
"sdkVersion": "33.0.0",
7+
"sdkVersion": "35.0.0",
88
"version": "1.0.0",
99
"primaryColor": "#2196f3",
1010
"icon": "assets/icon.png",
1111
"loading": {
1212
"icon": "assets/icon.png",
1313
"hideExponentText": false
14-
},
15-
"packagerOpts": {
16-
"assetExts": [
17-
"ttf"
18-
],
19-
"config": "./metro.config.js",
20-
"projectRoots": ""
2114
}
2215
}
2316
}

example/metro.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-disable import/no-commonjs, import/no-extraneous-dependencies */
1+
/* eslint-disable import/no-extraneous-dependencies */
22

33
const path = require('path');
44
const blacklist = require('metro-config/src/defaults/blacklist');

example/package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@
99
"ios": "expo ios"
1010
},
1111
"dependencies": {
12-
"@expo/vector-icons": "^10.0.2",
13-
"expo": "^33.0.6",
14-
"expo-asset": "^5.0.1",
15-
"expo-constants": "^5.0.1",
16-
"expo-keep-awake": "~5.0.1",
17-
"react": "16.8.3",
18-
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
19-
"scheduler": "^0.14.0"
12+
"@expo/vector-icons": "^10.0.6",
13+
"expo": "^35.0.0",
14+
"expo-asset": "^7.0.0",
15+
"expo-constants": "^7.0.0",
16+
"expo-keep-awake": "~7.0.0",
17+
"react": "~16.8.3",
18+
"react-native": "https://github.com/expo/react-native/archive/sdk-35.0.0.tar.gz",
19+
"react-native-gesture-handler": "~1.3.0",
20+
"react-native-reanimated": "~1.2.0",
21+
"scheduler": "^0.16.2"
2022
},
2123
"devDependencies": {
2224
"babel-plugin-module-resolver": "^3.2.0",
23-
"babel-preset-expo": "^5.2.0",
24-
"expo-cli": "^2.20.1"
25+
"babel-preset-expo": "^7.0.0",
26+
"expo-cli": "^3.2.3"
2527
},
2628
"resolutions": {
2729
"@babel/runtime": "7.3.1"

example/src/AutoWidthTabBarExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default class DynamicWidthTabBarExample extends React.Component<
2121
{},
2222
State
2323
> {
24+
// eslint-disable-next-line react/sort-comp
2425
static title = 'Scrollable tab bar (auto width)';
2526
static backgroundColor = '#3f51b5';
2627
static appbarElevation = 0;

example/src/CustomIndicatorExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type Route = {
2222
type State = NavigationState<Route>;
2323

2424
export default class CustomIndicatorExample extends React.Component<{}, State> {
25+
// eslint-disable-next-line react/sort-comp
2526
static title = 'Custom indicator';
2627
static backgroundColor = '#263238';
2728
static appbarElevation = 4;

example/src/CustomTabBarExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ type Route = {
2222
type State = NavigationState<Route>;
2323

2424
export default class CustomTabBarExample extends React.Component<{}, State> {
25+
// eslint-disable-next-line react/sort-comp
2526
static title = 'Custom tab bar';
2627
static backgroundColor = '#fafafa';
2728
static tintColor = '#263238';

example/src/ScrollableTabBarExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export default class ScrollableTabBarExample extends React.Component<
2121
{},
2222
State
2323
> {
24+
// eslint-disable-next-line react/sort-comp
2425
static title = 'Scrollable tab bar';
2526
static backgroundColor = '#3f51b5';
2627
static appbarElevation = 0;

example/src/Shared/Albums.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default class Albums extends React.Component {
2020
contentContainerStyle={styles.content}
2121
>
2222
{COVERS.map((source, i) => (
23+
// eslint-disable-next-line react/no-array-index-key
2324
<Image key={i} source={source} style={styles.cover} />
2425
))}
2526
</ScrollView>

example/src/Shared/Chat.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export default class Chat extends React.Component {
2828

2929
return (
3030
<View
31+
// eslint-disable-next-line react/no-array-index-key
3132
key={i}
3233
style={[odd ? styles.odd : styles.even, styles.inverted]}
3334
>

example/src/TabBarIconExample.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ type Route = {
2020
type State = NavigationState<Route>;
2121

2222
export default class TabBarIconExample extends React.Component<{}, State> {
23+
// eslint-disable-next-line react/sort-comp
2324
static title = 'Top tab bar with icons';
2425
static backgroundColor = '#e91e63';
2526
static appbarElevation = 0;

0 commit comments

Comments
 (0)