Skip to content

Commit

Permalink
Update for 0.64.2-2
Browse files Browse the repository at this point in the history
  • Loading branch information
douglowder committed Aug 6, 2021
1 parent f8ffd4b commit daf8a89
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-template-typescript-tv",
"version": "0.0.1",
"version": "0.0.2",
"description": "Clean and minimalist React Native template for a quick start with TypeScript for Android TV and Apple TV.",
"scripts": {
"prepublishOnly": "npm --no-git-tag-version version $TRAVIS_TAG"
Expand Down
18 changes: 6 additions & 12 deletions template/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,11 @@ target 'HelloWorld' do

config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

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

target 'HelloWorldTests' do
inherit! :complete
Expand All @@ -34,10 +29,9 @@ target 'HelloWorld-tvOS' do

config = use_native_modules!

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

use_flipper_tvos!

target 'HelloWorld-tvOSTests' do
inherit! :complete
# Pods for testing
Expand Down
26 changes: 13 additions & 13 deletions template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"react": "16.13.1",
"react-native": "npm:react-native-tvos@0.63.1-3"
"react": "17.0.1",
"react-native": "npm:react-native-tvos@0.64.2-2"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/runtime": "^7.8.4",
"@react-native-community/eslint-config": "^1.1.0",
"@types/jest": "^25.2.3",
"@types/react-native": "^0.63.2",
"@types/react-test-renderer": "^16.9.2",
"babel-jest": "^25.1.0",
"eslint": "^6.5.1",
"jest": "^25.1.0",
"metro-react-native-babel-preset": "^0.59.0",
"react-test-renderer": "16.13.1",
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@types/jest": "^26.0.24",
"@types/react-native": "^0.64.2",
"@types/react-test-renderer": "^17.0.1",
"babel-jest": "^26.6.3",
"eslint": "7.14.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.64.0",
"react-test-renderer": "17.0.1",
"typescript": "^3.8.3"
},
"jest": {
Expand Down

0 comments on commit daf8a89

Please sign in to comment.