chore(deps): Update dependencies and refactor API routes for improved error handling

- Updated various dependencies in package.json and pnpm-lock.yaml, including '@clerk/nextjs' to version 6.7.1 and several others for better performance and security.
- Refactored API routes to use Promise.resolve for context parameters, enhancing reliability in asynchronous contexts.
- Improved error handling in the dashboard and studies components, ensuring better user experience during data fetching.
- Removed unused favicon.ico file to clean up the project structure.
- Enhanced the dashboard components to utilize a new utility function for API URL fetching, promoting code reusability.
This commit is contained in:
2024-12-05 11:52:22 -05:00
parent 29ce631901
commit 207f4d7fb8
25 changed files with 719 additions and 682 deletions

View File

@@ -16,7 +16,7 @@
"test:email": "tsx src/scripts/test-email.ts"
},
"dependencies": {
"@clerk/nextjs": "^6.4.0",
"@clerk/nextjs": "^6.7.1",
"@radix-ui/react-alert-dialog": "^1.1.2",
"@radix-ui/react-avatar": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.2",
@@ -29,31 +29,32 @@
"@types/nodemailer": "^6.4.17",
"@vercel/analytics": "^1.4.1",
"@vercel/postgres": "^0.10.0",
"class-variance-authority": "^0.7.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"date-fns": "^4.1.0",
"dotenv": "^16.4.5",
"drizzle-orm": "^0.36.3",
"lucide-react": "^0.454.0",
"dotenv": "^16.4.7",
"drizzle-orm": "^0.37.0",
"lucide-react": "^0.468.0",
"next": "15.0.3",
"ngrok": "5.0.0-beta.2",
"nodemailer": "^6.9.16",
"punycode": "^2.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"svix": "^1.41.0",
"tailwind-merge": "^2.5.4",
"svix": "^1.42.0",
"tailwind-merge": "^2.5.5",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@types/node": "^22.9.1",
"@types/react": "^18.3.12",
"@types/node": "^22.10.1",
"@types/react": "^18.3.13",
"@types/react-dom": "^18.3.1",
"drizzle-kit": "^0.27.2",
"eslint": "^9.15.0",
"eslint-config-next": "15.0.2",
"drizzle-kit": "^0.29.1",
"eslint": "^9.16.0",
"eslint-config-next": "15.0.3",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"tailwindcss": "^3.4.16",
"tsx": "^4.19.2",
"typescript": "^5.6.3"
"typescript": "^5.7.2"
}
}