mirror of
https://gitee.com/JavaLionLi/plus-ui.git
synced 2026-11-02 13:31:50 +08:00
update Umi 4.7.16 → 4.7.26、Ant Design 6.6.3 → 6.6.7、React/React DOM 19.3.0 → 19.3.1、编辑器 6.4.1 → 6.5.1,以及 React Query、Zustand、图标库和开发工具等; Node 支持范围改为 ^22.12.0 || ^24.0.0 || >=26.0.0。
This commit is contained in:
parent
25e69f1937
commit
395dc0cc31
32
package.json
32
package.json
@ -22,14 +22,14 @@
|
|||||||
"@ant-design/icons": "^6.3.4",
|
"@ant-design/icons": "^6.3.4",
|
||||||
"@ant-design/pro-components": "3.1.12-0",
|
"@ant-design/pro-components": "3.1.12-0",
|
||||||
"@ant-design/x": "^2.9.0",
|
"@ant-design/x": "^2.9.0",
|
||||||
"@iconify/react": "^6.0.2",
|
"@iconify/react": "^6.0.3",
|
||||||
"@noble/ciphers": "^2.4.0",
|
"@noble/ciphers": "^2.4.0",
|
||||||
"@tanstack/react-query": "^5.102.8",
|
"@tanstack/react-query": "^5.104.5",
|
||||||
"@umijs/max": "^4.7.16",
|
"@umijs/max": "^4.7.26",
|
||||||
"@wangeditor-next/editor": "^6.4.1",
|
"@wangeditor-next/editor": "^6.5.1",
|
||||||
"@wangeditor-next/editor-for-react": "^6.4.1",
|
"@wangeditor-next/editor-for-react": "^6.5.1",
|
||||||
"ahooks": "^3.10.0",
|
"ahooks": "^3.10.0",
|
||||||
"antd": "^6.6.3",
|
"antd": "^6.6.7",
|
||||||
"antd-style": "^4.1.0",
|
"antd-style": "^4.1.0",
|
||||||
"axios": "1.20.0",
|
"axios": "1.20.0",
|
||||||
"browser-image-compression": "^2.0.2",
|
"browser-image-compression": "^2.0.2",
|
||||||
@ -39,29 +39,29 @@
|
|||||||
"echarts-for-react": "^3.0.6",
|
"echarts-for-react": "^3.0.6",
|
||||||
"jsencrypt": "3.5.4",
|
"jsencrypt": "3.5.4",
|
||||||
"nprogress": "0.2.0",
|
"nprogress": "0.2.0",
|
||||||
"react": "^19.3.0",
|
"react": "^19.3.1",
|
||||||
"react-dom": "^19.3.0",
|
"react-dom": "^19.3.1",
|
||||||
"react-easy-crop": "^6.2.3",
|
"react-easy-crop": "^6.2.4",
|
||||||
"react-json-view-lite": "^2.5.0",
|
"react-json-view-lite": "^2.5.0",
|
||||||
"react-syntax-highlighter": "^16.1.1",
|
"react-syntax-highlighter": "^16.1.2",
|
||||||
"screenfull": "^6.0.2",
|
"screenfull": "^6.0.2",
|
||||||
"zustand": "^5.0.15"
|
"zustand": "^5.0.16"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^26.1.1",
|
"@types/node": "^26.6.5",
|
||||||
"@types/nprogress": "0.2.3",
|
"@types/nprogress": "0.2.3",
|
||||||
"@types/react": "^19.3.0",
|
"@types/react": "^19.3.0",
|
||||||
"@types/react-dom": "^19.3.0",
|
"@types/react-dom": "^19.3.0",
|
||||||
"@types/react-syntax-highlighter": "^15.5.13",
|
"@types/react-syntax-highlighter": "^15.5.13",
|
||||||
"@umijs/lint": "^4.7.16",
|
"@umijs/lint": "^4.7.26",
|
||||||
"@umijs/max-plugin-openapi": "^2.0.3",
|
"@umijs/max-plugin-openapi": "^2.0.3",
|
||||||
"cross-env": "^10.1.0",
|
"cross-env": "^10.1.0",
|
||||||
"oxfmt": "^0.67.0",
|
"oxfmt": "^0.74.0",
|
||||||
"oxlint": "^1.82.0",
|
"oxlint": "^1.89.0",
|
||||||
"typescript": "^6.0.3"
|
"typescript": "^6.0.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20.19.0",
|
"node": "^22.12.0 || ^24.0.0 || >=26.0.0",
|
||||||
"pnpm": ">=10.0.0"
|
"pnpm": ">=10.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2831
pnpm-lock.yaml
generated
2831
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
2
src/typings.d.ts
vendored
2
src/typings.d.ts
vendored
@ -18,7 +18,7 @@ interface ImportMetaEnv {
|
|||||||
|
|
||||||
interface ImportMeta {
|
interface ImportMeta {
|
||||||
readonly env: ImportMetaEnv;
|
readonly env: ImportMetaEnv;
|
||||||
glob: <T = unknown>(pattern: string, options: { eager: true; as: 'url' }) => Record<string, T>;
|
glob: <T = unknown>(pattern: string, options: { eager: true; query: '?url'; import: 'default' }) => Record<string, T>;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare module '*.less';
|
declare module '*.less';
|
||||||
|
|||||||
@ -46,7 +46,8 @@ import { isHttp, normalizePath } from '@/utils/ruoyi';
|
|||||||
|
|
||||||
const svgIconModules = import.meta.glob<string>('../assets/icons/svg/*.svg', {
|
const svgIconModules = import.meta.glob<string>('../assets/icons/svg/*.svg', {
|
||||||
eager: true,
|
eager: true,
|
||||||
as: 'url'
|
query: '?url',
|
||||||
|
import: 'default'
|
||||||
});
|
});
|
||||||
const svgIconMap = Object.fromEntries(
|
const svgIconMap = Object.fromEntries(
|
||||||
Object.entries(svgIconModules).map(([path, url]) => {
|
Object.entries(svgIconModules).map(([path, url]) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user