mirror of
https://github.com/zuiidea/antd-admin
synced 2026-10-23 08:23:54 +00:00
1.4 KiB
1.4 KiB
6.0.0
This project was modernized and migrated to a modern front-end stack. Key highlights of the current version:
Modern stack
- Upgraded to Ant Design 6, Umi 4 and TypeScript 5.
- React has been updated to the current major line used in the repo (see
package.json).
Architecture & DX
- Services are implemented as TypeScript modules under
src/services/and use a centralized HTTP helpersrc/utils/request.ts. - Lightweight local state management using
zustandreplacing olderdvapatterns. - Local mock server using
mock/index.jswithmockjsfor frontend development without backend dependency.
Tooling & CI
- Dev workflows use
pnpmby default; scripts are defined inpackage.json(e.g.pnpm run dev,pnpm run build). - Tests use
jestand related tooling; CI is implemented with GitHub Actions (.github/workflows/ci.yml) which installs viapnpm, lints and builds the project.
Quality and types
- TypeScript types are added/expanded under
src/types/for safer APIs and components. - Prettier / ESLint configuration added to enforce code style.
Other
- Documentation is maintained under
docs/(this site) and updated to reflect the new stack and commands. - Removed old custom components that duplicate Ant Design functionality and simplified the codebase accordingly.
If you want a more detailed, commit-level changelog for each migration step, I can generate one from git history or help draft a migration guide.