From 7a728342e743b2d9c76170a1a2f7062980c1f444 Mon Sep 17 00:00:00 2001 From: zsmj1994 Date: Tue, 14 Jul 2020 20:41:42 +0800 Subject: [PATCH] =?UTF-8?q?KERNEL-4727=20refactor:=20=E3=80=90=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E3=80=91=E4=BD=BF=E7=94=A8babel-preset-fineui?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AEbabel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/jest.environment.js | 2 +- index.html | 50 +++++++++++++++----------------------- package.json | 10 ++------ webpack/webpack.dev.js | 2 +- 4 files changed, 23 insertions(+), 41 deletions(-) diff --git a/config/jest.environment.js b/config/jest.environment.js index b564081..2a3541f 100644 --- a/config/jest.environment.js +++ b/config/jest.environment.js @@ -12,7 +12,7 @@ class FineUiEnvironment extends JsdomEnvironment { [ '../node_modules/fineui/dist/fineui.js', - '../node_modules/fineui-materials/docs/materials.js', + '../node_modules/@fui/materials/docs/materials.js', '../config/fineui.prepare.js', './fineui.setup.js', ].forEach(scriptRelativePath => { diff --git a/index.html b/index.html index cfb9c39..f8c5d5f 100644 --- a/index.html +++ b/index.html @@ -1,34 +1,22 @@ - - - Fine Report - - - - - - -
- - - - - - - + + + Fine Report + + + + + + + +
+ + + + + + + + \ No newline at end of file diff --git a/package.json b/package.json index 1395fd6..e0abeca 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,6 @@ "nprogress": "0.2.0" }, "devDependencies": { - "@babel/core": "7.4.5", - "@babel/plugin-proposal-class-properties": "^7.5.0", - "@babel/plugin-proposal-decorators": "7.4.4", - "@babel/polyfill": "^7.8.3", - "@babel/preset-env": "7.4.5", - "@babel/preset-typescript": "7.3.3", "@types/jest": "24.0.11", "@typescript-eslint/eslint-plugin": "1.7.0", "@typescript-eslint/parser": "1.7.0", @@ -60,8 +54,8 @@ "@fui/babel-preset-fineui": "^1.0.0" }, "optionalDependencies": { - "fineui": "git+ssh://git@cloud.finedevelop.com:7999/visual/fineui.git", - "fineui-materials": "git+ssh://git@cloud.finedevelop.com:7999/fui/fineui-materials.git#release/10.0" + "fineui": "^2.0.0", + "@fui/materials": "10.0.0-release - 10.0.0-release.99999999999999" }, "scripts": { "dev": "cross-env NODE_ENV=mock webpack-dev-server -p --progress --config=webpack/webpack.dev.js --mode development --open", diff --git a/webpack/webpack.dev.js b/webpack/webpack.dev.js index 2c6e1ab..d93e397 100644 --- a/webpack/webpack.dev.js +++ b/webpack/webpack.dev.js @@ -36,7 +36,7 @@ chokidar module.exports = merge(common, { devtool: 'eval-source-map', entry: { - show: ['babel-polyfill', './src/i18n.ts', './src/request.ts', './src/index.ts'], + show: ['./src/i18n.ts', './src/request.ts', './src/index.ts'], }, output: { path: dirs.DEST,