Update to Angular 12

This commit is contained in:
Nathanael Anderson
2024-02-22 15:20:12 -06:00
parent 88efed4a09
commit 8216a25eb3
7 changed files with 1931 additions and 2006 deletions
+12 -13
View File
@@ -13,7 +13,6 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "../build/app",
"index": "src/index.html",
"main": "src/main.ts",
@@ -30,7 +29,13 @@
"scripts": [
"node_modules/materialize-css/dist/js/materialize.min.js",
"node_modules/dom-autoscroller/dist/dom-autoscroller.min.js"
]
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
@@ -50,7 +55,6 @@
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
@@ -68,14 +72,12 @@
"with": "src/environments/environment.test.ts"
}
],
"optimization": false,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false
"vendorChunk": false
},
"test2": {
"budgets": [
@@ -90,14 +92,12 @@
"with": "src/environments/environment.test2.ts"
}
],
"optimization": false,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false
"vendorChunk": false
},
"local": {
"budgets": [
@@ -112,16 +112,15 @@
"with": "src/environments/environment.local.ts"
}
],
"optimization": false,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false
"vendorChunk": false
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
+16 -16
View File
@@ -17,15 +17,15 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^11.2.14",
"@angular/common": "^11.2.14",
"@angular/compiler": "^11.2.14",
"@angular/core": "^11.2.14",
"@angular/forms": "^11.2.14",
"@angular/platform-browser": "^11.2.14",
"@angular/platform-browser-dynamic": "^11.2.14",
"@angular/platform-server": "^11.2.14",
"@angular/router": "^11.2.14",
"@angular/animations": "^12.2.17",
"@angular/common": "^12.2.17",
"@angular/compiler": "^12.2.17",
"@angular/core": "^12.2.17",
"@angular/forms": "^12.2.17",
"@angular/platform-browser": "^12.2.17",
"@angular/platform-browser-dynamic": "^12.2.17",
"@angular/platform-server": "^12.2.17",
"@angular/router": "^12.2.17",
"@simonwep/pickr": "^1.0.0-beta",
"@types/hammerjs": "^2.0.45",
"@types/jquery": "^3.5.29",
@@ -44,13 +44,13 @@
"type-func": "^1.0.3",
"unzipper": "^0.10.10",
"uuid": "^3.3.2",
"zone.js": "~0.10.2"
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.19",
"@angular/cli": "^11.2.19",
"@angular/compiler-cli": "^11.2.14",
"@angular/language-service": "^11.2.14",
"@angular-devkit/build-angular": "~12.2.18",
"@angular/cli": "^12.2.18",
"@angular/compiler-cli": "^12.2.17",
"@angular/language-service": "^12.2.17",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
@@ -68,7 +68,7 @@
"rxjs-tslint": "^0.1.7",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "4.0.8",
"typescript": "4.3.5",
"webpack": "^5.90.3"
}
}
}
+1 -1
View File
@@ -20,4 +20,4 @@ export const environment = {
* This import should be commented out in production mode because it will have a negative impact
* 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.
+1 -1
View File
@@ -71,7 +71,7 @@ import 'core-js/es7/reflect';
/***************************************************************************************************
* 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 -1
View File
@@ -1,6 +1,6 @@
// 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 {
BrowserDynamicTestingModule,
-1
View File
@@ -7,7 +7,6 @@
"declaration": false,
"module": "es2020",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
+1900 -1973
View File
File diff suppressed because it is too large Load Diff