From c664ba200c575d331a64ed2bfb72c77d7419c2a6 Mon Sep 17 00:00:00 2001 From: helloqian12138 Date: Wed, 15 Dec 2021 16:46:12 +0800 Subject: [PATCH] build: update rollup commonjs plugin --- packages/drip-table-generator/package.json | 5 +++-- yarn.lock | 23 ++++++++++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/packages/drip-table-generator/package.json b/packages/drip-table-generator/package.json index 3f6dfac..ec7e9b1 100755 --- a/packages/drip-table-generator/package.json +++ b/packages/drip-table-generator/package.json @@ -31,9 +31,10 @@ "viewerjs": "^1.10.0" }, "devDependencies": { + "@rollup/plugin-commonjs": "^21.0.1", + "babel-plugin-import": "1.13.0", "drip-table": "link:../drip-table", "drip-table-driver-antd": "link:../drip-table-driver-antd", - "babel-plugin-import": "1.13.0", "father-build": "^1.20.4", "rollup-plugin-commonjs": "^10.1.0", "tsc-alias": "^1.4.2", @@ -41,9 +42,9 @@ }, "peerDependencies": { "@ant-design/icons": "^4.3.0", + "antd": ">=4.9.4", "drip-table": ">=1.0.0", "drip-table-driver-antd": ">=1.0.0", - "antd": ">=4.9.4", "react": ">=16.9.0" }, "keywords": [ diff --git a/yarn.lock b/yarn.lock index bf0de6f..bba2aec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2313,6 +2313,19 @@ magic-string "^0.25.7" resolve "^1.17.0" +"@rollup/plugin-commonjs@^21.0.1": + version "21.0.1" + resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.1.tgz#1e57c81ae1518e4df0954d681c642e7d94588fee" + integrity sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg== + dependencies: + "@rollup/pluginutils" "^3.1.0" + commondir "^1.0.1" + estree-walker "^2.0.1" + glob "^7.1.6" + is-reference "^1.2.1" + magic-string "^0.25.7" + resolve "^1.17.0" + "@rollup/plugin-eslint@^8.0.1": version "8.0.1" resolved "https://registry.yarnpkg.com/@rollup/plugin-eslint/-/plugin-eslint-8.0.1.tgz#bf7462f96027613729b8a805caaa951dc23c333e" @@ -5577,8 +5590,14 @@ dot-prop@^6.0.1: react-dom "^16.9.0" "drip-table@link:packages/drip-table": - version "0.0.0" - uid "" + version "1.0.3" + dependencies: + cheerio "1.0.0-rc.3" + lodash "^4.17.21" + rc-resize-observer "^1.0.1" + react-dom "^16.9.0" + react-window "^1.8.6" + viewerjs "1.7.1" dumi-assets-types@1.0.0: version "1.0.0"