mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Compare commits
4 commits
b7d854c678
...
7495d51408
Author | SHA1 | Date | |
---|---|---|---|
|
7495d51408 | ||
|
fad6316020 | ||
|
af31bdb1cc | ||
|
c06e455453 |
4 changed files with 282 additions and 300 deletions
16
package.json
16
package.json
|
@ -46,7 +46,7 @@
|
||||||
"detect-browser": "^5.3.0",
|
"detect-browser": "^5.3.0",
|
||||||
"dompurify": "^3.1.6",
|
"dompurify": "^3.1.6",
|
||||||
"flag-icons": "^7.2.3",
|
"flag-icons": "^7.2.3",
|
||||||
"focus-trap-react": "^10.2.3",
|
"focus-trap-react": "^10.3.0",
|
||||||
"fscreen": "^1.2.0",
|
"fscreen": "^1.2.0",
|
||||||
"fuse.js": "^7.0.0",
|
"fuse.js": "^7.0.0",
|
||||||
"hls.js": "^1.5.15",
|
"hls.js": "^1.5.15",
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
"million": "^2.6.4",
|
"million": "^2.6.4",
|
||||||
"nanoid": "^5.0.7",
|
"nanoid": "^5.0.7",
|
||||||
"node-forge": "^1.3.1",
|
"node-forge": "^1.3.1",
|
||||||
"ofetch": "^1.3.4",
|
"ofetch": "^1.4.0",
|
||||||
"react": "^18.3.1",
|
"react": "^18.3.1",
|
||||||
"react-dom": "^18.3.1",
|
"react-dom": "^18.3.1",
|
||||||
"react-ga4": "^2.1.0",
|
"react-ga4": "^2.1.0",
|
||||||
|
@ -78,7 +78,7 @@
|
||||||
"@babel/core": "^7.25.2",
|
"@babel/core": "^7.25.2",
|
||||||
"@babel/preset-env": "^7.25.4",
|
"@babel/preset-env": "^7.25.4",
|
||||||
"@babel/preset-typescript": "^7.24.7",
|
"@babel/preset-typescript": "^7.24.7",
|
||||||
"@rollup/wasm-node": "^4.21.2",
|
"@rollup/wasm-node": "^4.22.4",
|
||||||
"@types/chromecast-caf-sender": "^1.0.10",
|
"@types/chromecast-caf-sender": "^1.0.10",
|
||||||
"@types/crypto-js": "^4.2.2",
|
"@types/crypto-js": "^4.2.2",
|
||||||
"@types/dompurify": "^3.0.5",
|
"@types/dompurify": "^3.0.5",
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
"@types/lodash.throttle": "^4.1.9",
|
"@types/lodash.throttle": "^4.1.9",
|
||||||
"@types/node": "^20.16.5",
|
"@types/node": "^20.16.5",
|
||||||
"@types/pako": "^2.0.3",
|
"@types/pako": "^2.0.3",
|
||||||
"@types/react": "^18.3.5",
|
"@types/react": "^18.3.8",
|
||||||
"@types/react-dom": "^18.3.0",
|
"@types/react-dom": "^18.3.0",
|
||||||
"@types/react-helmet": "^6.1.11",
|
"@types/react-helmet": "^6.1.11",
|
||||||
"@types/react-lazy-load-image-component": "^1.6.4",
|
"@types/react-lazy-load-image-component": "^1.6.4",
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
"@vitejs/plugin-react": "^4.3.1",
|
"@vitejs/plugin-react": "^4.3.1",
|
||||||
"autoprefixer": "^10.4.20",
|
"autoprefixer": "^10.4.20",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^8.57.0",
|
"eslint": "^8.57.1",
|
||||||
"eslint-config-airbnb": "19.0.4",
|
"eslint-config-airbnb": "19.0.4",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-import-resolver-typescript": "^3.6.3",
|
"eslint-import-resolver-typescript": "^3.6.3",
|
||||||
|
@ -114,18 +114,18 @@
|
||||||
"glob": "^10.4.5",
|
"glob": "^10.4.5",
|
||||||
"handlebars": "^4.7.8",
|
"handlebars": "^4.7.8",
|
||||||
"jsdom": "^23.2.0",
|
"jsdom": "^23.2.0",
|
||||||
"postcss": "^8.4.45",
|
"postcss": "^8.4.47",
|
||||||
"postcss-rtl": "^2.0.0",
|
"postcss-rtl": "^2.0.0",
|
||||||
"postcss-rtlcss": "^4.0.9",
|
"postcss-rtlcss": "^4.0.9",
|
||||||
"prettier": "^3.3.3",
|
"prettier": "^3.3.3",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.14",
|
"prettier-plugin-tailwindcss": "^0.5.14",
|
||||||
"rollup-plugin-visualizer": "^5.12.0",
|
"rollup-plugin-visualizer": "^5.12.0",
|
||||||
"tailwind-scrollbar": "^3.1.0",
|
"tailwind-scrollbar": "^3.1.0",
|
||||||
"tailwindcss": "^3.4.10",
|
"tailwindcss": "^3.4.12",
|
||||||
"tailwindcss-themer": "^4.0.0",
|
"tailwindcss-themer": "^4.0.0",
|
||||||
"type-fest": "^4.26.1",
|
"type-fest": "^4.26.1",
|
||||||
"typescript": "^5.6.2",
|
"typescript": "^5.6.2",
|
||||||
"vite": "^5.4.3",
|
"vite": "^5.4.7",
|
||||||
"vite-plugin-checker": "^0.6.4",
|
"vite-plugin-checker": "^0.6.4",
|
||||||
"vite-plugin-package-version": "^1.1.0",
|
"vite-plugin-package-version": "^1.1.0",
|
||||||
"vite-plugin-pwa": "^0.17.5",
|
"vite-plugin-pwa": "^0.17.5",
|
||||||
|
|
511
pnpm-lock.yaml
511
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
@ -69,7 +69,12 @@ export async function singularProxiedFetch<T>(
|
||||||
onResponse(context) {
|
onResponse(context) {
|
||||||
const tokenHeader = context.response.headers.get("X-Token");
|
const tokenHeader = context.response.headers.get("X-Token");
|
||||||
if (tokenHeader) setApiToken(tokenHeader);
|
if (tokenHeader) setApiToken(tokenHeader);
|
||||||
|
|
||||||
|
if (Array.isArray(ops.onResponse)) {
|
||||||
|
ops.onResponse.forEach((hook) => hook(context));
|
||||||
|
} else {
|
||||||
ops.onResponse?.(context);
|
ops.onResponse?.(context);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,9 +122,8 @@ export default defineConfig(({ mode }) => {
|
||||||
|
|
||||||
build: {
|
build: {
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
chunkSizeWarningLimit: 1600,
|
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {},
|
||||||
manualChunks(id: string) {
|
manualChunks(id: string) {
|
||||||
if (id.includes("@sozialhelden+ietf-language-tags") || id.includes("country-language")) {
|
if (id.includes("@sozialhelden+ietf-language-tags") || id.includes("country-language")) {
|
||||||
return "language-db";
|
return "language-db";
|
||||||
|
@ -150,7 +149,6 @@ export default defineConfig(({ mode }) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
postcss: {
|
postcss: {
|
||||||
|
|
Loading…
Reference in a new issue