mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
redux-devtools-dock-monitor
This commit is contained in:
parent
f616bcafaa
commit
6a58443097
|
@ -1 +0,0 @@
|
|||
lib
|
|
@ -1,13 +0,0 @@
|
|||
module.exports = {
|
||||
extends: '../../eslintrc.js.base.json',
|
||||
overrides: [
|
||||
{
|
||||
files: ['.ts', 'tsx'],
|
||||
extends: '../../eslintrc.ts.react.base.json',
|
||||
parserOptions: {
|
||||
tsconfigRootDir: __dirname,
|
||||
project: true,
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
10
packages/redux-devtools-dock-monitor/eslint.config.mjs
Normal file
10
packages/redux-devtools-dock-monitor/eslint.config.mjs
Normal file
|
@ -0,0 +1,10 @@
|
|||
import eslintJs from '../../eslint.js.config.base.mjs';
|
||||
import eslintTsReact from '../../eslint.ts.react.config.base.mjs';
|
||||
|
||||
export default [
|
||||
...eslintJs,
|
||||
...eslintTsReact(import.meta.dirname),
|
||||
{
|
||||
ignores: ['lib'],
|
||||
},
|
||||
];
|
|
@ -35,7 +35,7 @@
|
|||
"build:esm": "babel src --config-file ./babel.config.esm.json --extensions \".ts,.tsx\" --out-dir lib/esm",
|
||||
"build:types": "tsc --emitDeclarationOnly",
|
||||
"clean": "rimraf lib",
|
||||
"lint": "eslint . --ext .ts,.tsx",
|
||||
"lint": "eslint .",
|
||||
"type-check": "tsc --noEmit",
|
||||
"prepack": "pnpm run clean && pnpm run build",
|
||||
"prepublish": "pnpm run type-check && pnpm run lint"
|
||||
|
@ -56,12 +56,6 @@
|
|||
"@redux-devtools/core": "^4.0.0",
|
||||
"@types/parse-key": "^0.2.2",
|
||||
"@types/react": "^18.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "^8.0.1",
|
||||
"@typescript-eslint/parser": "^8.0.1",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-react": "^7.35.0",
|
||||
"eslint-plugin-react-hooks": "^4.6.2",
|
||||
"react": "^18.3.1",
|
||||
"redux": "^5.0.1",
|
||||
"rimraf": "^6.0.1",
|
||||
|
|
|
@ -192,17 +192,8 @@ class DockMonitor<S, A extends Action<string>> extends Component<
|
|||
onSizeChange={this.handleSizeChange}
|
||||
dimMode="none"
|
||||
>
|
||||
{Children.map(
|
||||
children as
|
||||
| Monitor<S, A, LiftedState<S, A, unknown>, unknown, Action<string>>
|
||||
| Monitor<
|
||||
S,
|
||||
A,
|
||||
LiftedState<S, A, unknown>,
|
||||
unknown,
|
||||
Action<string>
|
||||
>[],
|
||||
(child, index) => this.renderChild(child, index, rest),
|
||||
{Children.map(children, (child, index) =>
|
||||
this.renderChild(child, index, rest),
|
||||
)}
|
||||
</Dock>
|
||||
);
|
||||
|
|
|
@ -1226,24 +1226,6 @@ importers:
|
|||
'@types/react':
|
||||
specifier: ^18.3.3
|
||||
version: 18.3.3
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: ^8.0.1
|
||||
version: 8.0.1(@typescript-eslint/parser@8.0.1)(eslint@8.57.0)(typescript@5.5.4)
|
||||
'@typescript-eslint/parser':
|
||||
specifier: ^8.0.1
|
||||
version: 8.0.1(eslint@8.57.0)(typescript@5.5.4)
|
||||
eslint:
|
||||
specifier: ^8.57.0
|
||||
version: 8.57.0
|
||||
eslint-config-prettier:
|
||||
specifier: ^9.1.0
|
||||
version: 9.1.0(eslint@8.57.0)
|
||||
eslint-plugin-react:
|
||||
specifier: ^7.35.0
|
||||
version: 7.35.0(eslint@8.57.0)
|
||||
eslint-plugin-react-hooks:
|
||||
specifier: ^4.6.2
|
||||
version: 4.6.2(eslint@8.57.0)
|
||||
react:
|
||||
specifier: ^18.3.1
|
||||
version: 18.3.1
|
||||
|
|
Loading…
Reference in New Issue
Block a user