Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove unused Ensu web dependencies

Manav Rathi0b29be79e204
diff --git a/web/apps/ensu/package.json b/web/apps/ensu/package.json
index 516fc168fd..59c4aaff4f 100644
--- a/web/apps/ensu/package.json
+++ b/web/apps/ensu/package.json
@@ -3,9 +3,6 @@
"version": "0.0.0",
"private": true,
"dependencies": {
- "@fontsource/cormorant-garamond": "5.2.11",
- "@fontsource/jetbrains-mono": "5.2.8",
- "@fontsource/source-serif-4": "5.2.9",
"@hugeicons/core-free-icons": "1.2.1",
"@hugeicons/react": "1.1.6",
"@rive-app/canvas": "2.37.8",
@@ -22,7 +19,6 @@
"idb": "8.0.3",
"katex": "0.17.0",
"react-markdown": "10.1.0",
- "react-virtuoso": "4.18.7",
"rehype-katex": "7.0.1",
"remark-gfm": "4.0.1",
"remark-math": "6.0.0"
diff --git a/web/apps/ensu/src/types/react-virtuoso.d.ts b/web/apps/ensu/src/types/react-virtuoso.d.ts
deleted file mode 100644
index 7eb259f6c8..0000000000
--- a/web/apps/ensu/src/types/react-virtuoso.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-declare module "react-virtuoso" {
- import * as React from "react";
-
- export interface VirtuosoProps<T = unknown> {
- data?: T[];
- itemContent?: (index: number, item: T) => React.ReactNode;
- computeItemKey?: (index: number, item: T) => React.Key;
- components?: Record<string, React.ComponentType<any>>;
- scrollerRef?: React.Ref<HTMLDivElement>;
- followOutput?: boolean | "smooth";
- atBottomStateChange?: (atBottom: boolean) => void;
- style?: React.CSSProperties;
- }
-
- export const Virtuoso: React.ComponentType<VirtuosoProps<any>>;
-}
diff --git a/web/package-lock.json b/web/package-lock.json
index c41c4e135c..2cbd15d0d7 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -162,9 +162,6 @@
"apps/ensu": {
"version": "0.0.0",
"dependencies": {
- "@fontsource/cormorant-garamond": "5.2.11",
- "@fontsource/jetbrains-mono": "5.2.8",
- "@fontsource/source-serif-4": "5.2.9",
"@hugeicons/core-free-icons": "1.2.1",
"@hugeicons/react": "1.1.6",
"@rive-app/canvas": "2.37.8",
@@ -181,7 +178,6 @@
"idb": "8.0.3",
"katex": "0.17.0",
"react-markdown": "10.1.0",
- "react-virtuoso": "4.18.7",
"rehype-katex": "7.0.1",
"remark-gfm": "4.0.1",
"remark-math": "6.0.0"
@@ -1475,15 +1471,6 @@
"url": "https://github.com/sponsors/ayuhito"
}
},
- "node_modules/@fontsource/cormorant-garamond": {
- "version": "5.2.11",
- "resolved": "https://registry.npmjs.org/@fontsource/cormorant-garamond/-/cormorant-garamond-5.2.11.tgz",
- "integrity": "sha512-5JjpN023lhA5soijgVT0BdRGzmlijm402ppjccMd6h+vRE0mX2lJnE+41UPfnlidrkV9/rCo1mf58WZlHnB0CA==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
"node_modules/@fontsource/gochi-hand": {
"version": "5.2.8",
"resolved": "https://registry.npmjs.org/@fontsource/gochi-hand/-/gochi-hand-5.2.8.tgz",
@@ -1502,24 +1489,6 @@
"url": "https://github.com/sponsors/ayuhito"
}
},
- "node_modules/@fontsource/jetbrains-mono": {
- "version": "5.2.8",
- "resolved": "https://registry.npmjs.org/@fontsource/jetbrains-mono/-/jetbrains-mono-5.2.8.tgz",
- "integrity": "sha512-6w8/SG4kqvIMu7xd7wt6x3idn1Qux3p9N62s6G3rfldOUYHpWcc2FKrqf+Vo44jRvqWj2oAtTHrZXEP23oSKwQ==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
- "node_modules/@fontsource/source-serif-4": {
- "version": "5.2.9",
- "resolved": "https://registry.npmjs.org/@fontsource/source-serif-4/-/source-serif-4-5.2.9.tgz",
- "integrity": "sha512-er/Pym9emsEVJNf947umJ4kXarXfsiN6CN7kTYinefKRaHLwiquiiHOZvKvxWgkV8JMCf3pV3g0NcsPFpVCH9w==",
- "license": "OFL-1.1",
- "funding": {
- "url": "https://github.com/sponsors/ayuhito"
- }
- },
"node_modules/@fontsource/space-grotesk": {
"version": "5.2.10",
"resolved": "https://registry.npmjs.org/@fontsource/space-grotesk/-/space-grotesk-5.2.10.tgz",
@@ -9336,16 +9305,6 @@
"react-dom": "^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
},
- "node_modules/react-virtuoso": {
- "version": "4.18.7",
- "resolved": "https://registry.npmjs.org/react-virtuoso/-/react-virtuoso-4.18.7.tgz",
- "integrity": "sha512-xNF5zDGEEIMB7cKwcen/pLig0YDf6OnfFrVgKFa7sHPf9fRem0CaLshyObbBcP88jzn0enavL39EgplgdyT21g==",
- "license": "MIT",
- "peerDependencies": {
- "react": ">=16 || >=17 || >= 18 || >= 19",
- "react-dom": ">=16 || >=17 || >= 18 || >=19"
- }
- },
"node_modules/react-window": {
"version": "1.8.11",
"resolved": "https://registry.npmjs.org/react-window/-/react-window-1.8.11.tgz",