Update to Angular 12

pull/681/head
pabloFuente 2022-01-10 15:13:40 +01:00
parent 82bd984bbe
commit e8ee49c396
5 changed files with 4107 additions and 5897 deletions

View File

@ -11,7 +11,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",
@ -25,7 +24,13 @@
"styles": [ "styles": [
"src/styles.css" "src/styles.css"
], ],
"scripts": [] "scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
}, },
"configurations": { "configurations": {
"production": { "production": {
@ -39,7 +44,6 @@
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"namedChunks": false, "namedChunks": false,
"aot": true,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
"buildOptimizer": true, "buildOptimizer": true,
@ -50,7 +54,8 @@
} }
] ]
} }
} },
"defaultConfiguration": ""
}, },
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",

File diff suppressed because it is too large Load Diff

View File

@ -1,34 +1,34 @@
{ {
"dependencies": { "dependencies": {
"@angular/animations": "11.2.4", "@angular/animations": "12.2.15",
"@angular/cdk": "11.2.3", "@angular/cdk": "11.2.3",
"@angular/common": "11.2.4", "@angular/common": "12.2.15",
"@angular/compiler": "11.2.4", "@angular/compiler": "12.2.15",
"@angular/core": "11.2.4", "@angular/core": "12.2.15",
"@angular/flex-layout": "11.0.0-beta.33", "@angular/flex-layout": "11.0.0-beta.33",
"@angular/forms": "11.2.4", "@angular/forms": "12.2.15",
"@angular/material": "11.2.3", "@angular/material": "11.2.3",
"@angular/platform-browser": "11.2.4", "@angular/platform-browser": "12.2.15",
"@angular/platform-browser-dynamic": "11.2.4", "@angular/platform-browser-dynamic": "12.2.15",
"@angular/router": "11.2.4", "@angular/router": "12.2.15",
"core-js": "3.9.1", "core-js": "3.9.1",
"jquery": "3.6.0", "jquery": "3.6.0",
"openvidu-browser": "2.20.0", "openvidu-browser": "2.20.0",
"rxjs": "6.6.6", "rxjs": "6.6.6",
"tslib": "2.1.0", "tslib": "2.1.0",
"zone.js": "0.11.4" "zone.js": "~0.11.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "0.1102.3", "@angular-devkit/build-angular": "12.2.14",
"@angular/cli": "11.2.3", "@angular/cli": "12.2.14",
"@angular/compiler-cli": "11.2.4", "@angular/compiler-cli": "12.2.15",
"@angular/language-service": "11.2.4", "@angular/language-service": "12.2.15",
"@types/jasmine": "3.6.6", "@types/jasmine": "3.6.6",
"@types/node": "14.14.32", "@types/node": "14.14.32",
"codelyzer": "6.0.1", "codelyzer": "6.0.1",
"jasmine-core": "3.6.0", "jasmine-core": "3.6.0",
"jasmine-spec-reporter": "6.0.0", "jasmine-spec-reporter": "6.0.0",
"karma": "6.1.2", "karma": "6.3.10",
"karma-chrome-launcher": "3.1.0", "karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3", "karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "4.0.1", "karma-jasmine": "4.0.1",
@ -36,14 +36,14 @@
"protractor": "7.0.0", "protractor": "7.0.0",
"ts-node": "9.1.1", "ts-node": "9.1.1",
"tslint": "6.1.3", "tslint": "6.1.3",
"typescript": "4.1.5" "typescript": "4.3.5"
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"name": "frontend", "name": "frontend",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "./node_modules/@angular/cli/bin/ng build --base-href /dashboard/ --output-path ../main/resources/static/dashboard", "build": "./node_modules/@angular/cli/bin/ng build --base-href /dashboard/ --output-path ../main/resources/static/dashboard",
"build-prod": "./node_modules/@angular/cli/bin/ng build --prod --base-href /dashboard/ --output-path ../main/resources/static/dashboard", "build-prod": "./node_modules/@angular/cli/bin/ng build --configuration production --base-href /dashboard/ --output-path ../main/resources/static/dashboard",
"e2e": "ng e2e", "e2e": "ng e2e",
"lint": "ng lint", "lint": "ng lint",
"ng": "ng", "ng": "ng",

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

View File

@ -7,7 +7,6 @@
"sourceMap": true, "sourceMap": true,
"declaration": false, "declaration": false,
"moduleResolution": "node", "moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"target": "es2018", "target": "es2018",
"typeRoots": [ "typeRoots": [