Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Commit 7149b37

Browse files
authored
Add migration instruction for 2.13.0
1 parent 7c0032b commit 7149b37

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ npm start
2121

2222
In general, most upgrades won't require any migration steps to work, but if you experience problems after an upgrade, please file an issue, and we'll add it to the list of migration steps below.
2323

24+
### From `<2.13.0` to `>=2.13.0`
25+
26+
Since `2.13.0`, `typescript` is listed as a peer dependency of `react-scripts-ts`. For projects generated with at least this version, the init script takes care of properly installing it as dev dependency to the generated projects. Older projects require manual installation, in case you have not already done that.
27+
28+
Using `npm`:
29+
```
30+
npm i -D typescript
31+
```
32+
33+
Using `yarn`:
34+
```
35+
yarn add -D typescript
36+
```
37+
2438
### From `<2.5.0` to `>=2.5.0`
2539

2640
Version `2.5.0` introduces a new config file for jest, that is necessary for the tests to run. If you were previously running a version older than `v2.5.0` and upgraded to `v2.5.0` or newer, you need to manually add the new file, or else you'll get an error similar to this when trying to run your tests:

0 commit comments

Comments
 (0)