docs: restructure Nextra IA, migrate middleware to proxy

Sync apps/basic instructions, hooks, and vercel config; refresh lockfile.

Made-with: Cursor
This commit is contained in:
zuiidea
2026-04-28 11:53:31 +08:00
parent 6ac8a62770
commit 1cb0819011
52 changed files with 1046 additions and 487 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
---
## applyTo: "src/api/**/*.ts,src/utils/http.ts,src/mocks/handlers/**/*.ts,src/mocks/createHandler.ts"
## applyTo: "src/api/**/\*.ts,src/utils/http.ts,src/mocks/handlers/**/\*.ts,src/mocks/createHandler.ts"
description: "Use when editing API clients, schemas, HTTP behavior, response types, or MSW endpoint handlers. Keywords: api, http, schema, zod, handler, endpoint, auth, users."
# API Instructions
@@ -26,4 +27,4 @@ Maintain strict API contracts and consistent server/client mock behavior.
## Validation
- Verify TypeScript and schema parsing paths compile cleanly.
- Run: `vp check --no-fmt`
- Run: `vp check --no-fmt`