I started a fresh CLI project a few weeks ago which installed the CLI in v0.24.0
& the framework in v1.0.8
.
Since they released some updates this week (CLI v0.26.0
, Framework v1.1.0
, ...) I'm wondering how to properly update the core components.
I have the following aurelia
dependencies within my package.json
:
{
// ...
"dependencies": {
"aurelia-animator-css": "^1.0.0",
"aurelia-api": "^3.1.1",
"aurelia-authentication": "^3.2.0",
"aurelia-bootstrapper": "^1.0.0",
"aurelia-fetch-client": "^1.1.0",
// ...
},
"devDependencies": {
"aurelia-cli": "^0.24.0",
"aurelia-testing": "^1.0.0-beta.2.0.0",
"aurelia-tools": "^0.2.2",
// ...
},
// ...
}
The following of those packages are outdated compared to latest releases on NPM:
- aurelia-cli
0.24.0
, latest0.26.0
- aurelia-animator-css
1.0.0
, latest1.0.1
- aurelia-bootstrapper
1.0.0
, latest2.1.0
- aurelia-fetch-client
1.1.0
, latest1.1.1
- aurelia-testing
^1.0.0-beta.2.0.0
, latest^1.0.0-beta.3.0.0
- aurelia-tools
0.2.2
, latest1.0.0
Since all of those packages use the caret version range, most of them won't update to the latest version automatically when running npm update
.
Here are my questions
- Do I have to manually update the version of each mentioned package within my
package.json
when I'd like to bring the framework to the latest state? (Seems obvious) - Is there some streamlined process of finding out the latest version numbers of each framework package I use or do I have to manually "crawl" the versions from npm.org as I did when writing this question?
- The
aurelia-framework
package is not mentioned anywhere within mypackage.json
file and it's not automatically updating by runningnpm update
. How do I actually update it?