Unverified Commit 083fbbab authored by zhu-mingye's avatar zhu-mingye Committed by GitHub

[Optimization][dinky-web] Upgrade dependency version (#1694)

* Upgrade dependency version * delete one dependency
parent 9e27ed46
...@@ -25,6 +25,18 @@ import routes from './routes'; ...@@ -25,6 +25,18 @@ import routes from './routes';
const { REACT_APP_ENV = 'dev' } = process.env; const { REACT_APP_ENV = 'dev' } = process.env;
export default defineConfig({ export default defineConfig({
/**
* tags router:
* doc description: https://juejin.cn/post/7153525746751766559
* issue: https://www.github.com/ant-design/ant-design-pro/issues/10550
*/
/* keepalive: [/./],
tabsLayout: {
hasDropdown: true, // Whether there is a drop-down menu
hasCustomTabs: true, // Whether there are custom tabs
hasFixedHeader: true, // Whether there is a fixed header
},*/
/** /**
* @name 开启 hash 模式 * @name 开启 hash 模式
* @description 让 build 之后的产物包含 hash 后缀。通常用于增量发布和避免浏览器加载缓存。 * @description 让 build 之后的产物包含 hash 后缀。通常用于增量发布和避免浏览器加载缓存。
...@@ -39,9 +51,9 @@ export default defineConfig({ ...@@ -39,9 +51,9 @@ export default defineConfig({
* @description 设置 ie11 不一定完美兼容,需要检查自己使用的所有依赖 * @description 设置 ie11 不一定完美兼容,需要检查自己使用的所有依赖
* @doc https://umijs.org/docs/api/config#targets * @doc https://umijs.org/docs/api/config#targets
*/ */
// targets: { targets: {
// ie: 11, ie: 11,
// }, },
/** /**
* @name 路由的配置,不在路由中引入的文件不会编译 * @name 路由的配置,不在路由中引入的文件不会编译
* @description 只支持 path,component,routes,redirect,wrappers,title 的配置 * @description 只支持 path,component,routes,redirect,wrappers,title 的配置
......
...@@ -46,20 +46,20 @@ ...@@ -46,20 +46,20 @@
], ],
"dependencies": { "dependencies": {
"@ant-design/icons": "^5.0.1", "@ant-design/icons": "^5.0.1",
"@ant-design/pro-components": "^2.3.52", "@ant-design/pro-components": "^2.3.57",
"@ant-design/pro-layout": "^7.8.2", "@ant-design/pro-layout": "^7.8.2",
"@ant-design/pro-table": "^2.5.6", "@ant-design/pro-table": "^3.3.1",
"@ant-design/use-emotion-css": "1.0.4", "@ant-design/use-emotion-css": "^1.0.4",
"@umijs/route-utils": "^4.0.1", "@umijs/route-utils": "^4.0.1",
"antd": "^5.0.0", "antd": "^5.2.3",
"classnames": "^2.3.2", "classnames": "^2.3.2",
"js-cookie": "^3.0.1", "js-cookie": "^3.0.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"moment": "^2.29.4", "moment": "^2.29.4",
"omit.js": "^2.0.2", "omit.js": "^2.0.2",
"rc-menu": "^9.6.4", "rc-menu": "^9.8.2",
"rc-util": "^5.24.4", "rc-util": "^5.28.0",
"react": "^18.0.0", "react": "^18.2.0",
"react-dev-inspector": "^1.8.1", "react-dev-inspector": "^1.8.1",
"react-dom": "^18.0.0", "react-dom": "^18.0.0",
"react-draggable": "^4.4.5", "react-draggable": "^4.4.5",
...@@ -71,29 +71,29 @@ ...@@ -71,29 +71,29 @@
"xterm-addon-web-links": "^0.8.0" "xterm-addon-web-links": "^0.8.0"
}, },
"devDependencies": { "devDependencies": {
"@ant-design/pro-cli": "^2.1.0", "@ant-design/pro-cli": "^3.0.1",
"@testing-library/react": "^13.4.0", "@testing-library/react": "^14.0.0",
"@types/classnames": "^2.3.1", "@types/classnames": "^2.3.1",
"@types/express": "^4.17.14", "@types/express": "^4.17.17",
"@types/history": "^4.7.11", "@types/history": "^5.0.0",
"@types/jest": "^29.2.1", "@types/jest": "^29.2.1",
"@types/lodash": "^4.14.186", "@types/lodash": "^4.14.186",
"@types/react": "^18.0.0", "@types/react": "^18.0.28",
"@types/react-dom": "^18.0.0", "@types/react-dom": "^18.0.11",
"@types/react-helmet": "^6.1.5", "@types/react-helmet": "^6.1.5",
"@umijs/lint": "^4.0.34", "@umijs/lint": "^4.0.53",
"@umijs/max": "^4.0.33", "@umijs/max": "^4.0.53",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"eslint": "^8.0.0", "eslint": "^8.35.0",
"express": "^4.18.2", "express": "^4.18.2",
"gh-pages": "^3.2.0", "gh-pages": "^5.0.0",
"husky": "^7.0.4", "husky": "^8.0.3",
"jest": "^29.2.2", "jest": "^29.4.3",
"jest-environment-jsdom": "^29.2.2", "jest-environment-jsdom": "^29.4.3",
"lint-staged": "^10.0.0", "lint-staged": "^13.1.2",
"mockjs": "^1.1.0", "mockjs": "^1.1.0",
"prettier": "^2.7.1", "prettier": "^2.8.4",
"swagger-ui-dist": "^4.14.2", "swagger-ui-dist": "^4.16.1",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^4.8.4", "typescript": "^4.8.4",
"umi-presets-pro": "^2.0.0" "umi-presets-pro": "^2.0.0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment