Move dependencies

Signed-off-by: Jonathan <contact@grafikart.fr>
This commit is contained in:
Jonathan
2025-11-11 16:45:56 +01:00
committed by Émile Ré
parent 71946bad7a
commit 6dc6e2a626
5 changed files with 35 additions and 20 deletions

View File

@@ -19,9 +19,6 @@
"@probo/react-lazy": "1.0.0",
"@probo/ui": "1.0.0",
"@probo/vendors": "0.0.1",
"@radix-ui/react-dialog": "^1.1.14",
"@radix-ui/react-label": "^2.1.7",
"@radix-ui/react-select": "^2.2.5",
"@tanstack/react-query": "^5.76.1",
"clsx": "^2.1.1",
"minisearch": "^7.1.2",

View File

@@ -1,4 +1,3 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import { App } from "./App";
@@ -15,13 +14,11 @@ const queryClient = new QueryClient({
});
createRoot(document.getElementById("root")!).render(
<StrictMode>
<QueryClientProvider client={queryClient}>
<RelayProvider>
<TranslatorProvider>
<App />
</TranslatorProvider>
</RelayProvider>
</QueryClientProvider>
</StrictMode>
<QueryClientProvider client={queryClient}>
<RelayProvider>
<TranslatorProvider>
<App />
</TranslatorProvider>
</RelayProvider>
</QueryClientProvider>,
);

View File

@@ -8,6 +8,10 @@ export default defineConfig({
plugins: [react({ babel: { plugins: ["relay"] } }), tailwindcss()],
server: {
proxy: {
"/connect": {
target: "http://localhost:8080",
changeOrigin: true,
},
"/api": {
target: "http://localhost:8080",
changeOrigin: true,
@@ -18,7 +22,7 @@ export default defineConfig({
alias: {
"/type": fileURLToPath(new URL("./src/type.ts", import.meta.url)),
"/components": fileURLToPath(
new URL("./src/components", import.meta.url)
new URL("./src/components", import.meta.url),
),
"/hooks": fileURLToPath(new URL("./src/hooks", import.meta.url)),
"/layouts": fileURLToPath(new URL("./src/layouts", import.meta.url)),