From daf8a89ca6e5b5164b4a6506bece0b81ef0aa71d Mon Sep 17 00:00:00 2001 From: Douglas Lowder Date: Fri, 6 Aug 2021 16:26:56 -0700 Subject: [PATCH] Update for 0.64.2-2 --- package.json | 2 +- template/ios/Podfile | 18 ++++++------------ template/package.json | 26 +++++++++++++------------- 3 files changed, 20 insertions(+), 26 deletions(-) diff --git a/package.json b/package.json index 13ee161b..fd493c8b 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/template/ios/Podfile b/template/ios/Podfile index 1d918382..02f10e35 100644 --- a/template/ios/Podfile +++ b/template/ios/Podfile @@ -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 @@ -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 diff --git a/template/package.json b/template/package.json index 8ac16b1c..26f92b1e 100644 --- a/template/package.json +++ b/template/package.json @@ -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": {