Skip to content

Commit 901dabd

Browse files
authored
Merge pull request #60 from react-native-community/deprecate-legacy
Deprecate legacy
2 parents b912247 + ee52849 commit 901dabd

File tree

2 files changed

+11
-21
lines changed

2 files changed

+11
-21
lines changed

.travis.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
language: node_js
22
node_js:
3-
- "node"
3+
- 'node'
4+
branches:
5+
only:
6+
- master
47
deploy:
5-
- provider: npm
6-
on:
7-
condition: $TRAVIS_BRANCH == "master" && -n $TRAVIS_TAG
8-
9-
api_key: "${NPM_TOKEN}"
10-
skip_cleanup: true
11-
- provider: npm
12-
on:
13-
condition: $TRAVIS_BRANCH == "master-cli-v2" && -n $TRAVIS_TAG
14-
15-
api_key: "${NPM_TOKEN}"
16-
skip_cleanup: true
17-
tag: next
8+
on:
9+
tags: true
10+
provider: npm
11+
12+
api_key: '${NPM_TOKEN}'
13+
skip_cleanup: true

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@
2828
### React Native >= 0.60
2929

3030
```sh
31-
npx react-native init MyApp --template react-native-template-typescript@next
32-
```
33-
34-
### React Native <= 0.59
35-
36-
```sh
37-
react-native init MyApp --template typescript
31+
npx react-native init MyApp --template react-native-template-typescript
3832
```
3933

4034
## :computer: Contributing

0 commit comments

Comments
 (0)