Upgrade to Angular 12

This commit is contained in:
Djones4822
2023-02-16 18:23:31 -05:00
parent 459eb1ff25
commit c419aaed83
5 changed files with 9781 additions and 12354 deletions

View File

@@ -23,7 +23,6 @@
"skipTests": true
},
"@schematics/angular:module": {
"skipTests": true
},
"@schematics/angular:pipe": {
"skipTests": true
@@ -39,7 +38,6 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"aot": true,
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
@@ -56,7 +54,13 @@
"scripts": [
"src/assets/semantic/jqueryImport.js",
"src/assets/semantic/dist/semantic.min.js"
]
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
},
"configurations": {
"production": {
@@ -81,13 +85,13 @@
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"watch": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
}
},
"defaultConfiguration": ""
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",

22093
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -26,14 +26,14 @@
"release": "ng build -c production && tsc -p tsconfig.electron.json && electron-builder build"
},
"dependencies": {
"@angular/animations": "~11.1.1",
"@angular/common": "~11.1.1",
"@angular/compiler": "~11.1.1",
"@angular/core": "~11.1.1",
"@angular/forms": "~11.1.1",
"@angular/platform-browser": "~11.1.1",
"@angular/platform-browser-dynamic": "~11.1.1",
"@angular/router": "~11.1.1",
"@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/router": "~12.2.17",
"7zip-bin": "^5.0.3",
"bottleneck": "^2.19.5",
"cli-color": "^2.0.0",
@@ -56,14 +56,14 @@
"serialize-error": "^7.0.1",
"tslib": "^2.0.0",
"underscore": "^1.9.2",
"zone.js": "~0.10.2"
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1101.2",
"@angular-devkit/build-angular": "~12.2.18",
"@angular-eslint/builder": "0.0.1-alpha.18",
"@angular/cli": "^11.1.2",
"@angular/compiler-cli": "~11.1.1",
"@angular/language-service": "~11.1.1",
"@angular/cli": "^12.2.18",
"@angular/compiler-cli": "~12.2.17",
"@angular/language-service": "~12.2.17",
"@types/cli-color": "^2.0.0",
"@types/electron-window-state": "^2.0.33",
"@types/jsonfile": "^6.0.0",
@@ -83,7 +83,7 @@
"nodemon": "^2.0.2",
"npm-run-all": "^4.1.5",
"ts-node": "~7.0.0",
"typescript": "~4.0.5",
"typescript": "~4.3.5",
"wait-on": "^4.0.0"
}
}

View File

@@ -13,4 +13,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.

View File

@@ -55,7 +55,7 @@
/***************************************************************************************************
* 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.
/***************************************************************************************************