From 5f2d4a94e9a75cfa0a0a622c32dcc5c7eb6f9341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BF=A1=E9=91=AB-King?= <45808948@qq.com> Date: Thu, 10 Oct 2019 12:20:47 +0800 Subject: [PATCH] fix(Umi UI): ui deps and devDeps (#3389) * fix: umi-plugin-ui deps icon * fix: tasks @ant-design/icons * fix: deps --- packages/umi-plugin-ui/package.json | 6 +++--- packages/umi-plugin-ui/yarn.lock | 9 +-------- packages/umi-ui-tasks/package.json | 14 +++++++------- 3 files changed, 11 insertions(+), 18 deletions(-) diff --git a/packages/umi-plugin-ui/package.json b/packages/umi-plugin-ui/package.json index 4d96bd50dcad..7120c7da1b6c 100644 --- a/packages/umi-plugin-ui/package.json +++ b/packages/umi-plugin-ui/package.json @@ -7,9 +7,6 @@ "src" ], "dependencies": { - "@ant-design/compatible": "^0.0.1-alpha.1", - "@ant-design/icons": "^4.0.0-alpha.8", - "classnames": "^2.2.6", "is-mobile": "2.1.0", "react-portal": "^4.2.0", "sockjs-client": "1.3.0", @@ -17,6 +14,9 @@ "umi-ui-tasks": "1.1.4" }, "devDependencies": { + "classnames": "^2.2.6", + "@ant-design/compatible": "^0.0.1-alpha.1", + "@ant-design/icons": "^4.0.0-alpha.8", "@umijs/fabric": "^1.1.9", "decamelize": "3.2.0", "serialize-javascript": "^1.7.0", diff --git a/packages/umi-plugin-ui/yarn.lock b/packages/umi-plugin-ui/yarn.lock index 76e85c0535d8..deebdbd21edc 100644 --- a/packages/umi-plugin-ui/yarn.lock +++ b/packages/umi-plugin-ui/yarn.lock @@ -3254,7 +3254,7 @@ progress@^2.0.0: resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== -prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.5.8, prop-types@^15.7.2: +prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.7.2: version "15.7.2" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ== @@ -3304,13 +3304,6 @@ react-lifecycles-compat@^3.0.4: resolved "https://registry.yarnpkg.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362" integrity sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA== -react-portal@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/react-portal/-/react-portal-4.2.0.tgz#5400831cdb0ae64dccb8128121cf076089ab1afd" - integrity sha512-Zf+vGQ/VEAb5XAy+muKEn48yhdCNYPZaB1BWg1xc8sAZWD8pXTgPtQT4ihBdmWzsfCq8p8/kqf0GWydSBqc+Eg== - dependencies: - prop-types "^15.5.8" - read-pkg-up@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be" diff --git a/packages/umi-ui-tasks/package.json b/packages/umi-ui-tasks/package.json index 579bede0d7ab..cf3e9a3109fe 100644 --- a/packages/umi-ui-tasks/package.json +++ b/packages/umi-ui-tasks/package.json @@ -13,19 +13,19 @@ "src" ], "dependencies": { - "@ant-design/compatible": "^0.0.1-alpha.1", - "@ant-design/icons": "^4.0.0-alpha.8", "binary-mirror-config": "1.20.3", - "classnames": "^2.2.6", - "filesize": "^4.2.0", "mkdirp": "^0.5.1", "portfinder": "^1.0.24", - "react-sizeme": "^2.6.7", "rimraf": "^3.0.0", - "umi-webpack-bundle-analyzer": "^3.5.0", - "xterm-addon-web-links": "^0.1.0" + "umi-webpack-bundle-analyzer": "^3.5.0" }, "devDependencies": { + "classnames": "^2.2.6", + "@ant-design/compatible": "^0.0.1-alpha.1", + "@ant-design/icons": "^4.0.0-alpha.8", + "xterm-addon-web-links": "^0.1.0", + "filesize": "^4.2.0", + "react-sizeme": "^2.6.7", "@umijs/fabric": "^1.1.9", "antd": "4.0.0-alpha.2", "concurrently": "^4.1.1",