Skip to content
This repository has been archived by the owner on Nov 9, 2019. It is now read-only.

Commit

Permalink
Add compatibility with react-redux 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
MrEfrem committed Dec 15, 2016
1 parent 8bfd89b commit a8bb7b8
Show file tree
Hide file tree
Showing 30 changed files with 533 additions and 89 deletions.
4 changes: 2 additions & 2 deletions examples/async/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"enzyme": "^2.6.0",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.3.2",
"react-scripts": "0.8.1",
"react-scripts": "^0.8.4",
"rimraf": "^2.5.4"
},
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-redux": "^4.4.5",
"react-redux": "^5.0.1",
"redbox-react": "^1.3.3",
"redux": "^3.6.0",
"redux-fly": "*",
Expand Down
4 changes: 2 additions & 2 deletions examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"enzyme": "^2.6.0",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.3.2",
"react-scripts": "0.8.1",
"react-scripts": "^0.8.4",
"rimraf": "^2.5.4"
},
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-redux": "^4.4.5",
"react-redux": "^5.0.1",
"redbox-react": "^1.3.3",
"redux": "^3.6.0",
"redux-fly": "*"
Expand Down
6 changes: 3 additions & 3 deletions examples/nested_reused_components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"enzyme": "^2.6.0",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.3.2",
"react-scripts": "0.8.1",
"react-scripts": "^0.8.4",
"rimraf": "^2.5.4"
},
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-redux": "^4.4.5",
"recompose": "^0.20.2",
"react-redux": "^5.0.1",
"recompose": "^0.21.0",
"redbox-react": "^1.3.3",
"redux": "^3.6.0",
"redux-fly": "*"
Expand Down
4 changes: 2 additions & 2 deletions examples/random_gif/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"enzyme": "^2.6.0",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.3.2",
"react-scripts": "0.8.1",
"react-scripts": "^0.8.4",
"rimraf": "^2.5.4"
},
"dependencies": {
"babel-polyfill": "^6.16.0",
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-redux": "^4.4.5",
"react-redux": "^5.0.1",
"redbox-react": "^1.3.3",
"redux": "^3.6.0",
"redux-fly": "*"
Expand Down
6 changes: 3 additions & 3 deletions examples/reused_components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
"enzyme": "^2.6.0",
"gh-pages": "^0.12.0",
"react-addons-test-utils": "^15.3.2",
"react-scripts": "0.8.1",
"react-scripts": "^0.8.4",
"rimraf": "^2.5.4"
},
"dependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-redux": "^4.4.5",
"recompose": "^0.20.2",
"react-redux": "^5.0.1",
"recompose": "^0.21.0",
"redbox-react": "^1.3.3",
"redux": "^3.6.0",
"redux-fly": "*"
Expand Down
4 changes: 2 additions & 2 deletions examples/universal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"babel-loader": "^6.2.4",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-polyfill": "^6.9.0",
"babel-preset-env": "0.0.9",
"babel-preset-env": "^1.1.1",
"babel-preset-react": "^6.11.1",
"babel-register": "^6.9.0",
"babel-runtime": "^6.18.0",
Expand All @@ -23,7 +23,7 @@
"qs": "^6.3.0",
"react": "^15.0.2",
"react-dom": "^15.0.2",
"react-redux": "^4.4.5",
"react-redux": "^5.0.1",
"redbox-react": "^1.3.3",
"redux": "^3.5.2",
"redux-fly": "*",
Expand Down
2 changes: 1 addition & 1 deletion examples/universal/server/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const getTemplate = (markup, preloadedState) =>
'<div id="root"></div>', [
`<div id="root">${markup}</div>`,
`<script>window.__PRELOADED_STATE__=${serialize(preloadedState)};</script>`,
`<script src="/public/${config.webpack.fileName}?nocache=${Math.random()}"></script>`
`<script src="${config.webpack.publicPath}${config.webpack.fileName}?nocache=${Math.random()}"></script>`
].join('')
)

Expand Down
3 changes: 0 additions & 3 deletions examples/universal/webpack.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions flow-typed/npm/babel-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 21143f582d34814e14484d0b48468a2a
// flow-typed version: <<STUB>>/babel-cli_v^6.14.0/flow_v0.36.0
// flow-typed signature: e8677b5f2c30b43118ccae0a7c0bcff0
// flow-typed version: <<STUB>>/babel-cli_v^6.14.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: a81f2357ad0fe7bd5f5c2804b16f2c58
// flow-typed version: <<STUB>>/babel-eslint_v^7.0.0/flow_v0.36.0
// flow-typed signature: 1c9bec8ce6fd389e61c1c246d35bb7c5
// flow-typed version: <<STUB>>/babel-eslint_v^7.0.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-jest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: dd41e660af30a3c8db690e3465b224b9
// flow-typed version: <<STUB>>/babel-jest_v^17.0.0/flow_v0.36.0
// flow-typed signature: 25fda368ce840a90d6d98a2a4383a663
// flow-typed version: <<STUB>>/babel-jest_v^17.0.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-loader_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 713893810c1ede62aab1e51b2472cd48
// flow-typed version: <<STUB>>/babel-loader_v^6.2.7/flow_v0.36.0
// flow-typed signature: 2a07b38ecca1c060715dfb1221390650
// flow-typed version: <<STUB>>/babel-loader_v^6.2.7/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 1607137ad3dcfaa0ee945573ad14fd15
// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.15.0/flow_v0.36.0
// flow-typed signature: f32784563902e41b0c882badc1ccc6df
// flow-typed version: <<STUB>>/babel-plugin-transform-runtime_v^6.15.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-latest_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 3e6cbdbf1edaf99f8d8809ba3993e5e9
// flow-typed version: <<STUB>>/babel-preset-latest_v^6.14.0/flow_v0.36.0
// flow-typed signature: 3a6b8d267ae80a42faa5f09d72b2ee58
// flow-typed version: <<STUB>>/babel-preset-latest_v^6.14.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 1583710a13702efbe46ea9401887ae95
// flow-typed version: <<STUB>>/babel-preset-react_v^6.11.1/flow_v0.36.0
// flow-typed signature: 5f702b82331e8017b42fc1c90559aea5
// flow-typed version: <<STUB>>/babel-preset-react_v^6.11.1/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/babel-preset-stage-2_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: ff44b4d4f9ab142d186e24bcab49744c
// flow-typed version: <<STUB>>/babel-preset-stage-2_v^6.13.0/flow_v0.36.0
// flow-typed signature: c2e51f37071999a1831d51e8755871ca
// flow-typed version: <<STUB>>/babel-preset-stage-2_v^6.13.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/cross-env_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 6a52236e52c9941cafc1c1af862d1dc7
// flow-typed version: <<STUB>>/cross-env_v^3.0.0/flow_v0.36.0
// flow-typed signature: 967e082d0bfc7e74c611985aefaf3fe1
// flow-typed version: <<STUB>>/cross-env_v^3.0.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: c08fd306f63603c9e8a07ab3088110e4
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.28.2/flow_v0.36.0
// flow-typed signature: d486a127d1491ec59f73a9cff8412d56
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.28.2/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
4 changes: 2 additions & 2 deletions flow-typed/npm/eslint-plugin-import_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: f390bef0b84dfc600a67a4731dc2c535
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.2.0/flow_v0.36.0
// flow-typed signature: 8cfd8cbd11ff0832877936eb7f30ee34
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.2.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
25 changes: 23 additions & 2 deletions flow-typed/npm/eslint-plugin-react_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: d10208c144799153999864f9a6e0f681
// flow-typed version: <<STUB>>/eslint-plugin-react_v^6.3.0/flow_v0.36.0
// flow-typed signature: 3feb59aa7c12a2f4969babcbd49f5e47
// flow-typed version: <<STUB>>/eslint-plugin-react_v^6.3.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -130,6 +130,10 @@ declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines' {
declare module.exports: any;
}

declare module 'eslint-plugin-react/lib/rules/no-array-index-key' {
declare module.exports: any;
}

declare module 'eslint-plugin-react/lib/rules/no-children-prop' {
declare module.exports: any;
}
Expand Down Expand Up @@ -214,6 +218,10 @@ declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope' {
declare module.exports: any;
}

declare module 'eslint-plugin-react/lib/rules/require-default-props' {
declare module.exports: any;
}

declare module 'eslint-plugin-react/lib/rules/require-extension' {
declare module.exports: any;
}
Expand Down Expand Up @@ -246,6 +254,10 @@ declare module 'eslint-plugin-react/lib/rules/wrap-multilines' {
declare module.exports: any;
}

declare module 'eslint-plugin-react/lib/util/annotations' {
declare module.exports: any;
}

declare module 'eslint-plugin-react/lib/util/Components' {
declare module.exports: any;
}
Expand Down Expand Up @@ -354,6 +366,9 @@ declare module 'eslint-plugin-react/lib/rules/jsx-uses-vars.js' {
declare module 'eslint-plugin-react/lib/rules/jsx-wrap-multilines.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/jsx-wrap-multilines'>;
}
declare module 'eslint-plugin-react/lib/rules/no-array-index-key.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-array-index-key'>;
}
declare module 'eslint-plugin-react/lib/rules/no-children-prop.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/no-children-prop'>;
}
Expand Down Expand Up @@ -417,6 +432,9 @@ declare module 'eslint-plugin-react/lib/rules/prop-types.js' {
declare module 'eslint-plugin-react/lib/rules/react-in-jsx-scope.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/react-in-jsx-scope'>;
}
declare module 'eslint-plugin-react/lib/rules/require-default-props.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-default-props'>;
}
declare module 'eslint-plugin-react/lib/rules/require-extension.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/require-extension'>;
}
Expand All @@ -441,6 +459,9 @@ declare module 'eslint-plugin-react/lib/rules/style-prop-object.js' {
declare module 'eslint-plugin-react/lib/rules/wrap-multilines.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/rules/wrap-multilines'>;
}
declare module 'eslint-plugin-react/lib/util/annotations.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/annotations'>;
}
declare module 'eslint-plugin-react/lib/util/Components.js' {
declare module.exports: $Exports<'eslint-plugin-react/lib/util/Components'>;
}
Expand Down
11 changes: 9 additions & 2 deletions flow-typed/npm/eslint_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 27464b59eed425e69bde7c79940e69c1
// flow-typed version: <<STUB>>/eslint_v^3.5.0/flow_v0.36.0
// flow-typed signature: 79185fa1895a4feb32cb7c31dbaad927
// flow-typed version: <<STUB>>/eslint_v^3.5.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down Expand Up @@ -454,6 +454,10 @@ declare module 'eslint/lib/rules/no-array-constructor' {
declare module.exports: any;
}

declare module 'eslint/lib/rules/no-await-in-loop' {
declare module.exports: any;
}

declare module 'eslint/lib/rules/no-bitwise' {
declare module.exports: any;
}
Expand Down Expand Up @@ -1559,6 +1563,9 @@ declare module 'eslint/lib/rules/no-alert.js' {
declare module 'eslint/lib/rules/no-array-constructor.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-array-constructor'>;
}
declare module 'eslint/lib/rules/no-await-in-loop.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-await-in-loop'>;
}
declare module 'eslint/lib/rules/no-bitwise.js' {
declare module.exports: $Exports<'eslint/lib/rules/no-bitwise'>;
}
Expand Down
53 changes: 53 additions & 0 deletions flow-typed/npm/flow-copy-source_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// flow-typed signature: be0577f9c3b74344a3fa98796ccbd53f
// flow-typed version: <<STUB>>/flow-copy-source_v^1.1.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
*
* 'flow-copy-source'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your work with the
* community by sending a pull request to:
* https://github.com/flowtype/flow-typed
*/

declare module 'flow-copy-source' {
declare module.exports: any;
}

/**
* We include stubs for each file inside this npm package in case you need to
* require those files directly. Feel free to delete any files that aren't
* needed.
*/
declare module 'flow-copy-source/bin/flow-copy-source' {
declare module.exports: any;
}

declare module 'flow-copy-source/src/index' {
declare module.exports: any;
}

declare module 'flow-copy-source/src/kefir-copy-file' {
declare module.exports: any;
}

declare module 'flow-copy-source/src/kefir-glob' {
declare module.exports: any;
}

// Filename aliases
declare module 'flow-copy-source/bin/flow-copy-source.js' {
declare module.exports: $Exports<'flow-copy-source/bin/flow-copy-source'>;
}
declare module 'flow-copy-source/src/index.js' {
declare module.exports: $Exports<'flow-copy-source/src/index'>;
}
declare module 'flow-copy-source/src/kefir-copy-file.js' {
declare module.exports: $Exports<'flow-copy-source/src/kefir-copy-file'>;
}
declare module 'flow-copy-source/src/kefir-glob.js' {
declare module.exports: $Exports<'flow-copy-source/src/kefir-glob'>;
}
4 changes: 2 additions & 2 deletions flow-typed/npm/jest-cli_vx.x.x.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// flow-typed signature: 85c401a4fc380b7b74825c0b4f5ab003
// flow-typed version: <<STUB>>/jest-cli_v^17.0.0/flow_v0.36.0
// flow-typed signature: 057944e0f419a1ccb002e5eaf0349274
// flow-typed version: <<STUB>>/jest-cli_v^17.0.0/flow_v0.37.0

/**
* This is an autogenerated libdef stub for:
Expand Down
Loading

0 comments on commit a8bb7b8

Please sign in to comment.