mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-23 16:43:49 +00:00
Merge scoped instructions into per-app AGENTS.md, add monorepo AGENTS.md and add-resource skill, and remove template .github Copilot files plus the Cursor app router rule. Co-authored-by: Cursor <cursoragent@cursor.com>
943 B
943 B
antd-admin (monorepo)
Enterprise admin templates and docs. AI and coding rules live in each app’s AGENTS.md, not here.
Layout
| Path | Role |
|---|---|
apps/basic |
English Vite+ template — see apps/basic/AGENTS.md |
apps/with-lingui |
Lingui i18n template — see apps/with-lingui/AGENTS.md |
apps/docs |
Nextra docs site |
packages/create |
init-antd-admin CLI |
Commands (repo root)
pnpm install— setscore.hooksPath=.githooksviapreinstallpnpm dev/pnpm build/pnpm fmt/pnpm lint— turbo across workspaces
Template app work: cd apps/basic or cd apps/with-lingui, then use vp (vp install, vp check, …). Do not run app vp staged from root without that cd.
Git hooks
.githooks/pre-commit runs checks by staged paths: pnpm exec vp staged in apps/basic / apps/with-lingui, typecheck for packages/create, lint for apps/docs.