diff --git a/apps/web/package.json b/apps/web/package.json index 9b483b76..745a5ad6 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -20,6 +20,8 @@ "@types/react": "^19.1.2", "@types/react-dom": "^19.1.3", "@vitejs/plugin-react": "^4.4.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", "typescript": "~5.8.3", "vite": "^6.3.5" }, @@ -31,13 +33,11 @@ "@repo/rdx-ui": "workspace:*", "@repo/shadcn-ui": "workspace:*", "@tailwindcss/vite": "^4.1.11", - "@tanstack/react-query": "^5.74.11", + "@tanstack/react-query": "^5.90.6", "axios": "^1.9.0", "dinero.js": "^1.9.1", "i18next": "^25.0.2", "i18next-browser-languagedetector": "^8.1.0", - "react": "^19.1.0", - "react-dom": "^19.1.0", "react-error-boundary": "^6.0.0", "react-hook-form": "^7.56.4", "react-i18next": "^15.0.1", diff --git a/apps/web/tsconfig.app.json b/apps/web/tsconfig.app.json index 560c0385..6c096ece 100644 --- a/apps/web/tsconfig.app.json +++ b/apps/web/tsconfig.app.json @@ -28,5 +28,5 @@ "allowUnreachableCode": true }, "include": ["src"], - "exclude": ["node_modules"] + "exclude": ["node_modules", "dist"] } diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index fec8c8e5..2b78387c 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -1,9 +1,6 @@ { "files": [], - "references": [ - { "path": "./tsconfig.app.json" }, - { "path": "./tsconfig.node.json" } - ], + "references": [{ "path": "./tsconfig.app.json" }, { "path": "./tsconfig.node.json" }], "compilerOptions": { "baseUrl": ".", "paths": { diff --git a/apps/web/vite.config.mts b/apps/web/vite.config.mts index 30e83cbf..e0fb3c02 100644 --- a/apps/web/vite.config.mts +++ b/apps/web/vite.config.mts @@ -10,6 +10,7 @@ export default defineConfig({ }, plugins: [react(), tailwindcss()], resolve: { + dedupe: ["react", "react-dom"], alias: { "@": path.resolve(__dirname, "./src"), },