Update to Angular 12
This commit is contained in:
parent
e18fe04f36
commit
75f356cc5a
12
angular.json
12
angular.json
|
@ -22,7 +22,6 @@
|
||||||
"main": "src/main.ts",
|
"main": "src/main.ts",
|
||||||
"polyfills": "src/polyfills.ts",
|
"polyfills": "src/polyfills.ts",
|
||||||
"tsConfig": "tsconfig.app.json",
|
"tsConfig": "tsconfig.app.json",
|
||||||
"aot": true,
|
|
||||||
"assets": [
|
"assets": [
|
||||||
"src/favicon.ico",
|
"src/favicon.ico",
|
||||||
"src/assets",
|
"src/assets",
|
||||||
|
@ -37,7 +36,13 @@
|
||||||
"src/custom-theme.scss",
|
"src/custom-theme.scss",
|
||||||
"src/styles.sass"
|
"src/styles.sass"
|
||||||
],
|
],
|
||||||
"scripts": []
|
"scripts": [],
|
||||||
|
"vendorChunk": true,
|
||||||
|
"extractLicenses": false,
|
||||||
|
"buildOptimizer": false,
|
||||||
|
"sourceMap": true,
|
||||||
|
"optimization": false,
|
||||||
|
"namedChunks": true
|
||||||
},
|
},
|
||||||
"configurations": {
|
"configurations": {
|
||||||
"production": {
|
"production": {
|
||||||
|
@ -67,7 +72,8 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"defaultConfiguration": ""
|
||||||
},
|
},
|
||||||
"serve": {
|
"serve": {
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
|
|
30
package.json
30
package.json
|
@ -11,16 +11,16 @@
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "~11.2.10",
|
"@angular/animations": "~12.2.14",
|
||||||
"@angular/cdk": "^11.2.11",
|
"@angular/cdk": "^11.2.11",
|
||||||
"@angular/common": "~11.2.10",
|
"@angular/common": "~12.2.14",
|
||||||
"@angular/compiler": "~11.2.10",
|
"@angular/compiler": "~12.2.14",
|
||||||
"@angular/core": "~11.2.10",
|
"@angular/core": "~12.2.14",
|
||||||
"@angular/forms": "~11.2.10",
|
"@angular/forms": "~12.2.14",
|
||||||
"@angular/material": "^11.2.9",
|
"@angular/material": "^11.2.9",
|
||||||
"@angular/platform-browser": "~11.2.10",
|
"@angular/platform-browser": "~12.2.14",
|
||||||
"@angular/platform-browser-dynamic": "~11.2.10",
|
"@angular/platform-browser-dynamic": "~12.2.14",
|
||||||
"@angular/router": "~11.2.10",
|
"@angular/router": "~12.2.14",
|
||||||
"@mdi/angular-material": "^5.7.55",
|
"@mdi/angular-material": "^5.7.55",
|
||||||
"bootstrap": "^4.5.2",
|
"bootstrap": "^4.5.2",
|
||||||
"copy-webpack-plugin": "^6.2.1",
|
"copy-webpack-plugin": "^6.2.1",
|
||||||
|
@ -29,18 +29,18 @@
|
||||||
"ngx-material-file-input": "^2.1.1",
|
"ngx-material-file-input": "^2.1.1",
|
||||||
"rxjs": "~6.5.4",
|
"rxjs": "~6.5.4",
|
||||||
"tslib": "^2.0.0",
|
"tslib": "^2.0.0",
|
||||||
"zone.js": "~0.10.2"
|
"zone.js": "~0.11.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^0.1102.9",
|
"@angular-devkit/build-angular": "^12.2.13",
|
||||||
"@angular-eslint/builder": "4.3.0",
|
"@angular-eslint/builder": "4.3.0",
|
||||||
"@angular-eslint/eslint-plugin": "4.3.0",
|
"@angular-eslint/eslint-plugin": "4.3.0",
|
||||||
"@angular-eslint/eslint-plugin-template": "4.3.0",
|
"@angular-eslint/eslint-plugin-template": "4.3.0",
|
||||||
"@angular-eslint/schematics": "4.3.0",
|
"@angular-eslint/schematics": "4.3.0",
|
||||||
"@angular-eslint/template-parser": "4.3.0",
|
"@angular-eslint/template-parser": "4.3.0",
|
||||||
"@angular/cli": "^11.2.11",
|
"@angular/cli": "^12.2.13",
|
||||||
"@angular/compiler-cli": "~11.2.10",
|
"@angular/compiler-cli": "~12.2.14",
|
||||||
"@angular/language-service": "~11.2.10",
|
"@angular/language-service": "~12.2.14",
|
||||||
"@types/jasmine": "~3.6.0",
|
"@types/jasmine": "~3.6.0",
|
||||||
"@types/jasminewd2": "~2.0.3",
|
"@types/jasminewd2": "~2.0.3",
|
||||||
"@types/node": "^12.11.1",
|
"@types/node": "^12.11.1",
|
||||||
|
@ -59,6 +59,6 @@
|
||||||
"karma-jasmine-html-reporter": "^1.5.0",
|
"karma-jasmine-html-reporter": "^1.5.0",
|
||||||
"protractor": "~7.0.0",
|
"protractor": "~7.0.0",
|
||||||
"ts-node": "~8.3.0",
|
"ts-node": "~8.3.0",
|
||||||
"typescript": "~4.0.7"
|
"typescript": "~4.3.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -14,4 +14,4 @@ export const environment = {
|
||||||
* This import should be commented out in production mode because it will have a negative impact
|
* This import should be commented out in production mode because it will have a negative impact
|
||||||
* on performance if an error is thrown.
|
* on performance if an error is thrown.
|
||||||
*/
|
*/
|
||||||
// import 'zone.js/dist/zone-error'; // Included with Angular CLI.
|
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
/***************************************************************************************************
|
/***************************************************************************************************
|
||||||
* Zone JS is required by default for Angular itself.
|
* Zone JS is required by default for Angular itself.
|
||||||
*/
|
*/
|
||||||
import 'zone.js/dist/zone'; // Included with Angular CLI.
|
import 'zone.js'; // Included with Angular CLI.
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************************************
|
/***************************************************************************************************
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
||||||
|
|
||||||
import 'zone.js/dist/zone-testing';
|
import 'zone.js/testing';
|
||||||
import { getTestBed } from '@angular/core/testing';
|
import { getTestBed } from '@angular/core/testing';
|
||||||
import {
|
import {
|
||||||
BrowserDynamicTestingModule,
|
BrowserDynamicTestingModule,
|
||||||
|
|
Loading…
Reference in New Issue