diff --git a/CHANGELOG.md b/CHANGELOG.md index 41eb4608..7b3432c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +# [3.0.0-beta.30](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.29...v3.0.0-beta.30) (2022-11-10) + + +### Bug Fixes + +* 解决 ts 提示问题 ([#155](https://github.com/WeBankFinTech/fes.js/issues/155)) ([92e154e](https://github.com/WeBankFinTech/fes.js/commit/92e154e48b0f057f1d4525d59f089d2fb6edcdd9)) + + +### Features + +* 路由支持配置base & plugin-locale插件legacy默认false ([#154](https://github.com/WeBankFinTech/fes.js/issues/154)) ([104571b](https://github.com/WeBankFinTech/fes.js/commit/104571b2a4a78b6df18f4ef9288668d245ca88ab)) + + + # [3.0.0-beta.29](https://github.com/WeBankFinTech/fes.js/compare/v3.0.0-beta.28...v3.0.0-beta.29) (2022-11-09) diff --git a/package.json b/package.json index 2833a948..8c7b7f27 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fes.js", - "version": "3.0.0-beta.29", + "version": "3.0.0-beta.30", "description": "一个好用的前端管理台快速开发框架", "preferGlobal": true, "private": true, diff --git a/packages/create-fes-app/package.json b/packages/create-fes-app/package.json index d17eaca2..deccb3bb 100644 --- a/packages/create-fes-app/package.json +++ b/packages/create-fes-app/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/create-fes-app", - "version": "3.0.0-beta.9", + "version": "3.0.0-rc.0", "description": "create a app base on fes.js", "main": "lib/index.js", "files": [ diff --git a/packages/fes-builder-webpack/package.json b/packages/fes-builder-webpack/package.json index 0a08d419..d2052724 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.6", + "version": "3.0.0-rc.0", "description": "@fesjs/builder-webpack", "main": "lib/index.js", "types": "types.d.ts", @@ -66,4 +66,4 @@ "@fesjs/fes": "^3.0.0-beta.0", "core-js": "^3.19.2" } -} \ No newline at end of file +} diff --git a/packages/fes-plugin-access/package.json b/packages/fes-plugin-access/package.json index 0dc2c0c8..197fb3ae 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.6", + "version": "3.0.0-rc.0", "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 a565e512..315e34e7 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.6", + "version": "3.0.0-rc.0", "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 58b4f5c4..e14a89a6 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.14", + "version": "5.0.0-rc.0", "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 75e4f8cd..ca0ef529 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.9", + "version": "4.0.0-rc.0", "description": "@fesjs/plugin-locale", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-model/package.json b/packages/fes-plugin-model/package.json index fbecd7fa..cb32fabb 100644 --- a/packages/fes-plugin-model/package.json +++ b/packages/fes-plugin-model/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-model", - "version": "3.0.0-beta.6", + "version": "3.0.0-rc.0", "description": "@fesjs/plugin-model", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-monaco-editor/package.json b/packages/fes-plugin-monaco-editor/package.json index 1fff9adf..193b3e24 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.6", + "version": "3.0.0-rc.0", "description": "@fesjs/plugin-monaco-editor", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-pinia/package.json b/packages/fes-plugin-pinia/package.json index 6ca72dbc..a9789b3e 100644 --- a/packages/fes-plugin-pinia/package.json +++ b/packages/fes-plugin-pinia/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-pinia", - "version": "3.0.0-beta.5", + "version": "3.0.0-rc.0", "description": "@fesjs/plugin-pinia", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-qiankun/package.json b/packages/fes-plugin-qiankun/package.json index 75a4353a..9ac4e528 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.12", + "version": "3.0.0-rc.0", "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 aa55a398..68f5d5d7 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.8", + "version": "3.0.0-rc.0", "description": "@fesjs/plugin-request", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-sass/package.json b/packages/fes-plugin-sass/package.json index 6869f0b1..ffceaace 100644 --- a/packages/fes-plugin-sass/package.json +++ b/packages/fes-plugin-sass/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-sass", - "version": "3.0.0-beta.4", + "version": "3.0.0-rc.0", "description": "@fesjs/plugin-sass", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-vuex/package.json b/packages/fes-plugin-vuex/package.json index 15f8c997..d4be3e8d 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.7", + "version": "3.0.0-rc.0", "description": "@fesjs/plugin-vuex", "main": "lib/index.js", "files": [ diff --git a/packages/fes-plugin-watermark/package.json b/packages/fes-plugin-watermark/package.json index cd7a64f5..5fb455c9 100644 --- a/packages/fes-plugin-watermark/package.json +++ b/packages/fes-plugin-watermark/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/plugin-watermark", - "version": "3.0.0-beta.5", + "version": "3.0.0-rc.0", "description": "@fesjs/plugin-watermark", "main": "lib/index.js", "files": [ diff --git a/packages/fes-preset-built-in/package.json b/packages/fes-preset-built-in/package.json index f82b1cef..fd62cf1b 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.15", + "version": "3.0.0-rc.0", "description": "@fesjs/preset-built-in", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/packages/fes/package.json b/packages/fes/package.json index 6c83420e..b2ec06fb 100644 --- a/packages/fes/package.json +++ b/packages/fes/package.json @@ -1,6 +1,6 @@ { "name": "@fesjs/fes", - "version": "3.0.0-beta.12", + "version": "3.0.0-rc.0", "description": "一个好用的前端管理台快速开发框架", "preferGlobal": true, "scripts": { @@ -39,7 +39,7 @@ ], "dependencies": { "@fesjs/compiler": "^3.0.0-beta.0", - "@fesjs/preset-built-in": "3.0.0-beta.15", + "@fesjs/preset-built-in": "3.0.0-rc.0", "@fesjs/runtime": "3.0.0-beta.7", "@fesjs/utils": "^3.0.0-beta.0", "pirates": "^4.0.5", @@ -50,4 +50,4 @@ "node": "^10.12.0 || ^12.0.0 || >= 14.0.0" }, "types": "types.d.ts" -} \ No newline at end of file +} diff --git a/scripts/release.mjs b/scripts/release.mjs index 96e4e5a2..0087cf83 100644 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -92,11 +92,12 @@ function readPackageVersionAndName(pkg) { function updatePackage(pkgName, version, pkgs) { const pkgJson = readPackageJson(pkgName); pkgJson.version = version; - Object.keys(pkgJson.dependencies).forEach((npmName) => { - if (pkgs[npmName]) { - pkgJson.dependencies[npmName] = pkgs[npmName].newVersion; - } - }); + pkgJson.dependencies && + Object.keys(pkgJson.dependencies).forEach((npmName) => { + if (pkgs[npmName]) { + pkgJson.dependencies[npmName] = pkgs[npmName].newVersion; + } + }); writePackageJson(pkgName, pkgJson); }