When I create an app with ionic start myApp blank --type=ionic-angular
, the package.json dependency file generated show that angular v5 is used, whereas latest angular version is v15.
Naive question: why doesn’t Ionic use a newer version of Angular? Angular 5 is now five years old.
My ionic info
reads:
Ionic:
Ionic CLI : 6.20.4 (/Users/manu/.nvm/versions/node/v12.22.12/lib/node_modules/@ionic/cli)
Ionic Framework : ionic-angular 3.9.9
@ionic/app-scripts : 3.2.4
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v12.22.12 (/Users/manu/.nvm/versions/node/v12.22.12/bin/node)
npm : 6.14.17
OS : macOS Monterey
Here’s an extract from my package.json:
"dependencies": {
"@angular/animations": "5.2.11",
"@angular/common": "5.2.11",
"@angular/compiler": "5.2.11",
"@angular/compiler-cli": "5.2.11",
"@angular/core": "5.2.11",
"@angular/forms": "5.2.11",