Skip to content

Commit 7d2c125

Browse files
authored
v8 upgrade
1 parent 437ebea commit 7d2c125

10 files changed

+1771
-3133
lines changed

browserslist

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

package-lock.json

+1,729-3,100
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+18-19
Original file line numberDiff line numberDiff line change
@@ -22,31 +22,30 @@
2222
"private": true,
2323
"dependencies": {
2424
"@angular-devkit/core": "0.6.7",
25-
"@angular/animations": "7.2.15",
26-
"@angular/common": "7.2.15",
27-
"@angular/compiler": "7.2.15",
28-
"@angular/core": "7.2.15",
29-
"@angular/forms": "7.2.15",
30-
"@angular/http": "7.2.15",
31-
"@angular/platform-browser": "7.2.15",
32-
"@angular/platform-browser-dynamic": "7.2.15",
33-
"@angular/platform-server": "7.2.15",
34-
"@angular/router": "7.2.15",
35-
"angular-in-memory-web-api": "^0.6.1",
25+
"@angular/animations": "8.0.0",
26+
"@angular/common": "8.0.0",
27+
"@angular/compiler": "8.0.0",
28+
"@angular/core": "8.0.0",
29+
"@angular/forms": "8.0.0",
30+
"@angular/platform-browser": "8.0.0",
31+
"@angular/platform-browser-dynamic": "8.0.0",
32+
"@angular/platform-server": "8.0.0",
33+
"@angular/router": "8.0.0",
34+
"angular-in-memory-web-api": "^0.8.0",
3635
"core-js": "^2.6.5",
3736
"rxjs": "^6.4.0",
3837
"tslib": "^1.9.0",
39-
"zone.js": "^0.8.29"
38+
"zone.js": "~0.9.1"
4039
},
4140
"devDependencies": {
42-
"@angular-devkit/build-angular": "~0.13.0",
43-
"@angular/cli": "^7.3.8",
44-
"@angular/compiler-cli": "^7.2.13",
45-
"@angular/language-service": "^7.2.13",
41+
"@angular-devkit/build-angular": "~0.800.0",
42+
"@angular/cli": "^8.0.0",
43+
"@angular/compiler-cli": "^8.0.0",
44+
"@angular/language-service": "^8.0.0",
4645
"@types/jasmine": "^2.8.16",
4746
"@types/jasminewd2": "^2.0.6",
4847
"@types/node": "~8.9.4",
49-
"codelyzer": "~4.2.1",
48+
"codelyzer": "^5.0.1",
5049
"jasmine-core": "~2.99.1",
5150
"jasmine-spec-reporter": "~4.2.1",
5251
"karma": "^4.1.0",
@@ -57,8 +56,8 @@
5756
"protractor": "^5.4.2",
5857
"source-map-explorer": "^1.8.0",
5958
"ts-node": "~5.0.1",
60-
"tslint": "~5.9.1",
61-
"typescript": "~3.2.4",
59+
"tslint": "~5.16.0",
60+
"typescript": "~3.4.5",
6261
"wallaby-webpack": "3.9.9",
6362
"webpack-bundle-analyzer": "^3.3.2",
6463
"webpack-visualizer-plugin": "^0.1.11"

src/app/app-routing.module.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import { PageNotFoundComponent } from './page-not-found.component';
66

77
// Define the paths to the lazily loaded modules
88
const lazyPaths = {
9-
admin: 'app/admin/admin.module#AdminModule',
10-
dashboard: 'app/dashboard/dashboard.module#DashboardModule',
11-
speakers: 'app/speakers/speakers.module#SpeakersModule',
12-
sessions: 'app/sessions/sessions.module#SessionsModule'
9+
admin: () => import('app/admin/admin.module').then(m => m.AdminModule),
10+
dashboard: () => import('app/dashboard/dashboard.module').then(m => m.DashboardModule),
11+
speakers: () => import('app/speakers/speakers.module').then(m => m.SpeakersModule),
12+
sessions: () => import('app/sessions/sessions.module').then(m => m.SessionsModule)
1313
};
1414

1515
const data = { preload: true };

src/app/sessions/session-list/session-list.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class SessionListComponent implements OnDestroy, OnInit {
1414
private subs = new Subscription();
1515
sessions: Session[];
1616
filteredSessions = this.sessions;
17-
@ViewChild(FilterTextComponent) filterComponent: FilterTextComponent;
17+
@ViewChild(FilterTextComponent, { static: true }) filterComponent: FilterTextComponent;
1818

1919
constructor(private filterService: FilterTextService, private sessionService: SessionService) {}
2020

src/app/speakers/speaker-list/speaker-list.component.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { FilterTextService } from '../../shared/filter-text/filter-text.service'
1212
})
1313
export class SpeakerListComponent implements OnDestroy, OnInit {
1414
private subs = new Subscription();
15-
@ViewChild(FilterTextComponent) filterComponent: FilterTextComponent;
15+
@ViewChild(FilterTextComponent, { static: true }) filterComponent: FilterTextComponent;
1616
speakers: Speaker[] = [];
1717
filteredSpeakers = this.speakers;
1818

src/tsconfig.app.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/app",
5-
"module": "es2015",
65
"baseUrl": "",
76
"types": []
87
},

src/tsconfig.spec.json

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/spec",
5-
"module": "commonjs",
6-
"target": "es5",
75
"baseUrl": "",
86
"types": [
97
"jasmine",

tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
"compileOnSave": false,
33
"compilerOptions": {
44
"importHelpers": true,
5+
"module": "esnext",
56
"outDir": "./dist/out-tsc",
67
"baseUrl": "src",
78
"sourceMap": true,
89
"declaration": false,
910
"moduleResolution": "node",
1011
"emitDecoratorMetadata": true,
1112
"experimentalDecorators": true,
12-
"target": "es5",
13+
"target": "es2015",
1314
"typeRoots": [
1415
"node_modules/@types"
1516
],

tslint.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565

6666
"directive-selector": [true, "attribute", "ev", "camelCase"],
6767
"component-selector": [true, "element", "ev", "kebab-case"],
68-
"use-input-property-decorator": true,
69-
"use-output-property-decorator": true,
70-
"use-host-property-decorator": true,
68+
"no-inputs-metadata-property": true,
69+
"no-outputs-metadata-property": true,
70+
"no-host-metadata-property": true,
7171
"no-input-rename": true,
7272
"no-output-rename": true,
73-
"use-life-cycle-interface": true,
73+
"use-lifecycle-interface": true,
7474
"use-pipe-transform-interface": true,
7575
"component-class-suffix": true,
7676
"directive-class-suffix": true,

0 commit comments

Comments
 (0)