Skip to content

Commit daf8a89

Browse files
committed
Update for 0.64.2-2
1 parent f8ffd4b commit daf8a89

File tree

3 files changed

+20
-26
lines changed

3 files changed

+20
-26
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-template-typescript-tv",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Clean and minimalist React Native template for a quick start with TypeScript for Android TV and Apple TV.",
55
"scripts": {
66
"prepublishOnly": "npm --no-git-tag-version version $TRAVIS_TAG"

template/ios/Podfile

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@ target 'HelloWorld' do
1010

1111
config = use_native_modules!
1212

13-
use_react_native!(:path => config["reactNativePath"])
14-
15-
use_flipper_tvos!
16-
# If you want to use Flipper only for iOS, you can replace the line above with
17-
#
18-
# use_flipper!
19-
#
20-
# to pick up newer Flipper pods used in RN core 0.63.
21-
# They have not yet been adapted to work in tvOS.
22-
# use_flipper_tvos! works for both iOS and tvOS.
13+
use_react_native!(
14+
:path => config[:reactNativePath],
15+
# to enable hermes on iOS, change `false` to `true` and then install pods
16+
:hermes_enabled => false
17+
)
2318

2419
target 'HelloWorldTests' do
2520
inherit! :complete
@@ -34,10 +29,9 @@ target 'HelloWorld-tvOS' do
3429

3530
config = use_native_modules!
3631

32+
# Hermes not yet available on tvOS
3733
use_react_native!(:path => config["reactNativePath"])
3834

39-
use_flipper_tvos!
40-
4135
target 'HelloWorld-tvOSTests' do
4236
inherit! :complete
4337
# Pods for testing

template/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
1111
},
1212
"dependencies": {
13-
"react": "16.13.1",
14-
"react-native": "npm:react-native-tvos@0.63.1-3"
13+
"react": "17.0.1",
14+
"react-native": "npm:react-native-tvos@0.64.2-2"
1515
},
1616
"devDependencies": {
17-
"@babel/core": "^7.8.4",
18-
"@babel/runtime": "^7.8.4",
19-
"@react-native-community/eslint-config": "^1.1.0",
20-
"@types/jest": "^25.2.3",
21-
"@types/react-native": "^0.63.2",
22-
"@types/react-test-renderer": "^16.9.2",
23-
"babel-jest": "^25.1.0",
24-
"eslint": "^6.5.1",
25-
"jest": "^25.1.0",
26-
"metro-react-native-babel-preset": "^0.59.0",
27-
"react-test-renderer": "16.13.1",
17+
"@babel/core": "^7.12.9",
18+
"@babel/runtime": "^7.12.5",
19+
"@react-native-community/eslint-config": "^2.0.0",
20+
"@types/jest": "^26.0.24",
21+
"@types/react-native": "^0.64.2",
22+
"@types/react-test-renderer": "^17.0.1",
23+
"babel-jest": "^26.6.3",
24+
"eslint": "7.14.0",
25+
"jest": "^26.6.3",
26+
"metro-react-native-babel-preset": "^0.64.0",
27+
"react-test-renderer": "17.0.1",
2828
"typescript": "^3.8.3"
2929
},
3030
"jest": {

0 commit comments

Comments
 (0)