mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-10 19:56:54 +03:00
fix(deps): update all non-major dependencies (#967)
* fix(deps): update all non-major dependencies * Changes * Downgrade msw for now * Move into own group * Ignore no-unused-vars * Disable both * Just the one Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Nathan Bierema <nbierema@gmail.com>
This commit is contained in:
parent
dc969c14e6
commit
34ffeb60b4
File diff suppressed because one or more lines are too long
|
@ -1,4 +1,4 @@
|
|||
yarnPath: .yarn/releases/yarn-3.1.0.cjs
|
||||
yarnPath: .yarn/releases/yarn-3.1.1.cjs
|
||||
|
||||
packageExtensions:
|
||||
'http-proxy-middleware@^2.0.0':
|
||||
|
@ -39,9 +39,9 @@ packageExtensions:
|
|||
'@chakra-ui/accordion@^1.3.6':
|
||||
peerDependencies:
|
||||
'framer-motion': '3.x || 4.x || 5.x'
|
||||
'@mswjs/data@^0.8.0':
|
||||
'@mswjs/data@*':
|
||||
dependencies:
|
||||
'debug': '^4.3.2'
|
||||
'msw@^0.35.0':
|
||||
'msw@*':
|
||||
dependencies:
|
||||
'debug': '^4.3.2'
|
||||
|
|
|
@ -62,14 +62,14 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@babel/register": "^7.16.0",
|
||||
"@testing-library/jest-dom": "^5.15.0",
|
||||
"@testing-library/jest-dom": "^5.16.0",
|
||||
"@testing-library/react": "^12.1.2",
|
||||
"@types/chrome": "^0.0.164",
|
||||
"@types/chrome": "^0.0.166",
|
||||
"@types/lodash": "^4.14.177",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/styled-components": "^5.1.15",
|
||||
"@types/styled-components": "^5.1.16",
|
||||
"babel-loader": "^8.2.3",
|
||||
"bestzip": "^2.2.0",
|
||||
"chromedriver": "^96.0.0",
|
||||
|
@ -77,29 +77,29 @@
|
|||
"cross-env": "^7.0.3",
|
||||
"css-loader": "^6.5.1",
|
||||
"electron": "^16.0.4",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint-config-airbnb": "^19.0.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-airbnb": "^19.0.2",
|
||||
"eslint-plugin-import": "^2.25.3",
|
||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"file-loader": "^6.2.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"gitbook-cli": "^2.3.2",
|
||||
"immutable": "^4.0.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"path-browserify": "^1.0.1",
|
||||
"pug-html-loader": "^1.1.5",
|
||||
"raw-loader": "^4.0.2",
|
||||
"react-transform-catch-errors": "^1.0.2",
|
||||
"react-transform-hmr": "^1.0.4",
|
||||
"rimraf": "^3.0.2",
|
||||
"selenium-webdriver": "^4.0.0",
|
||||
"selenium-webdriver": "^4.1.0",
|
||||
"sinon-chrome": "^3.0.1",
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-jest": "^27.0.7",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1"
|
||||
}
|
||||
}
|
||||
|
|
14
package.json
14
package.json
|
@ -1,16 +1,16 @@
|
|||
{
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"lerna": "^4.0.0",
|
||||
"prettier": "2.4.1",
|
||||
"prettier": "2.5.0",
|
||||
"typescript": "~4.4.4"
|
||||
},
|
||||
"scripts": {
|
||||
|
@ -36,5 +36,5 @@
|
|||
"resolutions": {
|
||||
"@babel/highlight/chalk": "Methuselah96/chalk#head=v2-without-process"
|
||||
},
|
||||
"packageManager": "yarn@3.1.0"
|
||||
"packageManager": "yarn@3.1.1"
|
||||
}
|
||||
|
|
|
@ -32,20 +32,20 @@
|
|||
"@babel/core": "^7.16.0",
|
||||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,18 +51,18 @@
|
|||
"@babel/core": "^7.16.0",
|
||||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/ramda": "^0.27.50",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/ramda": "^0.27.58",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,19 +44,19 @@
|
|||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/d3": "^3.5.46",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/ramda": "^0.27.50",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/ramda": "^0.27.58",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"d3": "^3.5.17",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -49,21 +49,21 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/lodash": "^4.14.177",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"immutable": "^4.0.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^27.0.7",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,12 +51,12 @@
|
|||
"@types/color": "^3.0.2",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/lodash.curry": "^4.1.6",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"jest": "^27.3.1",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"jest": "^27.4.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^27.0.7",
|
||||
"typescript": "~4.4.4"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"react": "^17.0.2",
|
||||
"react-bootstrap": "^2.0.2",
|
||||
"react-bootstrap": "^2.0.3",
|
||||
"react-dock": "^0.4.1",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-icons": "^4.3.1",
|
||||
|
@ -23,25 +23,25 @@
|
|||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/styled-components": "^5.1.15",
|
||||
"@types/styled-components": "^5.1.16",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,16 +49,16 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/lodash.debounce": "^4.0.6",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-test-renderer": "^17.0.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"react": "^17.0.2",
|
||||
"react-test-renderer": "^17.0.2",
|
||||
"rimraf": "^3.0.2",
|
||||
|
|
|
@ -30,24 +30,24 @@
|
|||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,26 +54,26 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-test-renderer": "^17.0.1",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"react": "^17.0.2",
|
||||
"react-test-renderer": "^17.0.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^27.0.7",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -67,36 +67,36 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@rjsf/core": "^3.2.1",
|
||||
"@testing-library/jest-dom": "^5.15.0",
|
||||
"@testing-library/jest-dom": "^5.16.0",
|
||||
"@testing-library/react": "^12.1.2",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/jsan": "^3.1.2",
|
||||
"@types/json-schema": "^7.0.9",
|
||||
"@types/lodash": "^4.14.177",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/socketcluster-client": "^13.0.5",
|
||||
"@types/styled-components": "^5.1.15",
|
||||
"@types/testing-library__jest-dom": "^5.14.1",
|
||||
"@types/styled-components": "^5.1.16",
|
||||
"@types/testing-library__jest-dom": "^5.14.2",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@types/webpack-env": "^1.16.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"css-loader": "^6.5.1",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"file-loader": "^6.2.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-loader": "^3.0.1",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"path-browserify": "^1.0.1",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
|
@ -107,13 +107,13 @@
|
|||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"url-loader": "^4.1.1",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^16.3.0 || ^17.0.0",
|
||||
"@types/styled-components": "^5.1.15",
|
||||
"@types/styled-components": "^5.1.16",
|
||||
"react": "^16.3.0 || ^17.0.0",
|
||||
"styled-components": "^5.3.3"
|
||||
}
|
||||
|
|
|
@ -50,10 +50,10 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@redux-devtools/core": "^3.9.1",
|
||||
"@types/react": "^17.0.36",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@types/react": "^17.0.37",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@redux-devtools/app": "^1.0.0-9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"apollo-server-express": "^3.5.0",
|
||||
"body-parser": "^1.19.0",
|
||||
"chalk": "^4.1.2",
|
||||
|
@ -78,15 +78,15 @@
|
|||
"@types/socketcluster": "^14.0.4",
|
||||
"@types/socketcluster-client": "^13.0.5",
|
||||
"@types/socketcluster-server": "^14.2.6",
|
||||
"@types/styled-components": "^5.1.15",
|
||||
"@types/styled-components": "^5.1.16",
|
||||
"@types/supertest": "^2.0.11",
|
||||
"@types/uuid": "^8.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"jest": "^27.3.1",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"jest": "^27.4.3",
|
||||
"ncp": "^2.0.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"socketcluster-client": "^14.3.2",
|
||||
|
|
|
@ -51,10 +51,10 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@redux-devtools/core": "^3.9.1",
|
||||
"@types/parse-key": "^0.2.0",
|
||||
"@types/react": "^17.0.36",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@types/react": "^17.0.37",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
|
|
|
@ -30,9 +30,9 @@
|
|||
"@babel/core": "^7.16.0",
|
||||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"redux": "^4.1.2",
|
||||
"rimraf": "^3.0.2",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"@redux-devtools/inspector-monitor": "^1.0.1",
|
||||
"@redux-devtools/inspector-monitor-test-tab": "^0.7.3",
|
||||
"@redux-devtools/ui": "^1.0.0-10",
|
||||
"connected-react-router": "^6.9.1",
|
||||
"connected-react-router": "^6.9.2",
|
||||
"history": "^4.10.1",
|
||||
"immutable": "^4.0.0",
|
||||
"lodash.shuffle": "^4.2.0",
|
||||
|
@ -33,29 +33,29 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/history": "^4.7.9",
|
||||
"@types/lodash.shuffle": "^4.2.6",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/react-router": "^5.1.17",
|
||||
"@types/redux-logger": "^3.0.9",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"css-loader": "^6.5.1",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -65,16 +65,16 @@
|
|||
"@types/jest": "^27.0.3",
|
||||
"@types/jsan": "^3.1.2",
|
||||
"@types/object-path": "^0.11.1",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/simple-diff": "^1.6.1",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"redux": "^4.1.2",
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"dependencies": {
|
||||
"@babel/code-frame": "^7.16.0",
|
||||
"@babel/runtime": "^7.16.3",
|
||||
"@types/chrome": "^0.0.164",
|
||||
"@types/chrome": "^0.0.166",
|
||||
"anser": "^2.1.0",
|
||||
"html-entities": "^2.3.2",
|
||||
"path-browserify": "^1.0.1",
|
||||
|
@ -48,17 +48,17 @@
|
|||
"@types/babel__code-frame": "^7.0.3",
|
||||
"@types/html-entities": "^1.3.4",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/redux-devtools-themes": "^1.0.0",
|
||||
"@types/source-map": "0.5.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-test-renderer": "^17.0.2",
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
"@redux-devtools/dock-monitor": "^1.4.1",
|
||||
"@redux-devtools/inspector-monitor": "^1.0.1",
|
||||
"base16": "^1.0.0",
|
||||
"connected-react-router": "^6.9.1",
|
||||
"connected-react-router": "^6.9.2",
|
||||
"history": "^4.10.1",
|
||||
"immutable": "^4.0.0",
|
||||
"lodash.shuffle": "^4.2.0",
|
||||
"react": "^17.0.2",
|
||||
"react-bootstrap": "^2.0.2",
|
||||
"react-bootstrap": "^2.0.3",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-redux": "^7.2.6",
|
||||
"react-router": "^5.2.1",
|
||||
|
@ -34,27 +34,27 @@
|
|||
"@types/base16": "^1.0.2",
|
||||
"@types/history": "^4.7.9",
|
||||
"@types/lodash.shuffle": "^4.2.6",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/react-router": "^5.1.17",
|
||||
"@types/redux-logger": "^3.0.9",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,12 +62,12 @@
|
|||
"@types/hex-rgba": "^1.0.1",
|
||||
"@types/history": "^4.7.9",
|
||||
"@types/lodash.debounce": "^4.0.6",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dragula": "^1.1.0",
|
||||
"@types/redux-devtools-themes": "^1.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
|
|
|
@ -13,56 +13,57 @@ interface Props<S, A extends Action<unknown>> {
|
|||
onSelectTab: (tabName: string) => void;
|
||||
}
|
||||
|
||||
const ActionPreviewHeader: FunctionComponent<Props<unknown, Action<unknown>>> =
|
||||
({ styling, inspectedPath, onInspectPath, tabName, onSelectTab, tabs }) => (
|
||||
<div key="previewHeader" {...styling('previewHeader')}>
|
||||
<div {...styling('tabSelector')}>
|
||||
{tabs.map((tab) => (
|
||||
<div
|
||||
onClick={() => onSelectTab(tab.name)}
|
||||
key={tab.name}
|
||||
{...styling(
|
||||
[
|
||||
'selectorButton',
|
||||
tab.name === tabName && 'selectorButtonSelected',
|
||||
],
|
||||
tab.name === tabName
|
||||
)}
|
||||
const ActionPreviewHeader: FunctionComponent<
|
||||
Props<unknown, Action<unknown>>
|
||||
> = ({ styling, inspectedPath, onInspectPath, tabName, onSelectTab, tabs }) => (
|
||||
<div key="previewHeader" {...styling('previewHeader')}>
|
||||
<div {...styling('tabSelector')}>
|
||||
{tabs.map((tab) => (
|
||||
<div
|
||||
onClick={() => onSelectTab(tab.name)}
|
||||
key={tab.name}
|
||||
{...styling(
|
||||
[
|
||||
'selectorButton',
|
||||
tab.name === tabName && 'selectorButtonSelected',
|
||||
],
|
||||
tab.name === tabName
|
||||
)}
|
||||
>
|
||||
{tab.name}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div {...styling('inspectedPath')}>
|
||||
{inspectedPath.length ? (
|
||||
<span {...styling('inspectedPathKey')}>
|
||||
<a
|
||||
onClick={() => onInspectPath([])}
|
||||
{...styling('inspectedPathKeyLink')}
|
||||
>
|
||||
{tab.name}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div {...styling('inspectedPath')}>
|
||||
{inspectedPath.length ? (
|
||||
<span {...styling('inspectedPathKey')}>
|
||||
{tabName}
|
||||
</a>
|
||||
</span>
|
||||
) : (
|
||||
tabName
|
||||
)}
|
||||
{inspectedPath.map((key, idx) =>
|
||||
idx === inspectedPath.length - 1 ? (
|
||||
<span key={key}>{key}</span>
|
||||
) : (
|
||||
<span key={key} {...styling('inspectedPathKey')}>
|
||||
<a
|
||||
onClick={() => onInspectPath([])}
|
||||
onClick={() => onInspectPath(inspectedPath.slice(0, idx + 1))}
|
||||
{...styling('inspectedPathKeyLink')}
|
||||
>
|
||||
{tabName}
|
||||
{key}
|
||||
</a>
|
||||
</span>
|
||||
) : (
|
||||
tabName
|
||||
)}
|
||||
{inspectedPath.map((key, idx) =>
|
||||
idx === inspectedPath.length - 1 ? (
|
||||
<span key={key}>{key}</span>
|
||||
) : (
|
||||
<span key={key} {...styling('inspectedPathKey')}>
|
||||
<a
|
||||
onClick={() => onInspectPath(inspectedPath.slice(0, idx + 1))}
|
||||
{...styling('inspectedPathKeyLink')}
|
||||
>
|
||||
{key}
|
||||
</a>
|
||||
</span>
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
</div>
|
||||
);
|
||||
|
||||
ActionPreviewHeader.propTypes = {
|
||||
tabs: PropTypes.array.isRequired,
|
||||
|
|
|
@ -4,28 +4,29 @@ import JSONDiff from './JSONDiff';
|
|||
import { TabComponentProps } from '../ActionPreview';
|
||||
import { Action } from 'redux';
|
||||
|
||||
const DiffTab: FunctionComponent<TabComponentProps<unknown, Action<unknown>>> =
|
||||
({
|
||||
delta,
|
||||
styling,
|
||||
base16Theme,
|
||||
invertTheme,
|
||||
labelRenderer,
|
||||
isWideLayout,
|
||||
dataTypeKey,
|
||||
}) => (
|
||||
<JSONDiff
|
||||
{...{
|
||||
delta,
|
||||
styling,
|
||||
base16Theme,
|
||||
invertTheme,
|
||||
labelRenderer,
|
||||
isWideLayout,
|
||||
dataTypeKey,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
const DiffTab: FunctionComponent<
|
||||
TabComponentProps<unknown, Action<unknown>>
|
||||
> = ({
|
||||
delta,
|
||||
styling,
|
||||
base16Theme,
|
||||
invertTheme,
|
||||
labelRenderer,
|
||||
isWideLayout,
|
||||
dataTypeKey,
|
||||
}) => (
|
||||
<JSONDiff
|
||||
{...{
|
||||
delta,
|
||||
styling,
|
||||
base16Theme,
|
||||
invertTheme,
|
||||
labelRenderer,
|
||||
isWideLayout,
|
||||
dataTypeKey,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
||||
DiffTab.propTypes = {
|
||||
delta: PropTypes.any,
|
||||
|
|
|
@ -47,13 +47,13 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/lodash": "^4.14.177",
|
||||
"@types/node": "^16.11.9",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@types/node": "^16.11.11",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"jest": "^27.3.1",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"jest": "^27.4.3",
|
||||
"redux": "^4.1.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"rxjs": "^7.4.0",
|
||||
|
|
|
@ -53,10 +53,10 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@redux-devtools/core": "^3.9.1",
|
||||
"@types/react": "^17.0.36",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@types/react": "^17.0.37",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
|
|
|
@ -53,9 +53,9 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jsan": "^3.1.2",
|
||||
"@types/socketcluster-client": "^13.0.5",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"redux": "^4.1.2",
|
||||
"rimraf": "^3.0.2",
|
||||
|
|
|
@ -12,14 +12,14 @@
|
|||
"dependencies": {
|
||||
"@babel/runtime": "^7.16.3",
|
||||
"@chakra-ui/react": "^1.7.2",
|
||||
"@emotion/react": "^11.6.0",
|
||||
"@emotion/react": "^11.7.0",
|
||||
"@emotion/styled": "^11.6.0",
|
||||
"@mswjs/data": "^0.8.0",
|
||||
"@mswjs/data": "^0.8.3",
|
||||
"@redux-devtools/core": "^3.9.1",
|
||||
"@redux-devtools/dock-monitor": "^1.4.1",
|
||||
"@redux-devtools/rtk-query-monitor": "^1.0.1",
|
||||
"@reduxjs/toolkit": "^1.6.2",
|
||||
"framer-motion": "^5.3.1",
|
||||
"framer-motion": "^5.3.3",
|
||||
"msw": "^0.35.0",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
|
@ -34,30 +34,30 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/copy-webpack-plugin": "^8.0.1",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/react-router-dom": "^5.3.2",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"copy-webpack-plugin": "^9.1.0",
|
||||
"css-loader": "^6.5.1",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
},
|
||||
"msw": {
|
||||
"workerDirectory": "public"
|
||||
|
|
|
@ -63,10 +63,10 @@
|
|||
"@reduxjs/toolkit": "^1.6.2",
|
||||
"@types/hex-rgba": "^1.0.1",
|
||||
"@types/lodash.debounce": "^4.0.6",
|
||||
"@types/react": "^17.0.36",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@types/react": "^17.0.37",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
|
|
|
@ -200,17 +200,19 @@ export function createInspectorSelectors<S>(): InspectorSelectors<S> {
|
|||
}
|
||||
);
|
||||
|
||||
const selectApiOfCurrentQuery: InspectorSelector<S, null | RtkQueryApiState> =
|
||||
(selectorsSource: SelectorsSource<S>) => {
|
||||
const apiStates = selectApiStates(selectorsSource);
|
||||
const currentQueryInfo = selectCurrentQueryInfo(selectorsSource);
|
||||
const selectApiOfCurrentQuery: InspectorSelector<
|
||||
S,
|
||||
null | RtkQueryApiState
|
||||
> = (selectorsSource: SelectorsSource<S>) => {
|
||||
const apiStates = selectApiStates(selectorsSource);
|
||||
const currentQueryInfo = selectCurrentQueryInfo(selectorsSource);
|
||||
|
||||
if (!apiStates || !currentQueryInfo) {
|
||||
return null;
|
||||
}
|
||||
if (!apiStates || !currentQueryInfo) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return apiStates[currentQueryInfo.reducerPath] ?? null;
|
||||
};
|
||||
return apiStates[currentQueryInfo.reducerPath] ?? null;
|
||||
};
|
||||
|
||||
const selectProvidedOfCurrentQuery: InspectorSelector<
|
||||
S,
|
||||
|
|
|
@ -39,13 +39,13 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/jsan": "^3.1.2",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"immutable": "^4.0.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-jest": "^27.0.7",
|
||||
"typescript": "~4.4.4"
|
||||
|
|
|
@ -33,28 +33,28 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/classnames": "^2.3.1",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/prop-types": "^15.7.4",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"css-loader": "^6.5.1",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,10 +42,10 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@redux-devtools/core": "^3.9.1",
|
||||
"@types/react": "^17.0.36",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@types/react": "^17.0.37",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
|
|
|
@ -56,25 +56,25 @@
|
|||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@storybook/addon-essentials": "^6.3.12",
|
||||
"@storybook/react": "^6.3.12",
|
||||
"@storybook/addon-essentials": "^6.4.7",
|
||||
"@storybook/react": "^6.4.7",
|
||||
"@testing-library/dom": "^8.11.1",
|
||||
"@testing-library/react": "^12.1.2",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"@types/color": "^3.0.2",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/styled-components": "^5.1.15",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/styled-components": "^5.1.16",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"csstype": "^3.0.10",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-is": "^17.0.2",
|
||||
|
@ -87,11 +87,11 @@
|
|||
"stylelint-processor-styled-components": "^1.10.0",
|
||||
"ts-jest": "^27.0.7",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2"
|
||||
"webpack": "^5.64.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@types/react": "^16.3.0 || ^17.0.0",
|
||||
"@types/styled-components": "^5.1.15",
|
||||
"@types/styled-components": "^5.1.16",
|
||||
"react": "^16.3.0 || ^17.0.0",
|
||||
"styled-components": "^5.3.3"
|
||||
}
|
||||
|
|
|
@ -11,17 +11,18 @@ interface ContainerFromThemeDataProps {
|
|||
className?: string;
|
||||
}
|
||||
|
||||
const ContainerFromThemeData: React.FunctionComponent<ContainerFromThemeDataProps> =
|
||||
({ themeData, className, children }) => {
|
||||
const theme = useTheme(themeData);
|
||||
return (
|
||||
<ThemeProvider theme={theme}>
|
||||
<MainContainerWrapper className={className}>
|
||||
{children}
|
||||
</MainContainerWrapper>
|
||||
</ThemeProvider>
|
||||
);
|
||||
};
|
||||
const ContainerFromThemeData: React.FunctionComponent<
|
||||
ContainerFromThemeDataProps
|
||||
> = ({ themeData, className, children }) => {
|
||||
const theme = useTheme(themeData);
|
||||
return (
|
||||
<ThemeProvider theme={theme}>
|
||||
<MainContainerWrapper className={className}>
|
||||
{children}
|
||||
</MainContainerWrapper>
|
||||
</ThemeProvider>
|
||||
);
|
||||
};
|
||||
|
||||
interface Props {
|
||||
children?: React.ReactNode;
|
||||
|
|
|
@ -53,4 +53,4 @@ WithTabs.argTypes = {
|
|||
foldGutter: { control: { disable: true } },
|
||||
autofocus: { control: { disable: true } },
|
||||
onChange: { control: { disable: true } },
|
||||
};
|
||||
} as any;
|
||||
|
|
|
@ -17,7 +17,8 @@ export default {
|
|||
component: SegmentedControl,
|
||||
};
|
||||
|
||||
const Template: Story<Omit<SegmentedControlProps, 'values'>> = (args) => (
|
||||
// eslint-disable-next-line react/prop-types
|
||||
const Template: Story<SegmentedControlProps> = ({ values, ...args }) => (
|
||||
<Container>
|
||||
<SegmentedControl values={['Button1', 'Button2', 'Button3']} {...args} />
|
||||
</Container>
|
||||
|
|
|
@ -47,10 +47,10 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jsan": "^3.1.2",
|
||||
"@types/lodash": "^4.14.177",
|
||||
"@types/node": "^16.11.9",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@types/node": "^16.11.11",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"typescript": "~4.4.4"
|
||||
|
|
|
@ -27,34 +27,34 @@
|
|||
"react-dom": "^17.0.2",
|
||||
"react-redux": "^7.2.6",
|
||||
"redux": "^4.1.2",
|
||||
"redux-thunk": "^2.4.0"
|
||||
"redux-thunk": "^2.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.16.0",
|
||||
"@babel/preset-env": "^7.16.4",
|
||||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/prop-types": "^15.7.4",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@types/webpack-env": "^1.16.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -48,28 +48,28 @@
|
|||
"@babel/preset-react": "^7.16.0",
|
||||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/classnames": "^2.3.1",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/prop-types": "^15.7.4",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@types/webpack": "^5.28.0",
|
||||
"@types/webpack-dev-server": "^4.5.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"babel-loader": "^8.2.3",
|
||||
"css-loader": "^6.5.1",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.4.0",
|
||||
"fork-ts-checker-webpack-plugin": "^6.5.0",
|
||||
"html-webpack-plugin": "^5.5.0",
|
||||
"style-loader": "^3.3.1",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "~4.4.4",
|
||||
"webpack": "^5.64.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1",
|
||||
"webpack-dev-server": "^4.5.0"
|
||||
"webpack-dev-server": "^4.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -51,17 +51,17 @@
|
|||
"@babel/preset-typescript": "^7.16.0",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/lodash": "^4.14.177",
|
||||
"@types/node": "^16.11.9",
|
||||
"@types/react": "^17.0.36",
|
||||
"@types/node": "^16.11.11",
|
||||
"@types/react": "^17.0.37",
|
||||
"@types/react-redux": "^7.1.20",
|
||||
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
||||
"@typescript-eslint/parser": "^5.4.0",
|
||||
"eslint": "^8.3.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.5.0",
|
||||
"@typescript-eslint/parser": "^5.5.0",
|
||||
"eslint": "^8.4.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-jest": "^25.2.4",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"jest": "^27.3.1",
|
||||
"jest": "^27.4.3",
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-redux": "^7.2.6",
|
||||
|
|
|
@ -21,6 +21,11 @@
|
|||
"matchPackageNames": ["source-map"],
|
||||
"matchUpdateTypes": ["major", "minor"],
|
||||
"groupName": "source-map"
|
||||
},
|
||||
{
|
||||
"matchPackageNames": ["msw"],
|
||||
"matchUpdateTypes": ["major", "minor"],
|
||||
"groupName": "msw"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user