mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
immutable
This commit is contained in:
parent
38eec11e2a
commit
e696a315ee
|
@ -36,7 +36,7 @@
|
||||||
"webpack-dev-server": "^3.11.0"
|
"webpack-dev-server": "^3.11.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"immutable": "^3.8.2",
|
"immutable": "^4.0.0-rc.12",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-base16-styling": "^0.6.0",
|
"react-base16-styling": "^0.6.0",
|
||||||
"react-dom": "^16.13.1",
|
"react-dom": "^16.13.1",
|
||||||
|
|
|
@ -24,7 +24,7 @@ const IMMUTABLE_MAP = Immutable.Map({
|
||||||
list: Immutable.List(['a', 'b', 'c']),
|
list: Immutable.List(['a', 'b', 'c']),
|
||||||
set: Immutable.Set(['a', 'b', 'c']),
|
set: Immutable.Set(['a', 'b', 'c']),
|
||||||
stack: Immutable.Stack(['a', 'b', 'c']),
|
stack: Immutable.Stack(['a', 'b', 'c']),
|
||||||
seq: Immutable.Seq.of(1, 2, 3, 4, 5, 6, 7, 8),
|
seq: Immutable.Seq([1, 2, 3, 4, 5, 6, 7, 8]),
|
||||||
});
|
});
|
||||||
|
|
||||||
const NATIVE_MAP = new window.Map([
|
const NATIVE_MAP = new window.Map([
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
"base16": "^1.0.0",
|
"base16": "^1.0.0",
|
||||||
"clean-webpack-plugin": "^3.0.0",
|
"clean-webpack-plugin": "^3.0.0",
|
||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"export-files-webpack-plugin": "^0.0.1",
|
|
||||||
"html-webpack-plugin": "^4.3.0",
|
"html-webpack-plugin": "^4.3.0",
|
||||||
|
"immutable": "^4.0.0-rc.12",
|
||||||
"lodash.shuffle": "^4.2.0",
|
"lodash.shuffle": "^4.2.0",
|
||||||
"react": "^16.13.1",
|
"react": "^16.13.1",
|
||||||
"react-bootstrap": "^0.30.10",
|
"react-bootstrap": "^0.30.10",
|
||||||
|
@ -65,7 +65,6 @@
|
||||||
"babel-runtime": "^6.26.0",
|
"babel-runtime": "^6.26.0",
|
||||||
"dateformat": "^3.0.3",
|
"dateformat": "^3.0.3",
|
||||||
"hex-rgba": "^1.0.2",
|
"hex-rgba": "^1.0.2",
|
||||||
"immutable": "^3.8.2",
|
|
||||||
"javascript-stringify": "^1.6.0",
|
"javascript-stringify": "^1.6.0",
|
||||||
"jsondiffpatch": "^0.4.1",
|
"jsondiffpatch": "^0.4.1",
|
||||||
"jss": "^6.5.0",
|
"jss": "^6.5.0",
|
||||||
|
|
|
@ -2,7 +2,6 @@ var path = require('path');
|
||||||
var webpack = require('webpack');
|
var webpack = require('webpack');
|
||||||
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
var HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
var { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
var { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||||
var ExportFilesWebpackPlugin = require('export-files-webpack-plugin');
|
|
||||||
|
|
||||||
var pkg = require('./package.json');
|
var pkg = require('./package.json');
|
||||||
|
|
||||||
|
@ -34,14 +33,7 @@ module.exports = {
|
||||||
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
|
NODE_ENV: JSON.stringify(process.env.NODE_ENV),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
].concat(
|
].concat(isProduction ? [] : [new webpack.HotModuleReplacementPlugin()]),
|
||||||
isProduction
|
|
||||||
? []
|
|
||||||
: [
|
|
||||||
new ExportFilesWebpackPlugin('demo/dist/index.html'),
|
|
||||||
new webpack.HotModuleReplacementPlugin(),
|
|
||||||
]
|
|
||||||
),
|
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['*', '.js', '.jsx'],
|
extensions: ['*', '.js', '.jsx'],
|
||||||
},
|
},
|
||||||
|
|
|
@ -24,7 +24,7 @@ const IMMUTABLE_MAP = Immutable.Map({
|
||||||
list: Immutable.List(['a', 'b', 'c']),
|
list: Immutable.List(['a', 'b', 'c']),
|
||||||
set: Immutable.Set(['a', 'b', 'c']),
|
set: Immutable.Set(['a', 'b', 'c']),
|
||||||
stack: Immutable.Stack(['a', 'b', 'c']),
|
stack: Immutable.Stack(['a', 'b', 'c']),
|
||||||
seq: Immutable.Seq.of(1, 2, 3, 4, 5, 6, 7, 8),
|
seq: Immutable.Seq([1, 2, 3, 4, 5, 6, 7, 8]),
|
||||||
});
|
});
|
||||||
|
|
||||||
/* eslint-enable babel/new-cap */
|
/* eslint-enable babel/new-cap */
|
||||||
|
|
|
@ -49,9 +49,9 @@
|
||||||
"enzyme-adapter-react-16": "^1.15.3",
|
"enzyme-adapter-react-16": "^1.15.3",
|
||||||
"enzyme-to-json": "^3.5.0",
|
"enzyme-to-json": "^3.5.0",
|
||||||
"expect": "^26.2.0",
|
"expect": "^26.2.0",
|
||||||
"export-files-webpack-plugin": "^0.0.1",
|
|
||||||
"file-loader": "^6.0.0",
|
"file-loader": "^6.0.0",
|
||||||
"html-webpack-plugin": "^4.3.0",
|
"html-webpack-plugin": "^4.3.0",
|
||||||
|
"immutable": "^4.0.0-rc.12",
|
||||||
"jest": "^26.2.2",
|
"jest": "^26.2.2",
|
||||||
"lodash.shuffle": "^4.2.0",
|
"lodash.shuffle": "^4.2.0",
|
||||||
"react-dom": "^16.13.1",
|
"react-dom": "^16.13.1",
|
||||||
|
|
|
@ -2,7 +2,6 @@ const path = require('path');
|
||||||
const webpack = require('webpack');
|
const webpack = require('webpack');
|
||||||
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||||
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
|
||||||
const ExportFilesWebpackPlugin = require('export-files-webpack-plugin');
|
|
||||||
|
|
||||||
const pkg = require('./package.json');
|
const pkg = require('./package.json');
|
||||||
|
|
||||||
|
@ -41,10 +40,7 @@ module.exports = {
|
||||||
output: { comments: false },
|
output: { comments: false },
|
||||||
}),
|
}),
|
||||||
]
|
]
|
||||||
: [
|
: [new webpack.HotModuleReplacementPlugin()]
|
||||||
new ExportFilesWebpackPlugin('demo/dist/index.html'),
|
|
||||||
new webpack.HotModuleReplacementPlugin(),
|
|
||||||
]
|
|
||||||
),
|
),
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.js', '.jsx'],
|
extensions: ['.js', '.jsx'],
|
||||||
|
|
|
@ -7230,13 +7230,6 @@ expirymanager@^0.9.3:
|
||||||
resolved "https://registry.yarnpkg.com/expirymanager/-/expirymanager-0.9.3.tgz#e5f6b3ba00d8d76cf63311c2b71d7dfc9bde3e4f"
|
resolved "https://registry.yarnpkg.com/expirymanager/-/expirymanager-0.9.3.tgz#e5f6b3ba00d8d76cf63311c2b71d7dfc9bde3e4f"
|
||||||
integrity sha1-5fazugDY12z2MxHCtx19/JvePk8=
|
integrity sha1-5fazugDY12z2MxHCtx19/JvePk8=
|
||||||
|
|
||||||
export-files-webpack-plugin@^0.0.1:
|
|
||||||
version "0.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/export-files-webpack-plugin/-/export-files-webpack-plugin-0.0.1.tgz#03838a13b7df160d158100fe10becd3ee9f80f13"
|
|
||||||
integrity sha1-A4OKE7ffFg0VgQD+EL7NPun4DxM=
|
|
||||||
dependencies:
|
|
||||||
mkdirp "^0.5.1"
|
|
||||||
|
|
||||||
express@^4.16.3, express@^4.17.1:
|
express@^4.16.3, express@^4.17.1:
|
||||||
version "4.17.1"
|
version "4.17.1"
|
||||||
resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134"
|
resolved "https://registry.yarnpkg.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134"
|
||||||
|
@ -8779,7 +8772,7 @@ immer@1.7.2:
|
||||||
resolved "https://registry.yarnpkg.com/immer/-/immer-1.7.2.tgz#a51e9723c50b27e132f6566facbec1c85fc69547"
|
resolved "https://registry.yarnpkg.com/immer/-/immer-1.7.2.tgz#a51e9723c50b27e132f6566facbec1c85fc69547"
|
||||||
integrity sha512-4Urocwu9+XLDJw4Tc6ZCg7APVjjLInCFvO4TwGsAYV5zT6YYSor14dsZR0+0tHlDIN92cFUOq+i7fC00G5vTxA==
|
integrity sha512-4Urocwu9+XLDJw4Tc6ZCg7APVjjLInCFvO4TwGsAYV5zT6YYSor14dsZR0+0tHlDIN92cFUOq+i7fC00G5vTxA==
|
||||||
|
|
||||||
immutable@^3.8.1, immutable@^3.8.2:
|
immutable@^3.8.1:
|
||||||
version "3.8.2"
|
version "3.8.2"
|
||||||
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3"
|
resolved "https://registry.yarnpkg.com/immutable/-/immutable-3.8.2.tgz#c2439951455bb39913daf281376f1530e104adf3"
|
||||||
integrity sha1-wkOZUUVbs5kT2vKBN28VMOEErfM=
|
integrity sha1-wkOZUUVbs5kT2vKBN28VMOEErfM=
|
||||||
|
|
Loading…
Reference in New Issue
Block a user