From d78acc8543daf9b9eb525f12e0c5f78ee34d02c2 Mon Sep 17 00:00:00 2001
From: Radek Czemerys <7029942+radko93@users.noreply.github.com>
Date: Fri, 13 Jan 2023 15:20:44 +0700
Subject: [PATCH 1/2] feat: add deprecation message (#320)
---
README.md | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 95c0527f..0a74fb09 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,8 @@
-# :space_invader: React Native Template TypeScript
+# This template is deprecated
+
+React Native added [first-class support for Typescript in version 0.71](https://reactnative.dev/blog/2023/01/03/typescript-first), with the base template now utilizing it. Additionally, the types have been integrated into the React Native repository. Although this template can still be used to generate projects with older versions of React Native, we will no longer update it. We would like to express our gratitude to all contributors for their efforts in enhancing this template over the years.
+
+## :space_invader: React Native Template TypeScript
@@ -26,15 +30,7 @@
## :arrow_forward: Usage
```sh
-npx react-native init MyApp --template react-native-template-typescript
-```
-
-### Usage with older versions of React Native
-
-#### e.g. `react-native@0.69.x`
-
-```sh
-npx react-native init MyApp --template react-native-template-typescript@6.11.9
+npx react-native init MyApp --template react-native-template-typescript@6.12.10
```
See the below table to find out which version of the template to use.
From f1d6de596a126dbbb8259588dba660d263f137b1 Mon Sep 17 00:00:00 2001
From: Thanh Vu <2347441+jwthanh@users.noreply.github.com>
Date: Mon, 26 Jun 2023 22:21:55 +0700
Subject: [PATCH 2/2] feat: update to react-native@0.70.10 (#324)
---
template/Gemfile | 2 +-
template/package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/template/Gemfile b/template/Gemfile
index 5efda89f..7e9845d6 100644
--- a/template/Gemfile
+++ b/template/Gemfile
@@ -3,4 +3,4 @@ source 'https://rubygems.org/'
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
ruby '2.7.5'
-gem 'cocoapods', '~> 1.11', '>= 1.11.2'
+gem 'cocoapods', '~> 1.11', '>= 1.11.3'
diff --git a/template/package.json b/template/package.json
index 91e77eea..0c4856b4 100644
--- a/template/package.json
+++ b/template/package.json
@@ -11,7 +11,7 @@
},
"dependencies": {
"react": "18.1.0",
- "react-native": "0.70.6"
+ "react-native": "0.70.10"
},
"devDependencies": {
"@babel/core": "^7.12.9",