Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabolus committed Mar 2, 2024
1 parent 11c2b2d commit 4f52aba
Show file tree
Hide file tree
Showing 7 changed files with 1,413 additions and 903 deletions.
2 changes: 1 addition & 1 deletion app/entry.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
import i18next from 'i18next';
import { I18nextProvider, initReactI18next } from 'react-i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import { getInitialNamespaces } from 'remix-i18next';
import { getInitialNamespaces } from 'remix-i18next/client';
import ClientStyleContext from './src/ClientStyleContext';
import createEmotionCache from './src/createEmotionCache';
import createTheme from './src/theme';
Expand Down
2 changes: 1 addition & 1 deletion app/i18next.server.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { resolve } from 'node:path';
import { RemixI18Next } from 'remix-i18next';
import { RemixI18Next } from 'remix-i18next/server';
import Backend from './i18next-fetch-backend';
import i18n from './i18n';

Expand Down
4 changes: 1 addition & 3 deletions app/root.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { ReactNode, useContext } from 'react';
import {
Links,
LiveReload,
Meta,
Outlet,
Scripts,
Expand All @@ -15,7 +14,7 @@ import {
unstable_useEnhancedEffect as useEnhancedEffect,
getInitColorSchemeScript,
} from '@mui/material';
import { useChangeLanguage } from 'remix-i18next';
import { useChangeLanguage } from 'remix-i18next/react';
import { useTranslation } from 'react-i18next';
import ClientStyleContext from './src/ClientStyleContext';
import Layout from './src/Layout';
Expand Down Expand Up @@ -184,7 +183,6 @@ const Document = withEmotionCache(
{children}
<ScrollRestoration />
<Scripts />
<LiveReload />
</body>
</html>
);
Expand Down
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,45 +20,45 @@
"upgrade-interactive": "ncu --interactive"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.496.0",
"@aws-sdk/client-s3": "^3.496.0",
"@aws-sdk/client-sqs": "^3.496.0",
"@aws-sdk/lib-dynamodb": "^3.496.0",
"@aws-sdk/lib-storage": "^3.496.0",
"@aws-sdk/client-dynamodb": "^3.525.0",
"@aws-sdk/client-s3": "^3.525.0",
"@aws-sdk/client-sqs": "^3.525.0",
"@aws-sdk/lib-dynamodb": "^3.525.0",
"@aws-sdk/lib-storage": "^3.525.1",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.3",
"@emotion/react": "^11.11.4",
"@emotion/server": "^11.11.0",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.5",
"@mui/material": "^5.15.5",
"@mui/x-data-grid": "^6.19.1",
"@mui/icons-material": "^5.15.11",
"@mui/material": "^5.15.11",
"@mui/x-data-grid": "^6.19.6",
"@mui/x-tree-view": "^6.17.0",
"@remix-run/node": "^2.5.1",
"@remix-run/react": "^2.5.1",
"@remix-run/serve": "^2.5.1",
"@remix-run/server-runtime": "^2.5.1",
"csv-parse": "^5.5.3",
"@remix-run/node": "^2.8.0",
"@remix-run/react": "^2.8.0",
"@remix-run/serve": "^2.8.0",
"@remix-run/server-runtime": "^2.8.0",
"csv-parse": "^5.5.5",
"docx-preview": "^0.3.0",
"fuse.js": "^7.0.0",
"i18next": "^23.7.16",
"i18next": "^23.10.0",
"i18next-browser-languagedetector": "^7.2.0",
"material-ui-popup-state": "^5.0.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone-esm": "^15.0.1",
"react-i18next": "^14.0.0",
"react-i18next": "^14.0.5",
"react-syntax-highlighter": "^15.5.0",
"remix-i18next": "^5.5.0"
"remix-i18next": "^6.0.1"
},
"devDependencies": {
"@remix-run/dev": "^2.5.1",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-syntax-highlighter": "^15",
"@remix-run/dev": "^2.8.0",
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"@types/react-syntax-highlighter": "^15.5.11",
"concurrently": "^8.2.2",
"i18next-parser": "^8.12.0",
"npm-check-updates": "^16.14.12",
"prettier": "^3.2.4",
"i18next-parser": "^8.13.0",
"npm-check-updates": "^16.14.15",
"prettier": "^3.2.5",
"typescript": "^5.3.3",
"vite-tsconfig-paths": "^4.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"module": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"target": "ES2022",
Expand Down
11 changes: 7 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { unstable_vitePlugin as remix } from '@remix-run/dev';
import { vitePlugin as remix } from '@remix-run/dev';
import { installGlobals } from '@remix-run/node';
import { defineConfig } from 'vite';
import tsconfigPaths from 'vite-tsconfig-paths';

export default defineConfig({
installGlobals();

export default defineConfig(({ mode }) => ({
plugins: [remix(), tsconfigPaths()],
build: {
sourcemap: true,
Expand All @@ -17,6 +20,6 @@ export default defineConfig({
},
},
ssr: {
noExternal: ['remix-i18next', /@mui\/.*/],
noExternal: mode === 'production' ? [/@mui\/.*/] : [],
},
});
}));
Loading

0 comments on commit 4f52aba

Please sign in to comment.