mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-06-02 22:26:57 -05:00
Upgrade deps
This commit is contained in:
parent
72fa1f68c8
commit
b35a64c1f8
|
|
@ -1,7 +1,7 @@
|
|||
import { createCookie } from "@remix-run/node";
|
||||
import Backend from "i18next-fs-backend";
|
||||
import { resolve } from "node:path";
|
||||
import { RemixI18Next } from "remix-i18next";
|
||||
import { RemixI18Next } from "remix-i18next/server";
|
||||
import { config } from "./config";
|
||||
|
||||
const TEN_YEARS_IN_SECONDS = 31_536_000 * 10;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import i18next from "i18next";
|
|||
import LanguageDetector from "i18next-browser-languagedetector";
|
||||
import Backend from "i18next-http-backend";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
import { getInitialNamespaces } from "remix-i18next";
|
||||
import { getInitialNamespaces } from "remix-i18next/client";
|
||||
import { config } from "./config";
|
||||
|
||||
export function i18nLoader() {
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import { Catcher } from "./components/Catcher";
|
|||
import { Layout } from "./components/layout";
|
||||
import { getUser } from "./features/auth/core";
|
||||
import { DEFAULT_LANGUAGE, i18nCookie, i18next } from "./modules/i18n";
|
||||
import { useChangeLanguage } from "remix-i18next";
|
||||
import { useChangeLanguage } from "remix-i18next/react";
|
||||
import { type CustomTypeOptions } from "react-i18next";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { COMMON_PREVIEW_IMAGE } from "./utils/urls";
|
||||
|
|
|
|||
3952
package-lock.json
generated
3952
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
46
package.json
46
package.json
|
|
@ -54,32 +54,32 @@
|
|||
"cf:noe2e": "npm run test:unit && npm run check-translation-jsons && npm run lint:css -- --fix && npm run lint:ts -- --fix && npm run prettier:write && npm run typecheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.511.0",
|
||||
"@aws-sdk/lib-storage": "^3.511.0",
|
||||
"@aws-sdk/client-s3": "^3.521.0",
|
||||
"@aws-sdk/lib-storage": "^3.521.0",
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
"@dnd-kit/utilities": "^3.2.2",
|
||||
"@epic-web/cachified": "^5.1.1",
|
||||
"@epic-web/cachified": "^5.1.2",
|
||||
"@faker-js/faker": "^8.4.1",
|
||||
"@headlessui/react": "^1.7.18",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"@remix-run/node": "^2.6.0",
|
||||
"@remix-run/react": "^2.6.0",
|
||||
"@remix-run/serve": "^2.6.0",
|
||||
"@remix-run/node": "^2.7.2",
|
||||
"@remix-run/react": "^2.7.2",
|
||||
"@remix-run/serve": "^2.7.2",
|
||||
"@tldraw/tldraw": "^1.29.2",
|
||||
"aws-sdk": "^2.1555.0",
|
||||
"better-sqlite3": "^9.4.1",
|
||||
"aws-sdk": "^2.1565.0",
|
||||
"better-sqlite3": "^9.4.3",
|
||||
"clsx": "^2.1.0",
|
||||
"compressorjs": "^1.2.1",
|
||||
"countries-list": "^3.0.6",
|
||||
"date-fns": "^3.3.1",
|
||||
"fuse.js": "^7.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"i18next": "^23.8.2",
|
||||
"i18next": "^23.10.0",
|
||||
"i18next-browser-languagedetector": "^7.2.0",
|
||||
"i18next-fs-backend": "^2.3.1",
|
||||
"i18next-http-backend": "^2.4.3",
|
||||
"isbot": "^4.4.0",
|
||||
"i18next-http-backend": "^2.5.0",
|
||||
"isbot": "^5.1.0",
|
||||
"just-capitalize": "^3.2.0",
|
||||
"just-clone": "^6.2.0",
|
||||
"just-random-integer": "^4.2.0",
|
||||
|
|
@ -87,8 +87,8 @@
|
|||
"kysely": "^0.27.2",
|
||||
"lru-cache": "10.2.0",
|
||||
"markdown-to-jsx": "^7.4.1",
|
||||
"nanoid": "~5.0.5",
|
||||
"newrelic": "^11.10.3",
|
||||
"nanoid": "~5.0.6",
|
||||
"newrelic": "^11.10.4",
|
||||
"node-cron": "3.0.3",
|
||||
"nprogress": "^0.2.0",
|
||||
"openskill": "^3.1.0",
|
||||
|
|
@ -98,21 +98,21 @@
|
|||
"react-flip-toolkit": "^7.1.0",
|
||||
"react-i18next": "^14.0.5",
|
||||
"react-popper": "^2.3.0",
|
||||
"react-responsive-masonry": "^2.1.7",
|
||||
"react-responsive-masonry": "^2.2.0",
|
||||
"react-use": "^17.5.0",
|
||||
"reconnecting-websocket": "^4.4.0",
|
||||
"remix-auth": "^3.6.0",
|
||||
"remix-auth-oauth2": "^1.11.1",
|
||||
"remix-i18next": "^5.5.0",
|
||||
"remix-i18next": "^6.0.1",
|
||||
"remix-utils": "^7.5.0",
|
||||
"slugify": "^1.6.6",
|
||||
"swr": "^2.2.4",
|
||||
"tiny-invariant": "^1.3.1",
|
||||
"swr": "^2.2.5",
|
||||
"tiny-invariant": "^1.3.3",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.41.2",
|
||||
"@remix-run/dev": "^2.6.0",
|
||||
"@remix-run/dev": "^2.7.2",
|
||||
"@swc-node/register": "^1.8.0",
|
||||
"@types/better-sqlite3": "7.6.9",
|
||||
"@types/i18next-fs-backend": "^1.1.5",
|
||||
|
|
@ -120,14 +120,14 @@
|
|||
"@types/node-cron": "^3.0.11",
|
||||
"@types/nprogress": "^0.2.3",
|
||||
"@types/prettier": "3.0.0",
|
||||
"@types/react": "^18.2.55",
|
||||
"@types/react": "^18.2.58",
|
||||
"@types/react-dom": "^18.2.19",
|
||||
"@types/react-responsive-masonry": "^2.1.3",
|
||||
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
||||
"@typescript-eslint/parser": "^6.21.0",
|
||||
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
||||
"@typescript-eslint/parser": "^7.0.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"dotenv": "^16.4.2",
|
||||
"eslint": "^8.56.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-plugin-react": "^7.33.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"ignore-styles": "^5.0.1",
|
||||
|
|
|
|||
|
|
@ -264,6 +264,7 @@ module.exports = {
|
|||
"react-charts",
|
||||
"d3-time-format",
|
||||
"nanoid",
|
||||
/^remix-i18next.*/,
|
||||
/^remix-utils.*/,
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user