Skip to content

Commit 5c4fddd

Browse files
Update all the things (#22)
* Angular 4.0.0 * angular-redux 6.1.0 * angular/cli 1.0.0
1 parent 144d81c commit 5c4fddd

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,27 @@
1515
},
1616
"private": true,
1717
"dependencies": {
18-
"@angular-redux/form": "^6.0.1",
19-
"@angular-redux/router": "^6.0.1",
20-
"@angular-redux/store": "^6.0.1",
21-
"@angular/common": "^2.4.0",
22-
"@angular/compiler": "^2.4.0",
23-
"@angular/core": "^2.4.0",
24-
"@angular/forms": "^2.4.0",
25-
"@angular/http": "^2.4.0",
26-
"@angular/platform-browser": "^2.4.0",
27-
"@angular/platform-browser-dynamic": "^2.4.0",
28-
"@angular/router": "^3.4.0",
18+
"@angular-redux/form": "^6.1.1",
19+
"@angular-redux/router": "^6.1.0",
20+
"@angular-redux/store": "^6.1.0",
21+
"@angular/common": "^4.0.0",
22+
"@angular/compiler": "^4.0.0",
23+
"@angular/core": "^4.0.0",
24+
"@angular/forms": "^4.0.0",
25+
"@angular/http": "^4.0.0",
26+
"@angular/platform-browser": "^4.0.0",
27+
"@angular/platform-browser-dynamic": "^4.0.0",
28+
"@angular/router": "^4.0.0",
2929
"core-js": "^2.4.1",
3030
"redux": "^3.6.0",
3131
"redux-logger": "^2.8.1",
3232
"redux-observable": "^0.13.0",
3333
"rxjs": "^5.1.0",
34-
"zone.js": "^0.7.6"
34+
"zone.js": "^0.8.4"
3535
},
3636
"devDependencies": {
37-
"@angular/cli": "1.0.0-rc.1",
38-
"@angular/compiler-cli": "^2.4.0",
37+
"@angular/cli": "1.0.0",
38+
"@angular/compiler-cli": "^4.0.0",
3939
"@types/jasmine": "2.5.38",
4040
"@types/node": "~6.0.60",
4141
"@types/redux-logger": "^2.6.34",
@@ -51,6 +51,6 @@
5151
"protractor": "~5.1.0",
5252
"ts-node": "~2.0.0",
5353
"tslint": "~4.4.2",
54-
"typescript": "~2.0.0"
54+
"typescript": "^2.1.0"
5555
}
5656
}

src/app/animals/animal.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { ANIMAL_TYPES, AnimalType } from '../animals/animal.types';
66

77
// A fake API on the internets.
88
const URLS = {
9-
[ANIMAL_TYPES.LION]: '/api/animals/lions', // 'http://www.mocky.io/v2/588d70ad100000e50f2d2983',
10-
[ANIMAL_TYPES.ELEPHANT]: '/api/animals/elephants', // 'http://www.mocky.io/v2/588d702d100000d50f2d2980',
9+
[ANIMAL_TYPES.LION]: 'http://www.mocky.io/v2/588d70ad100000e50f2d2983',
10+
[ANIMAL_TYPES.ELEPHANT]: 'http://www.mocky.io/v2/588d702d100000d50f2d2980',
1111
};
1212

1313
@Injectable()

src/app/store/store.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { NgReduxRouterModule, NgReduxRouter } from '@angular-redux/router';
99
import { provideReduxForms } from '@angular-redux/form';
1010

1111
// Redux ecosystem stuff.
12-
import * as createLogger from 'redux-logger';
12+
import createLogger from 'redux-logger';
1313
import { combineEpics, createEpicMiddleware } from 'redux-observable';
1414

1515
// The top-level reducers and epics that make up our app's logic.

0 commit comments

Comments
 (0)