diff options
author | mhatvan <markus_hatvan@aon.at> | 2021-07-30 19:48:40 +0200 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-07-30 23:06:24 +0000 |
commit | 41d3410efb83d18e81b580dd9acc7da2eee226d6 (patch) | |
tree | 65249a87c9f464ec670273b3f994cca8066587c7 /packages/typings | |
parent | chore: migrate from tslint to @typescript-eslint (#1706) (diff) | |
download | ferdium-app-41d3410efb83d18e81b580dd9acc7da2eee226d6.tar.gz ferdium-app-41d3410efb83d18e81b580dd9acc7da2eee226d6.tar.zst ferdium-app-41d3410efb83d18e81b580dd9acc7da2eee226d6.zip |
chore: cleanup and improve dependencies
- removed `@meetfranz/typings` because it only stubbed external type definitions
- removed `@babel/polyfill` because there are no old browsers in use with Electron
- replaced deprecated `mdi` with `@mdi/font`
- removed unused `atob`, `btoa`, `targz`, `node-fetch`, `terser-webpack-plugin`, `webpack-node-externals`
- added used, but not installed dependencies `color`, `csstype`, `debug`, `minimist`, `jss`
- upgraded `@types/node` to match used node version
- upgraded `@types/fs-extra` to match fs-extra version
- add missing `arrow-parens` rule to `.eslintrc` rulest for .js files
Diffstat (limited to 'packages/typings')
-rw-r--r-- | packages/typings/package.json | 22 | ||||
-rw-r--r-- | packages/typings/types/mobx-react-form.d.ts | 1 | ||||
-rw-r--r-- | packages/typings/types/react-html-attributes.d.ts | 1 | ||||
-rw-r--r-- | packages/typings/types/react-jss.d.ts | 1 | ||||
-rw-r--r-- | packages/typings/types/react-loader.d.ts | 45 |
5 files changed, 0 insertions, 70 deletions
diff --git a/packages/typings/package.json b/packages/typings/package.json deleted file mode 100644 index 5da8389d6..000000000 --- a/packages/typings/package.json +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | { | ||
2 | "name": "@meetfranz/typings", | ||
3 | "version": "0.0.11", | ||
4 | "description": "TypeScript typings for internal and external projects", | ||
5 | "author": "Stefan Malzner <stefan@adlk.io>", | ||
6 | "homepage": "https://github.com/meetfranz/franz", | ||
7 | "license": "Apache-2.0", | ||
8 | "directories": { | ||
9 | "types": "types" | ||
10 | }, | ||
11 | "publishConfig": { | ||
12 | "access": "public" | ||
13 | }, | ||
14 | "repository": { | ||
15 | "type": "git", | ||
16 | "url": "git+https://github.com/meetfranz/franz.git" | ||
17 | }, | ||
18 | "bugs": { | ||
19 | "url": "https://github.com/meetfranz/franz/issues" | ||
20 | }, | ||
21 | "gitHead": "e9b9079dc921e85961954727a7b2a8eabe5b9798" | ||
22 | } | ||
diff --git a/packages/typings/types/mobx-react-form.d.ts b/packages/typings/types/mobx-react-form.d.ts deleted file mode 100644 index 4e19dc1c2..000000000 --- a/packages/typings/types/mobx-react-form.d.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | declare module 'mobx-react-form'; | ||
diff --git a/packages/typings/types/react-html-attributes.d.ts b/packages/typings/types/react-html-attributes.d.ts deleted file mode 100644 index 6f8f20fe4..000000000 --- a/packages/typings/types/react-html-attributes.d.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | declare module 'react-html-attributes'; | ||
diff --git a/packages/typings/types/react-jss.d.ts b/packages/typings/types/react-jss.d.ts deleted file mode 100644 index 9a77ddb87..000000000 --- a/packages/typings/types/react-jss.d.ts +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | declare module 'react-jss'; | ||
diff --git a/packages/typings/types/react-loader.d.ts b/packages/typings/types/react-loader.d.ts deleted file mode 100644 index 728e3dfa0..000000000 --- a/packages/typings/types/react-loader.d.ts +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | // Type definitions for react-loader 2.4 | ||
2 | // Project: https://github.com/quickleft/react-loader | ||
3 | // Definitions by: Sudarsan Balaji <https://github.com/artfuldev> | ||
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
5 | // TypeScript Version: 2.8 | ||
6 | |||
7 | import { Component } from 'react'; | ||
8 | |||
9 | interface LoaderOptions { | ||
10 | lines?: number; | ||
11 | length?: number; | ||
12 | width?: number; | ||
13 | radius?: number; | ||
14 | scale?: number; | ||
15 | corners?: number; | ||
16 | color?: string; | ||
17 | opacity?: number; | ||
18 | rotate?: number; | ||
19 | direction?: number; | ||
20 | speed?: number; | ||
21 | trail?: number; | ||
22 | fps?: number; | ||
23 | zIndex?: number; | ||
24 | top?: string; | ||
25 | left?: string; | ||
26 | shadow?: boolean; | ||
27 | hwaccel?: boolean; | ||
28 | position?: string; | ||
29 | loadedClassName?: string; | ||
30 | parentClassName?: string; | ||
31 | } | ||
32 | |||
33 | interface LoaderProps extends LoaderOptions { | ||
34 | loaded: boolean; | ||
35 | options?: LoaderOptions; | ||
36 | className?: string; | ||
37 | } | ||
38 | |||
39 | declare class ReactLoader extends Component<LoaderProps> { | ||
40 | } | ||
41 | |||
42 | declare namespace ReactLoader { | ||
43 | } | ||
44 | |||
45 | export = ReactLoader; | ||