Skip to content

Commit ac62b73

Browse files
chore: remove unused files and deps, migrate some files to ts (#513)
1 parent 034a89a commit ac62b73

File tree

11 files changed

+4
-248
lines changed

11 files changed

+4
-248
lines changed

package-lock.json

Lines changed: 0 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"copy-to-clipboard": "^3.3.3",
2121
"history": "4.10.1",
2222
"js-cookie": "2.2.1",
23-
"keymaster": "1.6.2",
2423
"lodash": "4.17.11",
2524
"monaco-editor": "0.24.0",
2625
"numeral": "2.0.6",
@@ -33,7 +32,6 @@
3332
"react-router-dom": "5.3.0",
3433
"react-scripts": "5.0.1",
3534
"react-split": "2.0.14",
36-
"react-transition-group": "4.4.2",
3735
"redux": "4.0.1",
3836
"redux-location-state": "2.6.0",
3937
"redux-thunk": "2.3.0",
@@ -123,8 +121,6 @@
123121
"@types/react-dom": "^17.0.11",
124122
"@types/react-router": "^5.1.17",
125123
"@types/react-router-dom": "^5.3.2",
126-
"@types/react-transition-group": "^4.4.4",
127-
"@types/react-virtualized-auto-sizer": "^1.0.1",
128124
"copyfiles": "^2.4.1",
129125
"eslint-config-prettier": "^8.3.0",
130126
"husky": "^7.0.4",

src/HOCS/WithSearch/WithSearch.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/HOCS/index.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/Hotkey/Hotkey.js

Lines changed: 0 additions & 102 deletions
This file was deleted.

src/components/Pagination/Pagination.js

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/components/Pagination/Pagination.scss

Lines changed: 0 additions & 28 deletions
This file was deleted.
File renamed without changes.

src/reportWebVitals.js renamed to src/reportWebVitals.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
const reportWebVitals = (onPerfEntry) => {
1+
import type {ReportHandler} from 'web-vitals';
2+
3+
const reportWebVitals = (onPerfEntry?: ReportHandler) => {
24
if (onPerfEntry && onPerfEntry instanceof Function) {
35
import('web-vitals').then(({getCLS, getFID, getFCP, getLCP, getTTFB}) => {
46
getCLS(onPerfEntry);

src/types/window.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ interface Window {
3737
custom_backend?: string;
3838

3939
__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?: typeof import('redux').compose;
40+
store?: import('redux').Store;
4041

4142
userSettings?: Record<string, string | undefined>;
4243
systemSettings?: Record<string, string | undefined>;

0 commit comments

Comments
 (0)