新版界面(React + TypeScript + Vite + Ant Design):登录页与开单页

共用计算经构建插件直接导入 public/ 下的 UMD 源文件;请求客户端沿用旧界面的重试、
同一操作号自动确认、恢复原操作与账号切换约定;附 vitest 单元与组件测试。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
黄健铭andClaude Opus 5.5 committed 2026-12-04 18:58:31 -08:00
1 parent bdffbcab85
commit ec5889075f
39 files changed
+8772

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
{
"name": "ledger-web-next",
"private": true,
"description": "新账系统新版界面(React + TypeScript + Vite + Ant Design)。构建产物 dist/ 随仓库提交,服务端无需 npm。",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"test": "vitest run",
"lint": "eslint .",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"antd": "^5.29.3",
"dayjs": "^1.11.23",
"react": "^19.3.1",
"react-dom": "^19.3.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@testing-library/jest-dom": "^8.0.0",
"@testing-library/react": "^16.3.3",
"@testing-library/user-event": "^14.6.14",
"@types/node": "^26.6.11",
"@types/react": "^19.3.3",
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.3.1",
"eslint": "^10.16.0",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.8",
"globals": "^17.15.0",
"jsdom": "^31.0.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.74.0",
"vite": "^8.4.1",
"vitest": "^5.1.2"
}
}