From c2eb14d0d19e476ed169bc263050761e0a2af8a1 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 cfc8222ee..8ea35e6d1 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 e0c306c70ca75a017bda4bc4e451cad5369ef4f2 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 b756e313b..519555b78 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 0bbb864e3..e1eb74d05 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 a22a3e400..b979ce2a7 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 fcd5b1b87..c0275331a 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 fb3544365..5f3d45359 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 364a41eae..d714d746d 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 400ccadb6..9b7375c7e 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 0c2519498..c028d7eca 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 019887239..52bb5a4fb 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 46bb93537..52d1dec5a 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 83b28274c..46ce5c6e6 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 e00e5bea4..e4c27c42b 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 e111ff7ea..bd0211d40 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 9e48bdd0916b8fd7e9baca1e85ca67c819e7166b 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 c64e73279..99e1265b8 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 06759a385..6b2675e36 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 519555b78..a11e47c34 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 e1eb74d05..ffe7f1eb2 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 b979ce2a7..a4f8fdc70 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 c0275331a..6626547aa 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 5f3d45359..90e8797ea 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 d714d746d..7c92a6472 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 9b7375c7e..bf9d4a6ff 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 c028d7eca..70b754c55 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 52bb5a4fb..b08c29780 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 52d1dec5a..439302838 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 46ce5c6e6..593e704e1 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 e4c27c42b..9b01e800b 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",