refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-27 17:48:11 +08:00
parent 396a296c0b
commit 974432a0af
14 changed files with 783 additions and 685 deletions
+12 -12
View File
@@ -1,6 +1,6 @@
{
"name": "vocechat-web",
"version": "0.3.1",
"version": "0.3.0",
"private": true,
"homepage": "https://privoce.voce.chat",
"dependencies": {
@@ -10,15 +10,15 @@
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"@react-oauth/google": "^0.2.6",
"@reduxjs/toolkit": "^1.8.3",
"@svgr/webpack": "^6.3.0",
"@svgr/webpack": "^6.3.1",
"@tippyjs/react": "^4.2.6",
"@toast-ui/editor": "^3.1.8",
"@toast-ui/editor": "^3.1.10",
"@toast-ui/editor-plugin-code-syntax-highlight": "^3.0.0",
"@toast-ui/react-editor": "^3.1.8",
"@types/node": "^18.0.6",
"@toast-ui/react-editor": "^3.1.10",
"@types/node": "^18.6.1",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@udecode/plate": "^15.0.1",
"@udecode/plate": "^15.0.3",
"@uiball/loaders": "^1.2.6",
"animate.css": "^4.1.1",
"bfj": "^7.0.2",
@@ -33,7 +33,7 @@
"emoji-mart": "3.0.1",
"eslint": "^8.20.0",
"file-loader": "^6.2.0",
"firebase": "^9.9.0",
"firebase": "^9.9.1",
"fs-extra": "^10.1.0",
"html-webpack-plugin": "^5.5.0",
"linkify-it": "3.0.3",
@@ -62,7 +62,7 @@
"react-string-replace": "^1.1.0",
"react-textarea-autosize": "^8.3.4",
"resolve": "^1.22.1",
"rooks": "^5.11.9",
"rooks": "^5.14.0",
"semver": "^7.3.7",
"slate": "^0.81.1",
"slate-history": "^0.66.0",
@@ -71,11 +71,11 @@
"style-loader": "^3.3.1",
"styled-components": "^5.3.5",
"styled-reset": "^4.4.2",
"swiper": "^8.3.1",
"swiper": "^8.3.2",
"terser-webpack-plugin": "^5.3.3",
"tippy.js": "^6.3.7",
"typescript": "^4.7.4",
"webpack": "^5.73.0",
"webpack": "^5.74.0",
"webpack-dev-server": "^4.9.3",
"webpack-manifest-plugin": "^5.0.0",
"workbox-background-sync": "^6.5.3",
@@ -126,8 +126,8 @@
"@types/react-helmet": "^6.1.5",
"@types/react-linkify": "^1.0.1",
"@types/styled-components": "^5.1.25",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"babel-loader": "^8.2.5",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-preset-react-app": "^10.0.1",