Skip to content

Commit d5e84a9

Browse files
committed
bump 4.2.0
1 parent 7dc864f commit d5e84a9

File tree

5 files changed

+27
-26
lines changed

5 files changed

+27
-26
lines changed

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@
1212
},
1313
"private": true,
1414
"dependencies": {
15-
"@angular/common": "4.0.0-rc.5",
16-
"@angular/compiler": "4.0.0-rc.5",
17-
"@angular/core": "4.0.0-rc.5",
18-
"@angular/forms": "4.0.0-rc.5",
19-
"@angular/http": "4.0.0-rc.5",
20-
"@angular/platform-browser": "4.0.0-rc.5",
21-
"@angular/platform-browser-dynamic": "4.0.0-rc.5",
22-
"@angular/router": "4.0.0-rc.5",
15+
"@angular/common": "4.2.0",
16+
"@angular/compiler": "4.2.0",
17+
"@angular/core": "4.2.0",
18+
"@angular/forms": "4.2.0",
19+
"@angular/http": "4.2.0",
20+
"@angular/platform-browser": "4.2.0",
21+
"@angular/platform-browser-dynamic": "4.2.0",
22+
"@angular/router": "4.2.0",
2323
"@types/lodash": "4.14.55",
2424
"core-js": "2.4.1",
2525
"lodash": "4.17.4",
2626
"moment": "2.18.0",
2727
"redux": "3.6.0",
2828
"reselect": "2.5.4",
2929
"rxjs": "5.0.1",
30-
"zone.js": "0.8.4",
30+
"zone.js": "0.8.10",
3131
"reflect-metadata": "0.1.3",
3232
"@types/jasmine": "2.5.40"
3333
},
3434
"devDependencies": {
35-
"@angular/cli": "1.0.0-rc.4",
36-
"@angular/compiler-cli": "4.0.0-rc.5",
35+
"@angular/cli": "1.2.0-beta.1",
36+
"@angular/compiler-cli": "4.2.0",
3737
"@types/jasmine": "2.5.38",
3838
"@types/node": "~6.0.60",
3939
"codelyzer": "~2.0.0",
@@ -48,6 +48,6 @@
4848
"protractor": "~5.1.0",
4949
"ts-node": "~2.0.0",
5050
"tslint": "~4.4.2",
51-
"typescript": "2.1.5"
51+
"typescript": "2.3.2"
5252
}
5353
}

src/app/chat-window/chat-window.component.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import {
22
Component,
33
Inject,
44
ElementRef,
5-
OnInit
5+
OnInit,
6+
ChangeDetectionStrategy
67
} from '@angular/core';
78
import { Observable } from 'rxjs';
89

@@ -16,7 +17,8 @@ import { MessagesService } from '../message/messages.service';
1617
@Component({
1718
selector: 'chat-window',
1819
templateUrl: './chat-window.component.html',
19-
styleUrls: ['./chat-window.component.css']
20+
styleUrls: ['./chat-window.component.css'],
21+
changeDetection: ChangeDetectionStrategy.OnPush
2022
})
2123
export class ChatWindowComponent implements OnInit {
2224
messages: Observable<any>;

src/tsconfig.spec.json

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
{
2+
"extends": "../tsconfig.json",
23
"compilerOptions": {
3-
"sourceMap": true,
4-
"declaration": false,
5-
"moduleResolution": "node",
6-
"emitDecoratorMetadata": true,
7-
"experimentalDecorators": true,
8-
"lib": [
9-
"es2016"
10-
],
114
"outDir": "../out-tsc/spec",
125
"module": "commonjs",
13-
"target": "es6",
6+
"target": "es5",
147
"baseUrl": "",
158
"types": [
169
"jasmine",
@@ -21,6 +14,7 @@
2114
"test.ts"
2215
],
2316
"include": [
24-
"**/*.spec.ts"
17+
"**/*.spec.ts",
18+
"**/*.d.ts"
2519
]
2620
}

src/typings.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* SystemJS module definition */
2-
declare var module: {
2+
declare var module: NodeModule;
3+
interface NodeModule {
34
id: string;
4-
};
5+
}

tsconfig.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
"compileOnSave": false,
33
"compilerOptions": {
44
"outDir": "./dist/out-tsc",
5+
"baseUrl": "src",
56
"sourceMap": true,
67
"declaration": false,
78
"moduleResolution": "node",
89
"emitDecoratorMetadata": true,
910
"experimentalDecorators": true,
1011
"target": "es5",
12+
"typeRoots": [
13+
"node_modules/@types"
14+
],
1115
"lib": [
1216
"es2016",
1317
"dom"

0 commit comments

Comments
 (0)