From 74cffdf4a3a39c186487c0758229b5a101931fa6 Mon Sep 17 00:00:00 2001 From: winixt Date: Wed, 25 May 2022 14:59:05 +0800 Subject: [PATCH 1/3] =?UTF-8?q?docs:=20=E4=BC=98=E5=8C=96=20runtime=20?= =?UTF-8?q?=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/runtime-config.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/runtime-config.md b/docs/guide/runtime-config.md index cfc8222e..8ea35e6d 100644 --- a/docs/guide/runtime-config.md +++ b/docs/guide/runtime-config.md @@ -28,7 +28,7 @@ const runtimeConfig = plugin.applyPlugins({ ```js // app.js -import { defineBuildConfig } from '@fesjs/fes'; +import { defineRuntimeConfig } from '@fesjs/fes'; export default defineRuntimeConfig({ access: memo => ({ @@ -55,7 +55,7 @@ export default defineRuntimeConfig({ ```js // app.js -import { defineBuildConfig } from '@fesjs/fes'; +import { defineRuntimeConfig } from '@fesjs/fes'; export default defineRuntimeConfig({ access: memo => ({ From bf4475f2405334a50255ee85cde0bf8a078d760b Mon Sep 17 00:00:00 2001 From: winixt Date: Wed, 25 May 2022 19:19:36 +0800 Subject: [PATCH 2/3] =?UTF-8?q?fix:=20npm=20=E5=8C=85=20ts=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=A2=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fes-builder-vite/package.json | 3 ++- packages/fes-builder-webpack/package.json | 3 ++- packages/fes-plugin-access/package.json | 3 ++- packages/fes-plugin-enums/package.json | 3 ++- packages/fes-plugin-layout/package.json | 3 ++- packages/fes-plugin-locale/package.json | 3 ++- packages/fes-plugin-monaco-editor/package.json | 3 ++- packages/fes-plugin-qiankun/package.json | 3 ++- packages/fes-plugin-request/package.json | 3 ++- packages/fes-plugin-vuex/package.json | 3 ++- packages/fes-plugin-windicss/package.json | 2 +- packages/fes-preset-built-in/package.json | 3 ++- yarn.lock | 5 ----- 13 files changed, 23 insertions(+), 17 deletions(-) diff --git a/packages/fes-builder-vite/package.json b/packages/fes-builder-vite/package.json index b756e313..519555b7 100644 --- a/packages/fes-builder-vite/package.json +++ b/packages/fes-builder-vite/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/builder-vite", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "repository": { "type": "git", diff --git a/packages/fes-builder-webpack/package.json b/packages/fes-builder-webpack/package.json index 0bbb864e..e1eb74d0 100644 --- a/packages/fes-builder-webpack/package.json +++ b/packages/fes-builder-webpack/package.json @@ -5,7 +5,8 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ - "lib" + "lib", + "types.d.ts" ], "repository": { "type": "git", diff --git a/packages/fes-plugin-access/package.json b/packages/fes-plugin-access/package.json index a22a3e40..b979ce2a 100644 --- a/packages/fes-plugin-access/package.json +++ b/packages/fes-plugin-access/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-access", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/fes-plugin-enums/package.json b/packages/fes-plugin-enums/package.json index fcd5b1b8..c0275331 100644 --- a/packages/fes-plugin-enums/package.json +++ b/packages/fes-plugin-enums/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-enums", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/fes-plugin-layout/package.json b/packages/fes-plugin-layout/package.json index fb354436..5f3d4535 100644 --- a/packages/fes-plugin-layout/package.json +++ b/packages/fes-plugin-layout/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-layout", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/fes-plugin-locale/package.json b/packages/fes-plugin-locale/package.json index 364a41ea..d714d746 100644 --- a/packages/fes-plugin-locale/package.json +++ b/packages/fes-plugin-locale/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-locale", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/fes-plugin-monaco-editor/package.json b/packages/fes-plugin-monaco-editor/package.json index 400ccadb..9b7375c7 100644 --- a/packages/fes-plugin-monaco-editor/package.json +++ b/packages/fes-plugin-monaco-editor/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-monaco-editor", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": {}, "repository": { diff --git a/packages/fes-plugin-qiankun/package.json b/packages/fes-plugin-qiankun/package.json index 0c251949..c028d7ec 100644 --- a/packages/fes-plugin-qiankun/package.json +++ b/packages/fes-plugin-qiankun/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-qiankun", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": { "start": "npm-run-all --parallel start:*", diff --git a/packages/fes-plugin-request/package.json b/packages/fes-plugin-request/package.json index 01988723..52bb5a4f 100644 --- a/packages/fes-plugin-request/package.json +++ b/packages/fes-plugin-request/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-request", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/fes-plugin-vuex/package.json b/packages/fes-plugin-vuex/package.json index 46bb9353..52d1dec5 100644 --- a/packages/fes-plugin-vuex/package.json +++ b/packages/fes-plugin-vuex/package.json @@ -4,7 +4,8 @@ "description": "@fesjs/plugin-vuex", "main": "lib/index.js", "files": [ - "lib" + "lib", + "types.d.ts" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/fes-plugin-windicss/package.json b/packages/fes-plugin-windicss/package.json index 83b28274..46ce5c6e 100644 --- a/packages/fes-plugin-windicss/package.json +++ b/packages/fes-plugin-windicss/package.json @@ -5,7 +5,7 @@ "main": "lib/index.js", "files": [ "lib", - "windi.config.js" + "types.d.ts" ], "scripts": { "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/fes-preset-built-in/package.json b/packages/fes-preset-built-in/package.json index e00e5bea..e4c27c42 100644 --- a/packages/fes-preset-built-in/package.json +++ b/packages/fes-preset-built-in/package.json @@ -5,7 +5,8 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ - "lib" + "lib", + "types.d.ts" ], "repository": { "type": "git", diff --git a/yarn.lock b/yarn.lock index e111ff7e..bd0211d4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4528,11 +4528,6 @@ dateformat@^3.0.0: resolved "https://registry.npmmirror.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== -dayjs@1.11.1: - version "1.11.1" - resolved "https://registry.npmmirror.com/dayjs/-/dayjs-1.11.1.tgz#90b33a3dda3417258d48ad2771b415def6545eb0" - integrity sha512-ER7EjqVAMkRRsxNCC5YqJ9d9VQYuWdGt7aiH2qA5R5wt8ZmWaP2dLUSIK6y/kVzLMlmh1Tvu5xUf4M/wdGJ5KA== - debug@2.6.9, debug@^2.6.9: version "2.6.9" resolved "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" From 8b4d8be056067eca9186025c0b33908e9c03b53f Mon Sep 17 00:00:00 2001 From: winixt Date: Wed, 25 May 2022 19:21:10 +0800 Subject: [PATCH 3/3] chore: v3.0.0-beta.7 --- CHANGELOG.md | 9 +++++++++ package.json | 2 +- packages/fes-builder-vite/package.json | 2 +- packages/fes-builder-webpack/package.json | 2 +- packages/fes-plugin-access/package.json | 2 +- packages/fes-plugin-enums/package.json | 2 +- packages/fes-plugin-layout/package.json | 2 +- packages/fes-plugin-locale/package.json | 2 +- packages/fes-plugin-monaco-editor/package.json | 2 +- packages/fes-plugin-qiankun/package.json | 2 +- packages/fes-plugin-request/package.json | 2 +- packages/fes-plugin-vuex/package.json | 2 +- packages/fes-plugin-windicss/package.json | 2 +- packages/fes-preset-built-in/package.json | 2 +- 14 files changed, 22 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c64e7327..99e1265b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [3.0.0-beta.7](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2022-05-25) + + +### Bug Fixes + +* npm 包 ts 文件丢失问题 ([bf4475f](https://github.com/WeBankFinTech/fes.js/commit/bf4475f2405334a50255ee85cde0bf8a078d760b)) + + + # [3.0.0-beta.6](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2022-05-19) diff --git a/package.json b/package.json index 06759a38..6b2675e3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fes.js", - "version": "3.0.0-beta.6", + "version": "3.0.0-beta.7", "description": "一个好用的前端管理台快速开发框架", "preferGlobal": true, "private": true, diff --git a/packages/fes-builder-vite/package.json b/packages/fes-builder-vite/package.json index 519555b7..a11e47c3 100644 --- a/packages/fes-builder-vite/package.json +++ b/packages/fes-builder-vite/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/builder-vite", - "version": "3.0.0-beta.6", + "version": "3.0.0-beta.7", "description": "@fesjs/builder-vite", "main": "lib/index.js", "files": [ diff --git a/packages/fes-builder-webpack/package.json b/packages/fes-builder-webpack/package.json index e1eb74d0..ffe7f1eb 100644 --- a/packages/fes-builder-webpack/package.json +++ b/packages/fes-builder-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/builder-webpack", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/builder-webpack", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/packages/fes-plugin-access/package.json b/packages/fes-plugin-access/package.json index b979ce2a..a4f8fdc7 100644 --- a/packages/fes-plugin-access/package.json +++ b/packages/fes-plugin-access/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-access", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/plugin-access", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-enums/package.json b/packages/fes-plugin-enums/package.json index c0275331..6626547a 100644 --- a/packages/fes-plugin-enums/package.json +++ b/packages/fes-plugin-enums/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-enums", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/plugin-enums", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-layout/package.json b/packages/fes-plugin-layout/package.json index 5f3d4535..90e8797e 100644 --- a/packages/fes-plugin-layout/package.json +++ b/packages/fes-plugin-layout/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-layout", - "version": "5.0.0-beta.3", + "version": "5.0.0-beta.4", "description": "@fesjs/plugin-layout", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-locale/package.json b/packages/fes-plugin-locale/package.json index d714d746..7c92a647 100644 --- a/packages/fes-plugin-locale/package.json +++ b/packages/fes-plugin-locale/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-locale", - "version": "4.0.0-beta.3", + "version": "4.0.0-beta.4", "description": "@fesjs/plugin-locale", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-monaco-editor/package.json b/packages/fes-plugin-monaco-editor/package.json index 9b7375c7..bf9d4a6f 100644 --- a/packages/fes-plugin-monaco-editor/package.json +++ b/packages/fes-plugin-monaco-editor/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-monaco-editor", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/plugin-monaco-editor", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-qiankun/package.json b/packages/fes-plugin-qiankun/package.json index c028d7ec..70b754c5 100644 --- a/packages/fes-plugin-qiankun/package.json +++ b/packages/fes-plugin-qiankun/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-qiankun", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/plugin-qiankun", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-request/package.json b/packages/fes-plugin-request/package.json index 52bb5a4f..b08c2978 100644 --- a/packages/fes-plugin-request/package.json +++ b/packages/fes-plugin-request/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-request", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/plugin-request", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-vuex/package.json b/packages/fes-plugin-vuex/package.json index 52d1dec5..43930283 100644 --- a/packages/fes-plugin-vuex/package.json +++ b/packages/fes-plugin-vuex/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-vuex", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/plugin-vuex", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-windicss/package.json b/packages/fes-plugin-windicss/package.json index 46ce5c6e..593e704e 100644 --- a/packages/fes-plugin-windicss/package.json +++ b/packages/fes-plugin-windicss/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-windicss", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/plugin-windicss", "main": "lib/index.js", "files": [ diff --git a/packages/fes-preset-built-in/package.json b/packages/fes-preset-built-in/package.json index e4c27c42..9b01e800 100644 --- a/packages/fes-preset-built-in/package.json +++ b/packages/fes-preset-built-in/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/preset-built-in", - "version": "3.0.0-beta.3", + "version": "3.0.0-beta.4", "description": "@fesjs/preset-built-in", "main": "lib/index.js", "types": "lib/index.d.ts",