Skip to content

Commit 3c2fc3d

Browse files
authored
Simplify upgrade instructions. (Thanks @locks!)
1 parent dd8c77d commit 3c2fc3d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
Use TypeScript in your Ember 2.x apps!
66

77

8-
## Installation
8+
## Installing/Upgrading
99

1010
Just run:
1111

1212
```
13-
ember install ember-cli-typescript
13+
ember install ember-cli-typescript@1
1414
```
1515

16-
All dependencies will be added to your `package.json`, and you're ready to roll!
16+
All dependencies will be added to your `package.json`, and you're ready to roll! (If you're upgrading from a previous release, you should check to merge any tweaks you've made to `tsconfig.json`.
1717

1818
In addition to ember-cli-typescript, the following are installed:
1919

@@ -25,13 +25,6 @@ In addition to ember-cli-typescript, the following are installed:
2525
- Files:
2626
+ [`tsconfig.json`](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html)
2727

28-
### Upgrading
29-
30-
1. Update `package.json` for `ember-cli-typescript` to `^1.0.0`.
31-
2. Run `yarn` or `npm install`.
32-
3. Run `ember g ember-cli-typescript` to update the generated files (`tsconfig.json` in particular), and review the changes before committing. If you've made specific customizations, you may want to merge them; see the [Notes on `tsconfig.json`](https://github.com/typed-ember/ember-cli-typescript/tree/v1.0.0#notes-on-tsconfigjson) in the README.
33-
34-
3528
## Notes on `tsconfig.json`
3629

3730
If you make changes to the paths included in your `tsconfig.json`, you will need

0 commit comments

Comments
 (0)