Bump Angular to v15
This commit is contained in:
parent
674e330290
commit
262da7ef92
4 changed files with 6440 additions and 4411 deletions
10815
package-lock.json
generated
10815
package-lock.json
generated
File diff suppressed because it is too large
Load diff
28
package.json
28
package.json
|
@ -15,17 +15,17 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^14.0.4",
|
"@angular/animations": "^15.2.10",
|
||||||
"@angular/cdk": "^14.0.4",
|
"@angular/cdk": "^14.0.4",
|
||||||
"@angular/common": "^14.0.4",
|
"@angular/common": "^15.2.10",
|
||||||
"@angular/compiler": "^14.0.4",
|
"@angular/compiler": "^15.2.10",
|
||||||
"@angular/core": "^14.0.4",
|
"@angular/core": "^15.2.10",
|
||||||
"@angular/forms": "^14.0.4",
|
"@angular/forms": "^15.2.10",
|
||||||
"@angular/material": "^14.0.4",
|
"@angular/material": "^14.0.4",
|
||||||
"@angular/platform-browser": "^14.0.4",
|
"@angular/platform-browser": "^15.2.10",
|
||||||
"@angular/platform-browser-dynamic": "^14.0.4",
|
"@angular/platform-browser-dynamic": "^15.2.10",
|
||||||
"@angular/router": "^14.0.4",
|
"@angular/router": "^15.2.10",
|
||||||
"@angular/service-worker": "^14.0.4",
|
"@angular/service-worker": "^15.2.10",
|
||||||
"chart.js": "^3.7.0",
|
"chart.js": "^3.7.0",
|
||||||
"core-js": "^3.20.3",
|
"core-js": "^3.20.3",
|
||||||
"ng2-charts": "^3.0.8",
|
"ng2-charts": "^3.0.8",
|
||||||
|
@ -34,10 +34,10 @@
|
||||||
"zone.js": "~0.11.4"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^14.0.4",
|
"@angular-devkit/build-angular": "^15.2.10",
|
||||||
"@angular/cli": "^14.0.4",
|
"@angular/cli": "^15.2.10",
|
||||||
"@angular/compiler-cli": "^14.0.4",
|
"@angular/compiler-cli": "^15.2.10",
|
||||||
"@angular/language-service": "^14.0.4",
|
"@angular/language-service": "^15.2.10",
|
||||||
"@types/jasmine": "~3.10.3",
|
"@types/jasmine": "~3.10.3",
|
||||||
"@types/jasminewd2": "^2.0.10",
|
"@types/jasminewd2": "^2.0.10",
|
||||||
"@types/node": "^17.0.10",
|
"@types/node": "^17.0.10",
|
||||||
|
@ -53,6 +53,6 @@
|
||||||
"protractor": "^7.0.0",
|
"protractor": "^7.0.0",
|
||||||
"ts-node": "~10.4.0",
|
"ts-node": "~10.4.0",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
"typescript": "4.7.4"
|
"typescript": "4.9.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -33,7 +33,7 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })
|
RouterModule.forRoot(routes, {})
|
||||||
],
|
],
|
||||||
exports: [
|
exports: [
|
||||||
RouterModule
|
RouterModule
|
||||||
|
|
|
@ -7,8 +7,6 @@ import {
|
||||||
platformBrowserDynamicTesting
|
platformBrowserDynamicTesting
|
||||||
} from '@angular/platform-browser-dynamic/testing';
|
} from '@angular/platform-browser-dynamic/testing';
|
||||||
|
|
||||||
declare const require: any;
|
|
||||||
|
|
||||||
// First, initialize the Angular testing environment.
|
// First, initialize the Angular testing environment.
|
||||||
getTestBed().initTestEnvironment(
|
getTestBed().initTestEnvironment(
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
|
@ -16,7 +14,3 @@ getTestBed().initTestEnvironment(
|
||||||
teardown: { destroyAfterEach: false }
|
teardown: { destroyAfterEach: false }
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
// Then we find all the tests.
|
|
||||||
const context = require.context('./', true, /\.spec\.ts$/);
|
|
||||||
// And load the modules.
|
|
||||||
context.keys().map(context);
|
|
||||||
|
|
Loading…
Reference in a new issue