diff options
author | 2023-07-29 21:12:16 -0600 | |
---|---|---|
committer | 2023-07-30 08:42:16 +0530 | |
commit | 32f76b74a69ad4d60a014bf075c39517888436bc (patch) | |
tree | 753378cc30f52d1e0e51be64b5a83d39f08f39c8 /package.json | |
parent | 6.4.1-nightly.15 [skip ci] (diff) | |
download | ferdium-app-32f76b74a69ad4d60a014bf075c39517888436bc.tar.gz ferdium-app-32f76b74a69ad4d60a014bf075c39517888436bc.tar.zst ferdium-app-32f76b74a69ad4d60a014bf075c39517888436bc.zip |
refactor: various improvements (#1296)
* refactor: various improvements
- enable no-use-before-define eslint rule
- shuffle code to conform to no-use-before-define eslint rule
- remove btoa dependency which is deprecated and replace with Buffer.from(string).toString('base64')
- convert some any types into useful ones
- add type annotations where possible
- remove unused @types/expect.js
- install @types/semver and ts-node which were missing
- repair and rewrite add-crowdin-contributors script
- remove export keyword from variables which are never consumed in another file
- remove unity indicator hack where linked issue was closed
- remove module declaration for kebab-case which is unused
- add missing state interface for certain components
- remove default exports for files which already have a named export
- export IRecipePreview so it can be used throughout codebase
- remove unused removeCacheForCallWith method from CachedRequest.ts
- cleanup unused colors and styles inside legacy theme
* - improve ColorPickerInput
- fix invalid DOM nesting with div inside p in EditSettingsForm
- fix progressbarAccentColor color picker not updating input when using slider
- install missing @types/react-color dependency
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json index 45628a99d..e3e4a4f44 100644 --- a/package.json +++ b/package.json | |||
@@ -69,7 +69,6 @@ | |||
69 | "@sentry/electron": "4.1.2", | 69 | "@sentry/electron": "4.1.2", |
70 | "@superwf/mobx-react-router": "7.4.0", | 70 | "@superwf/mobx-react-router": "7.4.0", |
71 | "auto-launch": "5.0.6", | 71 | "auto-launch": "5.0.6", |
72 | "btoa": "1.2.1", | ||
73 | "classnames": "2.3.2", | 72 | "classnames": "2.3.2", |
74 | "color": "4.2.3", | 73 | "color": "4.2.3", |
75 | "csstype": "3.1.2", | 74 | "csstype": "3.1.2", |
@@ -137,7 +136,6 @@ | |||
137 | "@formatjs/cli": "6.1.3", | 136 | "@formatjs/cli": "6.1.3", |
138 | "@jest/types": "29.6.1", | 137 | "@jest/types": "29.6.1", |
139 | "@types/color": "3.0.3", | 138 | "@types/color": "3.0.3", |
140 | "@types/expect.js": "0.3.29", | ||
141 | "@types/fs-extra": "11.0.1", | 139 | "@types/fs-extra": "11.0.1", |
142 | "@types/jest": "29.5.3", | 140 | "@types/jest": "29.5.3", |
143 | "@types/lodash": "4.14.195", | 141 | "@types/lodash": "4.14.195", |
@@ -145,10 +143,12 @@ | |||
145 | "@types/node": "18.15.3", | 143 | "@types/node": "18.15.3", |
146 | "@types/prop-types": "15.7.5", | 144 | "@types/prop-types": "15.7.5", |
147 | "@types/react": "18.2.12", | 145 | "@types/react": "18.2.12", |
146 | "@types/react-color": "3.0.6", | ||
148 | "@types/react-dom": "18.2.5", | 147 | "@types/react-dom": "18.2.5", |
149 | "@types/react-loader": "2.4.5", | 148 | "@types/react-loader": "2.4.5", |
150 | "@types/react-transition-group": "4.4.6", | 149 | "@types/react-transition-group": "4.4.6", |
151 | "@types/route-parser": "0.1.4", | 150 | "@types/route-parser": "0.1.4", |
151 | "@types/semver": "7.5.0", | ||
152 | "@types/tar": "6.1.5", | 152 | "@types/tar": "6.1.5", |
153 | "@types/uuid": "9.0.2", | 153 | "@types/uuid": "9.0.2", |
154 | "@types/validator": "13.7.17", | 154 | "@types/validator": "13.7.17", |
@@ -184,6 +184,7 @@ | |||
184 | "rimraf": "5.0.1", | 184 | "rimraf": "5.0.1", |
185 | "simple-git": "3.19.1", | 185 | "simple-git": "3.19.1", |
186 | "tiny-glob": "0.2.9", | 186 | "tiny-glob": "0.2.9", |
187 | "ts-node": "10.9.1", | ||
187 | "typescript": "5.0.4", | 188 | "typescript": "5.0.4", |
188 | "wait-on": "7.0.1" | 189 | "wait-on": "7.0.1" |
189 | }, | 190 | }, |