Commit Graph

4 Commits

Author SHA1 Message Date
javayhu
9366ac60f2 fix: fix search Chinese not work in docs
- Added a guideline to use `pnpm` as the default package manager in TypeScript best practices.
- Refactored the search API route to improve readability by simplifying the mapping of pages to search indexes.
- Wrapped the GET handler with locale detection from the referer header and ensured the locale parameter is passed to the search API for better internationalization support.
2025-03-29 16:12:59 +08:00
javayhu
695a4b9ecb chore: add MCP server configuration for console-ninja
- Introduce a new configuration file `.cursor/mcp.json` to define the MCP server settings for console-ninja.
- Specify the command and arguments for the MCP server to streamline setup.
2025-03-14 01:03:16 +08:00
javayhu
59ae1d9830 chore: update best practices documentation for various technologies
- Refine and expand best practices for:
  - AI SDK
  - Date-fns
  - Next.js
  - Radix UI
  - React
  - React Hook Form
  - Stripe
  - Tailwind CSS
  - TypeScript
  - Zustand
- Improve guidelines with more specific and actionable recommendations
- Enhance type safety and performance suggestions across different technologies
2025-03-09 08:44:53 +08:00
javayhu
c49410f040 feat: add best practices documentation as cursor project rules 2025-02-22 00:16:40 +08:00