diff --git a/package-lock.json b/package-lock.json index 4e965c1..0c5d8dc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,11 +46,11 @@ "geist": "^1.3.1", "input-otp": "1.4.1", "lucide-react": "^0.454.0", - "next": "14.2.16", + "next": "^14.2.16", "next-themes": "^0.4.6", - "react": "^18", + "react": "^18.3.1", "react-day-picker": "9.8.0", - "react-dom": "^18", + "react-dom": "^18.3.1", "react-hook-form": "^7.60.0", "react-resizable-panels": "^2.1.7", "recharts": "2.15.4", diff --git a/package.json b/package.json index acd50dc..0bd70a3 100644 --- a/package.json +++ b/package.json @@ -47,11 +47,11 @@ "geist": "^1.3.1", "input-otp": "1.4.1", "lucide-react": "^0.454.0", - "next": "14.2.16", + "next": "^14.2.16", "next-themes": "^0.4.6", - "react": "^18", + "react": "^18.3.1", "react-day-picker": "9.8.0", - "react-dom": "^18", + "react-dom": "^18.3.1", "react-hook-form": "^7.60.0", "react-resizable-panels": "^2.1.7", "recharts": "2.15.4", @@ -71,4 +71,4 @@ "tw-animate-css": "1.3.3", "typescript": "^5" } -} \ No newline at end of file +} diff --git a/tsconfig.json b/tsconfig.json index 4b2dc7b..68d4c35 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,25 +1,23 @@ { "compilerOptions": { + "target": "esnext", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, - "target": "ES6", "skipLibCheck": true, "strict": true, + "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "bundler", + "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true, - "plugins": [ - { - "name": "next" - } - ], - "paths": { - "@/*": ["./*"] + "plugins": [{ "name": "next" }], + "baseUrl": ".", // adiciona esta linha + "paths": { // adiciona esta linha + "@/*": ["./*"] // e esta linha } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],