Skip to content
This repository was archived by the owner on Jan 16, 2019. It is now read-only.

Commit e5f9e88

Browse files
committed
Migration to React Router 4
1 parent f25b5eb commit e5f9e88

File tree

92 files changed

+6653
-1060
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+6653
-1060
lines changed

.eslintrc.js

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
],
88
env: {
99
browser: true,
10+
jest: true,
1011
node: true,
1112
},
1213
plugins: [
@@ -35,6 +36,7 @@ module.exports = {
3536
jsx: 'never'
3637
}
3738
],
39+
'import/no-named-as-default': 'off',
3840
'react/no-array-index-key': 'off',
3941
'react/jsx-closing-bracket-location': 'off',
4042
'react/jsx-first-prop-new-line': ['error', 'never'],

.flowconfig

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
[libs]
77

88
[options]
9-
module.name_mapper='^\(actions\|components\|data\|middlewares\|reducers\|types\|utils\|views\)\/?\(.*\)$' -> '<PROJECT_ROOT>/src/js/\1/\2'
9+
module.name_mapper='^\(actions\|components\|data\|middlewares\|mocks\|reducers\|stores\|types\|utils\|views\)\/?\(.*\)$' -> '<PROJECT_ROOT>/src/js/\1/\2'
1010
module.name_mapper='^img\/\(.*\)$' -> '<PROJECT_ROOT>/src/img/\1'
11+
module.name_mapper.extension='css' -> '<PROJECT_ROOT>/__mocks__/cssStub.js.flow'
12+
module.name_mapper.extension='scss' -> '<PROJECT_ROOT>/__mocks__/cssStub.js.flow'
1113
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe

flow-typed/npm/autoprefixer_vx.x.x.js

+30-16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: f1d29ff79066339336a9ee20b07ef696
2-
// flow-typed version: <<STUB>>/autoprefixer_v^6.7.0/flow_v0.38.0
1+
// flow-typed signature: 22bacc0f31610f4e6d00457d8f380bfe
2+
// flow-typed version: <<STUB>>/autoprefixer_v^7.1.2/flow_v0.51.0
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

@@ -58,6 +58,10 @@ declare module 'autoprefixer/lib/hacks/align-self' {
5858
declare module.exports: any;
5959
}
6060

61+
declare module 'autoprefixer/lib/hacks/appearance' {
62+
declare module.exports: any;
63+
}
64+
6165
declare module 'autoprefixer/lib/hacks/background-size' {
6266
declare module.exports: any;
6367
}
@@ -90,10 +94,6 @@ declare module 'autoprefixer/lib/hacks/display-grid' {
9094
declare module.exports: any;
9195
}
9296

93-
declare module 'autoprefixer/lib/hacks/fill' {
94-
declare module.exports: any;
95-
}
96-
9797
declare module 'autoprefixer/lib/hacks/filter-value' {
9898
declare module.exports: any;
9999
}
@@ -146,6 +146,10 @@ declare module 'autoprefixer/lib/hacks/gradient' {
146146
declare module.exports: any;
147147
}
148148

149+
declare module 'autoprefixer/lib/hacks/grid-column-align' {
150+
declare module.exports: any;
151+
}
152+
149153
declare module 'autoprefixer/lib/hacks/grid-end' {
150154
declare module.exports: any;
151155
}
@@ -174,11 +178,11 @@ declare module 'autoprefixer/lib/hacks/inline-logical' {
174178
declare module.exports: any;
175179
}
176180

177-
declare module 'autoprefixer/lib/hacks/justify-content' {
181+
declare module 'autoprefixer/lib/hacks/intrinsic' {
178182
declare module.exports: any;
179183
}
180184

181-
declare module 'autoprefixer/lib/hacks/justify-items' {
185+
declare module 'autoprefixer/lib/hacks/justify-content' {
182186
declare module.exports: any;
183187
}
184188

@@ -198,6 +202,10 @@ declare module 'autoprefixer/lib/hacks/placeholder' {
198202
declare module.exports: any;
199203
}
200204

205+
declare module 'autoprefixer/lib/hacks/text-decoration' {
206+
declare module.exports: any;
207+
}
208+
201209
declare module 'autoprefixer/lib/hacks/text-emphasis-position' {
202210
declare module.exports: any;
203211
}
@@ -286,6 +294,9 @@ declare module 'autoprefixer/lib/hacks/align-items.js' {
286294
declare module 'autoprefixer/lib/hacks/align-self.js' {
287295
declare module.exports: $Exports<'autoprefixer/lib/hacks/align-self'>;
288296
}
297+
declare module 'autoprefixer/lib/hacks/appearance.js' {
298+
declare module.exports: $Exports<'autoprefixer/lib/hacks/appearance'>;
299+
}
289300
declare module 'autoprefixer/lib/hacks/background-size.js' {
290301
declare module.exports: $Exports<'autoprefixer/lib/hacks/background-size'>;
291302
}
@@ -310,9 +321,6 @@ declare module 'autoprefixer/lib/hacks/display-flex.js' {
310321
declare module 'autoprefixer/lib/hacks/display-grid.js' {
311322
declare module.exports: $Exports<'autoprefixer/lib/hacks/display-grid'>;
312323
}
313-
declare module 'autoprefixer/lib/hacks/fill.js' {
314-
declare module.exports: $Exports<'autoprefixer/lib/hacks/fill'>;
315-
}
316324
declare module 'autoprefixer/lib/hacks/filter-value.js' {
317325
declare module.exports: $Exports<'autoprefixer/lib/hacks/filter-value'>;
318326
}
@@ -352,6 +360,9 @@ declare module 'autoprefixer/lib/hacks/fullscreen.js' {
352360
declare module 'autoprefixer/lib/hacks/gradient.js' {
353361
declare module.exports: $Exports<'autoprefixer/lib/hacks/gradient'>;
354362
}
363+
declare module 'autoprefixer/lib/hacks/grid-column-align.js' {
364+
declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-column-align'>;
365+
}
355366
declare module 'autoprefixer/lib/hacks/grid-end.js' {
356367
declare module.exports: $Exports<'autoprefixer/lib/hacks/grid-end'>;
357368
}
@@ -373,12 +384,12 @@ declare module 'autoprefixer/lib/hacks/image-set.js' {
373384
declare module 'autoprefixer/lib/hacks/inline-logical.js' {
374385
declare module.exports: $Exports<'autoprefixer/lib/hacks/inline-logical'>;
375386
}
387+
declare module 'autoprefixer/lib/hacks/intrinsic.js' {
388+
declare module.exports: $Exports<'autoprefixer/lib/hacks/intrinsic'>;
389+
}
376390
declare module 'autoprefixer/lib/hacks/justify-content.js' {
377391
declare module.exports: $Exports<'autoprefixer/lib/hacks/justify-content'>;
378392
}
379-
declare module 'autoprefixer/lib/hacks/justify-items.js' {
380-
declare module.exports: $Exports<'autoprefixer/lib/hacks/justify-items'>;
381-
}
382393
declare module 'autoprefixer/lib/hacks/mask-border.js' {
383394
declare module.exports: $Exports<'autoprefixer/lib/hacks/mask-border'>;
384395
}
@@ -391,6 +402,9 @@ declare module 'autoprefixer/lib/hacks/pixelated.js' {
391402
declare module 'autoprefixer/lib/hacks/placeholder.js' {
392403
declare module.exports: $Exports<'autoprefixer/lib/hacks/placeholder'>;
393404
}
405+
declare module 'autoprefixer/lib/hacks/text-decoration.js' {
406+
declare module.exports: $Exports<'autoprefixer/lib/hacks/text-decoration'>;
407+
}
394408
declare module 'autoprefixer/lib/hacks/text-emphasis-position.js' {
395409
declare module.exports: $Exports<'autoprefixer/lib/hacks/text-emphasis-position'>;
396410
}

flow-typed/npm/axios_v0.15.x.js flow-typed/npm/axios_v0.16.x.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 09272b82e4d7a497eb3ffd12dd130407
2-
// flow-typed version: d28912a036/axios_v0.15.x/flow_>=v0.28.x
1+
// flow-typed signature: c66ffd047058e4721afb3d9fedb38f07
2+
// flow-typed version: b43dff3e0e/axios_v0.16.x/flow_>=v0.25.x
33

44
declare module 'axios' {
55
declare interface ProxyConfig {
@@ -96,6 +96,7 @@ declare module 'axios' {
9696
request: AxiosRequestInterceptor<mixed>,
9797
response: AxiosResponseInterceptor<mixed>,
9898
};
99+
defaults: AxiosXHRConfig<*> & { headers: Object };
99100
}
100101

101102
declare class AxiosError<T> extends Error {

flow-typed/npm/babel-cli_vx.x.x.js

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
// flow-typed signature: ebb2dc802b3f17d89ea3e6e93c7abcab
2+
// flow-typed version: <<STUB>>/babel-cli_v^6.24.1/flow_v0.51.0
3+
4+
/**
5+
* This is an autogenerated libdef stub for:
6+
*
7+
* 'babel-cli'
8+
*
9+
* Fill this stub out by replacing all the `any` types.
10+
*
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
13+
* https://github.com/flowtype/flow-typed
14+
*/
15+
16+
declare module 'babel-cli' {
17+
declare module.exports: any;
18+
}
19+
20+
/**
21+
* We include stubs for each file inside this npm package in case you need to
22+
* require those files directly. Feel free to delete any files that aren't
23+
* needed.
24+
*/
25+
declare module 'babel-cli/bin/babel-doctor' {
26+
declare module.exports: any;
27+
}
28+
29+
declare module 'babel-cli/bin/babel-external-helpers' {
30+
declare module.exports: any;
31+
}
32+
33+
declare module 'babel-cli/bin/babel-node' {
34+
declare module.exports: any;
35+
}
36+
37+
declare module 'babel-cli/bin/babel' {
38+
declare module.exports: any;
39+
}
40+
41+
declare module 'babel-cli/lib/_babel-node' {
42+
declare module.exports: any;
43+
}
44+
45+
declare module 'babel-cli/lib/babel-external-helpers' {
46+
declare module.exports: any;
47+
}
48+
49+
declare module 'babel-cli/lib/babel-node' {
50+
declare module.exports: any;
51+
}
52+
53+
declare module 'babel-cli/lib/babel/dir' {
54+
declare module.exports: any;
55+
}
56+
57+
declare module 'babel-cli/lib/babel/file' {
58+
declare module.exports: any;
59+
}
60+
61+
declare module 'babel-cli/lib/babel/index' {
62+
declare module.exports: any;
63+
}
64+
65+
declare module 'babel-cli/lib/babel/util' {
66+
declare module.exports: any;
67+
}
68+
69+
// Filename aliases
70+
declare module 'babel-cli/bin/babel-doctor.js' {
71+
declare module.exports: $Exports<'babel-cli/bin/babel-doctor'>;
72+
}
73+
declare module 'babel-cli/bin/babel-external-helpers.js' {
74+
declare module.exports: $Exports<'babel-cli/bin/babel-external-helpers'>;
75+
}
76+
declare module 'babel-cli/bin/babel-node.js' {
77+
declare module.exports: $Exports<'babel-cli/bin/babel-node'>;
78+
}
79+
declare module 'babel-cli/bin/babel.js' {
80+
declare module.exports: $Exports<'babel-cli/bin/babel'>;
81+
}
82+
declare module 'babel-cli/index' {
83+
declare module.exports: $Exports<'babel-cli'>;
84+
}
85+
declare module 'babel-cli/index.js' {
86+
declare module.exports: $Exports<'babel-cli'>;
87+
}
88+
declare module 'babel-cli/lib/_babel-node.js' {
89+
declare module.exports: $Exports<'babel-cli/lib/_babel-node'>;
90+
}
91+
declare module 'babel-cli/lib/babel-external-helpers.js' {
92+
declare module.exports: $Exports<'babel-cli/lib/babel-external-helpers'>;
93+
}
94+
declare module 'babel-cli/lib/babel-node.js' {
95+
declare module.exports: $Exports<'babel-cli/lib/babel-node'>;
96+
}
97+
declare module 'babel-cli/lib/babel/dir.js' {
98+
declare module.exports: $Exports<'babel-cli/lib/babel/dir'>;
99+
}
100+
declare module 'babel-cli/lib/babel/file.js' {
101+
declare module.exports: $Exports<'babel-cli/lib/babel/file'>;
102+
}
103+
declare module 'babel-cli/lib/babel/index.js' {
104+
declare module.exports: $Exports<'babel-cli/lib/babel/index'>;
105+
}
106+
declare module 'babel-cli/lib/babel/util.js' {
107+
declare module.exports: $Exports<'babel-cli/lib/babel/util'>;
108+
}

flow-typed/npm/babel-core_vx.x.x.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 8c2418898173ce381694dfcb29c784a4
2-
// flow-typed version: <<STUB>>/babel-core_v^6.22.1/flow_v0.38.0
1+
// flow-typed signature: 6e30dcfd3aebee9a63401dfe77e6ab4c
2+
// flow-typed version: <<STUB>>/babel-core_v^6.25.0/flow_v0.51.0
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

flow-typed/npm/babel-eslint_vx.x.x.js

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: 898fc9205f942f10e1958989fc3958fb
2-
// flow-typed version: <<STUB>>/babel-eslint_v^7.1.1/flow_v0.38.0
1+
// flow-typed signature: 3df381be6db1c72482a9a1ec476a886b
2+
// flow-typed version: <<STUB>>/babel-eslint_v^7.2.3/flow_v0.51.0
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

@@ -26,6 +26,10 @@ declare module 'babel-eslint/babylon-to-espree/attachComments' {
2626
declare module.exports: any;
2727
}
2828

29+
declare module 'babel-eslint/babylon-to-espree/convertComments' {
30+
declare module.exports: any;
31+
}
32+
2933
declare module 'babel-eslint/babylon-to-espree/convertTemplateType' {
3034
declare module.exports: any;
3135
}
@@ -50,6 +54,9 @@ declare module 'babel-eslint/babylon-to-espree/toTokens' {
5054
declare module 'babel-eslint/babylon-to-espree/attachComments.js' {
5155
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/attachComments'>;
5256
}
57+
declare module 'babel-eslint/babylon-to-espree/convertComments.js' {
58+
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertComments'>;
59+
}
5360
declare module 'babel-eslint/babylon-to-espree/convertTemplateType.js' {
5461
declare module.exports: $Exports<'babel-eslint/babylon-to-espree/convertTemplateType'>;
5562
}

flow-typed/npm/babel-loader_vx.x.x.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// flow-typed signature: b5b9382dc5715df97e371240cf2afddc
2-
// flow-typed version: <<STUB>>/babel-loader_v^6.2.4/flow_v0.38.0
1+
// flow-typed signature: aa62c3a3873d745d5cd5cda076402622
2+
// flow-typed version: <<STUB>>/babel-loader_v^7.1.1/flow_v0.51.0
33

44
/**
55
* This is an autogenerated libdef stub for:
@@ -8,8 +8,8 @@
88
*
99
* Fill this stub out by replacing all the `any` types.
1010
*
11-
* Once filled out, we encourage you to share your work with the
12-
* community by sending a pull request to:
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
1313
* https://github.com/flowtype/flow-typed
1414
*/
1515

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// flow-typed signature: bf176eb8e52f2c96e4fc9a17ce3c9449
2+
// flow-typed version: <<STUB>>/babel-plugin-transform-class-properties_v^6.24.1/flow_v0.51.0
3+
4+
/**
5+
* This is an autogenerated libdef stub for:
6+
*
7+
* 'babel-plugin-transform-class-properties'
8+
*
9+
* Fill this stub out by replacing all the `any` types.
10+
*
11+
* Once filled out, we encourage you to share your work with the
12+
* community by sending a pull request to:
13+
* https://github.com/flowtype/flow-typed
14+
*/
15+
16+
declare module 'babel-plugin-transform-class-properties' {
17+
declare module.exports: any;
18+
}
19+
20+
/**
21+
* We include stubs for each file inside this npm package in case you need to
22+
* require those files directly. Feel free to delete any files that aren't
23+
* needed.
24+
*/
25+
declare module 'babel-plugin-transform-class-properties/lib/index' {
26+
declare module.exports: any;
27+
}
28+
29+
// Filename aliases
30+
declare module 'babel-plugin-transform-class-properties/lib/index.js' {
31+
declare module.exports: $Exports<'babel-plugin-transform-class-properties/lib/index'>;
32+
}

0 commit comments

Comments
 (0)