From 1570d2bbf0b4b7f43016e7bf8ec871bbd6911122 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 8 Jun 2016 11:09:35 -0400 Subject: [PATCH] chore(changelog): update the steps to include the install command --- CHANGELOG.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ffe1e955b..a2ce62f74e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,7 +83,21 @@ All Ionic component events have been renamed to start with `ion`. This is to pre #### Steps to Upgrade to Beta 8 -1. Replace all instances of `@Page` with `@Component`: +1. Upgrade to `Beta 8` by running the following command: + + ``` + npm install --save ionic-angular@2.0.0-beta.8 + ``` + + _or_ modify the following line to use `beta.8` in your `package.json` and then run `npm install`: + + ``` + "ionic-angular": "^2.0.0-beta.8", + ``` + + **This is the way to update Ionic to any version, more information can be found in the [docs](http://ionicframework.com/docs/v2/resources/using-npm/).** + +2. Replace all instances of `@Page` with `@Component`: ``` import {Page} from 'ionic-angular'; @@ -103,7 +117,7 @@ All Ionic component events have been renamed to start with `ion`. This is to pre }) ``` -2. Replace `@App` with `@Component` and then bootstrap it. Move any `config` properties into the bootstrap: +3. Replace `@App` with `@Component` and then bootstrap it. Move any `config` properties into the bootstrap: ``` import {App, Platform} from 'ionic-angular'; @@ -142,7 +156,7 @@ All Ionic component events have been renamed to start with `ion`. This is to pre }); ``` -3. Rename any uses of `IonicApp` to `App`: +4. Rename any uses of `IonicApp` to `App`: ``` import {IonicApp} from 'ionic-angular'; @@ -162,7 +176,7 @@ All Ionic component events have been renamed to start with `ion`. This is to pre ) { ``` -4. Rename any uses of the lifecycle events, for example: +5. Rename any uses of the lifecycle events, for example: ``` onPageDidEnter() { @@ -180,7 +194,7 @@ All Ionic component events have been renamed to start with `ion`. This is to pre The full list of lifecycle name changes is in the [section above](https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#ionic-lifecycle-events-renamed). -5. Rename any Ionic events, for example: +6. Rename any Ionic events, for example: ```