1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-21 18:02:32 +01:00

remove old craco dependency

This commit is contained in:
Puyodead1 2023-09-14 23:22:23 -04:00 committed by Puyodead1
parent 2ca1a17702
commit f8b96bf341
No known key found for this signature in database
GPG Key ID: BA5F91AAEF68E5CE
5 changed files with 56 additions and 1769 deletions

View File

@ -62,7 +62,6 @@
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"@vitejs/plugin-react": "^4.0.4",
"craco-esbuild": "^0.5.2",
"eslint": "^8.49.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@
],
"publisher": "Spacebar",
"category": "SocialNetworking",
"shortDescription": "A ree, opensource self-hostable discord-compatible chat, voice and video platform.",
"shortDescription": "A free, opensource self-hostable discord-compatible chat, voice and video platform.",
"windows": {
"nsis": {
"license": "../LICENSE",

6
src/custom.d.ts vendored
View File

@ -4,9 +4,3 @@ declare module "*.svg" {
const src: string;
export default src;
}
declare global {
interface Window {
__TAURI__: boolean;
}
}

View File

@ -78,4 +78,5 @@ export const getFileDetails = (fileOrAttachment: File | APIAttachment) => {
};
};
// @ts-expect-error - tauri is not defined
export const isTauri = !!window.__TAURI__;