Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
083fbbab
Unverified
Commit
083fbbab
authored
Mar 01, 2023
by
zhu-mingye
Committed by
GitHub
Mar 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Optimization][dinky-web] Upgrade dependency version (#1694)
* Upgrade dependency version * delete one dependency
parent
9e27ed46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
38 additions
and
26 deletions
+38
-26
config.ts
dinky-web/config/config.ts
+15
-3
package.json
dinky-web/package.json
+23
-23
No files found.
dinky-web/config/config.ts
View file @
083fbbab
...
...
@@ -25,6 +25,18 @@ import routes from './routes';
const
{
REACT_APP_ENV
=
'dev'
}
=
process
.
env
;
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 模式
* @description 让 build 之后的产物包含 hash 后缀。通常用于增量发布和避免浏览器加载缓存。
...
...
@@ -39,9 +51,9 @@ export default defineConfig({
* @description 设置 ie11 不一定完美兼容,需要检查自己使用的所有依赖
* @doc https://umijs.org/docs/api/config#targets
*/
//
targets: {
//
ie: 11,
//
},
targets
:
{
ie
:
11
,
},
/**
* @name 路由的配置,不在路由中引入的文件不会编译
* @description 只支持 path,component,routes,redirect,wrappers,title 的配置
...
...
dinky-web/package.json
View file @
083fbbab
...
...
@@ -46,20 +46,20 @@
],
"dependencies"
:
{
"@ant-design/icons"
:
"^5.0.1"
,
"@ant-design/pro-components"
:
"^2.3.5
2
"
,
"@ant-design/pro-components"
:
"^2.3.5
7
"
,
"@ant-design/pro-layout"
:
"^7.8.2"
,
"@ant-design/pro-table"
:
"^
2.5.6
"
,
"@ant-design/use-emotion-css"
:
"1.0.4"
,
"@ant-design/pro-table"
:
"^
3.3.1
"
,
"@ant-design/use-emotion-css"
:
"
^
1.0.4"
,
"@umijs/route-utils"
:
"^4.0.1"
,
"antd"
:
"^5.
0.0
"
,
"antd"
:
"^5.
2.3
"
,
"classnames"
:
"^2.3.2"
,
"js-cookie"
:
"^3.0.1"
,
"lodash"
:
"^4.17.21"
,
"moment"
:
"^2.29.4"
,
"omit.js"
:
"^2.0.2"
,
"rc-menu"
:
"^9.
6.4
"
,
"rc-util"
:
"^5.2
4.4
"
,
"react"
:
"^18.
0
.0"
,
"rc-menu"
:
"^9.
8.2
"
,
"rc-util"
:
"^5.2
8.0
"
,
"react"
:
"^18.
2
.0"
,
"react-dev-inspector"
:
"^1.8.1"
,
"react-dom"
:
"^18.0.0"
,
"react-draggable"
:
"^4.4.5"
,
...
...
@@ -71,29 +71,29 @@
"xterm-addon-web-links"
:
"^0.8.0"
},
"devDependencies"
:
{
"@ant-design/pro-cli"
:
"^
2.1.0
"
,
"@testing-library/react"
:
"^1
3.4
.0"
,
"@ant-design/pro-cli"
:
"^
3.0.1
"
,
"@testing-library/react"
:
"^1
4.0
.0"
,
"@types/classnames"
:
"^2.3.1"
,
"@types/express"
:
"^4.17.1
4
"
,
"@types/history"
:
"^
4.7.11
"
,
"@types/express"
:
"^4.17.1
7
"
,
"@types/history"
:
"^
5.0.0
"
,
"@types/jest"
:
"^29.2.1"
,
"@types/lodash"
:
"^4.14.186"
,
"@types/react"
:
"^18.0.
0
"
,
"@types/react-dom"
:
"^18.0.
0
"
,
"@types/react"
:
"^18.0.
28
"
,
"@types/react-dom"
:
"^18.0.
11
"
,
"@types/react-helmet"
:
"^6.1.5"
,
"@umijs/lint"
:
"^4.0.
34
"
,
"@umijs/max"
:
"^4.0.
3
3"
,
"@umijs/lint"
:
"^4.0.
53
"
,
"@umijs/max"
:
"^4.0.
5
3"
,
"cross-env"
:
"^7.0.3"
,
"eslint"
:
"^8.
0
.0"
,
"eslint"
:
"^8.
35
.0"
,
"express"
:
"^4.18.2"
,
"gh-pages"
:
"^
3.2
.0"
,
"husky"
:
"^
7.0.4
"
,
"jest"
:
"^29.
2.2
"
,
"jest-environment-jsdom"
:
"^29.
2.2
"
,
"lint-staged"
:
"^1
0.0.0
"
,
"gh-pages"
:
"^
5.0
.0"
,
"husky"
:
"^
8.0.3
"
,
"jest"
:
"^29.
4.3
"
,
"jest-environment-jsdom"
:
"^29.
4.3
"
,
"lint-staged"
:
"^1
3.1.2
"
,
"mockjs"
:
"^1.1.0"
,
"prettier"
:
"^2.
7.1
"
,
"swagger-ui-dist"
:
"^4.1
4.2
"
,
"prettier"
:
"^2.
8.4
"
,
"swagger-ui-dist"
:
"^4.1
6.1
"
,
"ts-node"
:
"^10.9.1"
,
"typescript"
:
"^4.8.4"
,
"umi-presets-pro"
:
"^2.0.0"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment