Skip to content

Commit 6a07bb0

Browse files
committed
chore: update to Angular v8
1 parent d5ce0a6 commit 6a07bb0

File tree

3 files changed

+54
-52
lines changed

3 files changed

+54
-52
lines changed

CHANGELOG.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,38 @@
11
## [angular](./README.md) version `changelog`
22

3-
###### `v2.Next`
3+
###### `v2.5.0`
44
- refactor(app.routing): lazy loading via dynamic import()
5+
- refactor(modals): `ViewChild` second parameter
56
- refactor(tsconfig): "module: "esnext", "target": "es6"
67
- chore(tslint): remove undefined rules
7-
- update: Angular to `v8.0.0-rc-2`
8-
- update: `@angular/animations` to `^8.0.0-rc.2`
9-
- update: `@angular/common` to `^8.0.0-rc.2`
10-
- update: `@angular/compiler` to `^8.0.0-rc.2`
11-
- update: `@angular/core` to `^8.0.0-rc.2`
12-
- update: `@angular/forms` to `^8.0.0-rc.2`
8+
- update: Angular to `v8.0.0`
9+
- update: `@angular/animations` to `^8.0.0`
10+
- update: `@angular/common` to `^8.0.0`
11+
- update: `@angular/compiler` to `^8.0.0`
12+
- update: `@angular/core` to `^8.0.0`
13+
- update: `@angular/forms` to `^8.0.0`
1314
- update: `@angular/http` to `^8.0.0-beta.10`
14-
- update: `@angular/platform-browser` to `^8.0.0-rc.2`
15-
- update: `@angular/platform-browser-dynamic` to `^8.0.0-rc.2`
16-
- update: `@angular/router` to `^8.0.0-rc.2`
17-
- update: `@coreui/coreui` to `^2.1.9`
18-
- update: `rxjs` to `^6.5.1`
15+
- update: `@angular/platform-browser` to `^8.0.0`
16+
- update: `@angular/platform-browser-dynamic` to `^8.0.0`
17+
- update: `@angular/router` to `^8.0.0`
18+
- update: `@coreui/coreui` to `^2.1.11`
19+
- update: `core-js` to `^2.6.9`
20+
- update: `rxjs` to `^6.5.2`
1921
- update: `tsickle` to `^0.35.0`
2022
- update: `tslib` to `^1.9.3`
2123
- update: `zone.js` to `^0.9.1`
22-
- update: `@angular-devkit/build-angular` to `^0.800.0-rc.2`
23-
- update: `@angular/cli` to `^8.0.0-rc.2`
24-
- update: `@angular/compiler-cli` to `^8.0.0-rc.2`
25-
- update: `@angular/language-service` to `^8.0.0-rc.2`
26-
- update: `@types/node` to `^12.0.0`
27-
- update: `codelyzer` to `^5.0.1`
24+
- update: `@angular-devkit/build-angular` to `^0.800.1`
25+
- update: `@angular/cli` to `^8.0.1`
26+
- update: `@angular/compiler-cli` to `^8.0.0`
27+
- update: `@angular/language-service` to `^8.0.0`
28+
- update: `@types/node` to `^12.0.4`
29+
- update: `codelyzer` to `^5.1.0`
2830
- update: `jasmine-core` to `^3.4.0`
2931
- update: `karma` to `^4.1.0`
3032
- update: `karma-jasmine-html-reporter` to `^1.4.2`
31-
- update: `ts-node` to `^8.1.0`
32-
- update: `tslint` to `^5.16.0`
33-
- update: `typescript` to `^3.4.5`
33+
- update: `ts-node` to `^8.2.0`
34+
- update: `tslint` to `^5.17.0`
35+
- update: `typescript` to `~3.4.5`
3436

3537
###### `v2.4.5`
3638
- refactor(modals): add `@ViewChild`

package.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/coreui-free-angular-admin-template",
3-
"version": "2.5.0-beta.0",
3+
"version": "2.5.0-beta.1",
44
"description": "CoreUI Free Angular 2+ Admin Template",
55
"author": {
66
"name": "Łukasz Holeczek",
@@ -27,45 +27,45 @@
2727
},
2828
"private": true,
2929
"dependencies": {
30-
"@angular/animations": "^8.0.0-rc.2",
31-
"@angular/common": "^8.0.0-rc.2",
32-
"@angular/compiler": "^8.0.0-rc.2",
33-
"@angular/core": "^8.0.0-rc.2",
34-
"@angular/forms": "^8.0.0-rc.2",
30+
"@angular/animations": "^8.0.0",
31+
"@angular/common": "^8.0.0",
32+
"@angular/compiler": "^8.0.0",
33+
"@angular/core": "^8.0.0",
34+
"@angular/forms": "^8.0.0",
3535
"@angular/http": "^8.0.0-beta.10",
36-
"@angular/platform-browser": "^8.0.0-rc.2",
37-
"@angular/platform-browser-dynamic": "^8.0.0-rc.2",
38-
"@angular/router": "^8.0.0-rc.2",
36+
"@angular/platform-browser": "^8.0.0",
37+
"@angular/platform-browser-dynamic": "^8.0.0",
38+
"@angular/router": "^8.0.0",
3939
"@coreui/angular": "^2.4.5",
40-
"@coreui/coreui": "^2.1.9",
41-
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.2.0",
40+
"@coreui/coreui": "^2.1.11",
41+
"@coreui/coreui-plugin-chartjs-custom-tooltips": "^1.3.1",
4242
"@coreui/icons": "0.3.0",
4343
"bootstrap": "^4.3.1",
4444
"chart.js": "^2.8.0",
45-
"core-js": "^2.6.5",
45+
"core-js": "^2.6.9",
4646
"flag-icon-css": "^3.3.0",
4747
"font-awesome": "^4.7.0",
4848
"moment": "^2.24.0",
4949
"mutationobserver-shim": "^0.3.3",
5050
"ng2-charts": "^1.6.0",
5151
"ngx-bootstrap": "^3.3.0",
5252
"ngx-perfect-scrollbar": "^7.2.1",
53-
"rxjs": "^6.5.1",
53+
"rxjs": "^6.5.2",
5454
"simple-line-icons": "^2.4.1",
5555
"ts-helpers": "^1.1.2",
5656
"tsickle": "^0.35.0",
5757
"tslib": "^1.9.3",
5858
"zone.js": "^0.9.1"
5959
},
6060
"devDependencies": {
61-
"@angular-devkit/build-angular": "^0.800.0-rc.2",
62-
"@angular/cli": "^8.0.0-rc.2",
63-
"@angular/compiler-cli": "^8.0.0-rc.2",
64-
"@angular/language-service": "^8.0.0-rc.2",
65-
"@types/jasmine": "^3.3.12",
61+
"@angular-devkit/build-angular": "^0.800.1",
62+
"@angular/cli": "^8.0.1",
63+
"@angular/compiler-cli": "^8.0.0",
64+
"@angular/language-service": "^8.0.0",
65+
"@types/jasmine": "^3.3.13",
6666
"@types/jasminewd2": "^2.0.6",
67-
"@types/node": "^12.0.0",
68-
"codelyzer": "^5.0.1",
67+
"@types/node": "^12.0.4",
68+
"codelyzer": "^5.1.0",
6969
"jasmine-core": "^3.4.0",
7070
"jasmine-spec-reporter": "^4.2.1",
7171
"karma": "^4.1.0",
@@ -74,9 +74,9 @@
7474
"karma-jasmine": "^2.0.1",
7575
"karma-jasmine-html-reporter": "^1.4.2",
7676
"protractor": "^5.4.2",
77-
"ts-node": "^8.1.0",
78-
"tslint": "^5.16.0",
79-
"typescript": "^3.4.5"
77+
"ts-node": "^8.2.0",
78+
"tslint": "^5.17.0",
79+
"typescript": "~3.4.5"
8080
},
8181
"engines": {
8282
"node": ">= 8.9.4",

src/app/views/notifications/modals.component.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import {ModalDirective} from 'ngx-bootstrap/modal';
55
templateUrl: 'modals.component.html'
66
})
77
export class ModalsComponent {
8-
@ViewChild('myModal') public myModal: ModalDirective;
9-
@ViewChild('largeModal') public largeModal: ModalDirective;
10-
@ViewChild('smallModal') public smallModal: ModalDirective;
11-
@ViewChild('primaryModal') public primaryModal: ModalDirective;
12-
@ViewChild('successModal') public successModal: ModalDirective;
13-
@ViewChild('warningModal') public warningModal: ModalDirective;
14-
@ViewChild('dangerModal') public dangerModal: ModalDirective;
15-
@ViewChild('infoModal') public infoModal: ModalDirective;
8+
@ViewChild('myModal', {static: false}) public myModal: ModalDirective;
9+
@ViewChild('largeModal', {static: false}) public largeModal: ModalDirective;
10+
@ViewChild('smallModal', {static: false}) public smallModal: ModalDirective;
11+
@ViewChild('primaryModal', {static: false}) public primaryModal: ModalDirective;
12+
@ViewChild('successModal', {static: false}) public successModal: ModalDirective;
13+
@ViewChild('warningModal', {static: false}) public warningModal: ModalDirective;
14+
@ViewChild('dangerModal', {static: false}) public dangerModal: ModalDirective;
15+
@ViewChild('infoModal', {static: false}) public infoModal: ModalDirective;
1616
}

0 commit comments

Comments
 (0)