From a8bb7b8d025869eeab4b46d53b65ba7b8fc6218e Mon Sep 17 00:00:00 2001 From: MrEfrem Date: Thu, 15 Dec 2016 12:35:13 +0400 Subject: [PATCH] Add compatibility with react-redux 5.x --- examples/async/package.json | 4 +- examples/counter/package.json | 4 +- .../nested_reused_components/package.json | 6 +- examples/random_gif/package.json | 4 +- examples/reused_components/package.json | 6 +- examples/universal/package.json | 4 +- examples/universal/server/render.js | 2 +- examples/universal/webpack.config.js | 3 - flow-typed/npm/babel-cli_vx.x.x.js | 4 +- flow-typed/npm/babel-eslint_vx.x.x.js | 4 +- flow-typed/npm/babel-jest_vx.x.x.js | 4 +- flow-typed/npm/babel-loader_vx.x.x.js | 4 +- .../babel-plugin-transform-runtime_vx.x.x.js | 4 +- flow-typed/npm/babel-preset-latest_vx.x.x.js | 4 +- flow-typed/npm/babel-preset-react_vx.x.x.js | 4 +- flow-typed/npm/babel-preset-stage-2_vx.x.x.js | 4 +- flow-typed/npm/cross-env_vx.x.x.js | 4 +- .../npm/eslint-plugin-flowtype_vx.x.x.js | 4 +- flow-typed/npm/eslint-plugin-import_vx.x.x.js | 4 +- flow-typed/npm/eslint-plugin-react_vx.x.x.js | 25 +- flow-typed/npm/eslint_vx.x.x.js | 11 +- flow-typed/npm/flow-copy-source_vx.x.x.js | 53 +++ flow-typed/npm/jest-cli_vx.x.x.js | 4 +- flow-typed/npm/react-redux_vx.x.x.js | 375 ++++++++++++++++++ flow-typed/npm/react-test-renderer_vx.x.x.js | 4 +- flow-typed/npm/rimraf_vx.x.x.js | 4 +- .../npm/webpack-bundle-analyzer_vx.x.x.js | 53 ++- flow-typed/npm/webpack_vx.x.x.js | 4 +- jsconfig.json | 2 - package.json | 10 +- 30 files changed, 533 insertions(+), 89 deletions(-) delete mode 100644 examples/universal/webpack.config.js create mode 100644 flow-typed/npm/flow-copy-source_vx.x.x.js create mode 100644 flow-typed/npm/react-redux_vx.x.x.js diff --git a/examples/async/package.json b/examples/async/package.json index e8e072e..866f2b2 100644 --- a/examples/async/package.json +++ b/examples/async/package.json @@ -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": "*", diff --git a/examples/counter/package.json b/examples/counter/package.json index 92cc394..c8136dc 100644 --- a/examples/counter/package.json +++ b/examples/counter/package.json @@ -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": "*" diff --git a/examples/nested_reused_components/package.json b/examples/nested_reused_components/package.json index cb4ffad..55ac8fa 100644 --- a/examples/nested_reused_components/package.json +++ b/examples/nested_reused_components/package.json @@ -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": "*" diff --git a/examples/random_gif/package.json b/examples/random_gif/package.json index 275ab7a..6b6cc87 100644 --- a/examples/random_gif/package.json +++ b/examples/random_gif/package.json @@ -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": "*" diff --git a/examples/reused_components/package.json b/examples/reused_components/package.json index 10f0b52..dda47ba 100644 --- a/examples/reused_components/package.json +++ b/examples/reused_components/package.json @@ -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": "*" diff --git a/examples/universal/package.json b/examples/universal/package.json index 7fb7e76..a6883e4 100644 --- a/examples/universal/package.json +++ b/examples/universal/package.json @@ -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", @@ -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": "*", diff --git a/examples/universal/server/render.js b/examples/universal/server/render.js index d245506..00a8c4e 100644 --- a/examples/universal/server/render.js +++ b/examples/universal/server/render.js @@ -15,7 +15,7 @@ const getTemplate = (markup, preloadedState) => '
', [ `
${markup}
`, ``, - `` + `` ].join('') ) diff --git a/examples/universal/webpack.config.js b/examples/universal/webpack.config.js deleted file mode 100644 index db9926c..0000000 --- a/examples/universal/webpack.config.js +++ /dev/null @@ -1,3 +0,0 @@ -require('babel-register') - -module.exports = exports = require('./build/webpack') diff --git a/flow-typed/npm/babel-cli_vx.x.x.js b/flow-typed/npm/babel-cli_vx.x.x.js index 1a57546..4ef21a0 100644 --- a/flow-typed/npm/babel-cli_vx.x.x.js +++ b/flow-typed/npm/babel-cli_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 21143f582d34814e14484d0b48468a2a -// flow-typed version: <>/babel-cli_v^6.14.0/flow_v0.36.0 +// flow-typed signature: e8677b5f2c30b43118ccae0a7c0bcff0 +// flow-typed version: <>/babel-cli_v^6.14.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-eslint_vx.x.x.js b/flow-typed/npm/babel-eslint_vx.x.x.js index dbdf50f..fde535b 100644 --- a/flow-typed/npm/babel-eslint_vx.x.x.js +++ b/flow-typed/npm/babel-eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: a81f2357ad0fe7bd5f5c2804b16f2c58 -// flow-typed version: <>/babel-eslint_v^7.0.0/flow_v0.36.0 +// flow-typed signature: 1c9bec8ce6fd389e61c1c246d35bb7c5 +// flow-typed version: <>/babel-eslint_v^7.0.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-jest_vx.x.x.js b/flow-typed/npm/babel-jest_vx.x.x.js index 9c74426..74fb298 100644 --- a/flow-typed/npm/babel-jest_vx.x.x.js +++ b/flow-typed/npm/babel-jest_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: dd41e660af30a3c8db690e3465b224b9 -// flow-typed version: <>/babel-jest_v^17.0.0/flow_v0.36.0 +// flow-typed signature: 25fda368ce840a90d6d98a2a4383a663 +// flow-typed version: <>/babel-jest_v^17.0.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-loader_vx.x.x.js b/flow-typed/npm/babel-loader_vx.x.x.js index 840f056..cd6e5a8 100644 --- a/flow-typed/npm/babel-loader_vx.x.x.js +++ b/flow-typed/npm/babel-loader_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 713893810c1ede62aab1e51b2472cd48 -// flow-typed version: <>/babel-loader_v^6.2.7/flow_v0.36.0 +// flow-typed signature: 2a07b38ecca1c060715dfb1221390650 +// flow-typed version: <>/babel-loader_v^6.2.7/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js b/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js index 18af502..e9bcb7c 100644 --- a/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js +++ b/flow-typed/npm/babel-plugin-transform-runtime_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1607137ad3dcfaa0ee945573ad14fd15 -// flow-typed version: <>/babel-plugin-transform-runtime_v^6.15.0/flow_v0.36.0 +// flow-typed signature: f32784563902e41b0c882badc1ccc6df +// flow-typed version: <>/babel-plugin-transform-runtime_v^6.15.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-latest_vx.x.x.js b/flow-typed/npm/babel-preset-latest_vx.x.x.js index 47bb3c9..4246cf5 100644 --- a/flow-typed/npm/babel-preset-latest_vx.x.x.js +++ b/flow-typed/npm/babel-preset-latest_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3e6cbdbf1edaf99f8d8809ba3993e5e9 -// flow-typed version: <>/babel-preset-latest_v^6.14.0/flow_v0.36.0 +// flow-typed signature: 3a6b8d267ae80a42faa5f09d72b2ee58 +// flow-typed version: <>/babel-preset-latest_v^6.14.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-react_vx.x.x.js b/flow-typed/npm/babel-preset-react_vx.x.x.js index 47d7489..b9bb3af 100644 --- a/flow-typed/npm/babel-preset-react_vx.x.x.js +++ b/flow-typed/npm/babel-preset-react_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1583710a13702efbe46ea9401887ae95 -// flow-typed version: <>/babel-preset-react_v^6.11.1/flow_v0.36.0 +// flow-typed signature: 5f702b82331e8017b42fc1c90559aea5 +// flow-typed version: <>/babel-preset-react_v^6.11.1/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/babel-preset-stage-2_vx.x.x.js b/flow-typed/npm/babel-preset-stage-2_vx.x.x.js index ca75cc5..3469702 100644 --- a/flow-typed/npm/babel-preset-stage-2_vx.x.x.js +++ b/flow-typed/npm/babel-preset-stage-2_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: ff44b4d4f9ab142d186e24bcab49744c -// flow-typed version: <>/babel-preset-stage-2_v^6.13.0/flow_v0.36.0 +// flow-typed signature: c2e51f37071999a1831d51e8755871ca +// flow-typed version: <>/babel-preset-stage-2_v^6.13.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/cross-env_vx.x.x.js b/flow-typed/npm/cross-env_vx.x.x.js index 3817d9f..f6ea09e 100644 --- a/flow-typed/npm/cross-env_vx.x.x.js +++ b/flow-typed/npm/cross-env_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 6a52236e52c9941cafc1c1af862d1dc7 -// flow-typed version: <>/cross-env_v^3.0.0/flow_v0.36.0 +// flow-typed signature: 967e082d0bfc7e74c611985aefaf3fe1 +// flow-typed version: <>/cross-env_v^3.0.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js index a31e7d9..c771d8e 100644 --- a/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-flowtype_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: c08fd306f63603c9e8a07ab3088110e4 -// flow-typed version: <>/eslint-plugin-flowtype_v^2.28.2/flow_v0.36.0 +// flow-typed signature: d486a127d1491ec59f73a9cff8412d56 +// flow-typed version: <>/eslint-plugin-flowtype_v^2.28.2/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-import_vx.x.x.js b/flow-typed/npm/eslint-plugin-import_vx.x.x.js index a6d2bd6..4d22b1b 100644 --- a/flow-typed/npm/eslint-plugin-import_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-import_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: f390bef0b84dfc600a67a4731dc2c535 -// flow-typed version: <>/eslint-plugin-import_v^2.2.0/flow_v0.36.0 +// flow-typed signature: 8cfd8cbd11ff0832877936eb7f30ee34 +// flow-typed version: <>/eslint-plugin-import_v^2.2.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/eslint-plugin-react_vx.x.x.js b/flow-typed/npm/eslint-plugin-react_vx.x.x.js index 6cb92d0..16fe704 100644 --- a/flow-typed/npm/eslint-plugin-react_vx.x.x.js +++ b/flow-typed/npm/eslint-plugin-react_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: d10208c144799153999864f9a6e0f681 -// flow-typed version: <>/eslint-plugin-react_v^6.3.0/flow_v0.36.0 +// flow-typed signature: 3feb59aa7c12a2f4969babcbd49f5e47 +// flow-typed version: <>/eslint-plugin-react_v^6.3.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: @@ -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; } @@ -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; } @@ -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; } @@ -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'>; } @@ -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'>; } @@ -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'>; } diff --git a/flow-typed/npm/eslint_vx.x.x.js b/flow-typed/npm/eslint_vx.x.x.js index ebfe66a..d4ed98b 100644 --- a/flow-typed/npm/eslint_vx.x.x.js +++ b/flow-typed/npm/eslint_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 27464b59eed425e69bde7c79940e69c1 -// flow-typed version: <>/eslint_v^3.5.0/flow_v0.36.0 +// flow-typed signature: 79185fa1895a4feb32cb7c31dbaad927 +// flow-typed version: <>/eslint_v^3.5.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: @@ -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; } @@ -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'>; } diff --git a/flow-typed/npm/flow-copy-source_vx.x.x.js b/flow-typed/npm/flow-copy-source_vx.x.x.js new file mode 100644 index 0000000..a5d3d83 --- /dev/null +++ b/flow-typed/npm/flow-copy-source_vx.x.x.js @@ -0,0 +1,53 @@ +// flow-typed signature: be0577f9c3b74344a3fa98796ccbd53f +// flow-typed version: <>/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'>; +} diff --git a/flow-typed/npm/jest-cli_vx.x.x.js b/flow-typed/npm/jest-cli_vx.x.x.js index 0140bf1..070703e 100644 --- a/flow-typed/npm/jest-cli_vx.x.x.js +++ b/flow-typed/npm/jest-cli_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 85c401a4fc380b7b74825c0b4f5ab003 -// flow-typed version: <>/jest-cli_v^17.0.0/flow_v0.36.0 +// flow-typed signature: 057944e0f419a1ccb002e5eaf0349274 +// flow-typed version: <>/jest-cli_v^17.0.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/react-redux_vx.x.x.js b/flow-typed/npm/react-redux_vx.x.x.js new file mode 100644 index 0000000..a030552 --- /dev/null +++ b/flow-typed/npm/react-redux_vx.x.x.js @@ -0,0 +1,375 @@ +// flow-typed signature: e792ddbd68ecb224b02140917c7884db +// flow-typed version: <>/react-redux_v^5.0.1/flow_v0.37.0 + +/** + * This is an autogenerated libdef stub for: + * + * 'react-redux' + * + * 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 'react-redux' { + 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 'react-redux/dist/react-redux' { + declare module.exports: any; +} + +declare module 'react-redux/dist/react-redux.min' { + declare module.exports: any; +} + +declare module 'react-redux/es/components/connectAdvanced' { + declare module.exports: any; +} + +declare module 'react-redux/es/components/Provider' { + declare module.exports: any; +} + +declare module 'react-redux/es/connect/connect' { + declare module.exports: any; +} + +declare module 'react-redux/es/connect/mapDispatchToProps' { + declare module.exports: any; +} + +declare module 'react-redux/es/connect/mapStateToProps' { + declare module.exports: any; +} + +declare module 'react-redux/es/connect/mergeProps' { + declare module.exports: any; +} + +declare module 'react-redux/es/connect/selectorFactory' { + declare module.exports: any; +} + +declare module 'react-redux/es/connect/verifySubselectors' { + declare module.exports: any; +} + +declare module 'react-redux/es/connect/wrapMapToProps' { + declare module.exports: any; +} + +declare module 'react-redux/es/index' { + declare module.exports: any; +} + +declare module 'react-redux/es/utils/shallowEqual' { + declare module.exports: any; +} + +declare module 'react-redux/es/utils/storeShape' { + declare module.exports: any; +} + +declare module 'react-redux/es/utils/Subscription' { + declare module.exports: any; +} + +declare module 'react-redux/es/utils/verifyPlainObject' { + declare module.exports: any; +} + +declare module 'react-redux/es/utils/warning' { + declare module.exports: any; +} + +declare module 'react-redux/es/utils/wrapActionCreators' { + declare module.exports: any; +} + +declare module 'react-redux/lib/components/connectAdvanced' { + declare module.exports: any; +} + +declare module 'react-redux/lib/components/Provider' { + declare module.exports: any; +} + +declare module 'react-redux/lib/connect/connect' { + declare module.exports: any; +} + +declare module 'react-redux/lib/connect/mapDispatchToProps' { + declare module.exports: any; +} + +declare module 'react-redux/lib/connect/mapStateToProps' { + declare module.exports: any; +} + +declare module 'react-redux/lib/connect/mergeProps' { + declare module.exports: any; +} + +declare module 'react-redux/lib/connect/selectorFactory' { + declare module.exports: any; +} + +declare module 'react-redux/lib/connect/verifySubselectors' { + declare module.exports: any; +} + +declare module 'react-redux/lib/connect/wrapMapToProps' { + declare module.exports: any; +} + +declare module 'react-redux/lib/index' { + declare module.exports: any; +} + +declare module 'react-redux/lib/utils/shallowEqual' { + declare module.exports: any; +} + +declare module 'react-redux/lib/utils/storeShape' { + declare module.exports: any; +} + +declare module 'react-redux/lib/utils/Subscription' { + declare module.exports: any; +} + +declare module 'react-redux/lib/utils/verifyPlainObject' { + declare module.exports: any; +} + +declare module 'react-redux/lib/utils/warning' { + declare module.exports: any; +} + +declare module 'react-redux/lib/utils/wrapActionCreators' { + declare module.exports: any; +} + +declare module 'react-redux/src/components/connectAdvanced' { + declare module.exports: any; +} + +declare module 'react-redux/src/components/Provider' { + declare module.exports: any; +} + +declare module 'react-redux/src/connect/connect' { + declare module.exports: any; +} + +declare module 'react-redux/src/connect/mapDispatchToProps' { + declare module.exports: any; +} + +declare module 'react-redux/src/connect/mapStateToProps' { + declare module.exports: any; +} + +declare module 'react-redux/src/connect/mergeProps' { + declare module.exports: any; +} + +declare module 'react-redux/src/connect/selectorFactory' { + declare module.exports: any; +} + +declare module 'react-redux/src/connect/verifySubselectors' { + declare module.exports: any; +} + +declare module 'react-redux/src/connect/wrapMapToProps' { + declare module.exports: any; +} + +declare module 'react-redux/src/index' { + declare module.exports: any; +} + +declare module 'react-redux/src/utils/shallowEqual' { + declare module.exports: any; +} + +declare module 'react-redux/src/utils/storeShape' { + declare module.exports: any; +} + +declare module 'react-redux/src/utils/Subscription' { + declare module.exports: any; +} + +declare module 'react-redux/src/utils/verifyPlainObject' { + declare module.exports: any; +} + +declare module 'react-redux/src/utils/warning' { + declare module.exports: any; +} + +declare module 'react-redux/src/utils/wrapActionCreators' { + declare module.exports: any; +} + +// Filename aliases +declare module 'react-redux/dist/react-redux.js' { + declare module.exports: $Exports<'react-redux/dist/react-redux'>; +} +declare module 'react-redux/dist/react-redux.min.js' { + declare module.exports: $Exports<'react-redux/dist/react-redux.min'>; +} +declare module 'react-redux/es/components/connectAdvanced.js' { + declare module.exports: $Exports<'react-redux/es/components/connectAdvanced'>; +} +declare module 'react-redux/es/components/Provider.js' { + declare module.exports: $Exports<'react-redux/es/components/Provider'>; +} +declare module 'react-redux/es/connect/connect.js' { + declare module.exports: $Exports<'react-redux/es/connect/connect'>; +} +declare module 'react-redux/es/connect/mapDispatchToProps.js' { + declare module.exports: $Exports<'react-redux/es/connect/mapDispatchToProps'>; +} +declare module 'react-redux/es/connect/mapStateToProps.js' { + declare module.exports: $Exports<'react-redux/es/connect/mapStateToProps'>; +} +declare module 'react-redux/es/connect/mergeProps.js' { + declare module.exports: $Exports<'react-redux/es/connect/mergeProps'>; +} +declare module 'react-redux/es/connect/selectorFactory.js' { + declare module.exports: $Exports<'react-redux/es/connect/selectorFactory'>; +} +declare module 'react-redux/es/connect/verifySubselectors.js' { + declare module.exports: $Exports<'react-redux/es/connect/verifySubselectors'>; +} +declare module 'react-redux/es/connect/wrapMapToProps.js' { + declare module.exports: $Exports<'react-redux/es/connect/wrapMapToProps'>; +} +declare module 'react-redux/es/index.js' { + declare module.exports: $Exports<'react-redux/es/index'>; +} +declare module 'react-redux/es/utils/shallowEqual.js' { + declare module.exports: $Exports<'react-redux/es/utils/shallowEqual'>; +} +declare module 'react-redux/es/utils/storeShape.js' { + declare module.exports: $Exports<'react-redux/es/utils/storeShape'>; +} +declare module 'react-redux/es/utils/Subscription.js' { + declare module.exports: $Exports<'react-redux/es/utils/Subscription'>; +} +declare module 'react-redux/es/utils/verifyPlainObject.js' { + declare module.exports: $Exports<'react-redux/es/utils/verifyPlainObject'>; +} +declare module 'react-redux/es/utils/warning.js' { + declare module.exports: $Exports<'react-redux/es/utils/warning'>; +} +declare module 'react-redux/es/utils/wrapActionCreators.js' { + declare module.exports: $Exports<'react-redux/es/utils/wrapActionCreators'>; +} +declare module 'react-redux/lib/components/connectAdvanced.js' { + declare module.exports: $Exports<'react-redux/lib/components/connectAdvanced'>; +} +declare module 'react-redux/lib/components/Provider.js' { + declare module.exports: $Exports<'react-redux/lib/components/Provider'>; +} +declare module 'react-redux/lib/connect/connect.js' { + declare module.exports: $Exports<'react-redux/lib/connect/connect'>; +} +declare module 'react-redux/lib/connect/mapDispatchToProps.js' { + declare module.exports: $Exports<'react-redux/lib/connect/mapDispatchToProps'>; +} +declare module 'react-redux/lib/connect/mapStateToProps.js' { + declare module.exports: $Exports<'react-redux/lib/connect/mapStateToProps'>; +} +declare module 'react-redux/lib/connect/mergeProps.js' { + declare module.exports: $Exports<'react-redux/lib/connect/mergeProps'>; +} +declare module 'react-redux/lib/connect/selectorFactory.js' { + declare module.exports: $Exports<'react-redux/lib/connect/selectorFactory'>; +} +declare module 'react-redux/lib/connect/verifySubselectors.js' { + declare module.exports: $Exports<'react-redux/lib/connect/verifySubselectors'>; +} +declare module 'react-redux/lib/connect/wrapMapToProps.js' { + declare module.exports: $Exports<'react-redux/lib/connect/wrapMapToProps'>; +} +declare module 'react-redux/lib/index.js' { + declare module.exports: $Exports<'react-redux/lib/index'>; +} +declare module 'react-redux/lib/utils/shallowEqual.js' { + declare module.exports: $Exports<'react-redux/lib/utils/shallowEqual'>; +} +declare module 'react-redux/lib/utils/storeShape.js' { + declare module.exports: $Exports<'react-redux/lib/utils/storeShape'>; +} +declare module 'react-redux/lib/utils/Subscription.js' { + declare module.exports: $Exports<'react-redux/lib/utils/Subscription'>; +} +declare module 'react-redux/lib/utils/verifyPlainObject.js' { + declare module.exports: $Exports<'react-redux/lib/utils/verifyPlainObject'>; +} +declare module 'react-redux/lib/utils/warning.js' { + declare module.exports: $Exports<'react-redux/lib/utils/warning'>; +} +declare module 'react-redux/lib/utils/wrapActionCreators.js' { + declare module.exports: $Exports<'react-redux/lib/utils/wrapActionCreators'>; +} +declare module 'react-redux/src/components/connectAdvanced.js' { + declare module.exports: $Exports<'react-redux/src/components/connectAdvanced'>; +} +declare module 'react-redux/src/components/Provider.js' { + declare module.exports: $Exports<'react-redux/src/components/Provider'>; +} +declare module 'react-redux/src/connect/connect.js' { + declare module.exports: $Exports<'react-redux/src/connect/connect'>; +} +declare module 'react-redux/src/connect/mapDispatchToProps.js' { + declare module.exports: $Exports<'react-redux/src/connect/mapDispatchToProps'>; +} +declare module 'react-redux/src/connect/mapStateToProps.js' { + declare module.exports: $Exports<'react-redux/src/connect/mapStateToProps'>; +} +declare module 'react-redux/src/connect/mergeProps.js' { + declare module.exports: $Exports<'react-redux/src/connect/mergeProps'>; +} +declare module 'react-redux/src/connect/selectorFactory.js' { + declare module.exports: $Exports<'react-redux/src/connect/selectorFactory'>; +} +declare module 'react-redux/src/connect/verifySubselectors.js' { + declare module.exports: $Exports<'react-redux/src/connect/verifySubselectors'>; +} +declare module 'react-redux/src/connect/wrapMapToProps.js' { + declare module.exports: $Exports<'react-redux/src/connect/wrapMapToProps'>; +} +declare module 'react-redux/src/index.js' { + declare module.exports: $Exports<'react-redux/src/index'>; +} +declare module 'react-redux/src/utils/shallowEqual.js' { + declare module.exports: $Exports<'react-redux/src/utils/shallowEqual'>; +} +declare module 'react-redux/src/utils/storeShape.js' { + declare module.exports: $Exports<'react-redux/src/utils/storeShape'>; +} +declare module 'react-redux/src/utils/Subscription.js' { + declare module.exports: $Exports<'react-redux/src/utils/Subscription'>; +} +declare module 'react-redux/src/utils/verifyPlainObject.js' { + declare module.exports: $Exports<'react-redux/src/utils/verifyPlainObject'>; +} +declare module 'react-redux/src/utils/warning.js' { + declare module.exports: $Exports<'react-redux/src/utils/warning'>; +} +declare module 'react-redux/src/utils/wrapActionCreators.js' { + declare module.exports: $Exports<'react-redux/src/utils/wrapActionCreators'>; +} diff --git a/flow-typed/npm/react-test-renderer_vx.x.x.js b/flow-typed/npm/react-test-renderer_vx.x.x.js index 576b1fd..602733c 100644 --- a/flow-typed/npm/react-test-renderer_vx.x.x.js +++ b/flow-typed/npm/react-test-renderer_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 0b60f1696867237a09ce91890f03a183 -// flow-typed version: <>/react-test-renderer_v^15.4.0/flow_v0.36.0 +// flow-typed signature: b50cf1b396c023307ed8747a6b49b522 +// flow-typed version: <>/react-test-renderer_v^15.4.0/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/rimraf_vx.x.x.js b/flow-typed/npm/rimraf_vx.x.x.js index bfadff9..77f59ae 100644 --- a/flow-typed/npm/rimraf_vx.x.x.js +++ b/flow-typed/npm/rimraf_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 538f4d6bd77c01441a4b98f87b89cd19 -// flow-typed version: <>/rimraf_v^2.5.4/flow_v0.36.0 +// flow-typed signature: 94f27a8ffc95fe4ba8a71049fe394c0a +// flow-typed version: <>/rimraf_v^2.5.4/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js b/flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js index 9996397..b56d7a0 100644 --- a/flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js +++ b/flow-typed/npm/webpack-bundle-analyzer_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 1da03982c42a76c22880e66de2cf4c95 -// flow-typed version: <>/webpack-bundle-analyzer_v^1.4.1/flow_v0.36.0 +// flow-typed signature: f2ed058b59c5eee9b106b849d2bb0e5b +// flow-typed version: <>/webpack-bundle-analyzer_v^2.1.1/flow_v0.37.0 /** * This is an autogenerated libdef stub for: @@ -22,22 +22,6 @@ declare module 'webpack-bundle-analyzer' { * require those files directly. Feel free to delete any files that aren't * needed. */ -declare module 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.asserts' { - declare module.exports: any; -} - -declare module 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree' { - declare module.exports: any; -} - -declare module 'webpack-bundle-analyzer/client/tooltip' { - declare module.exports: any; -} - -declare module 'webpack-bundle-analyzer/client/viewer' { - declare module.exports: any; -} - declare module 'webpack-bundle-analyzer/lib/analyzer' { declare module.exports: any; } @@ -54,6 +38,10 @@ declare module 'webpack-bundle-analyzer/lib/index' { declare module.exports: any; } +declare module 'webpack-bundle-analyzer/lib/Logger' { + declare module.exports: any; +} + declare module 'webpack-bundle-analyzer/lib/parseUtils' { declare module.exports: any; } @@ -66,6 +54,10 @@ declare module 'webpack-bundle-analyzer/lib/viewer' { declare module.exports: any; } +declare module 'webpack-bundle-analyzer/public/viewer' { + declare module.exports: any; +} + declare module 'webpack-bundle-analyzer/src/analyzer' { declare module.exports: any; } @@ -82,6 +74,10 @@ declare module 'webpack-bundle-analyzer/src/index' { declare module.exports: any; } +declare module 'webpack-bundle-analyzer/src/Logger' { + declare module.exports: any; +} + declare module 'webpack-bundle-analyzer/src/parseUtils' { declare module.exports: any; } @@ -95,18 +91,6 @@ declare module 'webpack-bundle-analyzer/src/viewer' { } // Filename aliases -declare module 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.asserts.js' { - declare module.exports: $Exports<'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.asserts'>; -} -declare module 'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree.js' { - declare module.exports: $Exports<'webpack-bundle-analyzer/client/foamtree/carrotsearch.foamtree'>; -} -declare module 'webpack-bundle-analyzer/client/tooltip.js' { - declare module.exports: $Exports<'webpack-bundle-analyzer/client/tooltip'>; -} -declare module 'webpack-bundle-analyzer/client/viewer.js' { - declare module.exports: $Exports<'webpack-bundle-analyzer/client/viewer'>; -} declare module 'webpack-bundle-analyzer/lib/analyzer.js' { declare module.exports: $Exports<'webpack-bundle-analyzer/lib/analyzer'>; } @@ -119,6 +103,9 @@ declare module 'webpack-bundle-analyzer/lib/BundleAnalyzerPlugin.js' { declare module 'webpack-bundle-analyzer/lib/index.js' { declare module.exports: $Exports<'webpack-bundle-analyzer/lib/index'>; } +declare module 'webpack-bundle-analyzer/lib/Logger.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/lib/Logger'>; +} declare module 'webpack-bundle-analyzer/lib/parseUtils.js' { declare module.exports: $Exports<'webpack-bundle-analyzer/lib/parseUtils'>; } @@ -128,6 +115,9 @@ declare module 'webpack-bundle-analyzer/lib/tree.js' { declare module 'webpack-bundle-analyzer/lib/viewer.js' { declare module.exports: $Exports<'webpack-bundle-analyzer/lib/viewer'>; } +declare module 'webpack-bundle-analyzer/public/viewer.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/public/viewer'>; +} declare module 'webpack-bundle-analyzer/src/analyzer.js' { declare module.exports: $Exports<'webpack-bundle-analyzer/src/analyzer'>; } @@ -140,6 +130,9 @@ declare module 'webpack-bundle-analyzer/src/BundleAnalyzerPlugin.js' { declare module 'webpack-bundle-analyzer/src/index.js' { declare module.exports: $Exports<'webpack-bundle-analyzer/src/index'>; } +declare module 'webpack-bundle-analyzer/src/Logger.js' { + declare module.exports: $Exports<'webpack-bundle-analyzer/src/Logger'>; +} declare module 'webpack-bundle-analyzer/src/parseUtils.js' { declare module.exports: $Exports<'webpack-bundle-analyzer/src/parseUtils'>; } diff --git a/flow-typed/npm/webpack_vx.x.x.js b/flow-typed/npm/webpack_vx.x.x.js index 5d6af6f..c150326 100644 --- a/flow-typed/npm/webpack_vx.x.x.js +++ b/flow-typed/npm/webpack_vx.x.x.js @@ -1,5 +1,5 @@ -// flow-typed signature: 3ef95588441ce565bf8cf9a72e0ac17d -// flow-typed version: <>/webpack_v^1.13.3/flow_v0.36.0 +// flow-typed signature: a2c822f804b2d8a269bfe2b28e5c7a56 +// flow-typed version: <>/webpack_v^1.13.3/flow_v0.37.0 /** * This is an autogenerated libdef stub for: diff --git a/jsconfig.json b/jsconfig.json index 5b4a5d5..80c7ee6 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -1,6 +1,4 @@ { - // Документацию о формате jsconfig.json см. в статье https://go.microsoft.com/fwlink/?LinkId=759670 - // "compilerOptions": { "target": "es6" }, diff --git a/package.json b/package.json index a1819f5..a097759 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "redux-fly", - "version": "0.3.0", + "version": "0.4.0", "description": "Rapid React + Redux development of scalable applications", "browser": "dist/redux-fly.js", "main": "lib/index.js", @@ -56,25 +56,25 @@ "eslint-plugin-flowtype": "^2.28.2", "eslint-plugin-import": "^2.2.0", "eslint-plugin-react": "^6.3.0", - "flow-bin": "^0.36.0", + "flow-bin": "^0.37.0", "flow-copy-source": "^1.1.0", "jest-cli": "^17.0.0", "react": "^15.4.0", "react-addons-test-utils": "^15.4.0", "react-dom": "^15.4.0", - "react-redux": "^4.4.5", + "react-redux": "^5.0.1", "react-test-renderer": "^15.4.0", "redux": "^3.6.0", "rimraf": "^2.5.4", "webpack": "^1.13.3", - "webpack-bundle-analyzer": "^1.4.1" + "webpack-bundle-analyzer": "^2.1.1" }, "dependencies": { "lodash": "^4.16.1" }, "peerDependencies": { "react": "15.x", - "react-redux": "4.x", + "react-redux": "4.x || 5.x", "redux": "3.x" }, "jest": {