plus-ui/package.json
疯狂的狮子Li b56ebf5ae6 update 升级全部依赖至最新版本并适配
- react/react-dom 升级 19.3.0 应用了 useEffectEvent 新特性(TypeScript 保持 6.x)
  - 使用 @noble/ciphers 替换已废弃的 crypto-js 保持与后端 AES 加解密兼容
  - @wangeditor-next 5->6 升级(editor/editor-for-react 6.4.1)
  - antd/@ant-design/icons/@ant-design/x/ahooks/zustand/axios 等升级至最新
  - 适配 oxlint 1.82 新规则(refs/set-state-in-effect/immutability/exhaustive-effect-dependencies)
  - 适配 axios 1.20 类型变化 使用 useEffectEvent 重构弹窗初始化逻辑
2026-09-10 12:05:28 +08:00

68 lines
2.2 KiB
JSON

{
"name": "plus-ui-react",
"version": "6.0.0",
"private": true,
"description": "React + Ant Design version of RuoYi-Vue-Plus UI",
"type": "module",
"packageManager": "pnpm@10.34.5",
"scripts": {
"build": "pnpm build:prod",
"build:dev": "pnpm run setup:umi && cross-env UMI_ENV=development BABEL_POLYFILL=none max build",
"build:prod": "pnpm run setup:umi && cross-env UMI_ENV=production BABEL_POLYFILL=none max build",
"dev": "cross-env UMI_ENV=development MOCK=none BABEL_POLYFILL=none max dev",
"fmt": "oxfmt .",
"lint": "oxlint src config vite.config.ts && pnpm run setup:umi && tsc --noEmit",
"lint:fix": "oxlint --fix src config vite.config.ts",
"openapi": "max openapi",
"preview": "max preview --port 8000",
"setup:umi": "cross-env UMI_ENV=development BABEL_POLYFILL=none max setup",
"start": "cross-env UMI_ENV=development MOCK=none BABEL_POLYFILL=none max dev"
},
"dependencies": {
"@ant-design/icons": "^6.3.4",
"@ant-design/pro-components": "3.1.12-0",
"@ant-design/x": "^2.9.0",
"@iconify/react": "^6.0.2",
"@noble/ciphers": "^2.4.0",
"@tanstack/react-query": "^5.102.8",
"@umijs/max": "^4.7.16",
"@wangeditor-next/editor": "^6.4.1",
"@wangeditor-next/editor-for-react": "^6.4.1",
"ahooks": "^3.10.0",
"antd": "^6.6.3",
"antd-style": "^4.1.0",
"axios": "1.20.0",
"browser-image-compression": "^2.0.2",
"clsx": "^2.1.1",
"dayjs": "^1.11.23",
"echarts": "^6.1.0",
"echarts-for-react": "^3.0.6",
"jsencrypt": "3.5.4",
"nprogress": "0.2.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"react-easy-crop": "^6.2.3",
"react-json-view-lite": "^2.5.0",
"react-syntax-highlighter": "^16.1.1",
"screenfull": "^6.0.2",
"zustand": "^5.0.15"
},
"devDependencies": {
"@types/node": "^26.1.1",
"@types/nprogress": "0.2.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@types/react-syntax-highlighter": "^15.5.13",
"@umijs/lint": "^4.7.16",
"@umijs/max-plugin-openapi": "^2.0.3",
"cross-env": "^10.1.0",
"oxfmt": "^0.67.0",
"oxlint": "^1.82.0",
"typescript": "^6.0.3"
},
"engines": {
"node": ">=20.19.0",
"pnpm": ">=10.0.0"
}
}