Updating to Ionic RC 1.0

Trying to update to the new and amazing RC 1.0, however neither bower install ionic, or ionic lib is giving me the 1.0. Still getting beta.14. Ideas?

2 Likes

Update your ionic dependency in bower.json to driftyco/ionic-bower#1.0.0-rc.0. I think the ionic-cli has not been updated yet to use rc-0 by default.

1 Like

You may also be running into bower’s cache. You can clean this with ;

bower cache clean ionic

Same problem here…

>ionic lib
Local Ionic version: 1.0.0-beta.14  (*******\www\lib\ionic\version.json)
Latest Ionic version: 1.0.0-beta.14  (released 2014-12-15)
 * Local version up to date

I tried to update bower.json and run the bower cache clean ionic command, in vain.

Even the post announcement (http://forum.ionicframework.com/t/v1-0-0-rc-0-neodymium-newt-released/18646) is unreliable. It points to the GitHub page which doesn’t give much more (clear) informations. CDN (http://code.ionicframework.com/) is still out of date.

My awful solution:

  1. ionic start tempProject

  2. Copy www/lib files from tempProject to your project

  3. Update your bower.json

    “devDependencies”: {
    “ionic”: “driftyco/ionic-bower#1.0.0-rc.0”
    }

While Ionic CLI is really simple to update, Ionic “core” (?) update process (nightly too) needs some improvements. Something like ionic lib update -nightly (plus a working ionic lib update :D) would be nice! :slight_smile:

@dj_hoek

Cheers man, it was as simple as updating my bower.json with the reference to rc-1.0.

Just to be totally clear in case anyone is in doubt:

In your project’s root open your "bower.json"
Update:

{
“name”: “MyProject”,
“private”: “true”,
“devDependencies”: {
“ionic”: “driftyco/ionic-bower#1.0.0-beta.14”
}
}

to:

{
“name”: “MyProject”,
“private”: “true”,
“devDependencies”: {
“ionic”: “driftyco/ionic-bower#1.0.0-rc.0”
}
}

Save your change and run: “bower update” in your project root

2 Likes