From f1af835eeb774a4f6fab98efcb0ab4f46b2bbc4c Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Mon, 9 Mar 2020 19:35:31 +0000 Subject: [PATCH] Deploy website Deploy website version based on 84947d71a5563dd608bd8a37dec96279439c8117 --- docs/next/environment-setup.html | 7 ++----- docs/next/environment-setup/index.html | 7 ++----- docs/next/typescript.html | 5 +---- docs/next/typescript/index.html | 5 +---- 4 files changed, 6 insertions(+), 18 deletions(-) diff --git a/docs/next/environment-setup.html b/docs/next/environment-setup.html index 96798856b13..c5980c9b15b 100644 --- a/docs/next/environment-setup.html +++ b/docs/next/environment-setup.html @@ -303,11 +303,8 @@ brew install watchman
npx react-native init AwesomeProject --version X.XX.X
 

You can also start a project with a custom React Native template, like TypeScript, with --template argument:

-
npx react-native init AwesomeTSProject --template react-native-template-typescript
+
npx react-native init AwesomeTSProject --template typescript
 
-
-

Note If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your pc. Try uninstalling the cli and run the cli using npx.

-

Creating a new application

@@ -322,7 +319,7 @@ brew install watchman
npx react-native init AwesomeProject --version X.XX.X
 

You can also start a project with a custom React Native template, like TypeScript, with --template argument:

-
npx react-native init AwesomeTSProject --template react-native-template-typescript
+
npx react-native init AwesomeTSProject --template typescript
 

Preparing the Android device

diff --git a/docs/next/environment-setup/index.html b/docs/next/environment-setup/index.html index 96798856b13..c5980c9b15b 100644 --- a/docs/next/environment-setup/index.html +++ b/docs/next/environment-setup/index.html @@ -303,11 +303,8 @@ brew install watchman
npx react-native init AwesomeProject --version X.XX.X
 

You can also start a project with a custom React Native template, like TypeScript, with --template argument:

-
npx react-native init AwesomeTSProject --template react-native-template-typescript
+
npx react-native init AwesomeTSProject --template typescript
 
-
-

Note If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your pc. Try uninstalling the cli and run the cli using npx.

-

Creating a new application

@@ -322,7 +319,7 @@ brew install watchman
npx react-native init AwesomeProject --version X.XX.X
 

You can also start a project with a custom React Native template, like TypeScript, with --template argument:

-
npx react-native init AwesomeTSProject --template react-native-template-typescript
+
npx react-native init AwesomeTSProject --template typescript
 

Preparing the Android device

diff --git a/docs/next/typescript.html b/docs/next/typescript.html index 78e5549ba39..126b9a7e20f 100644 --- a/docs/next/typescript.html +++ b/docs/next/typescript.html @@ -71,11 +71,8 @@
Edit

Using TypeScript with React Native

TypeScript is a language which extends JavaScript by adding type definitions, much like Flow. While React Native is built in Flow, it supports both TypeScript and Flow by default.

Getting Started with TypeScript

If you're starting a new project, there are a few different ways to get started. You can use the TypeScript template:

-
npx react-native init MyApp --template react-native-template-typescript
+
npx react-native init MyApp --template typescript
 
-
-

Note If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your pc. Try uninstalling the cli and run the cli using npx.

-

You can use Expo which has two TypeScript templates:

npm install -g expo-cli
 expo init MyTSProject
diff --git a/docs/next/typescript/index.html b/docs/next/typescript/index.html
index 78e5549ba39..126b9a7e20f 100644
--- a/docs/next/typescript/index.html
+++ b/docs/next/typescript/index.html
@@ -71,11 +71,8 @@
         
Edit

Using TypeScript with React Native

TypeScript is a language which extends JavaScript by adding type definitions, much like Flow. While React Native is built in Flow, it supports both TypeScript and Flow by default.

Getting Started with TypeScript

If you're starting a new project, there are a few different ways to get started. You can use the TypeScript template:

-
npx react-native init MyApp --template react-native-template-typescript
+
npx react-native init MyApp --template typescript
 
-
-

Note If the above command is failing, you may have old version of react-native or react-native-cli installed globally on your pc. Try uninstalling the cli and run the cli using npx.

-

You can use Expo which has two TypeScript templates:

npm install -g expo-cli
 expo init MyTSProject