Skip to content

Commit b355287

Browse files
authored
feat(*): Upgrade to Angular 8 (#139)
- Updgrade to Angular 8 - Update docs BREAKING CHANGE: The upgrade to Angular 8 breaks compatibility with Angular 7 (and previous versions).
1 parent 06be2f6 commit b355287

File tree

13 files changed

+8813
-7099
lines changed

13 files changed

+8813
-7099
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ import { ViewChild } from "@angular/core";
383383
// ...
384384
})
385385
export class SomeComponent {
386-
@ViewChild("customNotification") customNotificationTmpl;
386+
@ViewChild("customNotification", {static: true}) customNotificationTmpl;
387387

388388
constructor(private notifierService: NotifierService) {}
389389

angular.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"newProjectRoot": "projects",
55
"projects": {
66
"angular-notifier": {
7+
"projectType": "library",
78
"root": "projects/angular-notifier",
89
"sourceRoot": "projects/angular-notifier/src",
9-
"projectType": "library",
1010
"architect": {
1111
"build": {
1212
"builder": "@angular-devkit/build-ng-packagr:build",
@@ -24,9 +24,9 @@
2424
}
2525
},
2626
"angular-notifier-demo": {
27+
"projectType": "application",
2728
"root": "projects/angular-notifier-demo/",
2829
"sourceRoot": "projects/angular-notifier-demo/src",
29-
"projectType": "application",
3030
"architect": {
3131
"build": {
3232
"builder": "@angular-devkit/build-angular:browser",
@@ -36,15 +36,15 @@
3636
"main": "projects/angular-notifier-demo/src/main.ts",
3737
"polyfills": "projects/angular-notifier-demo/src/polyfills.ts",
3838
"tsConfig": "projects/angular-notifier-demo/tsconfig.app.json",
39+
"aot": false,
3940
"assets": [
4041
"projects/angular-notifier-demo/src/favicon.ico",
4142
"projects/angular-notifier-demo/src/assets"
4243
],
4344
"styles": [
4445
"projects/angular-notifier-demo/src/styles.scss"
4546
],
46-
"scripts": [],
47-
"es5BrowserSupport": true
47+
"scripts": []
4848
},
4949
"configurations": {
5050
"production": {
@@ -60,7 +60,7 @@
6060
"extractCss": true,
6161
"namedChunks": false,
6262
"aot": true,
63-
"extractLicenses": true,
63+
"extractLicenses": false,
6464
"vendorChunk": false,
6565
"buildOptimizer": true
6666
}

0 commit comments

Comments
 (0)