ionic-capacitor: Updated Angular to version 15

This commit is contained in:
Carlos Santos 2023-10-09 14:08:14 +02:00
parent fb55cec2a1
commit 94ace9e355
5 changed files with 18370 additions and 5163 deletions

View File

@ -1,17 +0,0 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support
# You can see what browsers were selected by your queries by running:
# npx browserslist
last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

File diff suppressed because it is too large Load Diff

View File

@ -20,22 +20,22 @@
},
"private": true,
"dependencies": {
"@angular/common": "14.1.3",
"@angular/core": "14.1.3",
"@angular/forms": "14.1.3",
"@angular/platform-browser": "14.1.3",
"@angular/platform-browser-dynamic": "14.1.3",
"@angular/router": "14.1.3",
"@angular/common": "15.2.10",
"@angular/core": "15.2.10",
"@angular/forms": "15.2.10",
"@angular/platform-browser": "15.2.10",
"@angular/platform-browser-dynamic": "15.2.10",
"@angular/router": "15.2.10",
"@awesome-cordova-plugins/android-permissions": "5.44.0",
"@capacitor-community/electron": "^4.1.2",
"@capacitor/android": "4.0.1",
"@capacitor/app": "4.0.1",
"@capacitor/core": "4.0.1",
"@capacitor/haptics": "4.0.1",
"@capacitor/ios": "4.0.1",
"@capacitor/keyboard": "4.0.1",
"@capacitor/status-bar": "4.0.1",
"@ionic/angular": "6.2.3",
"@capacitor-community/electron": "5.0.1",
"@capacitor/android": "5.4.2",
"@capacitor/app": "5.0.6",
"@capacitor/core": "5.4.2",
"@capacitor/haptics": "5.0.6",
"@capacitor/ios": "5.4.2",
"@capacitor/keyboard": "5.0.6",
"@capacitor/status-bar": "5.0.6",
"@ionic/angular": "7.4.3",
"cordova-plugin-android-permissions": "1.1.3",
"openvidu-browser": "2.27.0",
"rxjs": "7.5.6",
@ -43,22 +43,22 @@
"zone.js": "0.11.8"
},
"devDependencies": {
"@angular-devkit/build-angular": "14.1.3",
"@angular-devkit/build-angular": "15.2.10",
"@angular-eslint/builder": "14.0.2",
"@angular-eslint/eslint-plugin": "14.0.2",
"@angular-eslint/eslint-plugin-template": "14.0.2",
"@angular-eslint/template-parser": "14.0.2",
"@angular/cli": "14.1.3",
"@angular/compiler": "14.1.3",
"@angular/compiler-cli": "14.1.3",
"@angular/language-service": "14.1.3",
"@capacitor/cli": "4.0.1",
"@angular/cli": "15.2.10",
"@angular/compiler": "15.2.10",
"@angular/compiler-cli": "15.2.10",
"@angular/language-service": "15.2.10",
"@capacitor/cli": "5.4.2",
"@ionic/angular-toolkit": "7.0.0",
"@ionic/cli": "6.20.6",
"@trapezedev/configure": "5.0.0",
"@types/jasmine": "4.0.3",
"@types/jasminewd2": "2.0.10",
"@types/node": "18.7.6",
"@types/node": "18.11.18",
"@typescript-eslint/eslint-plugin": "5.33.1",
"@typescript-eslint/parser": "5.33.1",
"eslint": "8.22.0",
@ -73,9 +73,8 @@
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.0.0",
"protractor": "7.0.0",
"ts-node": "10.9.1",
"typescript": "4.7.4"
"typescript": "4.9.5"
},
"description": "An Ionic project"
}

View File

@ -7,19 +7,8 @@ import {
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: {
context(path: string, deep?: boolean, filter?: RegExp): {
<T>(id: string): T;
keys(): string[];
};
};
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting()
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);

View File

@ -10,9 +10,13 @@
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2020",
"target": "ES2022",
"module": "es2020",
"lib": ["es2018", "dom"]
"lib": [
"es2018",
"dom"
],
"useDefineForClassFields": false
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,