#8 upgraded to angular 8

This commit is contained in:
fabio.formosa
2020-05-02 17:22:43 +02:00
parent 563257930c
commit f5b046f7eb
8 changed files with 37 additions and 30 deletions

View File

@@ -0,0 +1,12 @@
# This file is used by the build system to adjust CSS and JS output to support the specified browsers below.
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries
# You can see what browsers were selected by your queries by running:
# npx browserslist
> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.

View File

@@ -12,19 +12,18 @@
},
"private": true,
"dependencies": {
"@angular/animations": "7.2.13",
"@angular/animations": "8.2.14",
"@angular/cdk": "7.3.7",
"@angular/common": "7.2.13",
"@angular/compiler": "7.2.13",
"@angular/core": "7.2.13",
"@angular/common": "8.2.14",
"@angular/compiler": "8.2.14",
"@angular/core": "8.2.14",
"@angular/flex-layout": "7.0.0-beta.24",
"@angular/forms": "7.2.13",
"@angular/http": "7.2.13",
"@angular/forms": "8.2.14",
"@angular/material": "7.3.7",
"@angular/platform-browser": "7.2.13",
"@angular/platform-browser-dynamic": "7.2.13",
"@angular/platform-server": "7.2.13",
"@angular/router": "7.2.13",
"@angular/platform-browser": "8.2.14",
"@angular/platform-browser-dynamic": "8.2.14",
"@angular/platform-server": "8.2.14",
"@angular/router": "8.2.14",
"@fortawesome/fontawesome": "^1.1.4",
"@fortawesome/fontawesome-free-regular": "^5.0.8",
"@fortawesome/fontawesome-free-solid": "^5.0.8",
@@ -32,22 +31,22 @@
"core-js": "2.5.1",
"hammerjs": "2.0.8",
"net": "^1.0.2",
"rxjs": "6.4.0",
"rxjs": "6.5.5",
"stompjs": "^2.3.3",
"tslib": "^1.9.0",
"zone.js": "0.8.18"
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular-devkit/build-angular": "~0.803.25",
"@angular-devkit/core": "^0.2.0",
"@angular/cli": "7.3.7",
"@angular/compiler-cli": "7.2.13",
"@angular/language-service": "7.2.13",
"@angular/cli": "8.3.26",
"@angular/compiler-cli": "8.2.14",
"@angular/language-service": "8.2.14",
"@types/hammerjs": "2.0.34",
"@types/jasmine": "2.5.54",
"@types/jasminewd2": "2.0.3",
"@types/node": "6.0.90",
"codelyzer": "4.2.1",
"codelyzer": "^5.0.1",
"jasmine-core": "2.6.4",
"jasmine-spec-reporter": "4.1.1",
"karma": "1.7.1",
@@ -59,6 +58,6 @@
"protractor": "5.1.2",
"ts-node": "3.0.6",
"tslint": "5.7.0",
"typescript": "3.2.4"
"typescript": "3.5.3"
}
}

View File

@@ -1,7 +1,6 @@
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, APP_INITIALIZER} from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import { HttpClientModule } from '@angular/common/http';
// material
import {
@@ -99,7 +98,6 @@ export function initUserFactory(userService: UserService) {
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpModule,
HttpClientModule,
AppRoutingModule,
MatMenuModule,

View File

@@ -32,7 +32,7 @@
}
/deep/ {
::ng-deep {
.app-header-accountMenu.mat-menu-panel {
border-radius: 3px;
max-width: initial;

View File

@@ -2,7 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"module": "es2015",
"baseUrl": "",
"types": []
},

View File

@@ -2,8 +2,6 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es5",
"baseUrl": "",
"types": [
"jasmine",

View File

@@ -1,6 +1,7 @@
{
"compileOnSave": false,
"compilerOptions": {
"downlevelIteration": true,
"importHelpers": true,
"outDir": "./dist/out-tsc",
"baseUrl": "src",
@@ -9,7 +10,7 @@
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"target": "es2015",
"typeRoots": [
"node_modules/@types"
],
@@ -17,6 +18,6 @@
"es2016",
"dom"
],
"module": "es2015"
"module": "esnext"
}
}

View File

@@ -100,12 +100,12 @@
"directive-selector": [true, "attribute", "app", "camelCase"],
"component-selector": [true, "element", "app", "kebab-case"],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-inputs-metadata-property": true,
"no-outputs-metadata-property": true,
"no-host-metadata-property": true,
"no-input-rename": true,
"no-output-rename": true,
"use-life-cycle-interface": true,
"use-lifecycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,