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 "skipTests": true
}, },
"@schematics/angular:module": { "@schematics/angular:module": {
"skipTests": true
}, },
"@schematics/angular:pipe": { "@schematics/angular:pipe": {
"skipTests": true "skipTests": true
@@ -39,7 +38,6 @@
"build": { "build": {
"builder": "@angular-devkit/build-angular:browser", "builder": "@angular-devkit/build-angular:browser",
"options": { "options": {
"aot": true,
"outputPath": "dist", "outputPath": "dist",
"index": "src/index.html", "index": "src/index.html",
"main": "src/main.ts", "main": "src/main.ts",
@@ -56,7 +54,13 @@
"scripts": [ "scripts": [
"src/assets/semantic/jqueryImport.js", "src/assets/semantic/jqueryImport.js",
"src/assets/semantic/dist/semantic.min.js" "src/assets/semantic/dist/semantic.min.js"
] ],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
}, },
"configurations": { "configurations": {
"production": { "production": {
@@ -81,13 +85,13 @@
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"namedChunks": false, "namedChunks": false,
"aot": true,
"watch": false, "watch": false,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true "buildOptimizer": true
} }
} },
"defaultConfiguration": ""
}, },
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "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" "release": "ng build -c production && tsc -p tsconfig.electron.json && electron-builder build"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "~11.1.1", "@angular/animations": "~12.2.17",
"@angular/common": "~11.1.1", "@angular/common": "~12.2.17",
"@angular/compiler": "~11.1.1", "@angular/compiler": "~12.2.17",
"@angular/core": "~11.1.1", "@angular/core": "~12.2.17",
"@angular/forms": "~11.1.1", "@angular/forms": "~12.2.17",
"@angular/platform-browser": "~11.1.1", "@angular/platform-browser": "~12.2.17",
"@angular/platform-browser-dynamic": "~11.1.1", "@angular/platform-browser-dynamic": "~12.2.17",
"@angular/router": "~11.1.1", "@angular/router": "~12.2.17",
"7zip-bin": "^5.0.3", "7zip-bin": "^5.0.3",
"bottleneck": "^2.19.5", "bottleneck": "^2.19.5",
"cli-color": "^2.0.0", "cli-color": "^2.0.0",
@@ -56,14 +56,14 @@
"serialize-error": "^7.0.1", "serialize-error": "^7.0.1",
"tslib": "^2.0.0", "tslib": "^2.0.0",
"underscore": "^1.9.2", "underscore": "^1.9.2",
"zone.js": "~0.10.2" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.1101.2", "@angular-devkit/build-angular": "~12.2.18",
"@angular-eslint/builder": "0.0.1-alpha.18", "@angular-eslint/builder": "0.0.1-alpha.18",
"@angular/cli": "^11.1.2", "@angular/cli": "^12.2.18",
"@angular/compiler-cli": "~11.1.1", "@angular/compiler-cli": "~12.2.17",
"@angular/language-service": "~11.1.1", "@angular/language-service": "~12.2.17",
"@types/cli-color": "^2.0.0", "@types/cli-color": "^2.0.0",
"@types/electron-window-state": "^2.0.33", "@types/electron-window-state": "^2.0.33",
"@types/jsonfile": "^6.0.0", "@types/jsonfile": "^6.0.0",
@@ -83,7 +83,7 @@
"nodemon": "^2.0.2", "nodemon": "^2.0.2",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"ts-node": "~7.0.0", "ts-node": "~7.0.0",
"typescript": "~4.0.5", "typescript": "~4.3.5",
"wait-on": "^4.0.0" "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 * 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.

View File

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