Skip to content

Commit 0dc5a31

Browse files
committed
update packages
1 parent de74b97 commit 0dc5a31

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"plugin:react-hooks/recommended",
66
"plugin:@typescript-eslint/eslint-recommended",
77
"plugin:@typescript-eslint/recommended",
8-
"prettier/@typescript-eslint"
8+
"plugin:prettier/recommended"
99
],
1010
"plugins": ["react", "react-hooks", "prettier"],
1111
"rules": {

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
},
2424
"dependencies": {
2525
"@loadable/component": "^5.14.1",
26-
"@rematch/core": "^2.0.0",
26+
"@rematch/core": "^2.0.1",
2727
"antd": "^4.12.3",
2828
"axios": "^0.21.1",
2929
"core-js": "^3.9.0",
3030
"history": "^4.10.1",
31-
"lodash": "^4.17.20",
31+
"lodash": "^4.17.21",
3232
"normalize.css": "^8.0.1",
3333
"react": "17.0.1",
3434
"react-dom": "17.0.1",
@@ -53,28 +53,28 @@
5353
"@types/react-redux": "^7.1.16",
5454
"@types/react-router-dom": "^5.1.7",
5555
"@types/webpack-env": "^1.16.0",
56-
"@typescript-eslint/eslint-plugin": "^4.15.1",
57-
"@typescript-eslint/parser": "^4.15.1",
56+
"@typescript-eslint/eslint-plugin": "^4.15.2",
57+
"@typescript-eslint/parser": "^4.15.2",
5858
"antd-dayjs-webpack-plugin": "^1.0.6",
5959
"autoprefixer": "^10.2.4",
6060
"awesome-typescript-loader": "^5.2.1",
6161
"body-parser": "^1.19.0",
6262
"clean-webpack-plugin": "^3.0.0",
6363
"copy-webpack-plugin": "^7.0.0",
64-
"css-loader": "^5.0.2",
64+
"css-loader": "^5.1.0",
6565
"css-minimizer-webpack-plugin": "^1.2.0",
6666
"dayjs": "^1.10.4",
6767
"enzyme": "^3.11.0",
6868
"enzyme-adapter-react-16": "^1.15.6",
6969
"eslint": "^7.20.0",
70-
"eslint-config-prettier": "^7.2.0",
70+
"eslint-config-prettier": "^8.1.0",
7171
"eslint-loader": "^4.0.2",
7272
"eslint-plugin-prettier": "^3.3.1",
7373
"eslint-plugin-react": "^7.22.0",
7474
"eslint-plugin-react-hooks": "^4.2.0",
7575
"express": "^4.17.1",
7676
"favicons": "^6.2.1",
77-
"favicons-webpack-plugin": "^5.0.1",
77+
"favicons-webpack-plugin": "^5.0.2",
7878
"file-loader": "^6.2.0",
7979
"html-webpack-plugin": "^5.2.0",
8080
"http-proxy-middleware": "^1.0.6",
@@ -83,7 +83,7 @@
8383
"jest-transform-stub": "^2.0.0",
8484
"less": "^4.1.1",
8585
"less-loader": "^8.0.0",
86-
"mini-css-extract-plugin": "^1.3.8",
86+
"mini-css-extract-plugin": "^1.3.9",
8787
"mockjs": "^1.1.0",
8888
"postcss": "^8.2.6",
8989
"postcss-loader": "^5.0.0",
@@ -93,15 +93,15 @@
9393
"sw-precache-webpack-plugin": "^1.0.0",
9494
"terser-webpack-plugin": "^5.1.1",
9595
"ts-import-plugin": "^1.6.7",
96-
"ts-jest": "^26.5.1",
96+
"ts-jest": "^26.5.2",
9797
"typescript": "4.1.5",
9898
"url-loader": "^4.1.1",
99-
"webpack": "^5.23.0",
99+
"webpack": "^5.24.2",
100100
"webpack-cli": "^4.5.0",
101101
"webpack-dev-middleware": "^4.1.0",
102102
"webpack-hot-middleware": "^2.25.0",
103103
"webpackbar": "^4.0.0",
104-
"workbox-webpack-plugin": "^6.1.0",
104+
"workbox-webpack-plugin": "^6.1.1",
105105
"xml-loader": "^1.2.1"
106106
},
107107
"browserslist": [

src/store/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ export interface RootModel extends Models<RootModel> {
1010
sys: typeof sys;
1111
}
1212

13-
export type Dispatch = RematchDispatch<RootModel>;
14-
export type RootState = RematchRootState<RootModel>;
15-
1613
const rootModel: RootModel = { app, sys };
1714
const store = init({
1815
models: rootModel,
1916
});
2017

2118
export type Store = typeof store;
19+
export type Dispatch = RematchDispatch<RootModel>;
20+
export type RootState = RematchRootState<RootModel>;
2221

2322
export default store;

0 commit comments

Comments
 (0)