1
0

Update Angular Cli

This commit is contained in:
Siroco 2019-10-21 20:18:09 +02:00
parent d057e11dac
commit 74071d830a
7 changed files with 3195 additions and 2291 deletions

5436
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -12,32 +12,31 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^7.2.15", "@angular/animations": "^8.2.11",
"@angular/cdk": "^7.3.7", "@angular/cdk": "^7.3.7",
"@angular/common": "7.2.15", "@angular/common": "8.2.11",
"@angular/compiler": "7.2.15", "@angular/compiler": "8.2.11",
"@angular/core": "7.2.15", "@angular/core": "8.2.11",
"@angular/forms": "7.2.15", "@angular/forms": "8.2.11",
"@angular/http": "7.2.15",
"@angular/material": "^7.3.7", "@angular/material": "^7.3.7",
"@angular/platform-browser": "7.2.15", "@angular/platform-browser": "8.2.11",
"@angular/platform-browser-dynamic": "7.2.15", "@angular/platform-browser-dynamic": "8.2.11",
"@angular/router": "7.2.15", "@angular/router": "8.2.11",
"core-js": "^2.4.1", "core-js": "^2.4.1",
"hammerjs": "^2.0.8", "hammerjs": "^2.0.8",
"rxjs": "^6.5.2", "rxjs": "^6.5.3",
"tslib": "^1.9.0", "tslib": "^1.9.0",
"zone.js": "^0.8.29" "zone.js": "~0.9.1"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.13.0", "@angular-devkit/build-angular": "~0.803.12",
"@angular/cli": "7.3.9", "@angular/cli": "8.3.12",
"@angular/compiler-cli": "7.2.15", "@angular/compiler-cli": "8.2.11",
"@angular/language-service": "7.2.15", "@angular/language-service": "8.2.11",
"@types/jasmine": "~2.8.3", "@types/jasmine": "~2.8.3",
"@types/jasminewd2": "~2.0.2", "@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60", "@types/node": "~6.0.60",
"codelyzer": "^4.0.1", "codelyzer": "^5.0.1",
"jasmine-core": "~2.8.0", "jasmine-core": "~2.8.0",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "^4.1.0", "karma": "^4.1.0",
@ -48,6 +47,6 @@
"protractor": "^6.0.0", "protractor": "^6.0.0",
"ts-node": "~4.1.0", "ts-node": "~4.1.0",
"tslint": "~5.9.1", "tslint": "~5.9.1",
"typescript": "3.2.4" "typescript": "3.5.3"
} }
} }

View File

@ -21,7 +21,7 @@ export class GridComponent implements OnInit {
// @ViewChild(MatPaginator) paginator: MatPaginator; // @ViewChild(MatPaginator) paginator: MatPaginator;
@ViewChild(MatPaginator) paginator: MatPaginator; @ViewChild(MatPaginator, { static: false }) paginator: MatPaginator;
search:string = "" search:string = ""
items:Item[]=[]; items:Item[]=[];

View File

@ -3,7 +3,6 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/app", "outDir": "../out-tsc/app",
"baseUrl": "./", "baseUrl": "./",
"module": "es2015",
"types": [] "types": []
}, },
"exclude": [ "exclude": [

View File

@ -3,7 +3,6 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/spec", "outDir": "../out-tsc/spec",
"baseUrl": "./", "baseUrl": "./",
"module": "commonjs",
"types": [ "types": [
"jasmine", "jasmine",
"node" "node"

View File

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

View File

@ -129,12 +129,12 @@
"kebab-case" "kebab-case"
], ],
"no-output-on-prefix": true, "no-output-on-prefix": true,
"use-input-property-decorator": true, "no-inputs-metadata-property": true,
"use-output-property-decorator": true, "no-outputs-metadata-property": true,
"use-host-property-decorator": true, "no-host-metadata-property": true,
"no-input-rename": true, "no-input-rename": true,
"no-output-rename": true, "no-output-rename": true,
"use-life-cycle-interface": true, "use-lifecycle-interface": true,
"use-pipe-transform-interface": true, "use-pipe-transform-interface": true,
"component-class-suffix": true, "component-class-suffix": true,
"directive-class-suffix": true "directive-class-suffix": true